On Fri 2007-08-24 11:51:37, Pavel Machek wrote: > > ...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 -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html