Hey, I’m on an Asus Z790 Proart board and am trying use hardware.fancontrol to adjust my fans. I used sensors-detect to find the sensors and then created the config with pwmconfig. Pwmconfig created the file at /etc/fanconfig and it worked when I called fanconfig in the terminal. I then tried to enable fancontrol in my configuration.nix (see snippet below) but that wouldn’t run the fancontrol service. I then rebooted and now the path to the temp sensor / fans has changed from hwmon11 to hwmon4 when I execute sensors-detect and pwmconfig again.
In the journalctl of fanconfig it states that the generated file is broken.
Any idea what the problem is here and how to fix this?
boot.kernelModules = [ "coretemp" "nct6775" ];
hardware.fancontrol = {
enable = true;
config = ''
INTERVAL=10
DEVPATH=hwmon11=devices/platform/nct6775.656
DEVNAME=hwmon11=nct6798
FCTEMPS=hwmon11/pwm6=hwmon11/temp1_input hwmon11/pwm2=hwmon11/temp1_input
FCFANS=hwmon11/pwm6=hwmon11/fan6_input hwmon11/pwm2=hwmon11/fan2_input
MINTEMP=hwmon11/pwm6=50 hwmon11/pwm2=25
MAXTEMP=hwmon11/pwm6=95 hwmon11/pwm2=70
MINSTART=hwmon11/pwm6=34 hwmon11/pwm2=66
MINSTOP=hwmon11/pwm6=4 hwmon11/pwm2=26
MINPWM=hwmon11/pwm6=4 hwmon11/pwm2=20
MAXPWM=hwmon11/pwm6=150 hwmon11/pwm2=255
'';
};
