WORKAROUND:

This issue doesn't arise if the system uses uswsusp rather than the
kernel's method of hibernation. So, the fix is to force gnome-power-
management to use s2disk rather than the kernel method. This is fairly
simple to do:

Download the attached script "hal-system-power-hibernate-linux"

sudo apt-get install uswsusp
sudo s2disk        ##Test to see if s2disk works. CAUTION: make sure data is 
saved for this test!

sudo mv /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux 
/usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux.backup
sudo cp hal-system-* /usr/lib/hal/scripts/linux/
sudo chmod 755 /usr/lib/hal/scripts/linux/*

Now, gnome-power-manager should use s2disk to hibernate fixing my
reported issue.

Note: I found these instructions from
http://blog.paulbetts.org/index.php/2007/02/11/fixing-software-suspend-
hibernate-with-uswsusp-in-ubuntu-feisty-and-edgy/#comment-17671. The
only change I made was to modify the script to reflect the location of
the s2disk binary in Ubuntu 8.10.

** Attachment added: "hal-system-power-hibernate-linux"
   http://launchpadlibrarian.net/20810875/hal-system-power-hibernate-linux

-- 
Auto-hibernate due to inactivity results in a resumed session with hanged 
gnome-power-manager preventing the system from entering hibernate again
https://bugs.launchpad.net/bugs/311860
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

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

Reply via email to