On 6 June 2015 at 19:00, Michael Shell <li...@michaelshell.org> wrote:
> On Sat, 6 Jun 2015 12:43:59 +0100 > Richard Melville <richard.melvill...@googlemail.com> wrote: > > > The point where lm_sensors complains is: "Do you > > want to probe the I2C/SMBus adapters now?" When I type "yes", it > replies: > > "Using driver 'I2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7". > This > > is immediately followed by: "Failed to load module I2c-i801" > > > > As I've said already, I've built this driver into the kernel. > > > It may depend on the specific driver. I've got an older system > using lm_sensors 3.3.2 and it does not complain that a driver > is built statically in the kernel. The problem may be confined > to sensors-detect's detection routine and not the sensors > utility itself, at least once its config files are setup. > > I found this from 2012: > > https://forums.gentoo.org/viewtopic-t-817433-start-0.html > > which refers to an article closely related to this one: > > http://jviz.research.iat.sfu.ca/wiki/index.php?title=HOWTO_Setup_lm_sensors > > Be forewarned that the information there may be out of date. > That said, they suggest putting > > LOADMODULES=no > INITSENSORS=yes > > in /etc/sensors.conf or /etc/sensors3.conf for kernels in > which everything is compiled in. You can also make your > local changes in files located in the /etc/sensors.d > directory. > > If sensors-detect always tries to load a module rather > than first checking if the driver is available, I'd > consider that to be a bug that should be reported. > Thanks for the detailed reply Michael. I should have said that everything appears to be working OK, the relevant files have been created and both the sensors and the sensord binaries has been built. I was just querying the "sensors-detect" warning about the module not being loaded when the driver has been built-in, and wondering if that was stopping the detection of further drivers. I don't think that's the case though. I agree that it does appear to be a bug. Your second link, the setup HOWTO was useful. Thanks again. Richard
-- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page