Total Pageviews

Thursday, November 12, 2009

Fixing hibernation problem under Ubuntu 9.10

Recently I upgraded my Ubuntu Linux 9.04 to the latest Ubuntu 9.10 on my Acer Aspire 5652 laptop. So far so good. The upgrade went smooth and without any problems and after 40 minutes I was able to take a look at the latest Ubuntu release.

Soon I found out that neither suspend nor hibernate were working. After resuming I got a blank black screen and I was not able to fix this problem with infos from the ubuntu forums.
I decided to install a fresh Ubuntu 9.10 on my laptop because I wanted to benefit from ext4, a better startup time and the newest grub.
After installation succeeded I really was impressed by the startup time. Even after I installed all the programs I used on Ubuntu 9.04 the startup time was nearly twice as fast. But one problem was still there: Neither suspend nor hibernate did work.

One of the answers in the forum was to wait for a patch but this is no option for me because I need at least hibernation on my laptop.

So I found this link to be very useful:

It shows how to use the "Userspace Software Suspend" program to fix hibernate or suspend problems.

As root I edited the file

and changed the line

and all of a sudden hibernation is working again. I still cannot use suspend but for now I can live with it.

UPDATE: 2009-11-29
With the latest Ubuntu updates my hibernation and suspend problems are gone, so I switched back to kernel suspend mode.