[ltp] [PATCH] ibm_acpi - Allow fan to be set to full speed

linux-thinkpad@linux-thinkpad.org linux-thinkpad@linux-thinkpad.org
Mon, 22 Aug 2005 16:43:42 +0100 (BST)


On Mon, 22 Aug 2005, Leon Brokken wrote:

> Patch works on my T41.
>
> However, the ibm_manage_fan script doesn't work anymore (ibm_manage_fan
> script disables the fan when CPU temp is below a certain value). Anyone
> else noticed this behaviour?
>
> bash-bash-3.00# cat /proc/acpi/ibm/fan
> status:         enabled
> speed:          3581
> commands:       enable, disable, full-speed
> bash-3.00# echo full-speed > /proc/acpi/ibm/fan
> bash-3.00# cat /proc/acpi/ibm/fan
> status:         disabled
> speed:          4986
> commands:       enable, disable, full-speed
>
> Cheers, Leon.

Leon - yes, it would be likely to break Paul's script once set, as
the script reads back fan status from /proc/acpi/ibm/fan, which as
you say is incorrect for full-speed currently.  It'd be great if
Borislav implemented Thomas's work in ibm_acpi and fixed the status
too.

A little hacking in the script can fix it though, and implement
full-speed at very high temperature (see my other mail).

Honey