Well I don't know really well and there is not much documentation
(easily accessible via google) but you can check /etc/acpi/events

In theory you can execute a script when a given acpi event occurs,
this includes power button press, closing laptop lid, etc.

You can look up at the proc interfaces for acpi for some clues too:

/proc/acpi

As events seems to be closely related to them, maybe you can catch an
event from thermal_zone and the execute an script to let you know that
your laptop is getting too hot, I'll check on this as it may be useful
for me too.

Good Luck!

On 7/14/07, Robert Moskowitz <[EMAIL PROTECTED]> wrote:
My notebook has a habit of getting hot, and Centos just shuts down.
Just did it again:

Jul 15 01:35:12 nc4010 kernel: ACPI: Critical trip point
Jul 15 01:35:12 nc4010 kernel: Critical temperature reached (113 C),
shutting down.
Jul 15 01:35:12 nc4010 kernel: Critical temperature reached (55 C),
shutting down.
Jul 15 01:35:13 nc4010 shutdown[9847]: shutting down for system halt
Jul 15 01:35:13 nc4010 gconfd (rgm-2904): Received signal 15, shutting
down cleanly
Jul 15 01:35:13 nc4010 gconfd (rgm-2904): Exiting


What I would like to know is where are the threshholds stored?

It would be nice if some alarm went off (like with low battery), giving
me time to grab the blue-ice block out of the freezer (or at least
saving some work and pointers!).


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to