I have now written some small code, that automatic change the fan speed depending on temperature.
Open terminal and SSH into your device.
When asked for password use soho<your-password>
(if you haven't set a password, than just write soho
Use VI to alter some scripts. First fan.sh
and then hwclock.sh
Add the following code and save and close fan.sh
read tt < /proc/mp_lm63_local_temp
if [ $tt -lt 43 ]; then
echo "manual 0" > /proc/mp_lm63_fan_speed
if [ $tt -ge 43 ] && [ $tt -lt 45 ]; then
echo "manual 30" > /proc/mp_lm63_fan_speed
if [ $tt -ge 45 ] && [ $tt -lt 47 ]; then
echo "manual 60" > /proc/mp_lm63_fan_speed
if [ $tt -ge 47 ]; then
echo "manual 100" > /proc/mp_lm63_fan_speed
Now edit hwclock.sh
Add the following code to the 2. line and save and close hwclock.sh
sh /etc/init.d/fan.sh &
After a restart the fan changes speed depending on temperature. I now have it working with a replacement 2-pin fan, that else wouldn't start up.
Credits goes to 11mail22 at the Lenovo forums who has written a larger script for the IX2-200 with a temp controlling part in it. Tjeck it out here: https://forums.lenovo.com/t5/forums/v3_ ... 467/page/1