Fancontrol and pwmconfig hwmon3/pwm1 and hwmon3/fan1_input not found

I run pwmconfig to set my fan speed, and give me output like this

Found the following devices:
hwmon0 is coretemp
hwmon1 is AC0
hwmon2 is acpitz
hwmon3 is asus

Found the following PWM controls:
hwmon3/pwm1 current value: 170
hwmon3/pwm1 is currently setup for automatic speed control.
In general, automatic mode is preferred over manual mode, as
it is more efficient and it reacts faster. Are you sure that
you want to setup this output for manual control? (n) y

Giving the fans some time to reach full speed…
Found the following fan sensors:
cat: hwmon3/fan1_input: Tidak ada perangkat atau alamat seperti itu
hwmon3/fan1_input current speed: RPM

I got this output while run fancontrol

$ fancontrol
Loading configuration from /etc/fancontrol …

Common settings:
INTERVAL=10

Settings for hwmon3/pwm1:
Depends on hwmon0/temp2_input
Controls hwmon3/fan1_input
MINTEMP=20
MAXTEMP=50
MINSTART=150
MINSTOP=0
MINPWM=0
MAXPWM=230
AVERAGE=1

Error: file hwmon3/pwm1 doesn’t exist

At least one referenced file is missing. Either some required kernel
modules haven’t been loaded, or your configuration file is outdated.
In the latter case, you should run pwmconfig again.

so i tried to see the directory

ls /sys/class/hwmon/hwmon3
device fan1_label power pwm1_enable temp1_input
fan1_input name pwm1 subsystem uevent

i can’t use sudo cat /sys/class/hwmon/hwmon3/fan1_input to print it to terminal
but i can set my fan speed by using

sudo bash
echo 200 > /sys/class/hwmon/hwmon3/pwm1

How to get fancontrol working?

try running fancontrol with sudo

i tried to run as root

$ sudo fancontrol
Sandi:
Loading configuration from /etc/fancontrol …

Common settings:
INTERVAL=10

Settings for hwmon3/pwm1:
Depends on hwmon0/temp2_input
Controls hwmon3/fan1_input
MINTEMP=20
MAXTEMP=50
MINSTART=150
MINSTOP=0
MINPWM=0
MAXPWM=230
AVERAGE=1

Enabling PWM on fans…
Starting automatic fan control…
/usr/bin/fancontrol: baris 579: read: error baca: 0: Tidak ada perangkat atau alamat seperti itu
Error reading Fan value from /sys/class/hwmon/hwmon3/fan1_input
Aborting, restoring fans…
Verify fans have returned to full speed

keep showing the same error

can you post your config file?

/etc/fancontrol # Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon0=devices/platform/coretemp.0 hwmon3=devices/platform/asus-nb-wmi
DEVNAME=hwmon0=coretemp hwmon3=asus
FCTEMPS=hwmon3/pwm1=hwmon0/temp2_input
FCFANS=hwmon3/pwm1=hwmon3/fan1_input
MINTEMP=hwmon3/pwm1=20
MAXTEMP=hwmon3/pwm1=50
MINSTART=hwmon3/pwm1=150
MINSTOP=hwmon3/pwm1=0
MAXPWM=hwmon3/pwm1=230

perhaps this is the below issue, but it seems you have the files, so maybe not.
https://wiki.archlinux.org/title/Fan_speed_control#Device_paths_have_changed_in_/etc/fancontrol

1 Like