[ltp] X21 w/ 2.6.15, acpi suspend-to-ram needs to be resumed 3 times?!

Eric Jorgensen linux-thinkpad@linux-thinkpad.org
Thu, 16 Feb 2006 18:52:57 -0700


On Thu, 16 Feb 2006 15:54:45 -0800
Bill Sheppard <Bill.Sheppard@Sun.COM> wrote:

> Do you have an ACPI event for going to sleep when hitting the power
> button? If so try disabling that (can't recall where you set it, but try
> under your power management applet for KDE or Gnome). I had that problem
> until I set power button not to cause a sleep.


   Removed that event from /etc/acpi/events, restarted acpid, I still have
to resume three times by hitting the power button. 

   Only change is that i can no longer suspend with the power button, as
you'd expect from removing that event. 

   acpid thinks it's getting a button/lid event when i wake it up. Doesn't
make sense, i have to hit the power button to resume. I do not think this
is a mechanical issue with the lid switch because I always have to wake it
up three times - a failing switch would give me some more variety. 

   Snippet from /var/log/acpid: 

[Thu Feb 16 18:01:00 2006] received event "button/lid LID 00000080
00000070" [Thu Feb 16 18:01:00 2006] executing action
"/etc/acpi/actions/sleep.sh button/lid LID 00000080 00000070" [Thu Feb 16
18:01:00 2006] BEGIN HANDLER MESSAGES chvt: VT_ACTIVATE: No such device or
address [Thu Feb 16 18:39:43 2006] END HANDLER MESSAGES
[Thu Feb 16 18:39:43 2006] action exited with status 0
[Thu Feb 16 18:39:43 2006] completed event "button/lid LID 00000080
00000070" [Thu Feb 16 18:39:43 2006] received event "button/lid LID
00000080 00000071" [Thu Feb 16 18:39:43 2006] executing action
"/etc/acpi/actions/sleep.sh button/lid LID 00000080 00000071" [Thu Feb 16
18:39:43 2006] BEGIN HANDLER MESSAGES chvt: VT_ACTIVATE: No such device or
address [Thu Feb 16 18:40:29 2006] END HANDLER MESSAGES
[Thu Feb 16 18:40:29 2006] action exited with status 0
[Thu Feb 16 18:40:29 2006] completed event "button/lid LID 00000080
00000071" [Thu Feb 16 18:40:29 2006] received event "button/lid LID
00000080 00000072" [Thu Feb 16 18:40:29 2006] executing action
"/etc/acpi/actions/sleep.sh button/lid LID 00000080 00000072" [Thu Feb 16
18:40:29 2006] BEGIN HANDLER MESSAGES chvt: VT_ACTIVATE: No such device or
address [Thu Feb 16 18:41:28 2006] END HANDLER MESSAGES
[Thu Feb 16 18:41:28 2006] action exited with status 0
[Thu Feb 16 18:41:28 2006] completed event "button/lid LID 00000080
00000072"

   snippet of /var/log/syslog too long to post politely here: 

http://rubix.areb.org/S3.txt