# echo freeze > /sys/power/state use power button to wake system result: system wakes up GUI (say, on Ubuntu 14.04) will ask if I want to reboot or poweroff desired result: system wakes up w/o asking about poweroff
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