Re: suspend/hibernate to work on thinkpad x60s?

From: George Nychis
Date: Thu Jul 13 2006 - 15:13:20 EST


Hey,

x60s gnychis # echo -n mem > /sys/power/state
bash: echo: write error: Operation not permitted
x60s gnychis # cat /sys/power/state
standby mem

I think I have acpid installed, it is a Gentoo system:
[ebuild R ] sys-power/acpid-1.0.4-r3 USE="-doc -logrotate" 22 kB


I think I've already set up some acpid stuff for my CPU frequency
scaling capabilities, I followed this guide:
ttp://www.gentoo.org/doc/en/power-management-guide.xml

I modified:
/etc/acpi/actions/pmg_switch_runlevel.sh

If i "tail -f /var/log/acpid" and try to suspend the system or shut the
lid, no new messages come up. If i pull my power cable to switch
between AC and battery, messages do come up.

Whats my next step here?

Thanks!
George


Jeremy Fitzhardinge wrote:
> George Nychis wrote:
>> I am not seeing any problems at all, though I am not seeing anything
>> happen :)
>>
>> If I Fn+suspend... nothing happens ... if i Fn+hibernate ... nothing
>> happens
>>
>> What patches did you use?
> Sounds like your first step is to set up acpi. What distro are you
> using? What happens if you do "echo -n mem > /sys/power/state"?
>
> The patches you need are to make the ahci disk interface resume
> properly. There's a series of 6 patches from Forrest Zhao which he
> posted to the linux-ide list, and they apply cleanly to 2.6.18-rc1-mm1.
>
> J
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/