How can I permanently unload an erroneously detected module for sensors?

Mangohud started displaying the wrong sensor for cpu temperature. It was working fine before (last week) and displaying Tctl from k10temp-pci-00c3 I think it's now either displaying SMBUSMASTER 0 or TSI0_TEMP from nct6797-isa-0a20. These sensors have never worked for me, but I need this module to control the fans and get the sytem temperature. Is there a way to tell mangohud which sensor to use? Is there a way to unload some modules from lm-sensors btw? It detected a wrong one (nct6687-isa-0a20)
1 Reply
biebel
biebelOP3w ago
When I unload the nct6687 mudule with modprobe -r it no longer shows until my next boot It looks like it gets initialised with nct6687.conf in /lib/modules-load.d I have no write access there, so I can't remove it manually. Do I just blacklist it in /etc/modprobe.d or is there a better way? It seem so weird to blacklist something instead of just not loading it.

Did you find this page helpful?