首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Debian上运行thinkfan

在Debian上运行thinkfan
EN

Unix & Linux用户
提问于 2015-11-20 21:46:49
回答 1查看 2.7K关注 0票数 0

我试图在运行debian的x220上使用thinkfan。安装完成时,systemd服务无法启动。有什么想法吗?

代码语言:javascript
复制
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_smapithinkpad_acpi模块。

EN

回答 1

Unix & Linux用户

发布于 2019-07-09 19:08:06

现在有点晚了,但我把答案留在这里,以防其他人有同样的问题。

问题是/proc/acpi/ibm/热不存在。为了正确读取传感器位置所需的温度:

代码语言:javascript
复制
find /sys/devices -type f -name "temp*_input"

在我的例子中,我在/etc/thinkfan.conf. case中添加了以下两行:

代码语言:javascript
复制
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-传感器。

票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/244487

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档