Most recent kernel where this bug did not occur: N/A Distribution: Debian/Etch Hardware Environment: Thinkpad X21 2662-RRG Problem Description: I did not attempt to use ACPI prior to 2.6.14, and have had this issue with 2.6.14 and 2.6.15. Upon resume from S3 (echo -n "mem" > /sys/power/state), my 'sleep' action script for acpid will completely finish, and be immediately called again by acpid. This always happens exactly twice. I have to wake up the laptop three times for every time i suspend to ram. Example log snippet: [Fri Feb 17 15:06:38 2006] received event "button/lid LID 00000080 00000076" [Fri Feb 17 15:06:38 2006] executing action "/etc/acpi/actions/sleep.sh button/lid LID 00000080 00000076" [Fri Feb 17 15:07:24 2006] action exited with status 0 [Fri Feb 17 15:07:24 2006] completed event "button/lid LID 00000080 00000076" [Fri Feb 17 15:07:24 2006] received event "button/lid LID 00000080 00000077" [Fri Feb 17 15:07:24 2006] executing action "/etc/acpi/actions/sleep.sh button/lid LID 00000080 00000077" [Fri Feb 17 15:08:07 2006] action exited with status 0 [Fri Feb 17 15:08:07 2006] completed event "button/lid LID 00000080 00000077" [Fri Feb 17 15:08:07 2006] received event "button/lid LID 00000080 00000078" [Fri Feb 17 15:08:07 2006] executing action "/etc/acpi/actions/sleep.sh button/lid LID 00000080 00000078" [Fri Feb 17 15:08:50 2006] action exited with status 0 [Fri Feb 17 15:08:50 2006] completed event "button/lid LID 00000080 00000078" fwiw, the power button is the only way to wake up the thinkpad when it's in S3. With APM, it would wake up automatically when the lid was opened.
please test with 2.6.18-rc4 or later -- there was a fix to discard extra button events. Re: power button vs lid curious, because the log above is showing LID events, not BUTTON events. Please paste the contents of /proc/acpi/wakeup
Sorry for slow response. Been busy. I do not see multiple events in 2.6.18-pre4, thanks for the fix. As requested, the contents of /proc/acpi/wakeup Device Sleep state Status LID 3 * enabled SLPB 3 * enabled PCI0 4 disabled USB 1 disabled UART 3 disabled I always suspend the thinpad with the lid. I briefly had a configuration that allowed me to resume by opening the lid, but in that configuration i had several issues with peripherals. I don't recall what the configuration was. In general, I can only resume by pressing the power button briefly. If you want to troubleshoot that as an additional bug, let me know what data you need, and I'll open another bug.
if LID and power button don't both work as wakeup devices, then it is a bug, go ahead and file it.