[ltp] G41 ACPI Suspend to RAM

Lupine linux-thinkpad@linux-thinkpad.org
Mon, 03 Jan 2005 14:00:21 -0500


On Mon, 2005-01-03 at 10:20 -0800, sarvinc@fastmail.fm wrote:
> On Monday 03 January 2005 06:11, Lupine wrote:
> > On Sun, 2005-01-02 at 22:08 -0800, sarvinc@fastmail.fm wrote:
> > > On Sunday 02 January 2005 21:45, Lupine wrote:
> > > > 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
> > >
> > > Have you tried appending  acpi_sleep=s3_bios to either lilo or grub.conf?
> >
> > Yes, as I mentioned in the first mail (seems to have gotten lost in the
> > thread somewhere):
> >
> > 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
> >
> > -Lup
> 
> Sorry, I seem to have missed a bit of the conversation. Have you tried 
> "modprobe ibm_acpi hotkey=enable" before doing anything else?

I currently have the IBM_ACPI compiled into my kernel.  I will try a
recompile as a module and see if that makes a difference.  It doesn't go
into suspend mode when I shut the lid either, so I assume this is a
bigger problem than just the hotkeys.

-Lup