Fan Control

From Briki
Revision as of 13:11, 9 February 2024 by Andrew (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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