安装什么的都按照网上的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
本文详细介绍了如何在Fedora 27和Ubuntu 18.04上解决ThinkFan服务无法启动的问题。通过修改配置文件/etc/thinkfan.conf并定义正确的sensors路径,实现了风扇速度的正确控制。
957

被折叠的 条评论
为什么被折叠?



