[ltp] R51 Fancontrol

Florian Dorpmueller linux-thinkpad@linux-thinkpad.org
Sun, 3 Jun 2012 12:05:12 +0000


I'd like to do a manual control of my fan of my R51 because "thinkfan"on Ub=
untu Precise seems not to work as I expect it (obvioulsly te values in /etc=
/thinkfan.conf are ignored).

Now I am trying to work with the tp-fancontrol from http://www.thinkwiki.or=
g/wiki/Talk:Code/tp-fancontrol but this script exits immediately after star=
t. http://www.thinkwiki.org/wiki/ACPI_fan_control_script tells for this tha=
t there is a bug in line 356 which returns zero and cause the script to exi=
t if set -e is called=2C=20
which is unfortunately true. A simple solution is to append a true=20
expression after the command.

Can anybody explain me please how to append this expression?

Thanks in advance=2C
Florian
 		 	   		  =