我试图在运行debian的x220上使用thinkfan。安装完成时,systemd服务无法启动。有什么想法吗?
Nov 20 13:43:38 thinkpad-x220 thinkfan[1762]: /proc/acpi/ibm/thermal: No such file or directory
Nov 20 13:43:38 thinkpad-x220 thinkfan[1762]: Error parsing temperatures:
Nov 20 13:43:38 thinkpad-x220 thinkfan[1762]: readconfig: Error getting temperature.
Nov 20 13:43:38 thinkpad-x220 thinkfan[1762]: Refusing to run without usable config file!
Nov 20 13:43:38 thinkpad-x220 systemd[1]: thinkfan.service: control process exited, code=exited status=4
Nov 20 13:43:38 thinkpad-x220 systemd[1]: Failed to start simple and lightweight fan control program.我已经加载了tp_smapi和thinkpad_acpi模块。
发布于 2019-07-09 19:08:06
现在有点晚了,但我把答案留在这里,以防其他人有同样的问题。
问题是/proc/acpi/ibm/热不存在。为了正确读取传感器位置所需的温度:
find /sys/devices -type f -name "temp*_input"在我的例子中,我在/etc/thinkfan.conf. case中添加了以下两行:
tp_fan /proc/acpi/ibm/fan
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp2_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp3_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp4_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp5_input建议安装lm-传感器。
https://unix.stackexchange.com/questions/244487
复制相似问题