AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1338376
Accepted
Sudhir Singh Khanger
Sudhir Singh Khanger
Asked: 2021-05-15 19:35:43 +0800 CST2021-05-15 19:35:43 +0800 CST 2021-05-15 19:35:43 +0800 CST

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

  • 772

我尽可能按照几个指南在我的 Thinkpad T420 上设置 Thinkfan,但我仍然无法让它工作。

错误

$ sudo thinkfan -n
ERROR: /sys/class/hwmon/hwmon0/temp1_input: No such file or directory

配置

thinkfan/hirsute,now 1.2.1-2 amd64 [installed]
lm-sensors/hirsute,now 1:3.6.0-7 amd64 [installed]
$ 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)
$ 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
$ 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)
$ 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
$ cat /etc/modprobe.d/thinkfan.conf
options thinkpad_acpi fan_control=1
$ cat /etc/default/thinkfan
# Additional startup parameters
#DAEMON_ARGS="-q"
START=yes
DAEMON_ARGS="-q -b 1 -s 3"
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
thinkpad
  • 1 1 个回答
  • 2706 Views

1 个回答

  • Voted
  1. Best Answer
    FreezeSoul
    2021-06-02T21:20:52+08:002021-06-02T21:20:52+08:00

    更新到 ubuntu 21.04 后,我遇到了同样的问题,然后我将此行添加到/etc/default/thinkfan,我的问题是好的。

    THINKFAN_ARGS="-c /etc/thinkfan.conf"
    
    • 2

相关问题

  • x61指纹读取器作为扫描仪?

  • Lenovo ThinkPads,亮度功能键由两步而不是一步,寻找解决方法[关闭]

  • Thinkpad中键滚动

  • Thinkpad T60 闪屏

  • 关闭控制台上的背光[关闭]

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve