Suspending the Vaio with Ubuntu

The other serious problem I had with Hardy Heron was getting Suspend and Resume to work with my newer laptop (a Sony Vaio VGN-CR19VN). It works OK on the old laptop, but the new one didn’t want to know. Whenever I tried it it would just clear the screen, go to text mode, and leave a cursor at the top left.

Eventually, after a lot of searching on the forums, I found a fix for it. It took a long time to find because it was in the middle of a thread about fixing the problem on an HP laptop. It actually turned out to be remarkably easy to do.

All I had to do was modify the first entry in /etc/pm/config.d/defaults to read

SUSPEND_MODULES="uvcvideo"

and it now suspends and restores correctly. I think it hibernates as well, but I haven’t tested that as thoroughly.