首先安装pvetools,并且完成j选项的安装
安装完后运行sensors,回车后我这边是这样的
root@m93q:~# sensors
it8792-isa-0a40
Adapter: ISA adapter
in0: +0.38 V (min = +0.03 V, max = +1.53 V)
in1: +2.09 V (min = +2.66 V, max = +0.21 V) ALARM
in2: +0.04 V (min = +1.13 V, max = +2.15 V) ALARM
in3: +0.98 V (min = +0.24 V, max = +2.20 V)
in4: +1.64 V (min = +2.50 V, max = +0.50 V) ALARM
in5: +2.51 V (min = +1.98 V, max = +0.08 V) ALARM
in6: +2.78 V (min = +2.00 V, max = +0.11 V) ALARM
3VSB: +1.62 V (min = +0.02 V, max = +1.08 V) ALARM
Vbat: +1.65 V
fan1: 2463 RPM (min = 23 RPM)
fan2: 0 RPM (min = -1 RPM)
fan3: 0 RPM (min = -1 RPM)
temp1: +50.0°C (low = +108.0°C, high = -112.0°C) ALARM sensor = thermal diode
temp2: +2.0°C (low = -116.0°C, high = +58.0°C) sensor = disabled
temp3: +42.0°C (low = +7.0°C, high = -40.0°C) ALARM sensor = thermal diode
intrusion0: ALARM
acpitz-acpi-0
Adapter: ACPI interface
temp1: +27.8°C (crit = +90.0°C)
temp2: +29.8°C (crit = +90.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +50.0°C (high = +79.0°C, crit = +85.0°C)
Core 0: +46.0°C (high = +79.0°C, crit = +85.0°C)
Core 1: +49.0°C (high = +79.0°C, crit = +85.0°C)
里面的内容有点问题,也有人显示不全,我们先不管。
接着我们安装i2ctools
apt install i2c-tools
安装完毕后需要载入i2c-dev内核模块
root@m93q:~# modprobe i2c_dev
我这边运行后并没有输出
紧接着我们运行 i2cdetect -l,如果有smbus输出即代表可以继续下一步
需要以root用户运行,下面是我的情况
root@m93q:~/# i2cdetect -l
i2c-3 i2c i915 gmbus panel I2C adapter
i2c-1 i2c i915 gmbus ssc I2C adapter
i2c-8 i2c AUX C/DDI C/PHY C I2C adapter
i2c-6 i2c i915 gmbus dpd I2C ad