有没有能在系统里控制pwm风扇转速的东西呢?
怎么去的主板的监控数据呢?
ubuntu怎么控制主板上风扇转速
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 29
- 注册时间: 2013-02-22 18:43
- 系统: ubuntu12.1
- vickycq
- 帖子: 4507
- 注册时间: 2011-03-20 13:12
- 系统: Debian
- 来自: 山东省寿光县
- 联系:
Re: ubuntu怎么控制主板上风扇转速
0.
首先主板和风扇要支持 PWM 调速。部分主板只支持电压调速
1.
用 fancontrol / pwmconfig 自动调速
如果找到 PWM 界面会提示
2.
也可根据上面的信息手动控制。上面已经找到 pwm 设备 hwmon1/pwm1
那么相应的控制界面在 /sys/class/hwmon/hwmon1
对于绝大多数主板:
自动调速:echo 2 | sudo tee /sys/class/hwmon/hwmon1/pwm1_enable
手动调速:echo 1 | sudo tee /sys/class/hwmon/hwmon1/pwm1_enable
停转:echo 0 | sudo tee /sys/class/hwmon/hwmon1/pwm1
转速最大:echo 255 | sudo tee /sys/class/hwmon/hwmon1/pwm1
可在 0-255 之间调节转速
3.
部分机器有专用驱动。如戴尔(i8k),Thinkpad(thinkpad_acpi)
参考
https://wiki.archlinux.org/index.php/Fan_speed_control
首先主板和风扇要支持 PWM 调速。部分主板只支持电压调速
1.
用 fancontrol / pwmconfig 自动调速
代码: 全选
sudo apt-get install lm-sensors fancontrol
sudo pwmconfig
回答y,pwmconfig 会 自动为 fancontrol 创建配置文件Found the following PWM controls:
hwmon1/pwm1 current value: 100
hwmon1/pwm1 is currently setup for automatic speed control.
2.
也可根据上面的信息手动控制。上面已经找到 pwm 设备 hwmon1/pwm1
那么相应的控制界面在 /sys/class/hwmon/hwmon1
对于绝大多数主板:
自动调速:echo 2 | sudo tee /sys/class/hwmon/hwmon1/pwm1_enable
手动调速:echo 1 | sudo tee /sys/class/hwmon/hwmon1/pwm1_enable
停转:echo 0 | sudo tee /sys/class/hwmon/hwmon1/pwm1
转速最大:echo 255 | sudo tee /sys/class/hwmon/hwmon1/pwm1
可在 0-255 之间调节转速
3.
部分机器有专用驱动。如戴尔(i8k),Thinkpad(thinkpad_acpi)
参考
https://wiki.archlinux.org/index.php/Fan_speed_control
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
欢迎所有 Debian GNU/Linux 用户
-
- 帖子: 29
- 注册时间: 2013-02-22 18:43
- 系统: ubuntu12.1
Re: ubuntu怎么控制主板上风扇转速
哈哈 谢谢大神帮忙vickycq 写了:0.
首先主板和风扇要支持 PWM 调速。部分主板只支持电压调速
1.
用 fancontrol / pwmconfig 自动调速如果找到 PWM 界面会提示代码: 全选
sudo apt-get install lm-sensors fancontrol sudo pwmconfig
回答y,pwmconfig 会 自动为 fancontrol 创建配置文件Found the following PWM controls:
hwmon1/pwm1 current value: 100
hwmon1/pwm1 is currently setup for automatic speed control.
2.
也可根据上面的信息手动控制。上面已经找到 pwm 设备 hwmon1/pwm1
那么相应的控制界面在 /sys/class/hwmon/hwmon1
对于绝大多数主板:
自动调速:echo 2 | sudo tee /sys/class/hwmon/hwmon1/pwm1_enable
手动调速:echo 1 | sudo tee /sys/class/hwmon/hwmon1/pwm1_enable
停转:echo 0 | sudo tee /sys/class/hwmon/hwmon1/pwm1
转速最大:echo 255 | sudo tee /sys/class/hwmon/hwmon1/pwm1
可在 0-255 之间调节转速
3.
部分机器有专用驱动。如戴尔(i8k),Thinkpad(thinkpad_acpi)
参考
https://wiki.archlinux.org/index.php/Fan_speed_control
-
- 帖子: 1
- 注册时间: 2022-08-21 7:51
- 系统: Ubuntu
Re: ubuntu怎么控制主板上风扇转速
你好,安装完后使用pwmconfig命令,提示
# pwmconfig version 3.6.0
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
这是驱动问题还是什么,风扇已经接入到主板,是四线的,风扇支持pwm
# pwmconfig version 3.6.0
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
这是驱动问题还是什么,风扇已经接入到主板,是四线的,风扇支持pwm