Skip to contentSkip to conversation

Lmsensors on Mdk10 (some bugs)

DISCUSSION Michał Świtakowski 2 participants 2 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hello!

I've installed lm_sensors on Mandrake 10 Official and I've found some bugs. Here's what said sensors-detect (look at the comments):

Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `eeprom' (should be inserted):
Detects correctly:
* Bus SiS96x SMBus adapter at 0xe600' (Algorithm unavailable) Busdriver i2c-sis96x', I2C address 0x50
Chip `SPD EEPROM' (confidence: 8)

Driver `w83781d' (may not be inserted): <-- lmsensors detected this chip but it's not mentioned in modprobe commands

Misdetects:
* ISA bus address 0x0290 (Busdriver `i2c-isa')

     Chip `Winbond W83697HF' (confidence: 8)

Driver `w83627hf' (should be inserted):

Detects correctly:
* ISA bus address 0x0290 (Busdriver i2c-isa') Chip Winbond W83697HF Super IO Sensors' (confidence: 9)

I will now generate the commands needed to load the I2C modules. Sometimes, a chip is available both through the ISA bus and an I2C bus. ISA bus access is faster, but you need to load an additional driver module for it. If you have the choice, do you want to use the ISA bus or the I2C/SMBus (ISA/smbus)?

To make the sensors modules behave correctly, add these lines to /etc/modules.conf:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----

To load everything that is needed, add this to some /etc/rc* file:

#----cut here----
# I2C adapter drivers
modprobe i2c-sis96x
modprobe i2c-isa
# I2C chip drivers
modprobe eeprom
modprobe w83627hf <-- there's not module "w83627hf", the proper name is "w83627hf_wdt"

# sleep 2 # optional
/usr/local/bin/sensors -s # recommended
#----cut here----

Lm_sensors didn't work without "w83781d", I've added modprobe w83781d to /etc/rc.d/rc.local and corrected w83627hf. Now it works.

Some information about my system:
Mandrake 10 Official + updates(bug fixes)
kernel-2.6.3-15mdk (from rpm)
lm_sensors 2.8.7

Sorry for my English.
Greetings!
Micha? ?witakowski

#1 lore raw
Quoted 9 lines

I've installed lm_sensors on Mandrake 10 Official and I've found some bugs. Here's what said sensors-detect (look at the comments):
(...)
Driver `w83781d' (may not be inserted): <-- lmsensors detected this chip but it's not mentioned in modprobe commands

Misdetects:
* ISA bus address 0x0290 (Busdriver `i2c-isa')

     Chip `Winbond W83697HF' (confidence: 8)

This is a *misdetection*, which means that this driver should not be loaded. So there's no bug here.

Quoted 3 lines

(...)
modprobe w83627hf <-- there's not module "w83627hf", the proper name is "w83627hf_wdt"

These are two different modules. w83627hf is for hardware monitoring, w83627hf_wdt is a watchdog driver. If you don't have w83627hf, it's because the kernel coming with MDK 10 is not recent enough. The driver was added in version 2.6.5.

Quoted 2 lines

Lm_sensors didn't work without "w83781d", I've added modprobe w83781d to /etc/rc.d/rc.local and corrected w83627hf. Now it works.

You have the only chip being supported by both drivers (W83627HF on ISA bus). w83627hf driver is prefered (it's smaller in size), but w83781d still works. You can go on with it until MDK has a kernel update.

So there's no real bug IMHO.

Signature · 2 lines
Jean "Khali" Delvare
http://khali.linux-fr.org/