我的戴尔 Inspiron 15R并安装i8kmon
以控制风扇速度Ubuntu 14.04。
以下是“lm-sensors”输出的副本:
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +62.0°C (high = +87.0°C, crit = +105.0°C)
Core 0: +57.0°C (high = +87.0°C, crit = +105.0°C)
Core 1: +61.0°C (high = +87.0°C, crit = +105.0°C)
i8k-virtual-0
Adapter: Virtual device
Right Fan: 0 RPM
CPU: +62.0°C
即使将温度阈值设置/etc/i8kmon
为:
set config(daemon) 1
# Automatic fan control, override with --auto option
set config(auto) 1
# Report status on stdout, override with --verbose option
set config(verbose) 1
# Status check timeout (seconds), override with --timeout option
set config(timeout) 1
# Temperature thresholds: {fan_speeds low_ac high_ac low_batt high_batt}
set config(0) {{0 -} -1 55 -1 55}
set config(1) {{1 -} 55 70 55 70}
set config(2) {{2 -} 60 128 60 128}
风扇没有按时启动。您知道可能是什么问题吗?以下是使用以下选项log
手动运行时的副本:i8kmon
--verbose
i8kmon v1.30 11/16/2013 - Copyright (C) 2013 Vitor Augusto <[email protected]>
config(0) = {0 0} -1 60 -1 65
config(1) = {1 0} 50 70 55 75
config(2) = {1 1} 60 80 65 85
config(3) = {2 2} 70 128 75 128
config(acpi) = acpi
config(auto) = 1
config(daemon) = 1
config(geometry) =
config(i8kfan) = /usr/bin/i8kfan
config(min_speed) = 2000
config(sysconfig) = /etc/i8kmon.conf
config(t_high) = 80
config(timeout) = 5
config(unit) = C
config(use_conf) = 1
config(userconfig) = ~/.i8kmon
config(verbose) = 1
status(ac) = 0
status(acpi_timer) = 0
status(left) =
status(leftspeed) = 0 -1 -1 -1
status(lspeed) = 0
status(lstate) = 0
status(lstuck) = 0
status(nfans) = 2
status(right) =
status(rightspeed) = 0 0 0 0
status(rspeed) = 0
status(rstate) = 2
status(rstuck) = 0
status(state) = 0
status(t_high) = 0
status(t_low) = 0
status(temp) = 0
status(timer) =
status(ui) = 0
1410467738 acpi: Battery 0: Discharging, 89%, 03:13:17 remaining
temp, left, right, ac state: 60 -1 2 0
# exec /usr/bin/i8kfan 0 0
temp, left, right, ac state: 59 -1 0 0
# exec /usr/bin/i8kfan 0 {}
temp, left, right, ac state: 58 -1 0 0
# exec /usr/bin/i8kfan 0 {}
temp, left, right, ac state: 58 -1 0 0
# exec /usr/bin/i8kfan 0 {}
temp, left, right, ac state: 60 -1 0 0
# exec /usr/bin/i8kfan 0 {}
temp, left, right, ac state: 58 -1 0 0
# exec /usr/bin/i8kfan 0 {}
temp, left, right, ac state: 59 -1 0 0
# exec /usr/bin/i8kfan 0 {}
temp, left, right, ac state: 58 -1 0 0
# exec /usr/bin/i8kfan 0 {}
temp, left, right, ac state: 58 -1 0 0
# exec /usr/bin/i8kfan 0 {}
temp, left, right, ac state: 60 -1 0 0
看来温度不对,而且i8kmon
风扇没有开。
答案1
根据lm-sensors
:
i8k-virtual-0
Adapter: Virtual device
Right Fan: 0 RPM
您只有Right Fan
,因此左风扇值应始终为-1
。您必须将文件中的设置配置更改/etc/i8kmon.conf
为以下值:
set config(0) {{-1 0} -1 40 -1 40}
set config(1) {{-1 1} 40 60 40 60}
set config(2) {{-1 2} 60 128 60 128}
set config(3) {{-1 2} 60 128 60 128}
在 状态下{-1 0}
,没有左风扇,右风扇关闭;在 状态下{-1 1}
,右风扇应低速运行,而在 状态下,右风扇{-1 2}
应全速运行。其他值,例如40 60 40 60
,对应于每个状态的温度阈值 --- 最小值和最大值 ---,有和没有交流电源。
您还需要添加以下选项:
# Run as daemon, override with --daemon option
set config(daemon) 0
# Automatic fan control, override with --auto option
set config(auto) 1
# Report status on stdout, override with --verbose option
set config(verbose) 1
# Status check timeout (seconds), override with --timeout option
set config(timeout) 20
最后,您需要创建i8k.conf
包含/etc/modprobe.d/
行的文件options i8k force=1
。
查看更多详细信息man i8kmon