[ltp] T42/P Fan Control Script Error

harryc linux-thinkpad@linux-thinkpad.org
Sat, 10 Nov 2007 17:07:40 -0500


Edit: If I run this script -
http://www.thinkwiki.org/index.php?title=C...on/octet-stream
<http://www.thinkwiki.org/index.php?title=Code/tp-fancontrol&action=raw&ctype=application/octet-stream>


I get this error -
linux-5m25:/home/harryc/downloads # sh tp-fancontrol.sh
tp-fancontrol_bu.sh: line 202: syntax error near unexpected token `<'
tp-fancontrol_bu.sh: line 202: ` read X Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Z1 Z2 Z3
JNK < <(echo "$THERMAL") '

Manual fan control works -
linux-5m25:/home/harryc # echo level 3 > /proc/acpi/ibm/fan
linux-5m25:/home/harryc # echo level 2 > /proc/acpi/ibm/fan

Reference -
http://www.thinkwiki.org/wiki/How_to_control_fan_speed

This is on OpenSUSE 10.3, kernel 2.6.22. Any help or alternate solutions
to automatically control fan speed on a t42/p?
Harryc
--