It may be because I compile my own kernel with suspend2 patch, but after the latest update of hibernate-script (1.96) suspend2 stopped working for me... "sudo hibernate" would result in the following message:
cat: /sys/power/suspend2/: Is a directory
ABORTING: /sys/power/suspend2/ did not return a valid result.
The following fix worked for me: http://forums.gentoo.org/viewtopic-t-57 … tlets.html
Just make sure to add the line to the end of the indicated file rather than the beginning.
Another problem came up because of the update to "userui" package - the user interface would not show up while hibernating. This is fixed by editing "/etc/hibernate/suspend2.conf" and changing: "ProcSetting user_interface/program /usr/sbin/suspend2ui_text" line to "ProcSetting user_interface/program /usr/sbin/tuxoniceui_text" (if you're using the fbsplash version the filenames will be different - "suspend2ui_fbsplash" becomes "tuxoniceui_fbsplash").
I hope someone will find this helpful.
Last edited by fwojciec (2007-08-22 16:02:49)
thanks for posting....in /etc/hibernate/suspend2.conf.pacnew there were already the change.
The suspend2ui -> tuxoniceui change, right? Thanks for pointing that out.
Confirmed, there is a bug in hibernate-script. Set "VerifyFilewriterResume2 no" in suspend2.conf to work around it until I have it fixed.