[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

double button/sleep ['securiQ.Watchdog': checked]



Hi everyone!

I have a strange problem regarding ACPI on Dell Inspiron 8100.

If I press the suspend button on the keyboard, my computer suspends to 
disk nicely.
Suspend script is simple, I don't think its the problem: 


#!/bin/sh
# /etc/acpi/sleepbtn.sh
# Initiates a sleep when the sleep putton has been
# pressed.

logger -i "Sleep button pressed, going to sleep"
/bin/echo -n "4" > /proc/acpi/sleep
exit 0



The problem comes afterwards: I turn it on, comes up nicely, then 
hibernates again. Now I turn it on for the second time, comes up nicely, 
and ta-da: Its running. I understand that she is sleepy, but if I tell her 
to wake up, she should do it for the first time :) Now I realized, that 
its not like this with the lid button. It works fine. I checked the 
var/log/acpid, and this is what I see, if I press the suspend button 
_once_:

[Thu Sep  9 11:15:14 2004] received event "button/sleep SBTN 00000080 
00000036"
[Thu Sep  9 11:15:14 2004] notifying client 1865[1000:1000]
[Thu Sep  9 11:15:14 2004] executing action "/etc/acpi/sleepbtn.sh"
[Thu Sep  9 11:15:14 2004] BEGIN HANDLER MESSAGES
[Thu Sep  9 11:15:15 2004] END HANDLER MESSAGES
[Thu Sep  9 11:15:15 2004] action exited with status 0
[Thu Sep  9 11:15:15 2004] completed event "button/sleep SBTN 00000080 
00000036"
[Thu Sep  9 11:15:15 2004] received event "button/sleep SBTN 00000080 
00000037"
[Thu Sep  9 11:15:15 2004] notifying client 1865[1000:1000]
[Thu Sep  9 11:15:15 2004] executing action "/etc/acpi/sleepbtn.sh"
[Thu Sep  9 11:15:15 2004] BEGIN HANDLER MESSAGES
[Thu Sep  9 11:15:15 2004] END HANDLER MESSAGES
[Thu Sep  9 11:15:15 2004] action exited with status 0
[Thu Sep  9 11:15:15 2004] completed event "button/sleep SBTN 00000080 
00000037"

It is reported twice, while button/lid or button/power is only once.

I use kernel 2.6.8.1-ac1, patched with the acpi-initrd patch. I had the 
same problem with earlier versions, starting from 2.6.6 (_with_ the initrd 
patch)

Ideas?



Reply to: