I just freshly installed Endeavouros on empty ssd and noticed that the fan on my laptop seem doesn’t spin at all. After googling for some hours i found this post that have similar problem with me. Unfortunately the solution that provided from Arch Wiki doesn’t fix my problem at all. For now i can set my fan speed manual using following command as root. # echo 255 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1 # Full fan speed (Value: 255)
The device that i’m using right now is Asus X453SA with stock kernel. Here some output that maybe helpful.
$ sudo fancontrol
Loading configuration from /etc/fancontrol ...
Common settings:
INTERVAL=10
Settings for hwmon3/pwm1:
Depends on /sys/devices/platform/asus-nb-wmi/hwmon/[[:print:]]*/temp1_input
Controls hwmon3/fan1_input
MINTEMP=20
MAXTEMP=60
MINSTART=150
MINSTOP=0
MINPWM=0
MAXPWM=150
AVERAGE=1
Enabling PWM on fans...
Starting automatic fan control...
/usr/bin/fancontrol: line 580: read: read error: 0: No such device or address
Error reading Fan value from /sys/class/hwmon/hwmon3/fan1_input
Aborting, restoring fans...
Verify fans have returned to full speed
$ sudo systemctl status fancontrol.service
× fancontrol.service - Start fan control, if configured
Loaded: loaded (/usr/lib/systemd/system/fancontrol.service; enabled; preset: disabled)
Active: failed (Result: exit-code) since Sat 2024-07-13 00:24:48 WIB; 51min ago
Duration: 998ms
Invocation: 2b6ff2e4c4d04bbbbeb6a66d1c10dab4
Main PID: 24088 (code=exited, status=1/FAILURE)
Jul 13 00:24:47 Arch-btw fancontrol[24088]: MAXPWM=150
Jul 13 00:24:47 Arch-btw fancontrol[24088]: AVERAGE=1
Jul 13 00:24:48 Arch-btw fancontrol[24088]: Enabling PWM on fans...
Jul 13 00:24:48 Arch-btw fancontrol[24088]: Starting automatic fan control...
Jul 13 00:24:48 Arch-btw fancontrol[24088]: /usr/sbin/fancontrol: line 580: read: read error: 0: No such device or address
Jul 13 00:24:48 Arch-btw fancontrol[24088]: Error reading Fan value from /sys/class/hwmon/hwmon3/fan1_input
Jul 13 00:24:48 Arch-btw fancontrol[24088]: Aborting, restoring fans...
Jul 13 00:24:48 Arch-btw fancontrol[24088]: Verify fans have returned to full speed
Jul 13 00:24:48 Arch-btw systemd[1]: fancontrol.service: Main process exited, code=exited, status=1/FAILURE
Jul 13 00:24:48 Arch-btw systemd[1]: fancontrol.service: Failed with result 'exit-code'.
$ sudo pwmconfig
# pwmconfig version 3.6.0+git
This program will search your sensors for pulse width modulation (pwm)
controls, and test each one to see if it controls a fan on
your motherboard. Note that many motherboards do not have pwm
circuitry installed, even if your sensor chip supports pwm.
We will attempt to briefly stop each fan using the pwm controls.
The program will attempt to restore each fan to full speed
after testing. However, it is ** very important ** that you
physically verify that the fans have been to full speed
after the program has completed.
Found the following devices:
hwmon0 is AC0
hwmon1 is acpitz
hwmon2 is BAT0
hwmon3 is asus
hwmon4/device is unknown (no name attribute)
hwmon5 is soc_dts0
hwmon6 is soc_dts1
Found the following PWM controls:
hwmon3/pwm1 current value: 255
Giving the fans some time to reach full speed...
Found the following fan sensors:
cat: hwmon3/fan1_input: No such device or address
hwmon3/fan1_input current speed: RPM
Warning!!! This program will stop your fans, one at a time,
for approximately 5 seconds each!!!
This may cause your processor temperature to rise!!!
If you do not want to do this hit control-C now!!!
Hit return to continue:
Testing pwm control hwmon3/pwm1 ...
cat: hwmon3/fan1_input: No such device or address
hwmon3/fan1_input ... speed was now
/usr/bin/pwmconfig: line 455: let: threshold=3*/4: syntax error: operand expected (error token is "/4")
It appears that fan hwmon3/fan1_input
is controlled by pwm hwmon3/pwm1
cat: hwmon3/fan1_input: No such device or address
Fan hwmon3/fan1_input has not returned to speed, please investigate!
Testing is complete.
$ ls /sys/class/hwmon/hwmon3
device fan1_input fan1_label name power pwm1 pwm1_enable subsystem temp1_input uevent
also my fancontrol config file:
# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon3=devices/platform/asus-nb-wmi
DEVNAME=hwmon3=asus
FCTEMPS=hwmon3/pwm1=/sys/devices/platform/asus-nb-wmi/hwmon/[[:print:]]*/temp1_input
FCFANS=hwmon3/pwm1=hwmon3/fan1_input
MINTEMP=hwmon3/pwm1=20
MAXTEMP=hwmon3/pwm1=60
MINSTART=hwmon3/pwm1=150
MINSTOP=hwmon3/pwm1=0
MAXPWM=hwmon3/pwm1=150