|
|||||||||||
|
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 > > 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"
if [ -n "$S2RAM_OPTS" ]; then into if [ -n "$ACPI_SLEEP" ]; then S2RAM_OPTS+=" --acpi_sleep $ACPI_SLEEP" fi if [ -n "$S2RAM_OPTS" ]; then
Now everything is working properly.
-- 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.orgReceived 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 |
||||||||||
|
|||||||||||