Difference between revisions of "Fan Control"

From Briki
Jump to: navigation, search
(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...")
 
(Resetting automatic BIOS/OS fan control)
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

Revision as of 16:14, 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