[CentOS] acpid events failing after first suspend

Thu Apr 2 17:19:29 UTC 2009
RedShift <redshift at pandora.be>

Hello


I've configured acpid on my laptop to make the powerbutton hibernate the laptop. I modified /etc/acpid/events/power.conf with the following content:

event=PWRF
action=/usr/bin/pm-hibernate


On the first boot it works like it should, but after the laptop has resumed, the powerbutton doesn't respond anymore.

This is an extract from /var/log/acpid when the powerbutton responds: 

[Wed Apr  1 15:36:46 2009] client connected from 2332[0:0]
[Wed Apr  1 15:36:46 2009] 1 client rule loaded
[Wed Apr  1 15:37:16 2009] received event "button/power PWRF 00000080 00000001"
[Wed Apr  1 15:37:16 2009] notifying client 2198[68:68]
[Wed Apr  1 15:37:16 2009] notifying client 2332[0:0]
[Wed Apr  1 15:37:16 2009] executing action "/usr/bin/pm-hibernate"
[Wed Apr  1 15:37:16 2009] BEGIN HANDLER MESSAGES
[Wed Apr  1 18:10:47 2009] END HANDLER MESSAGES
[Wed Apr  1 18:10:47 2009] action exited with status 0
[Wed Apr  1 18:10:47 2009] completed event "button/power PWRF 00000080 00000001"

After the first resume, nothing like that appears in the logs, like the powerbutton was never pushed.

I have acpid version 1.0.4-7.el5 installed, I did not experience this issue on another distro which ships with acpid 1.0.8.


Thanks,


Best regards,


Glenn Matthys