Bug 77611
Summary: | power buton wake from freeze asks to power-off machine | ||
---|---|---|---|
Product: | Power Management | Reporter: | Len Brown (lenb) |
Component: | Hibernation/Suspend | Assignee: | Rafael J. Wysocki (rjw) |
Status: | CLOSED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | rui.zhang |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.15 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | ACPI / button: Do not propagate wakeup-from-suspend events |
Description
Len Brown
2014-06-10 15:29:36 UTC
I think we can fix this in ACPI button driver to send a pm wakeup event only, i.e, do not send input and netlink event for a power button express during freeze mode, just like the trick we do in drivers/acpi/sleep.c for S3. What do you think? Created attachment 143421 [details]
ACPI / button: Do not propagate wakeup-from-suspend events
This patch fixes the problem for me.
in v3.17-rc1: commit e71eeb2a6bcc6282b95215eb353a3ac9ce3e0de3 Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Date: Wed Jul 23 00:59:04 2014 +0200 ACPI / button: Do not propagate wakeup-from-suspend events |