安装 ThinkFan 错误

安装 ThinkFan 错误

今天我安装了 ThinkFan本教程,一切都很顺利,直到我发现我不能

echo "options thinkpad_acpi fan_control=1" > /etc/modprobe.d/thinkfan.conf

因为权限被拒绝。所以我使用了su,命令确实运行了。之后我发现我完全丢失了一些文件,包括默认温度设置,服务无法启动

● thinkfan.service - simple and lightweight fan control program
   Loaded: loaded (/lib/systemd/system/thinkfan.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2018-08-21 21:40:53 CEST; 7ms ago
  Process: 3115 ExecStart=/usr/sbin/thinkfan $DAEMON_ARGS (code=exited, status=4)

srp 21 21:40:53 petr-x230 systemd[1]: thinkfan.service: Control process exited, code=exited status=4
srp 21 21:40:53 petr-x230 thinkfan[3115]: WARNING: Using default temperature inputs in /proc/acpi/ibm/thermal.
srp 21 21:40:53 petr-x230 systemd[1]: thinkfan.service: Failed with result 'exit-code'.
srp 21 21:40:53 petr-x230 thinkfan[3115]: /proc/acpi/ibm/thermal: No such file or directory
srp 21 21:40:53 petr-x230 thinkfan[3115]: add_sensor: Error getting temperature.
srp 21 21:40:53 petr-x230 thinkfan[3115]: /proc/acpi/ibm/thermal: No such file or directory
srp 21 21:40:53 petr-x230 systemd[1]: Failed to start simple and lightweight fan control program.
srp 21 21:40:53 petr-x230 thinkfan[3115]: Error parsing temperatures:
srp 21 21:40:53 petr-x230 thinkfan[3115]: readconfig: Error getting temperature.
srp 21 21:40:53 petr-x230 thinkfan[3115]: Refusing to run without usable config file!

我应该怎么办?

答案1

好的,重新安装确实有效:我使用了:

sudo apt install --reinstall thinkfan

相关内容