如何强制风扇一直转?

如何强制风扇一直转?

我在 HP Pavilion dv9000t 上使用 ArchLinux,它存在过热问题。我已尽一切努力让笔记本电脑内有更好的空气流通,并涂上了更好的导热膏,但仍然存在一个问题:

当CPU温度较低时,风扇停止旋转(即使GPU温度较高,这是有问题的)。

我发现我可以通过启动一些繁重的处理命令(如命令yes)来让风扇运行。然而,这不是一个解决方案,因为我需要在CPU变得太热时停止这个命令,并在风扇停止时再次启动它(这样GPU就不会变热)。

我尝试使用控制风扇这个维基,但是当我运行时pwmconfig,我收到此错误:

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

你知道我该怎么做才能让风扇一直旋转吗?

编辑:

输出sensors-dectect如下:

~/ sudo sensors-detect 
# sensors-detect revision 6170 (2013-05-20 21:25:22 +0200)
# System: Hewlett-Packard HP Pavilion dv9700 Notebook PC [Rev 1] (laptop)
# Board: Quanta 30CB

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): 
Module cpuid loaded successfully.
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Intel digital thermal sensor...                             Success!
    (driver `coretemp')
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): 
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (YES/no): 
Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): 
Using driver `i2c-i801' for device 0000:00:1f.3: Intel 82801H ICH8
Module i2c-dev loaded successfully.

Next adapter: nouveau-0000:01:00.0-0 (i2c-0)
Do you want to scan it? (yes/NO/selectively): 

Next adapter: nouveau-0000:01:00.0-1 (i2c-1)
Do you want to scan it? (yes/NO/selectively): 

Next adapter: nouveau-0000:01:00.0-2 (i2c-2)
Do you want to scan it? (yes/NO/selectively): 

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)

Do you want to overwrite /etc/conf.d/lm_sensors? (YES/no): 
Unloading i2c-dev... OK
Unloading cpuid... OK

该文件/etc/conf.d/lm_sensors包含:

HWMON_MODULES="coretemp"

该文件/etc/modules-load.d/lm_sensors.conf包含:

coretemp
acpi-cpufreq

该命令sensors输出如下:

~/ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +46.0°C  (high = +85.0°C, crit = +85.0°C)
Core 1:       +47.0°C  (high = +85.0°C, crit = +85.0°C)

acpitz-virtual-0
Adapter: Virtual device
temp1:        +49.0°C  

nouveau-pci-0100
Adapter: PCI adapter
temp1:        +60.0°C  (high = +95.0°C, hyst =  +3.0°C)
                       (crit = +115.0°C, hyst =  +5.0°C)
                       (emerg = +115.0°C, hyst =  +5.0°C)

答案1

我做了一些挖掘,发现您的笔记本电脑存在制造商(特别是 NVIDIA 芯片)和唯一的解决方案是按照解释进行“回流”这里

暂时可以购买散热垫来延长笔记本的使用寿命,但并不能解决温度问题。

关于无法运行 pwmconfig,BIOS 不包括(来自 HP 文档)任何手动修改风扇速度的方法,因此 pwmconfig 失败,因为没有任何模块允许控制该值。

对于其他笔记本电脑,我建议检查您的手册/规格并查看它们是否包含对此模块的支持。如果您不确定或者您的文档不包含该信息,运行 Sensors-Detect 不会有什么坏处。还要记住,有时即使您的机器包含支持,Linux 也不包含这些模块,因此您必须不断更新最新的内核版本并祈祷。

答案2

我最终决定选择硬件解决方案。

我从风扇上剪掉了两根电线,现在风扇总是旋转(尽管在最大级别)。

我在中找到了这个解决方案这篇博文

相关内容