Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Thinkpad Z60T suspend to ram

From: 8rino <olpantani(at)unifi.it>
Date: Fri Jan 11 2008 - 10:12:08 EST

Florian Kulzer-3 wrote:  

> On Thu, Jan 10, 2008 at 10:54:12 -0800, 8rino wrote:

>>
>> [...]
>> >I think the mistake is in this line:
>> > [ -f $cfgs ] || continue
>> >It should have "$cfg" instead of "$cfgs":
>> > [ -f $cfg ] || continue
You were right. It is already been fixed and patched > [...]  

>> I've tried the following
>> a) from root in the 1st console: s2ram -f -a 3
>> OK. It suspends.
>> Pressing the Fn button it resumes back, with no errors, albeit the
>> light
>> of the screen on resuming remain off
>> and I have to press Ctrl-Alt-F7 to have the lights on back.
>> Other options to s2ram seems not to work, since they are reporting
>> errors.
>>
>> b) I've added "2511EJG" in
>> /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-ibm.fdi
>> but nothing changes.
>>
>> Any further idea ?

> 
> I would try to edit the file /usr/lib/pm-utils/defaults. It has this
> line:
> 
> # S2RAM_OPTS=""
> 
> I would change that to
> 
> S2RAM_OPTS="-f -a 3"

I forgot to tell you that I already tried this, but in /etc/pm/config.d/config as somewhere I've read that the lines in config override the ones in defaults. Nevertheless another patch was necessary in /usr/lib/pm-utils/bin/pm-action, since the option --S3-bios* did not allowed other options to be passed to s2ram.
It was a matter of a "+" missing on one line in pm-action. It is reported in the page you gave me.
http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=pm-utils  I had to change the lines

 if [ -n "$ACPI_SLEEP" ]; then

        S2RAM_OPTS=" --acpi_sleep $ACPI_SLEEP"
 fi  

 if [ -n "$S2RAM_OPTS" ]; then

into

 if [ -n "$ACPI_SLEEP" ]; then

Do you need help?X

        S2RAM_OPTS+=" --acpi_sleep $ACPI_SLEEP"  fi  

 if [ -n "$S2RAM_OPTS" ]; then

Now everything is working properly.
Thanks "A LOT", Dr Kulzer.

-- 
View this message in context: 
http://www.nabble.com/Thinkpad-Z60T-suspend-to-ram-tp2570039p14758355.html
Sent from the Debian Laptop mailing list archive at Nabble.com.


-- 
To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Fri Jan 11 10:15:15 2008

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 06:49:42 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library