acpi...what's the secret?

Federico Voges fvoges
Mon May 17 11:48:33 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 18 Jun 2003 19:40:26 -0700, Net Llama! wrote:

>I'm fumbling my way through getting ACPI working on my laptop (which 
>doesn't support APM).  I've applied the patches from acpi.sf.net to 
>2.4.21, and i'm booted into that kernel right now.  I've got the acpid 
>running, so i'm assuming its doing something, although i'm not too clear 
>on what.
>
>I've got a whole mess of entries under /proc/acpi with alot of 
>interesting info.  I'm assuming that i don't need to tinker with them 
>manually, but i could be wrong.  What i'm not able to figure out is do i 
>need to do anything further for acpi to work its magic (prevent the 
>laptop from overheating, monitor battery usage etc)?    Anyone have a 
>clue to throw me?
>

AFAIK all the magic is done by acpid. It checks the ACPI event
interface in /proc (IIRC /proc/acpi/event) and according to that event
it calls the specified script (see /etc/acpi/events) with a couple of
cmd line parameters.

I can't help you with you with the thermal, battery, etc features
'cause I've only used it to make the power button do a shutdown on a
couple of desktops.

BTW: you can "disable" the power button on an ATX case by loading the
button ACPI module and not running acpid (or set it up to ignore it) :)




Federico Voges
Socio gerente

Intrasoft
Malabia 2137 14 A
(1425) Buenos Aires
Argentina

Te/Fax: 54-11-4833-5182
e-mail: fvoges at intrasoft.com.ar
Web: http://www.intrasoft.com.ar

-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.0

iQA/AwUBPvHbEBRcJRaVKt4XEQJE9QCfeiM68fXujgJy/3vQb0Vph2GcuogAoO/y
jfB460QYKUjI9WT/hpZxXy/a
=oouC
-----END PGP SIGNATURE-----





More information about the Linux-users mailing list