Ubuntu 传感器,如何降低温度阈值?

giu*_*ppe 6 overheating sensors temperature lm-sensors 14.04

由于 CPU 过热,我的电脑关机。运行命令“sensors”我得到以下输出

Adapter: Virtual device
temp1:        +66.0°C  (crit = +101.0°C)
temp2:        +66.0°C  (crit = +101.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +61.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:       +61.0°C  (high = +105.0°C, crit = +105.0°C)
Run Code Online (Sandbox Code Playgroud)

正如您所看到的,高温暴击温度具有相同的阈值 (105.0°C),我想知道风扇是否不会加速来冷却 CPU,因为它等待达到高阈值,该阈值与将关闭 PC 的阈值相同。

如何将阈值设置为正确的 70°C 温度?

gir*_*ngo 4

使用命令:

sudo sensors -u coretemp-isa-0000
Run Code Online (Sandbox Code Playgroud)

您可以查看每个物理芯片有哪些可用选项。

在以下位置创建文件/etc/sensors.d/

sudo touch /etc/sensors.d/isa-coretemp
Run Code Online (Sandbox Code Playgroud)

然后编辑新文件:

chip "coretemp-isa-0000"
   label temp2 "Core 0"
   compute temp2 @-20,@-20 

   label temp3 "Core 1"
   compute temp3 @-20,@-20
Run Code Online (Sandbox Code Playgroud)
  • 仅行label temp2 "Core 0"更改标签;
  • 线路compute temp2 @-20,@-20降低高温 20 度(第一个 @-20),临界温度也降低 20 度(第二个 @-20)

现在,输入sensors您应该会看到新的设置。

笔记

参考man sensors.conf

Only  certain  chips  support thermal sensor type change, 
and even these usually only support some of the types above.
Please refer to the specific driver documentation to find out which types
are supported by your chip.

In theory, the BIOS should have configured the sensor types correctly,
so you shouldn't have to touch them, but sometimes  it isn't the case.
Run Code Online (Sandbox Code Playgroud)