Difference between revisions of "Fan Control"
From Briki
(Created page with "== Stopping fans == Run `pwmconfig` to create a basic /etc/fancontrol and set the min temps to something >40. For example: <pre> INTERVAL=10 DEVPATH=hwmon0=devices/platform/n...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 20: | Line 20: | ||
Set the relevant pwm files to "2" (for automatic fan control): | Set the relevant pwm files to "2" (for automatic fan control): | ||
for file in /sys/class/hwmon/hwmon0/device/hwmon/hwmon0/pwm?_enable; do echo 2 > $file; done | for file in /sys/class/hwmon/hwmon0/device/hwmon/hwmon0/pwm?_enable; do echo 2 > $file; done | ||
+ | |||
+ | Note: On ASRock this may differ - it seems to be "5" when set to customized fan curves in BIOS. | ||
+ | |||
+ | Notes for nct6775-compatible chipsets (including nct6798): https://www.kernel.org/doc/Documentation/hwmon/nct6775.rst. |
Latest revision as of 16:23, 11 February 2024
Stopping fans
Run `pwmconfig` to create a basic /etc/fancontrol and set the min temps to something >40. For example:
INTERVAL=10 DEVPATH=hwmon0=devices/platform/nct6775.672 DEVNAME=hwmon0=nct6798 FCTEMPS=hwmon0/pwm6=hwmon0/temp1_input hwmon0/pwm7=hwmon0/temp1_input FCFANS=hwmon0/pwm6=hwmon0/fan6_input hwmon0/pwm7=hwmon0/fan7_input MINTEMP=hwmon0/pwm6=40 hwmon0/pwm7=40 MAXTEMP=hwmon0/pwm6=60 hwmon0/pwm7=60 MINSTART=hwmon0/pwm6=140 hwmon0/pwm7=140 MINSTOP=hwmon0/pwm6=90 hwmon0/pwm7=90
Then just run `fancontrol` to stop the relevant fans (in this case pwm6 and pwm7).
Resetting automatic BIOS/OS fan control
Set the relevant pwm files to "2" (for automatic fan control):
for file in /sys/class/hwmon/hwmon0/device/hwmon/hwmon0/pwm?_enable; do echo 2 > $file; done
Note: On ASRock this may differ - it seems to be "5" when set to customized fan curves in BIOS.
Notes for nct6775-compatible chipsets (including nct6798): https://www.kernel.org/doc/Documentation/hwmon/nct6775.rst.