Comment 42 for bug 292256

Revision history for this message
vlowther (victor-lowther) wrote : Re: [Bug 292256] Re: backlight failed after suspend to ram on IBM X40

On Sun, 2008-11-09 at 12:02 +0000, japi 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?

That is only needed if you are using a g80 or later nVidia GPU. Intel
GPUS can be posted from the regualr BIOS normally.

> > 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.
>
--
Victor Lowther
RHCE# 805008539634727
LPIC-2# LPI000140019