我开始注意到电脑的风扇没有必要地全速打开,所以我安装了i8kmon服务来控制它们。在我手动禁用bios风扇控制之前,i8kmon似乎无法使用i8kfan命令来控制风扇。
服务正在运行:
root@pl438-pro:/home/inzaghi# /etc/init.d/i8kmon status
● i8kmon.service - Dell laptop thermal monitoring
Loaded: loaded (/lib/systemd/system/i8kmon.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2021-05-07 09:58:26 CEST; 20min ago
Docs: man:i8kmon
Main PID: 1222 (tclsh)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/i8kmon.service
└─1222 tclsh /usr/bin/i8kmon --nouserconfig
mai 07 10:18:40 pl438-pro i8kmon[1222]: temp, left fan state, right fan state, ac state: 50 0 0 0服务检测到高温,但忽略了该命令:
May 7 10:14:32 pl438-pro i8kmon[1222]: temp, left fan state, right fan state, ac state: 65 0 0 0
May 7 10:14:32 pl438-pro i8kmon[1222]: # (65>=65), state=1, low=55, high=75
May 7 10:14:32 pl438-pro i8kmon[1222]: /usr/bin/i8kfan 1 1
May 7 10:14:34 pl438-pro i8kmon[1222]: temp, left fan state, right fan state, ac state: 65 0 0 0配置文件/etc/i8kmon.conf
# Sample i8kmon configuration file (/etc/i8kmon.conf, ~/.i8kmon).
set config(use_conf) 1
set config(auto) 1
# External program to control the fans
set config(i8kfan) /usr/bin/i8kfan
# Report status on stdout, override with --verbose option
set config(verbose) 1
# Status check timeout (seconds), override with --timeout option
set config(timeout) 2
# Temperature threshold at which the temperature is displayed in red
set config(t_high) 80
# Temperature thresholds: {fan_speeds low_ac high_ac low_batt high_batt}
# These were tested on the I8000. If you have a different Dell laptop model
# you should check the BIOS temperature monitoring and set the appropriate
# thresholds here. In doubt start with low values and gradually rise them
# until the fans are not always on when the cpu is idle.
set config(0) {{0 0} -1 60 -1 65}
set config(1) {{1 1} 50 70 55 75}
set config(2) {{2 2} 60 80 65 85}
set config(3) {{2 2} 70 128 75 128}
# Speed values are set here to avoid i8kmon probe them at every time it starts.
set status(leftspeed) "0 1000 2000 3000"
set status(rightspeed) "0 1000 2000 3000"
# end of file用/etc/init.d/i8kmon重新启动服务不会有任何改变。我发现BIOS也试图控制风扇,所以我通过snap安装了https://github.com/TomFreudenberg/dell-bios-fan-control,执行/snap/dell-bios-fan-control/2/dell-bios-fan-control 0使事情正常工作。
我认为这个设置是永久保存在bios中的,但似乎每次启动计算机时我都需要运行它。我应该把它作为一种服务添加吗?
发布于 2022-04-22 22:00:31
在Ubuntu22.04和戴尔精密5520上,control的snap版本对我来说是崩溃的。
# dell-bios-fan-control 0
ioperm:: Operation not permitted
ioperm:: Operation not permitted
Segmentation fault (core dumped)我已经编译了它的来源- https://github.com/TomFreudenberg/dell-bios-fan-control -它终于停止了球迷!
https://unix.stackexchange.com/questions/648571
复制相似问题