[PATCH 0/1][SRU][Bionic][Artful] Suspend to idle: Open lid didn't resume

woodrow.shen at canonical.com woodrow.shen at canonical.com
Thu May 17 04:19:26 UTC 2018


From: Woodrow Shen <woodrow.shen at canonical.com>

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

[Impact]
Some platforms are set suspend-to-idle (s2idle) as default suspend mode, and then they can't resume the system from opening the lid.

[Test Case]
1. echo s2idle | sudo tee /sys/power/mem_sleep
2. Close the lid
3. Open the lid

[Fix]
According a patch sent to 4.17-rc1, which was not be included before 4.15 EOL, so we cherry pick the patch to Ubuntu 4.15 kernel.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=147a7d9d25ca2551aab15071cb1f048ecd9b7953

[Regression Potential]
Per commit, this change also allows Dells XPS13 9360 blacklisted by commit 71630b7a832f to use the power button for waking up from suspend-to-idle, no regression could be happened

Rafael J. Wysocki (1):
  ACPI / PM: Do not reconfigure GPEs for suspend-to-idle

 drivers/acpi/sleep.c | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

-- 
2.7.4





More information about the kernel-team mailing list