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

Stefan Bader stefan.bader at canonical.com
Thu Nov 8 12:06:29 UTC 2018


On 18.10.18 11:14, Kai-Heng Feng wrote:
> 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(-)
> 
Applied to bionic(1),cosmic /master-next. Thanks.

-Stefan

(1) also rebased bionic so this patch is applied before those for
    https://bugs.launchpad.net/buga/1801875

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20181108/e6aeacf3/attachment.sig>


More information about the kernel-team mailing list