diff --git a/install.sh b/install.sh index ec71527..608fdbf 100644 --- a/install.sh +++ b/install.sh @@ -52,3 +52,20 @@ sudo apt-get install xgps gpsd gpsmon /etc/sysconfig/gpsd -> OPTIONS="-n" DEVICES="/dev/ttyACM0 /dev/ttyACM1" + +# thinkpad x220 +sudo apt-get install thinkfan +echo "options thinkpad_acpi fan_control=1" > /etc/modprobe.d/thinkpad_acpi.conf +mcedit /etc/thinkfan.conf -> +tp_fan /proc/acpi/ibm/fan +hwmon /sys/class/thermal/thermal_zone0/temp +(0, 0, 60) +(1, 53, 65) +(2, 55, 66) +(3, 57, 68) +(4, 61, 70) +(5, 64, 71) +(7, 68, 32767) + +test: sudo /usr/sbin/thinkfan -n +systemctl enable --now thinkfan.service