安装什么的都按照网上的ubuntu14, 16的做就可以,只是cpufrequtils这里没有,随便装了几个cpu有关的不知道有没有用。
关键是,安装好之后thinkfan 服务无法启动。
用
systemctl status thinkfan.service看,是因为/etc/thinkfan.conf没定义sensors,定义了sensors后还说这个关键词过时了,要用hwmon。
于是我的配置最终是:
# I use this on my T61p:
#sensor /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp3_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input
hwmon /sys/devices/virtual/hwmon/hwmon0/temp2_input
hwmon /sys/devices/virtual/hwmon/hwmon0/temp1_input
(0, 0, 22)
(1, 20, 27)
(2, 25, 32)
(3, 30, 37)
(4, 35, 42)
(5, 40, 47)
(7, 45, 52)
(64, 50, 32767)
然后启动 systemctl restart thinkfan.service
无论Fedora27还是Ubuntu18.04,要开机自启动thinkfan的话:
$ systemctl enable thinkfan.service