Public bug reported:

Binary package hint: gnome-power-manager

On my Samsung X20 I always used the function-key (sleepbutton) to
initialize suspend to ram. But now, that way won't work anymore. The
acpid gets the event and tries to run the script /etc/acpi/sleep.sh, but
nothing happens.

[Wed May  9 17:30:42 2007] received event "button/sleep SLPB 00000080 00000001"
[Wed May  9 17:30:42 2007] notifying client 12524[121:121]
[Wed May  9 17:30:42 2007] notifying client 4879[0:0]
[Wed May  9 17:30:42 2007] executing action "/etc/acpi/sleep.sh"
[Wed May  9 17:30:42 2007] BEGIN HANDLER MESSAGES
[Wed May  9 17:30:42 2007] END HANDLER MESSAGES
[Wed May  9 17:30:42 2007] action exited with status 0
[Wed May  9 17:30:42 2007] completed event "button/sleep SLPB 00000080 00000001"

When I kill the gnome-power-manager, the notebook suspends to ram.

Instead killing the powermanager, a change to sleep.sh solves the
problem. Commenting out the following section helps.

# If gnome-power-manager or klaptopdaemon are running, let them handle policy
#if [ x$1 != xforce ] && [ x$1 != xsleep ] && [ `CheckPolicy` = 0 ]; then
#    exit;
#fi

What can I do to persuade the gnome-power-manager to suspend my
notebook?

** Affects: gnome-power-manager (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
suspend: gnome-power-manager vs. button/sleep
https://bugs.launchpad.net/bugs/113639
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to