[ltp] G41 ACPI Suspend to RAM
Lupine
linux-thinkpad@linux-thinkpad.org
Mon, 03 Jan 2005 00:19:46 -0500
> > When I hit Fn+F4 I see this:
> > #tail -f /var/log/acpid
> > [Sun Jan 2 18:13:00 2005] received event "ibm/hotkey HKEY 00000080
> > 00001004"
> > [Sun Jan 2 18:13:00 2005] executing action "/etc/acpi/actions/sleep.sh"
> > [Sun Jan 2 18:13:00 2005] BEGIN HANDLER MESSAGES
> > [Sun Jan 2 18:13:00 2005] END HANDLER MESSAGES
> > [Sun Jan 2 18:13:00 2005] action exited with status 1
> > [Sun Jan 2 18:13:00 2005] completed event "ibm/hotkey HKEY 00000080
> > 00001004"
> >
> > But nothing happens. When I close the lid, nothing happens. When I
> > type:
> >
> > #echo enable > /proc/acpi/ibm/hotkey
> > #echo 0xffff > /proc/acpi/ibm/hotkey
> > and then hit Fn+F4 nothing happens.
> >
> > I've seen reference to the G40:
> > http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2004-August/019346.html
> > However, after trying all the above....I've still can't get this thing
> > to suspend. Any other suggestions?
> >
> > Thanks,
> > Lup
> >
On Mon, 2005-01-03 at 03:34 +0100, André Wyrwa wrote:
> Hi,
>
> your configs are looking good.
>
> Does really NOTHING happen? Not even a switch to console or anything
> like that?
>
> A set of wild guesses...
>
> Your action scripts exits with an error. That means either the execution
> of the whole script fails or the echo command. If nothing happens at all
> that seems to indicate that the echo isn't even issued.
>
> Try cat /sys/power/sleep (just to verify its there and supports the
> three sleep states).
>
> Check if acpid is running as root (ps -o user -C acpid).
>
> Try issuing echo -n mem > /sys/power/sleep manually from a terminal (as
> root) and see what happens.
>
> Good luck,
> André.
>
>
Yeah, I mean nothing happens, as far as no suspend happens. I see the Hot
keys running, along with acpid...however, still no suspend. If I run apcid in
debug mode:
#acpid -d
[Mon Jan 3 00:11:14 2005] starting up
[Mon Jan 3 00:11:14 2005] DBG: parsing conf file /etc/acpi/events/dock
[Mon Jan 3 00:11:14 2005] DBG: parsing conf file /etc/acpi/events/radio
[Mon Jan 3 00:11:14 2005] DBG: parsing conf file /etc/acpi/events/blank
[Mon Jan 3 00:11:14 2005] DBG: parsing conf file /etc/acpi/events/sleep
[Mon Jan 3 00:11:14 2005] DBG: parsing conf
file /etc/acpi/events/undock
[Mon Jan 3 00:11:14 2005] DBG: parsing conf file /etc/acpi/events/eject
[Mon Jan 3 00:11:14 2005] DBG: parsing conf
file /etc/acpi/events/hibernate
[Mon Jan 3 00:11:14 2005] DBG: parsing conf
file /etc/acpi/events/rescan
[Mon Jan 3 00:11:14 2005] DBG: parsing conf file /etc/acpi/events/video
[Mon Jan 3 00:11:14 2005] DBG: parsing conf file /etc/acpi/events/ac
[Mon Jan 3 00:11:14 2005] 10 rules loaded
[Mon Jan 3 00:11:17 2005] received event "ibm/hotkey HKEY 00000080
00001004"
[Mon Jan 3 00:11:17 2005] DBG: rule from /etc/acpi/events/sleep matched
[Mon Jan 3 00:11:17 2005] executing action "/etc/acpi/actions/sleep.sh"
[Mon Jan 3 00:11:17 2005] BEGIN HANDLER MESSAGES
[Mon Jan 3 00:11:17 2005] END HANDLER MESSAGES
[Mon Jan 3 00:11:17 2005] action exited with status 1
[Mon Jan 3 00:11:17 2005] DBG: 1 total rule matched
[Mon Jan 3 00:11:17 2005] completed event "ibm/hotkey HKEY 00000080
00001004"
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.
I'm guessing my next course of action is just sending all my information
over
to http://ibm-acpi.sourceforge.net As the G41 is not even listed as
compatible.
Thanks,
Lup