Thread (1 message) 1 message, 1 author, 2005-07-25

Re: [PATCH] hysteresis for active cooling

From: Sanjoy Mahajan <hidden>
Date: 2005-07-25 03:08:13

Currently as I type that, my system starts active cooling when it
reaches 52 C and turns off when it reaches 44.
In my system, what your patch would do? Will it turn off fan when it
reach 42, instead of actual 44?
I don't know for sure, since I don't understand why your system starts
active cooling at 52 C (instead of 50 C) -- maybe there's hysteresis
in the hardware?  And why does it have to get way down to 44 C instead
of only 50 C before turning off?
From reading the acpi spec, I understood that the ACPI interpreter is
supposed to handle updating the temperature, querying the embedded
controller, providing interfaces to turn the fan on and off; but that
the OSPM (operating system power management code) is supposed to
decide when to turn the fan on and off.  In Linux that code is in the
thermal module (drivers/acpi/thermal.c), and the only code I found to
turn off active cooling was the else clause of

	    if (tz->temperature >= active->temperature) {

Would an ACPI guru clear up my lack of clue?

-Sanjoy


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help