[Pm-utils] pm-utls version
Victor Lowther
victor.lowther at gmail.com
Mon Feb 11 17:33:06 PST 2008
On Tue, Feb 12, 2008 at 01:39:16AM +0100, Michael Biebl wrote:
> 2008/2/12, Victor Lowther <victor.lowther at gmail.com>:
> > On Tue, Feb 12, 2008 at 12:10:55AM +0100, Michael Biebl wrote:
> > Ah, my brief perusal of the source seemed to indicate that the -f
> > parameter (among other things) bypassed the whitelist entirely, including
> > the application of any quirks.
> >
> > In either case, though, we don't need to use s2ram at all in uswsusp --
> > the only thing it buys us is the whitelist, and we should be getting
> > that for free from HAL.
>
> s2ram is more than just a whitelist. It's an advanced version of
> vbetools. It also incorporates the functionality of pm-pmu and
> radeontool in one single binary (it replaces them so to speak)
> If you want to use more advanced stuff like s2both (hybrid-suspend
> support), you need the s2ram functionality anyway.
I apoligize if I am missing the point, but how is that relavent?
The video hook functionality in s2ram/s2both appears to be a clone of
what we do with vbetools, except theirs is written in c instead of being
written in sh, and we rely on HAL to pass the paramters that they appear
to get from an internal whitelist. Same functionality, two places.
Since we have to have video handling hooks ourselves to be sleep method
agnostic, and since we can easily disable s2(ram|both)'s quirk-handling
functionality, why not do that?
I apoligize that I do not access to a system that can both suspend and
hibernate (qemu only supports hibernation for obvious reasons, and my
laptop only supports suspend when using the nvidia binary driver, and
the nv driver only supports hibernate). Based on the testing I have
done, however, the -f switch does bypass all the video hackery that
s2ram normally performs, and since s2both just uses s2ram's
functionality for quirks handling, it should perform the same way.
I would love to have test reports on how well this method works on a
system that can normally suspend into hybrid mode without dying
horribly. Sadly, my test systems are not among those.
> I CCed Stefan. He can give probably give us more details on this and
> probably tell us how he would like to see uswsusp
> (s2ram/s2disk/s2both) integrated into pm-utils.
I look forward to it. :)
> Cheers,
> Michael
>
>
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
--
Victor Lowther
Ubuntu Certified Professional
More information about the Pm-utils
mailing list