11 Nov, 2006
Goodbye suspend2… hello µswsusp!
Posted by: Julien @ 1:02 pm
Although I have been using successfully suspend2 patch and hibernate script for some time now on my Toshiba laptop, I noticed last week-end that resuming from suspend-to-ram did not re-initalize my video card correctly, leading to a blank screen. I couldn’t find any solution nor explanation to this anf finally gave a try to µsuspend (known as the uswsusp package in Debian)… and this works perfectly, and is far more reliable as suspend2/hibernate.
As a bonus, the time needed to suspend (both to ram and to disk) is considerabily shorter, resuming from s2ram is almost instantaneous!
I had to recompile my kernel to include initramfs support, as well as CONFIG_SOFTWARE_SUSPEND. I also unapplied suspend2 patch from my kernel tree.
As I didn’t previously use initramfs, I had to alter /etc/kernel-img.conf to add:
[code]ramdisk = /usr/sbin/mkinitramfs-kpkg[/code] and still have to recall to use the --initrd option when calling make-kpkg!
I will update my article on the TS M40X during the week-end.
The next step is to use the same set-up on my desktop machine, which currently does not support suspend-to-ram.
You will find here some information about me and my different projects. I am involved in several open source projects, and try to promote Free software. This site is thus mainly dedicated to Free Software use on GNU/Linux systems. Please do not hesitate to