[SRU] [Bionic/Cosmic] [PATCH 0/1] Enable keyboard wakeup for S2Idle laptops

Kai-Heng Feng kai.heng.feng at canonical.com
Thu Oct 18 09:14:52 UTC 2018


BugLink: https://bugs.launchpad.net/bugs/1798552

[Impact]
Laptops default to S2Idle can't be woken up by keyboard during suspend.
Most laptops can be woken up by keyboard in S3. To align the behavior,
let's do the same for S2Idle laptops.

[Fix]
Set the serio keyboard wakeup to "enabled" as default.

[Test]
With this patch, XPS 9370 can be woken up by its keyboard during
suspend.

[Regression Potential]
Low. This has the same effect as chaging sysfs knob "power/wakeup" from
"disabled" to "enabled".

[Note]
The commit can be cleanly cherry-picked to both Cosmic and Bionic, but the
formatted patch from Bionic can not be applied to Cosmic and vise versa.
So I created two clean cherry-pickes for both series.

Daniel Drake (1):
  Input: i8042 - enable keyboard wakeups by default when s2idle is used

 drivers/input/serio/i8042.c | 29 ++++++++++++++++++++---------
 include/linux/suspend.h     |  2 ++
 kernel/power/suspend.c      |  6 ++++++
 3 files changed, 28 insertions(+), 9 deletions(-)

-- 
2.19.1





More information about the kernel-team mailing list