mbox series

[0/1,SRU,G] Wakeup the system by touching the touchpad

Message ID 20200917022309.30240-1-koba.ko@canonical.com
Headers show
Series Wakeup the system by touching the touchpad | expand

Message

Koba Ko Sept. 17, 2020, 2:23 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1888331

[Impact]
Can't wake up by touching the touchpad.

[Fix]
hid: Many laptops can be woken up from Suspend-to-Idle by the touchpad. 
This is also the default behavior on other OSes.
However, if the touch pad and touchscreen contact to each other when 
lid is closed, the wakeup events can be triggered inadvertently.
So let's disable the wakeup by default, but enable the wakeup ability
so users can enable it at their own discretion.

[test]
With the patch and manually enable HID's power/wakeup, 
the system can wake up by touching the touchpad.

[Regression Potential]
Low. The patch has already landed in the upstream.

Kai-Heng Feng (1):
  HID: i2c-hid: Enable wakeup capability from Suspend-to-Idle

 drivers/hid/i2c-hid/i2c-hid-core.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)