Revision of Troubleshooting suspend/hibernate from Mon, 10/08/2012 - 15:41
The revisions let you track differences between multiple versions of a post.
Symptoms: Your computer seems to suspend or hibernate but then hangs at some point or does not wake up. Also your virtual terminals can get messed up in the process.
Causes: Often these problems are caused by your wifi card and/or your video card.
Method: Try switching off your wifi and see if you then can suspend/hibernate. If your wifi is the culprit, you can use the rfkill command from the rfkill package to modify the scripts at /usr/lib/pm-utils/sleep.d/ to automatically take out and restore wifi.
Start by reading the suspend/hibernate log, it's at /var/log/pm-suspend.log. Sometimes it contains useful information, sometimes it tries to fool you... You might want to rename/delete the old log before staring to experiment.
If that did not (completely) fix the problem, move onto the video card. First, you must add a nomodeset parameter to your kernel line in grub, update-grub and reboot. Make sure you got it right by checking /proc/cmdline to see nomodeset is there. Read the pm-suspend manual page, it describes quirks you can try with your hardware. For some of the quirks, the package vbetool is needed. Perhaps other packages too, the log will be useful here.
Then just start the guesswork, e.g. sudo pm-suspend --quirk-dpms-on
After an unsuccessful attempt, go read the log to see what it has to say, usually not much. Then test the next quirk. Sometimes you need more than one. One quirk allowed me to suspend/hibernate but another was needed to make sure my virtual terminals wouldn't get messed up in the process.
If and when you find a working combination, as the manual page says, edit /etc/pm/config.d/anyfile and input ADD_PARAMETERS= followed by a space separated list of the required quirks.
Good luck and patience!
Here's a forum thread about this https://trisquel.info/en/forum/how-i-fixed-my-suspend-issue And here's somebody who got it working reading my ramblings http://trisquel.info/en/issues/6380