On Mon, Aug 28, 2006 at 10:34:36AM +0200, Pavel Machek wrote:
> On Mon 2006-08-28 08:37:09, Stefan Seyfried wrote:
> > On Thu, Aug 24, 2006 at 07:56:28AM +0200, Pavel Machek wrote:
> > > Please no html for the lists.
> > > 
> > > >    i have suspend installed as part of the SuSE Linux 10.1 on my Lenovo
> > > >    Thinkpad T60.  suspend to ram does not work by default and the 
> > > > machine
> > > >    is not in the s2ram whitelist.  below is my s2ram -i output and the
> > > >    options that allow it to work:
> > > >    sudo s2ram -i
> > > >    This machine can be identified by:
> > > >        sys_vendor   = "LENOVO"
> > > >        sys_product  = "2623D6U"
> > > >        sys_version  = "ThinkPad T60"
> > > >        bios_version = "79ET60WW (1.05a)"
> > > >    s2ram -f -a 3
> > > >    i actually got it working by tweaking the /etc/powersave/sleep file
> > > >    but it's functionally equivalent to the s2ram flags above.
> > > >    diff -u sleep.ORIG sleep
> > > 
> > > Yep, T60 clearly needs sys_version-based whitelist.
> > 
> > Agreed (and in my local tree). Basically it looks like we could do a
> > Thinkpad-catchall entry
> > 
> >    { "LENOVO",        "",       "ThinkPad*", "", S3_BIOS|S3_MODE },
> > 
> > (and no, i am not brave enough for that :-)
> 
> Well, x32 needed to turn off radeon backlight, etc.

It would be the last in the list, so everything needing special treatment
just would go before this rule.
 
> But it may well have another positive effect: If we add
> LENOVO-catchall, we'll basically force LENOVO to use same method in
> future ;-).

They actually already do. I have not seen a ThinkPad that did not work
with S3_BIOS|S3_MODE for a _long_ time.

>                                                               Pavel
>                                                       (feeling evil today)

Go ahead :-) We could even do

        { "",   "",     "ThinkPad*",    "", S3_BIOS|S3_MODE },
-- 
Stefan Seyfried                  \ "I didn't want to write for pay. I
QA / R&D Team Mobile Devices      \ wanted to be paid for what I write."
SUSE LINUX Products GmbH, Nürnberg \                    -- Leonard Cohen

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to