[ltp] [PATCH] In-kernel automatic fan control

honey linux-thinkpad@linux-thinkpad.org
Wed, 30 Nov 2005 18:10:21 +0000 (GMT)


On Wed, 30 Nov 2005, Paul RIVIER wrote:

>> Note that Yury's kernel thread *does* monitor all temperatures, namely:
>>
>>  +static int useful_temps_idx[] = {
>>  +       0 /* CPU */,
>>  +       1 /* MiniPCI */,
>>  +       2 /* HDD */,
>>  +       3 /* GPU */,
>>  +       4, 6 /* Battery */
>> 
>> So Paul's scenario above should already be covered.
>> 
>> I also tend to agree with Yury that this sort of monitoring should be
>> handled by the kernel.
>> 
> I am really sorry, I did not take a look at the patch.
> The "echo auto 52 61 > /pr ..." drove me wrong :)
> And I forgot to mention it but I do agree that it is a kernel
> task rather than a script task.

I'd like to see the "full-speed" patch to ibm-acpi implemented in
any script or in-kernel management scheme I use - I couldn't live
without it.  A patch was posted to this list to provide this, and I
find it invaluable as a short blast of cold air in extreme temperature
situations.

echo -n full-speed > /proc/acpi/ibm/fan

Unsure if it's implemented in any of the above patches or schemes, but I
certainly implemented it in Paul's original script, and it works wonders
for me.

Honey