[ltp] G41 ACPI Suspend to RAM

Lupine linux-thinkpad@linux-thinkpad.org
Mon, 03 Jan 2005 00:45:50 -0500


On Sun, 2005-01-02 at 22:34 -0700, James McKenzie wrote:
> Lupine wrote:
> 
> >>>[Sun Jan  2 18:13:00 2005] completed event "ibm/hotkey HKEY 00000080
> >>>00001004"
> 
> Make sure that the config file has an event described for this.
> 
> 
> > Above, when you mentioned "echo -n mem > /sys/power/sleep"  did you mean
> > "echo -n mem > /sys/power/state" instead?  There is no /sys/power/sleep
> > only
> > state.
> 
> This is correct you should be able to suspend to memory if you type in 
> echo -n mem > /sys/power/state
> 
> You can get available states by typing in
> cat /sys/power/state
> I think the response for my A22p was mem and disk only.  You may get a 
> different set of responses.
> 
> Try the cat command before you send everything out to the problems web 
> page at ibm-acpi.
> 
> -- 
> James McKenzie

Above I mentioned that I have:
#/etc/acpi/events/sleep
event=(button/sleep|ibm/hotkey HKEY 00000080 00001004)
action=/etc/acpi/actions/sleep.sh

Is this what you are referring to?

The cat command shows this:
#cat /sys/power/state
standby mem disk

When I type "echo -n mem > /sys/power/state" again, nothing happens.
I'm tailing my /var/log/kern.log and /var/log/syslog.log, while I'm
still running acpid in debug mode.....and in the 4th terminal when I
type "echo -n mem > /sys/power/state" I see no output at all in any of
the screens.  Should I?

-Lup