为前几天在一部旧的上跑Linux作家用云服务器,发现风扇的声音总是很大。在网上搜了一圈,终于找到了解决方法。
安装软件包:
sudo apt-get install cpufrequtils thinkfan lm-sensors
其中lm-sensors
用于检测系统温度,thinkfan
用来控制风扇转速,cpufrequtils
用于控制CPU的频率。
创建文件/etc/modprobe.d/thinkpad_acpi.conf
,其中包含以下内容:
options thinkpad_acpi experimental=1 fan_control=1
然后重新生成initrd文件
update-initramfs -u
编辑/etc/default/thinkfan
,将START=no
改为START=yes
重启thinkpad。之后风扇的声音就小很多了。