[ltp] G41 ACPI Suspend to RAM

Lupine linux-thinkpad@linux-thinkpad.org
Sun, 02 Jan 2005 18:33:33 -0500


I've seen mention of the G40 on the mailing list, but not the G41 (which
is what I have).  I can't seem to get this thing to go into "Suspend to
RAM" mode no matter what I do.  Here is what I've tried so far:

System: IBM G41 Laptop model 2886 79U
OS: Beyond Linux from Scratch built from SVN-20041102
Kernel: 2.6.10
Grub options: 
	title BLFS SVN-20041017 Kernel 2.6.10
	root (hd0,0)
	kernel /boot/blfskernel-2.6.10 root=/dev/hda1 acpi_sleep=s3_bios

I've installed the following:
	acpid-1.0.4.tar.gz
	ibm-acpi-0.8.tar.gz
	tpctl_4.15.tar.gz

Config files:

#/usr/src/linux/.config
...<snip>...
#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
CONFIG_ACPI_IBM=y
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_DEBUG=y
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_X86_PM_TIMER is not set
...<snip>...

#/etc/acpi/events/sleep
event=(button/sleep|ibm/hotkey HKEY 00000080 00001004)
action=/etc/acpi/actions/sleep.sh

#/etc/acpi/actions/sleep
#!/bin/bash
echo -n mem > /sys/power/state

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