首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法使thinkfan工作-错误:/sys/class/hwmon/hwmon0/temp1_ such :没有这样的文件或目录

无法使thinkfan工作-错误:/sys/class/hwmon/hwmon0/temp1_ such :没有这样的文件或目录
EN

Ask Ubuntu用户
提问于 2021-05-15 03:35:43
回答 1查看 3.7K关注 0票数 1

我遵循了几个指南来在我的Thinkpad T420上安装Thinkfan,但是我仍然无法让它工作。

错误

代码语言:javascript
复制
$ sudo thinkfan -n
ERROR: /sys/class/hwmon/hwmon0/temp1_input: No such file or directory

Con图

代码语言:javascript
复制
thinkfan/hirsute,now 1.2.1-2 amd64 [installed]
lm-sensors/hirsute,now 1:3.6.0-7 amd64 [installed]
代码语言:javascript
复制
$ sensors
thinkpad-isa-0000
Adapter: ISA adapter
fan1:        3575 RPM

BAT0-acpi-0
Adapter: ACPI interface
in0:          12.44 V  

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +57.0°C  (high = +86.0°C, crit = +100.0°C)
Core 0:        +55.0°C  (high = +86.0°C, crit = +100.0°C)
Core 1:        +56.0°C  (high = +86.0°C, crit = +100.0°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +55.0°C  (crit = +98.0°C)
代码语言:javascript
复制
$ cat /etc/modules-load.d/modules.conf 
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.


# Generated by sensors-detect on Fri May 14 08:59:44 2021
# Chip drivers
coretemp

# Generated by sensors-detect on Fri May 14 22:52:42 2021
# Chip drivers
coretemp
代码语言:javascript
复制
$ cat /etc/thinkfan.conf
sensor /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp3_input
sensor /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input
sensor /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp2_input
sensor /sys/devices/virtual/thermal/thermal_zone0/hwmon1/temp1_input

(0,     0,      42)
(1,     40,     47)
(2,     45,     52)
(3,     50,     57)
(4,     55,     62)
(5,     60,     67)
(6,     65,     72)
(7,     70,     77)
(127,   75,     32767)
代码语言:javascript
复制
$ find /sys/devices -type f -name "temp*_input"
/sys/devices/platform/coretemp.0/hwmon/hwmon3/temp3_input
/sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input
/sys/devices/platform/coretemp.0/hwmon/hwmon3/temp2_input
/sys/devices/virtual/thermal/thermal_zone0/hwmon1/temp1_input
代码语言:javascript
复制
$ cat /etc/modprobe.d/thinkfan.conf
options thinkpad_acpi fan_control=1
代码语言:javascript
复制
$ cat /etc/default/thinkfan
# Additional startup parameters
#DAEMON_ARGS="-q"
START=yes
DAEMON_ARGS="-q -b 1 -s 3"
代码语言:javascript
复制
Operating System: Kubuntu 21.04
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-17-generic
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-2620M CPU @ 2.70GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 3000
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2021-06-02 05:20:52

在更新到ubuntu21.04之后,我遇到了同样的问题,然后我将这一行添加到/etc/default/thinkfan中,我的问题就好了。

代码语言:javascript
复制
THINKFAN_ARGS="-c /etc/thinkfan.conf"
票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1338376

复制
相关文章

相似问题

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