apt-get install lm-sensors
apt-get install kernel-patch-2.4-lm-sensors kernel-patch-2.4-i2c
recompile kernel with patches
make-kpkg --added-patches i2c,lm-sensors ...
Running /usr/sbin/sensors-detect returns:
Driver `adm1021' (should be inserted):
Detects correctly:
* Bus `SMBus PIIX4 adapter at 0580' (Non-I2C SMBus adapter)
Busdriver `i2c-piix4', I2C address 0x18
Chip `Maxim MAX1617A' (confidence: 7)
Driver `adm9240' (should be inserted):
Detects correctly:
* Bus `SMBus PIIX4 adapter at 0580' (Non-I2C SMBus adapter)
Busdriver `i2c-piix4', I2C address 0x2c
Chip `National Semiconductor LM81' (confidence: 7)
* Bus `SMBus PIIX4 adapter at 0580' (Non-I2C SMBus adapter)
Busdriver `i2c-piix4', I2C address 0x2d
Chip `National Semiconductor LM81' (confidence: 7)
Add to /etc/modules the following:
# I2C adapter drivers
i2c-piix4
# I2C chip drivers
adm1021
adm9240
Note: You may have to forcefully enable the SMBus (dangerous!), otherwise the i2c-piix4 module might complain:
i2c-piix4.o: Host SMBus controller not enabled!
If you don't want to forcefully enable the SMBus, you can load Dell's esm module (part of OMSA) before loading the i2c-piix4 module (this worked for me).
Finally, edit /etc/sensors.conf
/etc/init.d/lm-sensors start
/usr/bin/sensors