Comment 7 for bug 292256

Revision history for this message
japi (x-launchpad-ziqu-de) wrote :

I have no /var/run/video.rom and couldn't find a file with that name anywhere in the system.
But why doesn't s2ram need that file?

> One thing I'd like to mention is that you don't have to "force" Ubuntu
> to use s2ram, it's a choice that's made
> here: /etc/pm/config.d/00sleep_module. Uncomment the SUSPEND_MODULE line
> and set it to "uswsusp".

I have already tried that.
First problem here is, that uswsusp has no s2ram in ubuntu anymore. So switching to uswsusp as suspend_module has no real effect.

I bypassed this problem by installing the debian uswsusp with s2ram.

But there is a second problem:
The setting there seems to be ignored anyway, because still everything runs over "/usr/lib/hal/scripts/linux/hal-system-power-suspend-linux" in the end.
And there is a nice comment stating: "# We only support pm-utils", which seems to be true.
Changing the line
"/usr/sbin/pm-suspend $QUIRKS"
into
"/usr/sbin/s2ram --force --vbe_post"
works nicely for me.