# # # lm_sensors for Asus Tusi-630TX # =============================== # # # 20-Jun-02 amo Date-of-Birth # 05-Feb-03 amo Added ln -s linux-2.4.19 comment # 12-Apr-04 amo D/L and install i2c-2.8.4, lm_sensors-2.8.6 # 04-Aug-04 amo D/L and install i2c-2.8.7, lm_sensors-2.8.7 on linux-2.6.7 # 17-Aug-04 amo 2.6 kernels seem to need sysfs enabled # # # # http://www.lm-sensors.nu # http://secure.netroedge.com/~lm78/download.html # # cd /tmp ; wget http://secure.netroedge.com/~lm78/archive/i2c-2.8.4.tar.gz # cd /tmp ; wget http://secure.netroedge.com/~lm78/archive/lm_sensors-2.8.6.tar.gz # # # Mailing List # linux-i2c@pelican.tk.uni-linz.ac.at # # More lm_sensor HOWTO # -------------------- # http://www.Linux-1U.net/LCD/lm_sensors.Txt/ # i2c.uHowTo.txt # i2c_lm_sensors.uHowTO.txt # lcd-front-panel.uHowTO.txt # # # # install i2c # ----------- # cd /usr/local/src # # # Required for compiling i2c # ln -s linux-2.4.19 linux-2.4 ln -s linux-2.4 linux # # # wget .... # tar zxvfp i2c-2.7.0.tar.gz cd i2c-2.7.0 # # # linux-2.6.7 is missing modversions.h # /lib/modules/2.6.7/build/include/linux/modversions.h # # cd ..../src/linux-2.6.7/include/linux # ln -s ../config/modversions.h . # == i2c-2.8.7 still fails to compile under linux-2.6.7 # make make install # # # install lm_sensors # ------------------ # cd /usr/local/src # wget .... # tar zxvfp lm_sensors-2.7.0.tar.gz # cd lm_sensors-2.7.0 # # # linux-2.6.7 is missing i2c-proc.h # since i2c-2.8.7 fails to compile/install, # lm_sensors-2.8.7 is looking for linux/i2c-proc.h # make make install # # Check that it was installed # # ls -la /lib/modules/`uname -r`/misc/lm* # ls -la /lib/modules/`uname -r`/misc # ls -la /lib/modules/`uname -r`/kernel/drivers/i2c ls -la /lib/modules/`uname -r`/kernel/drivers/sensors # # # lm_sensors-*/prog/mkdev/mkdev.sh ls -la /dev/i2c* # # vi /etc/ld.so.conf # add this line /usr/local/lib # ldconfig # # vi /etc/rc.d/rc.local # # 20-Jun-02 amo Added lm_sensors stuff # # I2C adapter drivers modprobe i2c-isa # # I2C chip drivers modprobe sis5595 modprobe it87 # # vi /etc/modules.conf # # 20-Jun-02 amo Added lm_sensors stuff # path[i2c]=/lib/modules/`uname -r`/misc path[misc]=/lib/modules/`uname -r`/misc # # I2C module options alias char-major-89 i2c-dev # depmod -a # # # /sbin/depmod -a depmod: *** Unresolved symbols in /lib/modules/2.4.18/misc/i2c-philips-par.o rm -f /lib/modules/2.4.18/misc/i2c-philips-par.o /sbin/depmod -a # # Run ./prog/../sensor-detect # ----------------- # # creates /etc/sysconfig/lm_sensors # # cp /usr/share/doc/packages/sensors/prog/init/lm_sensors.init /etc/init.d/lm_sensors # # # # Watch the values lm_sensors can read # ------------------------------------- # cat /proc/sys/dev/sensors/it87-isa-0290/fan* cat /proc/sys/dev/sensors/it87-isa-0290/temp* # # # end of file