Kur*_*aki 18 fan temperature fancontrol 12.10 lm-sensors
我遵循了有关如何在 Ubuntu 中控制风扇速度的指南,但它不适用于我的笔记本电脑(Dell Inspiron 15r)。
我安装了lm-sensors和风扇控制
包。然后我通过键入以下内容来配置lm-sensors:
sudo sensors-detect
我对所有问题的回答都是肯定的。最后我收到了这条消息:
驱动程序
coretemp': * Chip英特尔数字热传感器'(置信度:9)要加载所需的所有内容,请将其添加到 /etc/modules:
- - 剪这里 - -
#Chip drivers核心温度
- - 剪这里 - -
/etc/modules.现在的问题是:当我尝试配置 fancontrol 类型时:
sudo pwmconfig
我收到一个错误:
/usr/sbin/pwmconfig: 没有安装支持 pwm 的传感器模块
我花了一天的大部分时间寻找解决方案,但我没有运气。
我现在该怎么办?
我使用 i8kutils 部分解决了这个问题。这是有关它的指南:
Keenformatics - 如何在 Ubuntu 中解决戴尔笔记本电脑的风扇问题
以及这里关于 askubuntu 的讨论:
戴尔 Inspiron 5521 i7-3317U 风扇 CPU 太吵
以下是 Keenformatics 网站(我的博客)上写的主要步骤。
首先,让我们下载并安装 i8kutils。打开你的终端并写下:
sudo apt-get install i8kutils
现在您必须将 i8k 添加到您的模块中。打开模块文件:
sudo gedit /etc/modules
并将字符串“ i8k ”(不带引号)添加到文件中。保存并退出。
创建i8k.conf文件
sudo vim /etc/modprobe.d/i8k.conf
并用以下代码填充它:
options i8k force=1
注意:一些较旧的指南会告诉您创建一个 /modprobe.d/options 文件。Ubuntu 上不再使用“选项”文件。重要的是您创建了一个扩展名为 .conf 的文件(文件名并不重要,但为了清楚起见,我决定将其命名为 i8k.conf)。因此,请注意较旧的 i8kmon 配置指南。
现在重新启动您的计算机,或运行此代码以使 i8k 运行:
sudo modprobe i8k force=1
我们现在将创建一个 i8kmon.conf 文件,它将告诉 i8kmon 实用程序如何运行。
sudo gedit /etc/i8kmon.conf
在其中粘贴以下代码:
# 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
# Temperature thresholds: {fan_speeds low_ac high_ac low_batt high_batt}
set config(0) {{-1 0} -1 40 -1 40}
set config(1) {{-1 1} 30 60 30 60}
set config(2) {{-1 2} 53 128 53 128}
# For computer with 2 fans, use a variant of this instead:
# Temperature thresholds: {fan_speeds low_ac high_ac low_batt high_batt}
# set config(0) {{-1 0} -1 52 -1 65}
# set config(1) {{-1 1} 41 66 55 75}
# set config(2) {{-1 1} 55 80 65 85}
# set config(3) {{-1 2} 70 128 75 128}
# end of file
Run Code Online (Sandbox Code Playgroud)
这已经过编辑以匹配我的戴尔 Inspiron 15r 5521 风扇配置(我希望我做得很好)。如果您想了解更多信息,请查看 Ubuntu 手册上的文档:http : //manpages.ubuntu.com/manpages/gutsy/man1/i8kmon.1.html
现在您应该能够从终端运行i8kmon并查看它是否(以及如何)工作。只需运行:
i8kmon
完成的!
| 归档时间: |
|
| 查看次数: |
66486 次 |
| 最近记录: |