1. Disable the uswsusp (more recommended)
You might want to upgrade to the latest kernel first. Also, if there is any error caused by any driver, such as psmouse-alps-dkms, remove it first.
It seems that uswsusp is not working properly on Ubuntu 12.04. The possible way to get your hibernation works like charm is to remove this package:
sudo apt-get purge uswsusp
After removal, try to do a hibernation by issueing:
sudo pm-hibernate
2. Tux On Ice
Kindly be noted that as the Tux On Ice is using non-PAE (Physical Address Extension) kernel, hence after installing Tux On Ice on 32-bit Ubuntu, you will find that your physical memory is capped at 2.4GB only even if your RAM is more than that, say 4GB or above. It might slow down your laptop performance if memory consumption is high.
To install Tux On Ice:
sudo add-apt-repository ppa:tuxonice/ppa
sudo apt-get update
sudo apt-get install tuxonice-userui linux-generic-tuxonice linux-headers-generic-tuxonice
Then try to hibernate with:
sudo pm-hibernate
Take note that Tux On Ice might not always support the latest linux kernel. If during installation it complaint about not supporting latest kernel, try to revert to the previous one.
=============
If you would like to hibernate on power button press, in dconf-editor, ensure the following:
apps.indicator-session.suppress-logout-restart-shutdown = unchecked
org.gnome.settings-daemon.plugins.power.button-power = hibernate
Thanks to this reference:
http://www.pauljoyceuk.com/codex/2012/howto-make-ubuntu-12-04-hibernate-successfully/
没有评论:
发表评论