After all detection procedures, sensors-detect exits successfully with the message "No modules to load, skipping modules configuration." and generates no /etc/conf.d/lm_sensors file. I guess the following code in /usr/sbin/sensors-detect is to blame: if (@{$hwmon_modules}) { write_config($configfile, $bus_modules, $hwmon_modules); } else { print "No modules to load, skipping modules configuration.\n\n"; } Please fix. Thanks!
I think I have the same problem. If I compile coretemp as a kernel module, sensors-detect detects it and creates /etc/conf.d/lm_sensor file, but if I build coretemp into the kernel, sensors-detect doesn't create the file.
This is normal behaviour for lm_sensors, cause initscript for it just load modules and if you have modules compiled in kernel - there is nothing to load. If you think that this behaviour is wrong - file bug to upstream, not here.
Oops, i was too hurry with conclusions, my bad. lm_sensors package uses Gentoo-specific patch for configuration building, so it may be our problem.
If all your modules are build into your kernel there's nothing sensors-detect can do and no need to load modules. So pinkbyte was right with his first classification. If you still think we are wrong and there's something to fix please file a new bug against latest sys-apps/lm_sensors-3.4.0_p20160725 package where we have rewritten Gentoo's custom sensors-detect (well, it doesn't address the reported problem because from my view there's nothing to address)... Thanks!