[ltp] tp-fancontrol does not work with kernel 3.3.8 on X200
Hisashi Shiota
linux-thinkpad@linux-thinkpad.org
Wed, 26 Sep 2012 00:56:43 +0900
Hi,
I fetched tp-fancontrol script from the following ThinkWiki page,
http://www.thinkwiki.org/wiki/How_to_control_fan_speed
However it does not work with kernel 3.3.8 on my X200.
tp-fancontrol shows an error message as follows;
4252 (process ID) old priority 0, new priority -10
> Activating watchdog with delay 9 sec
> Starting dynamic fan control
./tp-fancontrol_org: line 242: /proc/acpi/ibm/ecdump: No such file or directory
> Shutting down, switching to automatic fan control
After some investigation, I found the EC dump interface was removed from
thinkpad_acpi two years ago.
https://lkml.org/lkml/2010/7/1/206
I invalidate some code accessing EC in tp-fancontrol, because I suppose EC is
accessed only to decrease fan noise. And my revised code seems to work somehow.
But I am not sure if my workaround is good or not.
So if you have better idea than mine or know another solution, any comment are
welcome for me.
Cheers,
Hisashi Shiota