diff options
| author | Dexuan Cui <decui@microsoft.com> | 2019-11-19 23:14:56 -0800 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2019-11-21 20:10:45 -0500 |
| commit | af13f9ed6f9aa6801d020c48aeb19dca9f0d4f97 (patch) | |
| tree | a8b1784bd720573612cb60dbdd6daa51987e9e94 /net/unix/af_unix.c | |
| parent | hv_balloon: Add the support of hibernation (diff) | |
| download | linux-af13f9ed6f9aa6801d020c48aeb19dca9f0d4f97.tar.gz linux-af13f9ed6f9aa6801d020c48aeb19dca9f0d4f97.zip | |
HID: hyperv: Add the support of hibernation
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@microsoft.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
