|
|
lm-sensors installation - install i2c sensor readout software
Here are some notes when I installed lm-sensors on a machine not connected to the net,
so I had to solve dependencies myself, which was actually very easy (this time ;-)
The machine was basically a debian sarge base system installation with GCC, G++, make,
ssh and pure-ftpd. I had to add the following packages (downloaded from packages.debian.org):
libsensors3
ucf
libdb4.2
libgdbm3
perl-base
perl (# dpkg -i perl-modules_5.8.4-8sarge3_all.deb perl_5.8.4-8sarge3_i386.deb)
lm-sensors
Then run
# sensors-detect
and answer some questions. If sensors-detect hangs, press CTRL-C and start over, by
saying no to the sensor probing that hung the program.
The sensors-detect generates some output which can be added to /etc/modules:
# I2C adapter drivers
i2c-i801
i2c-isa
# I2C chip drivers
eeprom
w83627hf
Or if you run other kernels on that machine without those modules available, make
a script "loadsensors.sh" and just load the i2c stuff when you run a kernel with
that modules.
#!/bin/sh
modprobe i2c-core
modprobe i2c-sensor
modprobe i2c-dev
# I2C adapter drivers
modprobe i2c-i801
modprobe i2c-isa
# I2C chip drivers
modprobe eeprom
modprobe w83627hf
Last-Modified: Sat, 11 Mar 2006 21:06:51 GMT
|
|