[ltp] [PATCH] ibm_acpi - Allow fan to be set to full speed
Efthym
linux-thinkpad@linux-thinkpad.org
Tue, 23 Aug 2005 19:09:16 +0300
On Tue, 23 Aug 2005 17:59:33 +0300, Thomas Renninger <trenn@gmx.net> wrote:
> Efthym wrote:
>> On Tue, 23 Aug 2005 10:10:24 +0300, Thomas Renninger <trenn@gmx.net>
>> wrote:
>>
>>> honey@gneek.com wrote:
>>>> 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.
>>>
>>> If correct speed status is needed for the script you can try this one.
>>> I think it should work (untested, I unfortunetely don't own a
>>> Thinkpad) ...
>>>
>>> BTW: I never got that much positive feed-back on any patch, thanks.
>>>
>>> Thomas
>>
>>
>> Hi Thomas,
>>
>> This one fails and unfortunately can't find the problem myself. Here's
>> what I get
>>
> Sorry, I should have test compiled at least.
> This one should work.
>
> Thomas
This one compiles and installs ok :) .....
but there's still no /proc/acpi/ibm/fan to test it :( ....