Jump to content

Obsolete:Sensors

From Wikitech
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page contains historical information. It may be outdated or unreliable.

installing lm-sensors & c. for the Pentium 4 machines

kernel

currently using Ricky's from ftp://support.covelight.com/pub/Wiki/wiki-2.6.7-SMP-rc2+BK%401.1388.tar.gz

lm-sensors package

using /home/wikipedia/src/lm_sensors-2.8.6-1.i386.ricky-beam.rpm

/sys filesystem

from Ricky:

mkdir /sys
add:
-                       /sys                    sysfs   defaults        0 0
to fstab
(- or sysfs, it doesn't really matter)
mount /sys

/etc/modules.conf modification

add this: (suggested by sensors-detect script)

# Support for i2c and lm_sensors
alias char-major-89    i2c-dev

startup script

make /etc/rc.d/init.d/lm_sensors

#! /bin/bash

# script generated by sensors-detect
# slight modification by JJ 2004-06-03

# I2C adapter drivers
modprobe i2c-i801
modprobe i2c-isa
# I2C chip drivers
modprobe eeprom
modprobe w83627hf
sleep 2 # optional
/usr/bin/sensors -s # recommended

then chmod 755 it (necessary?), then:

ln -s /etc/rc.d/init.d/lm_sensors /etc/rc3.d/S65lm_sensors