I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / I-Opener Areas / I-Opener Technical Stuff
RedHat 7.1 lm_sensors configuration
Linux temperature sensors

New MessageRedHat 7.1 lm_sensors configuration (modified 0 times) klotz
Profile
Prior to RH 7.1 I had trouble getting the lm_sensors package to work.
With RH 7.1 and the 2.4.2-2 kernel, I have had success. Below is how I got it to work (1. long path) and how you can get it to work (2. short path). At the end is the output (3) of running the sensors program.

It appears to swap the CPU and MB temperature readings, at least as compared with the BIOS. For the record, this is a 333MHz K6-III+ with a lasgna fan, a cooling resistor, and a small fan (the latter two from BadFlash).

1. Long path:
Install lm_sensors-2.5.5-3 from the RedHat disk.
Become root and run /usr/sbin/sensors-detect a few times.
Follow its directions. Try preloading i2c-core, i2c-devs, and i2c-viapro

2. Short path:
Install lm_sensors-2.5.5-3 from the RedHat disk.

Put this in /etc/rc.sensors:
#!/bin/sh
# I2C adapter drivers
modprobe i2c-viapro
modprobe i2c-isa
modprobe i2c-viapro
modprobe i2c-isa
# I2C chip drivers
modprobe eeprom
modprobe via686a

Put this at the end of /etc/modules.conf:
# I2C module options
alias char-major-89 i2c-dev

As root, run /sbin/depmod -a.

Run /etc/rc.sensors as root.
Add it to the end of /etc/rc.local if you wish,
if [ -x /etc/rc.sensors ]; then
/etc/rc.sensors
fi

You are now done with the one-time setup.

3. Results
To check the sensors, become a normal user, and run sensors.

% sensors
eeprom-i2c-0-50
Adapter: SMBus vt82c596 adapter at 5000
Algorithm: Non-I2C SMBus adapter
Memory type: SDRAM DIMM SPD
SDRAM Size (MB): 128

via686a-isa-6000
Adapter: ISA adapter
Algorithm: ISA algorithm
CPU core: +1.99 V (min = +1.79 V, max = +2.18 V)
+2.5V: +2.29 V (min = +2.24 V, max = +2.74 V)
I/O: +3.17 V (min = +3.54 V, max = +4.05 V) ALARM
+5V: +4.94 V (min = +6.30 V, max = +2.94 V) ALARM
+12V: +11.51 V (min = +15.28 V, max = +15.28 V) ALARM
CPU Fan: 0 RPM (min = 0 RPM, div = 2)
P/S Fan: 0 RPM (min = 2824 RPM, div = 2)
SYS Temp: +40.0°C (limit = +50°C, hysteresis = +60°C)
CPU Temp: +48.0°C (limit = +50°C, hysteresis = +60°C)
SBr Temp: +27.6°C (limit = +50°C, hysteresis = +60°C)

07-22-2001 23:11:50

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3