首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Linux、Fans和PWM

Linux、Fans和PWM
EN

Ask Ubuntu用户
提问于 2018-11-29 09:06:52
回答 1查看 1.8K关注 0票数 0

我想在Linux下控制我的粉丝。我有5个底盘风扇+ CPU风扇。尝试了许多解决方案,但没有任何效果。

我的MOBO是华硕Z170豪华,我的所有球迷都是3引脚,所以没有脉宽调制。尝试运行以下命令:

sudo sensors-detect

于是,我对所有人都说是:

代码语言:javascript
复制
 Now follows a summary of the probes I have just done.
Just press ENTER to continue: 

Driver `coretemp':
  * Chip `Intel digital thermal sensor' (confidence: 9)

Driver `lm92':
  * Bus `SMBus I801 adapter at f000'
    Busdriver `i2c_i801', I2C address 0x48
    Chip `lm92' (confidence: 6)

To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
lm92
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!

Do you want to add these lines automatically to /etc/modules? (yes/NO)yes
Successful!

Monitoring programs won't work until the needed modules are
loaded. You may want to run '/etc/init.d/kmod start'
to load them.

Unloading cpuid... OK

然后在grub文件中编辑这一行:

代码语言:javascript
复制
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_enforce_resources=lax"

然后重新启动并:

代码语言:javascript
复制
~$ /etc/init.d/kmod start
[ ok ] Starting kmod (via systemctl): kmod.service


~$ sensors
asus-isa-0000
Adapter: ISA adapter
cpu_fan:        0 RPM

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +30.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:        +27.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:        +28.0°C  (high = +80.0°C, crit = +100.0°C)
Core 2:        +27.0°C  (high = +80.0°C, crit = +100.0°C)
Core 3:        +27.0°C  (high = +80.0°C, crit = +100.0°C)

lm92-i2c-0-48
Adapter: SMBus I801 adapter at f000
temp1:        +14.0°C  (low  = +14.0°C, hyst = +28.0°C)
                       (high = +14.0°C, hyst =  +0.0°C)
                       (crit = +14.0°C, hyst =  +0.0°C)

代码语言:javascript
复制
$ sudo pwmconfig
************* 
# pwmconfig revision 6243 (2014-03-20)
This program will search your sensors for pulse width modulation (pwm)
controls, and test each one to see if it controls a fan on
your motherboard. Note that many motherboards do not have pwm
circuitry installed, even if your sensor chip supports pwm.

We will attempt to briefly stop each fan using the pwm controls.
The program will attempt to restore each fan to full speed
after testing. However, it is ** very important ** that you
physically verify that the fans have been to full speed
after the program has completed.

/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed

$ fancontrol
Loading configuration from /etc/fancontrol ...
Error: Can't read configuration file

我还试着检查热区,发现如下:

代码语言:javascript
复制
$ cd /sys/class/thermal ; ls
cooling_device0  cooling_device2  cooling_device4  cooling_device6  cooling_device8
cooling_device1  cooling_device3  cooling_device5  cooling_device7  thermal_zone0
$ cat /sys/class/thermal/thermal_zone0/type
x86_pkg_temp
$ cat /sys/class/thermal/cooling_device0/type
Processor
$ cat /sys/class/thermal/cooling_device1/type
Processor
$ cat /sys/class/thermal/cooling_device2/type
Processor
$ cat /sys/class/thermal/cooling_device3/type
Processor
$ cat /sys/class/thermal/cooling_device4/type
Processor
$ cat /sys/class/thermal/cooling_device5/type
Processor
$ cat /sys/class/thermal/cooling_device6/type
Processor
$ cat /sys/class/thermal/cooling_device7/type
Processor
$ cat /sys/class/thermal/cooling_device8/type
intel_powerclamp

现在我没有解决办法了,有什么帮助吗?

EN

回答 1

Ask Ubuntu用户

发布于 2018-12-02 13:17:26

正如这里所解释的,戴尔沃斯特罗200风扇速度 -您可以尝试这个实用工具https://github.com/ichiriac/ubuntu-smart-fan,它基于lm-sensors,它将管理风扇速度。

开始时,您可以将其作为监视器运行,以便为风扇行为添加种子,并根据您的CPU和扇行为设置参数。

在校准温度和阈值之后,您将能够作为守护进程运行它。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1097050

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档