As stated in the title the hwmon entry number changes between reboot preventing the fan control service from starting properly
(im a bit of a noob so please explain thoroughly with any solutions)
(also the motherboards fan control configuration keep the fans running too loudly even during idle so that is not an option)
here is the config file for fan control located in /etc/ after running pwmconfig
is there anyway to make the HWMON entries persistant? or a script to load them manually?
ive also tried running sudo sensors-detect several times
when it asks Do you want to overwrite /etc/conf.d/lm_sensors? (YES/no):
Unloading i2c-dev… OK (this is the only output it gives)
I then i check the file location /etc/conf.d/lm_sensors here is its ouput
Generated by sensors-detect on Wed Apr 20 09:43:47 2022
This file is sourced by /etc/init.d/lm_sensors and defines the modules to
be loaded/unloaded.
The format of this file is a shell script that simply defines variables:
HWMON_MODULES for hardware monitoring driver modules, and optionally
BUS_MODULES for any required bus driver module (for example for I2C or SPI).
HWMON_MODULES=“it87”
is it possible to manually load the modules within lm sensors? im unsure as to how to format it any help would be greatly appreciated
i also found this potential solution
however i am unsure on how exactly i run the scripts that the user created on startup or what any of it actually does “blacklisting modules” “running modprobe from a file called /etc.rc.d/rc.local”
may you first post some basic information to us, for example what type of computer etc. please post the output of inxi as described below
Welcome to Manjaro!
Please read this: [HowTo] Provide System Information
and press the three dots … below your post and press the to give us more information so we can see what’s really going on.
Now we know the symptom of the disease, but we need some more probing to know where the origin lies…
An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information for us to be able to help you. (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.
did you check that the cooling paste is new/renewed and all fittings for the cooler connection are tight. just to make sure that it isn’t a mechanical issue ? second your cpu is well known to be a hot bullhead, so the cooler is in the right dimension and it is dust free ?
just to make sure that this is all right i would recommend to check it again. there are a lot of issues like “my usb does not work / my video does not work …” and in the end it is a simple bad electrical/mechanical connection.
i can see the temps by running sensors i am consistantly under 45C even under heavy load, be it gaming or etc, also all connections are solid and the computer is relatively dust free. i do not believe it to be a hardware issue nor a heat issue.
there is something at the arch-wiki relying on asus.
In configuration files, we are going to use full paths to sysfs files (e.g. /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1). This is because hwmon1 might change to any other number after reboot. Fancontrol (lm-sensors) is written in Bash, so using these paths in configuration file is completely acceptable. You can find complete /etc/fancontrol configuration file examples at ASUS N550JV#Fan control.
this is looks exactly like what i need thank you! I will test and mark the support case as solved if i no longer need assistance. seriously i have been scratching my head with this issue all night Thank You!
this works perfectly change the “it87.656” and “pci0000:00/0000:00:18.3” to correspond with your fan controller and cpu temp sensor they can be found by running the command
sudo pwmconfig
the output will look something like this
Found the following devices:
hwmon0 is sony_controller_battery_90:fb:a6:fa:ac:04
hwmon1 is k10temp
hwmon2 is fam15h_power
hwmon3 is asus
hwmon4 is it8721
Found the following PWM controls:
hwmon4/pwm1 current value: 255
hwmon4/pwm2 current value: 128
hwmon4/pwm3 current value: 255
Giving the fans some time to reach full speed…
Found the following fan sensors:
hwmon4/fan1_input current speed: 2089 RPM
hwmon4/fan2_input current speed: 0 … skipping!
hwmon4/fan3_input current speed: 0 … skipping!
-use the hwmon"X" to find your desired device in the location /sys/devices/
note* the original fan control config file also tells you the specific file location in the devpath field in the config file this is removed in the new config file however because it is no longer necessary
-then use your current fancontrol config as a template (with the desired values configured in pwmconfig) normally located in /etc/fancontrol
-stop fancontrol with
systemctl stop fancontrol
-replace the modified config file
-re-enable and start fancontrol with
restart several times to confirm that it works (i recomend doing full shutdowns as it does not always change the hwmon entry numbers when doing a normal restart in my experience)