On Thu, Nov 21, 2019 at 03:34:10PM +0100, Jiri Kosina wrote:
On Tue, 19 Nov 2019, Dexuan Cui wrote:
During the suspend process and resume process, if there is any mouse
event, there is a small chance the suspend and the resume process can be
aborted because of mousevsc_on_receive() -> pm_wakeup_hard_event().
This behavior can be avoided by disabling the Hyper-V mouse device as
a wakeup source:
echo disabled > /sys/bus/vmbus/drivers/hid_hyperv/XXX/power/wakeup
(XXX is the device's GUID).
Signed-off-by: Dexuan Cui <decui@xxxxxxxxxxxxx>
Acked-by: Jiri Kosina <jkosina@xxxxxxx>
My Ack still holds for v2. Sasha, this is going to be merged through your
tree, right?
Yup, queued up for hyperv-next, thanks!
--
Thanks,
Sasha