[Suspend2-devel] problem with acpid

Gang Qin gqin at fit.edu
Thu Jun 30 13:36:53 UTC 2005


Hi,

My suspend and resume work fine if I call /usr/sbin/hibernate in command
line, however, if I use acpid with the following script
cat /etc/acpi/events/ld.conf

event=button/lid
action=/usr/sbin/hibernate

every time I close the lid of my laptop it does not hibernate and the
/var/log/acpi shows

[Thu Jun 30 08:58:17 2005] completed event "button/lid LID 00000080 00000004"
[Thu Jun 30 09:00:48 2005] received event "button/lid LID 00000080 00000005"
[Thu Jun 30 09:00:48 2005] notifying client 2802[500:500]
[Thu Jun 30 09:00:48 2005] executing action "/etc/acpi/actions/ld.sh"
[Thu Jun 30 09:00:48 2005] BEGIN HANDLER MESSAGES
/usr/sbin/hibernate: line 533:
/usr/share/hibernate/scriptlets.d/acpi_sleep: permission denied
/usr/sbin/hibernate: line 533:
/usr/share/hibernate/scriptlets.d/bootsplash: permission denied
.........

BTW, my system is, software-suspend-2.1.9.5-for-2.6.12, hibernate-1.09-1,
Fedora core 4. Thanks.

Gang






More information about the TuxOnIce-devel mailing list