Something is wrong with acpi_gpe_sleep_prepare
...AFAICT noone calls it, and I guess that may be why we are seeing some "lid open sometimes wake up x60, sometimes does not" fun?
pavel@amd:/data/l/linux/drivers/acpi$ grep -ri acpi_gpe_sleep_prepare . ./sleep/wakeup.c:void acpi_gpe_sleep_prepare(u32 sleep_state) ./sleep/sleep.h:extern void acpi_gpe_sleep_prepare(u32 sleep_state);
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 8 lines · Pavel Machek
...AFAICT noone calls it, and I guess that may be why we are seeing some "lid open sometimes wake up x60, sometimes does not" fun?
pavel@amd:/data/l/linux/drivers/acpi$ grep -ri acpi_gpe_sleep_prepare . ./sleep/wakeup.c:void acpi_gpe_sleep_prepare(u32 sleep_state) ./sleep/sleep.h:extern void acpi_gpe_sleep_prepare(u32 sleep_state);
Sorry, my fault. I found out that removing acpi_gpe_sleep_prepare actually _solves_ "thinkpad will not wake by fn key after s2disk" problem, and forgot about it.
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html