[ltp] [PATCH] ibm_acpi - Allow fan to be set to full speed
Efthym
linux-thinkpad@linux-thinkpad.org
Mon, 22 Aug 2005 12:06:10 +0300
On Sun, 21 Aug 2005 22:29:53 +0300, Thomas Renninger <trenn@suse.de> wrote:
> Efthym wrote:
>> Hi Thomas,
>>
>> patch works for T21, ibm_acpi v0.11.
>> When running on full-speed, /proc/acpi/ibm/fan:status reports disable
>> instead of full-speed.
>> Nevertheless, great job!
> np.
>
> Hmmm, I do not dare to touch the enabled macro as it is used everywhere
> in
> the module.
> If you send ecdump output when disabled is displayed wrongly, maybe
> Borislav could
> have a look at it, if this should really be integrated.
>
> Thomas
Hope this helps
[root@purgatory ibm]# cat fan
status: enabled
speed: 0
commands: enable, disable, full-speed
[root@purgatory ibm]# echo full-speed >fan
[root@purgatory ibm]# cat fan
status: disabled
speed: 0
commands: enable, disable, full-speed
[root@purgatory ibm]# cat ecdump
EC +00 +01 +02 +03 +04 +05 +06 +07 +08 +09 +0a +0b +0c +0d +0e +0f
EC 0x00: d6 6b 00 00 fe 96 00 00 80 00 47 00 11 00 99 02
EC 0x10: 00 00 ff ff ff 3c 97 09 ff 03 0f 00 00 00 00 00
EC 0x20: 00 00 00 00 00 00 00 00 03 00 00 00 a6 00 00 *50
EC 0x30: 0e 07 02 00 14 04 14 8c 88 0f 00 04 00 50 00 00
EC 0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
EC 0x50: 00 c0 02 10 00 00 00 01 e0 97 00 00 94 6b 00 00
EC 0x60: 12 6b 00 00 89 30 00 00 31 01 00 00 00 00 5c 0d
EC 0x70: 4e 58 5e 55 1c 09 30 80 *35 80 80 80 34 *2f 20 80
EC 0x80: 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00
EC 0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
EC 0xa0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
EC 0xb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
EC 0xc0: *0b *19 *f7 *5f 00 00 00 00 00 00 00 00 00 00 00 00
EC 0xd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
EC 0xe0: 30 32 2f 32 30 2f 30 31 10 60 38 02 24 0e 88 02
EC 0xf0: 49 59 48 54 31 38 57 57 31 35 3a 32 37 3a 33 39
[root@purgatory ibm]#
P.S.1 "echo full-speed > fan" DOES work !
P.S.2 no speed available :(