[ltp] ACPI on T41p
Brad Langhorst
linux-thinkpad@linux-thinkpad.org
Sun, 04 Apr 2004 16:14:09 -0400
On Sun, 2004-04-04 at 15:05, Daniel Jimenez wrote:
> Hi all,
>
> Like others I'm generally confused about the state of ACPI in Linux. I'm
> using Gentoo linux but I've also tried SuSE LiveCD just to check.
>
> How do I get the following working (documentation would be great if you
> could point me to it)
>
> Suspend to memory
this just works... at least on my t40
but it's not REAL suspend - it uses a lot of power.
all you need to do is
echo 3 > /proc/acpi/sleep
I've given up on acpi for this reason...
I don't know whether it can be fixed or not (it may be that acpi S3 is
not supposed to be equivalent to APM suspend to memory)
>
> Suspend to disk (AKA Hibernate)
dunno about this - never have wanted it
>
> Suspend to swap (is this the same as suspend to disk?)
dunno
> GNU/Linux to initiate a shutdown when I press the power button on the
> laptop.
you need to learn about acpid
put this into a file in /etc/acpi/events
event=button[ /]power
action=/etc/acpi/powerbtn.sh
then when you push the power button that script will get run.
brda