对linux的硬件(风扇)协调
这PC运行了一天,风扇太安静了,明明摸上去是热的!看来需要改进硬件智能化。
(1)sudo apt-get install thinkfan
(2)sudo sh -c 'echo coretemp >> /etc/modules' (后面改为/etc/modules-load.d )
(3)sudo modprobe coretemp
(4)root身份编辑/etc/thinkfan.conf ,添加
hwmon /sys/devices/virtual/thermal/thermal_zone0/temp #配置传感器
tp_fan /proc/acpi/ibm/fan #配置风扇控制接口
(0, 0, 42)
(1, 40, 47)
(2, 45, 52)
(3, 50, 57)
(4, 55, 62)
(5, 60, 66)
(6, 64, 70)
(7, 68, 74) # 电脑风扇最高84摄氏度,低个10度不触线!
(127, 72, 32767) #在默认的相似语句前加#。
(5)
touch /etc/modprobe.d/thinkfan.conf
sudo sh -c 'echo "options thinkpad_acpi fan_control=1" >> /etc/modprobe.d/thinkfan.conf'
(6)
sudo modprobe -r thinkpad_acpi
sudo modprobe thinkpad_acpi
(7)
root权限修改/etc/default/thinkfan中no 为yes
(8)
sudo /etc/init.d/thinkfan start
(9)
sudo cat /proc/acpi/ibm/fan
(10)
sensors
——————————————————————————
REF:
https://forum.thinkpads.com//viewtopic.php?t=119546
https://zhidao.baidu.com/question/511693705.html
浙公网安备 33010602011771号