Sensors
From Wikitech
(Difference between revisions)
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| + | {{Old-doc}} | ||
==installing lm-sensors & c. for the Pentium 4 machines== | ==installing lm-sensors & c. for the Pentium 4 machines== | ||
Latest revision as of 22:55, 1 November 2010
Contents |
[edit] installing lm-sensors & c. for the Pentium 4 machines
[edit] kernel
currently using Ricky's from ftp://support.covelight.com/pub/Wiki/wiki-2.6.7-SMP-rc2+BK%401.1388.tar.gz
[edit] lm-sensors package
using /home/wikipedia/src/lm_sensors-2.8.6-1.i386.ricky-beam.rpm
[edit] /sys filesystem
from Ricky:
mkdir /sys add: - /sys sysfs defaults 0 0 to fstab (- or sysfs, it doesn't really matter) mount /sys
[edit] /etc/modules.conf modification
add this: (suggested by sensors-detect script)
# Support for i2c and lm_sensors alias char-major-89 i2c-dev
[edit] 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