Ok,
Way too many requests. SO..... here's my Mini How-To.
Use of this is at your own risk, Blah Blah Blah legal disclaimer applies..... ;-)
Download from either:
http://secure.netroedge.com/~lm78/
or
http://www.integratedsolutions.org/downloads/i2c-2.8.7.tar.gz http://www.integratedsolutions.org/downloads/i2c-2.9.0.1.patch http://www.integratedsolutions.org/downloads/i2c-2.9.0.tar.gz http://www.integratedsolutions.org/downloads/lm_sensors-2.8.7.tar.gz http://www.integratedsolutions.org/downloads/lm_sensors-2.9.0.tar.gz
WARNING: We have not finished testing 2.9.0 and there seems to be a few bugs there. So we recommend downloading the 2.8.7 files above....
NEXT:
un-tar.gz the files to directories in home
go to your kernel source directory:
edit Makefile to read the same as the installed kernel (uname -r) (delete the word "custom" at the end of the line: EXTRAVERSION = -27.0.2.Elcustom)
run make mrproper run make oldconfig run make dep run make clean
The above sets up the kernel source so you can build and install the i2c and lm sensors drivers correctly.
cd to i2c directory under /home
run make clean run make all run make install
cd to lm sensors directory under /home
run make clean run make all run make install
do an extra depmod -a (just in case :) )
ignore any unresolved symbols messages if you get them
run sensors-detect and read the outputs carefully
test the lines that the sensors-detect script tells you to add to rc.local one at a time to make sure the appropriate drivers load successfully. If they do you're all set.
Next: Just add the lines required to /etc/modules.conf and /etc/rc.d/rc.local and reboot.
Your i2c and lm sensors stuff will start at power up.
You can test the output with the sensors command.
You might want to look in the /home/lmsensors ( cd /home; find . -name "sensors*.*" ) directories for the newer sensors.conf file and copy it to /etc. Modify the new one to give you the output you want.
Here is a script that we use when doing burn-in on our systems to monitor the time they have been running and the latest temps - we test under full load using cpuburn-1.4.
#! /bin/csh # temp display shell script # ISSLLC sab 3/04
echo "" echo "Starting" echo "" @ counter_s = 0 @ minutes = 0 @ hrs = 0 echo "Burn Time = $hrs hrs $minutes mins $counter_s secs" echo "" while (1) sensors | grep emp sleep 10 echo "" @ counter_s += 10 if($counter_s == 60) then @ counter_s = 0 @ minutes += 1 if($minutes == 60) then @ minutes = 0 @ hrs += 1 endif endif echo "Burn Time = $hrs hrs $minutes mins $counter_s secs" end echo "I'm Done..."
After its all working properly, have a drink and say "thanks Integrated Solutions" ;-)
Let me know if this was helpful.
Best,
Seth Bardash
Integrated Solutions and Systems 1510 North Gate Road Colorado Springs, CO 80921
719-495-5866 719-495-5870 Fax 719-337-4779 Cell
http://www.integratedsolutions.org
Failure can not cope with perseverance!
go to your kernel source directory:
edit Makefile to read the same as the installed kernel (uname -r) (delete the word "custom" at the end of the line: EXTRAVERSION = -27.0.2.Elcustom)
run make mrproper run make oldconfig run make dep run make clean
The above sets up the kernel source so you can build and install the i2c and lm sensors drivers correctly.
cd to i2c directory under /home
run make clean run make all run make install
cd to lm sensors directory under /home
run make clean run make all run make install
do an extra depmod -a (just in case :) )
By the way, you will need to do: yum install kernel-source flex bison ... if you don't already have those packages installed. Without flex & bison, the "make all" for lm_sensors will fail, and you have to then "make clean" again before redoing the "make all."
johnn