It looks like a good solution to this problem would be to use the contents of /sys/class/hwmon/hwmon*/name instead of the hwmon device number. fancontrol uses these name files to do the verification that results in the errors in this bug report.
I used Thomas's workaround, it worked.
My module order was slightly more complicated, because I had additional devices involved in the random ordering. I added softdeps for all of them:
To figure out which devices it wants to have which numbers, look at:
# grep DEVNAME /etc/fancontrol
DEVNAME=hwmon1=nct6798 hwmon2=k10temp
My motherboard is an Asus TUF X570. I am not entirely certain that I got the right modules for the asus and hidpp_battery_0 hwmon devices.
fancontrol and pwmconfig are in the fancontrol package. Upstream is https://hwmon.wiki.kernel.org/lm_sensors
The download link on that page is a git archive which does contain fancontrol and pwmconfig.
This problem still exists in ubuntu 20.04.
It looks like a good solution to this problem would be to use the contents of /sys/class/ hwmon/hwmon* /name instead of the hwmon device number. fancontrol uses these name files to do the verification that results in the errors in this bug report.
I used Thomas's workaround, it worked.
My module order was slightly more complicated, because I had additional devices involved in the random ordering. I added softdeps for all of them:
$ grep -H . /sys/class/ hwmon/hwmon* /name hwmon/hwmon0/ name:amdgpu hwmon/hwmon1/ name:nct6798 hwmon/hwmon2/ name:k10temp hwmon/hwmon3/ name:hidpp_ battery_ 0 hwmon/hwmon4/ name:asus
/sys/class/
/sys/class/
/sys/class/
/sys/class/
/sys/class/
# cat /etc/modprobe. d/fancontrol. conf
softdep nct6775 pre: amdgpu
softdep k10temp pre: nct6775
softdep asus_wmi pre: k10temp
softdep hid_logitech_hidpp pre: k10temp
To figure out which devices it wants to have which numbers, look at: hwmon1= nct6798 hwmon2=k10temp
# grep DEVNAME /etc/fancontrol
DEVNAME=
My motherboard is an Asus TUF X570. I am not entirely certain that I got the right modules for the asus and hidpp_battery_0 hwmon devices.
fancontrol and pwmconfig are in the fancontrol package. Upstream is https:/ /hwmon. wiki.kernel. org/lm_ sensors
The download link on that page is a git archive which does contain fancontrol and pwmconfig.
There is an upstream mailing list and IRC channel: /hwmon. wiki.kernel. org/feedbackand support
https:/