[lkml]   [2004]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Allow userspace do something special on overtemp
Thomas Renninger <> ha scritto:
> Len Brown wrote:
>> On Wed, 2004-08-11 at 05:06, Pavel Machek wrote:
>>>>>.adds possibility to react to
>>>>>critical overtemp: it tries to call /sbin/overtemp, and only if
>>>that fails calls /sbin/poweroff.
>> Does /sbin/overtemp exist anyplace, or is this a proposal
>> to create it? What might it do?
> save some user info, suspend, standby, extreme throttling?
> It should be somehow configurable in userspace.
> For my opinion it would be nicest if kernel just throws a thermal event
> to /proc/acpi/event (it already does this, but immediately shuts down)
> and acpid or others should decide whether shutdown/suspend/standby or
> whatever should be done next.

I think that /sbin/overtemp is better, acpid may not know what do.
Suppose that the kernel delivers the event to acpid (or hotplug) but
they aren't configured to handle that, your CPU will melt...

> I have a machine with a broken DSDT which sets the critical tp to 200°C,
> there always must be some HW shutdown..., or do you think this is too risky?

It's more secure to call a program that can handle that for sure (ie.
/sbin/overtemp) and shutdown if it doesn't exist.

"New processes are created by other processes, just like new
humans. New humans are created by other humans, of course,
not by processes." -- Unix System Administration Handbook
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:05    [W:0.092 / U:7.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site