Browse Source

Install gps and thinkfan

master
Alexei 3 years ago
parent
commit
fe944b0e6d
  1. 17
      install.sh

17
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

Loading…
Cancel
Save