14th May 2005 Ian Wells
Thanks to Reinhold and wififun
This page only covers installation, please also see lm_sensors for SME
Three installation methods are described in these pages
Download the RPM: http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/lm_sensors-2.9.1-39.rh7.3.at.i386.rpm
If this link is broken use the link above it and download the latest rpm.
# rpm -Uvh lm_sensors-2.8.7-0_32.rh7.3.at.i386.rpm
# /usr/sbin/sensors-detect
For my mainboard, I just hit enter for all questions, which then uses the defaults which can be seen as CAPs.
#----cut here---- # I2C module options alias char-major-89 i2c-dev options it87 ignore=-1,0x290 #----cut here----
# mkdir -p /etc/e-smith/templates-custom/etc/modules.conf
# pico /etc/e-smith/templates-custom/etc/modules.conf/10i2c
{ foreach my $line ( "alias char-major-89 i2c-dev", "options it87 ignore=-1,0x290", ) { unless (exists $lines{$line}) { push @lines, $line; } } ""; }
# /sbin/e-smith/expand-template /etc/modules.conf
# ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S86lm_sensors # /sbin/e-smith/config set lm_sensors service status enabled # /sbin/service lm_sensors start
On one test PC the temperature could not be displayed from running sensors, but it was read correctly in Sysmon.
My research came up with the following which appears appropriate:
User had an old kernel module (2.6.5) with recent user-space tools (2.8.6),
which was causing the problems
/etc/sysconfig/lm_sensors contains the list of modules to be loaded. Unnecessary modules can be removed,
however the list must stay numbered from 0 without gaps.
For details of how to identify which modules are required look at http://www2.lm-sensors.nu/~lm78/identify.html
Now return to lm_sensors for SME
Copyright © 2005
Ian Wells : The original can be found from http://www.wellsi.com/sme
: Please send additions & corrections to me.
Permission
is granted to copy, distribute and/or modify this document under the
terms of the GNU Free Documentation License, Version 1.2 or any later
version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Text and no Back-Cover Text. A copy of the
GNU Free Documentation License is available from the Free Software
Foundation at http://www.fsf.org/copyleft/fdl.html.