Ubuntu 14.04上的大风扇
我有戴尔Latitude E5420笔记本电脑,我几天前从Ubuntu 13.10升级到Ubuntu 14.04。
我不禁注意到风扇的新烦人行为:它每1-2秒反复响亮一次,然后再关闭,然后再打开几分钟,没有任何密集的CPU进程运行。
这有什么问题吗?
好的,所以在这些响亮的时刻,温度确实会增加一点点。 它从50摄氏度到60摄氏度迅速升温,然后冷却并回到50摄氏度。
它之前从未发生过……
吵:
$ sensors acpitz-virtual-0 Adapter: Virtual device temp1: +25.0°C (crit = +107.0°C) coretemp-isa-0000 Adapter: ISA adapter Physical id 0: +55.0°C (high = +80.0°C, crit = +85.0°C) Core 0: +55.0°C (high = +80.0°C, crit = +85.0°C) Core 1: +54.0°C (high = +80.0°C, crit = +85.0°C) i8k-virtual-0 Adapter: Virtual device Right Fan: 121350 RPM CPU: +59.0°C
安静:
$ sensors acpitz-virtual-0 Adapter: Virtual device temp1: +25.0°C (crit = +107.0°C) coretemp-isa-0000 Adapter: ISA adapter Physical id 0: +49.0°C (high = +80.0°C, crit = +85.0°C) Core 0: +51.0°C (high = +80.0°C, crit = +85.0°C) Core 1: +51.0°C (high = +80.0°C, crit = +85.0°C) i8k-virtual-0 Adapter: Virtual device Right Fan: 0 RPM CPU: +50.0°C
此用户使用类似的笔记本电脑型号(Dell Latitude E6400),具有完全相同的问题。
编辑2.现在风扇已经开启和关闭几分钟 ,但温度稳定在42摄氏度:
$ sensors acpitz-virtual-0 Adapter: Virtual device temp1: +25.0°C (crit = +107.0°C) coretemp-isa-0000 Adapter: ISA adapter Physical id 0: +41.0°C (high = +80.0°C, crit = +85.0°C) Core 0: +40.0°C (high = +80.0°C, crit = +85.0°C) Core 1: +40.0°C (high = +80.0°C, crit = +85.0°C) i8k-virtual-0 Adapter: Virtual device Right Fan: 102210 RPM CPU: +42.0°C
编辑3.我将戴尔BIOS更新到最新版本(从5到14),但无济于事。 如果我用fwts运行风扇测试,则一次测试失败,5次成功。 虽然……我无法获得更详细的输出。
$ fwts fan Running 1 tests, results appended to results.log Test: Simple fan tests. Test fan status. 5 passed, 1 failed Load system, check CPU fan status.
经过一番搜索和研究,我找到了一个合理的解决方案,2。
1有些粉丝可以替换为静音。 2我挖了一个跟随i8k dell粉丝/ cpu驱动程序的网站。 http://www.cyberciti.biz/faq/controlling-dell-fan-speeds-temperature-on-ubuntu-debian-linux/
我已经在14.04 LTS测试了它,它确实有效,因为我有一个Inspirion 15 3521。
安装后请阅读此请注意,服务/etc/init.d/i8kmon以守护进程模式启动i8kmon。 因此,使用i8kfan设置速度是没有意义的,因为守护程序将根据系统温度以其自身的值覆盖速度。
希望这很有用。
哦, i8kctl fan
风扇命令可以接受两个可选参数,指定左右风扇的新风扇状态。 state参数可以是:Where,
0 : turn the fan off (not recommended) 1 : set low speed 2 : set high speed - : don't change the state of this fan
例如,以下命令将左侧风扇(通常由CPU使用)设置为高速并保持不变: $ i8kctl fan 2 -
从这个答案 :
- 您可能会注意到风扇始终高速运转。 我找到几个网站,解释如何使用“i8kutils”软件包来管理风扇速度,解决方案似乎运行良好。 例如: http :
sudo modprobe i8k
加载模块是风扇设置生效所必需的:sudo modprobe i8k
。
我的配置文件(/etc/i8kmon.conf)如下所示:
# Run as daemon, override with --daemon option set config(daemon) 1 # Automatic fan control, override with --auto option set config(auto) 1 # Status check timeout (seconds), override with --timeout option set config(timeout) 2 # Report status on stdout, override with --verbose option set config(verbose) 1 # Temperature thresholds: {fan_speeds low_ac high_ac low_batt high_batt} set config(0) {{0 0} -1 55 -1 55} set config(1) {{0 1} 50 60 55 65} set config(2) {{1 1} 55 80 60 85} set config(3) {{2 2} 70 128 75 128} # end of file
我一直在关注核心温度,以确保风扇设置是理智的,它们似乎是。 为此:
sudo apt-get install lm-sensors sudo sensors-detect
然后安装硬件传感器指示灯,
sudo add-apt-repository ppa:alexmurray/indicator-sensors sudo apt-get update sudo apt-get install indicator-sensors
有关硬件的参考和比较,这里是lspci的输出:
00:00.0 Host bridge: Intel Corporation Ivy Bridge DRAM Controller (rev 09) 00:01.0 PCI bridge: Intel Corporation Ivy Bridge PCI Express Root Port (rev 09) 00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09) 00:14.0 USB controller: Intel Corporation Panther Point USB xHCI Host Controller (rev 04) 00:16.0 Communication controller: Intel Corporation Panther Point MEI Controller #1 (rev 04) 00:1a.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #2 (rev 04) 00:1b.0 Audio device: Intel Corporation Panther Point High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 1 (rev c4) 00:1c.1 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 2 (rev c4) 00:1d.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #1 (rev 04) 00:1f.0 ISA bridge: Intel Corporation Panther Point LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation Panther Point 6 port SATA Controller [AHCI mode] (rev 04) 00:1f.3 SMBus: Intel Corporation Panther Point SMBus Controller (rev 04) 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Device 682f 07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 07) 08:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)