debian 9 fancontrol

系统运维 waitig 696℃ 百度已收录 0评论

debian 9 fancontrol

1. 安装 xsensors

xsensors可以查看cpu温度和风扇转速信息

$ sudo apt install xsensors

打开应用->系统工具->Xsensors
如下图示
这里写图片描述

温度信息貌似不对

2. 运行传感器检测命令:sensors-detect

$ sudo sensors-detect

一路敲回车直到最后一步,如下:

Now follows a summary of the probes I have just done.
Just press ENTER to continue: 

Driver `it87':
  * ISA bus, address 0xa30
    Chip `ITE IT8772E Super IO Sensors' (confidence: 9)

Driver `coretemp':
  * Chip `Intel digital thermal sensor' (confidence: 9)

To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
it87
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!

Do you want to add these lines automatically to /etc/modules? (yes/NO)

输入yes
会生成/etc/modules文件

$ cat /etc/modules
# /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 Sat Oct 14 12:15:11 2017
# Chip drivers
#coretemp
it87

这里我把coretemp注释了,因为coretemp模块已经加载了,所以就不用再加载一次了,可以通过lsmod命令查看到

$ lsmod | grep coretemp
coretemp               16384  0

重启一下系统

运行 pwmconfig 命令

sudo pwmconfig

根据提示操作,最后生成/etc/fancontrol文件,然后重启系统,完成

我的/etc/fancontrol文件内容如下:

# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon1=devices/platform/it87.2608
DEVNAME=hwmon1=it8772
FCTEMPS=hwmon1/pwm2=hwmon1/temp2_input
FCFANS= hwmon1/pwm2=hwmon1/fan2_input
MINTEMP=hwmon1/pwm2=20
MAXTEMP=hwmon1/pwm2=60
MINSTART=hwmon1/pwm2=150
MINSTOP=hwmon1/pwm2=100

本文由【waitig】发表在等英博客
本文固定链接:debian 9 fancontrol
欢迎关注本站官方公众号,每日都有干货分享!
等英博客官方公众号
点赞 (0)分享 (0)