Hello Bart, thanks for the quick response! I don't have gnome-power-manager running: I used to but no longer. And I can try to run acpi_fakekey from the command line (sudo of course) and nothing happens. Do I need to have gnome-power-manager running to have it working?
cheers graziano On Sun, Jun 03, 2007 at 12:48:09PM +0200, Bart Samwel wrote: > Hi there, > > "Works for me", so I'm going to try and "remote debug" this. The reason > for the two-stage thing (sending an acpi_fakekey from the button) is that > when gnome-power-manager is running, it listens to these events and > handles them. When gnome-power-manager or klaptopdaemon are running, the > acpi-support sleep.sh script does nothing. To test if the problem lies > with gnome-power-manager/klaptopdaemon, could you try the following: > > In /etc/acpi/events/sleepbtn, change the "action" line from: > > action=/etc/acpi/sleep.sh > > to > > action=/etc/acpi/sleep.sh force > > This will make the sleep script completely ignore > gnome-power-manager/klaptopdaemon. If the sleep button then works again, > the problem lies with gnome-power-manager/klaptopdaemon. If it doesn't, > then the problem lies with acpi-support. > > Cheers, > Bart > -- +-----------------------+--------------------------+ | Graziano Obertelli | CS Dept. Rm 102 | | [EMAIL PROTECTED] | University of California | | (805) 893-5212 | Santa Barbara, CA 93106 | +-----------------------+--------------------------+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]