[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Thinkpad Z60T suspend to ram





On Tue, Jan 08, 2008 at 01:40:37 -0800, 8rino wrote:
[...]
If I understand you correctly, you can suspend and resume without
problems if you use this command directly? That means you almost have it
working already. We just have to figure out how to make sure the
--quirk-s3-bios option is invoked when you press Fn-moon.

This is actually the problem.

> Here
> (/http://www.thinkwiki.org/wiki/Problem_with_display_remaining_black_after_resume)
> it is suggested to write 
> DISPLAY_QUIRK_S3_BIOS=\"true\"  into /etc/pm/config.d/config for FC7.
> I did it, but seems not to work with debian. 

This might be a misunderstanding: I think you should put

DISPLAY_QUIRK_S3_BIOS="true"
into this file. 

I made a bad copy&paste from the page. 
In  my /etc/pm/config.d/config is written exactly as above

> I think that there are some files where I have to write some options, but
> I'm unclear where they are and in which order they are read/executed
> Any hint as to where to learn such things?

In a perfect world the manpages should always list the configuration
files and directories. Sometimes it is necessary to use google or to
list all files of a package and make a guess.

Thanks to your help and suggestions I've found this
http://en.opensuse.org/Pm-utils
which is a very helpful page indeed.
It explains all the nuts and bolts of pm-utils.

Nevertheless I'm still unable to suspend/hibernate the machine properly,
even if I'm quite happy since I'm starting to understand something.

>From 
cat /var/log/pm-suspend.log 
I get

===== Wed Jan  9 16:02:52 CET 2008: running hook:
/usr/lib/pm-utils/sleep.d/00clear =====
/usr/lib/pm-utils/functions: line 28: [: /etc/pm/config.d/config: binary
operator expected
/usr/lib/pm-utils/functions: line 28: [: /etc/pm/config.d/config: binary
operator expected

where around line 28  in /usr/lib/pm-utils/functions

I find this:

source_configs()
{
        cfgs="/etc/pm/config.d/*[^~]"
        for cfg in $cfgs ; do
                [ -f $cfgs ] || continue
                set -a
                . $cfg
                set +a
        done
}

I'm not a programmer, so do you have any idea, please ?

BTW, thanks for being a good interlocutor. I appreciate it a lot.
I'm quite alone here dealing with Linux. I switched "definitely" to it only
6 months ago or so.

We are somehow colleagues. You can find me here
http://www4.unifi.it/dssnp/english/professors/pantani.htm
-- 
View this message in context: http://www.nabble.com/Thinkpad-Z60T-suspend-to-ram-tp2570039p14715291.html
Sent from the Debian Laptop mailing list archive at Nabble.com.


Reply to: