Newsgroups: alt.os.linux.suse Date: 2003-02-03 09:21:18 PST
I have installed both the above packages from my SuSE CDs. I hear that GKrellm can show the output from lm_sensors - but how do I do that?
I found on http://web.wt.net/~billw/gkrellm/gkrellm.html
a plugin, that should enable this, but when I try to compile it, I get all sorts of errormessages…
Make sure sensors is setup correctly, as root or su type sensors-detect in a terminal and follow the prompts. Copy and paste the detected sensor to /etc/modules.conf and I installed the modprobe commands to /etc/init.d/boot.local
If all goes well at a terminal as a normal user or root type sensors. Output similar to the following will be displayed:
anc@linux:~> sensors
w83782d-isa-0290
Adapter: ISA adapter
Algorithm: ISA algorithm
VCore 1: +1.66 V (min = +4.08 V, max = +4.08 V)
VCore 2: +1.48 V (min = +4.08 V, max = +4.08 V)
+3.3V: +3.48 V (min = +2.97 V, max = +3.63 V)
+5V: +5.04 V (min = +4.50 V, max = +5.48 V)
+12V: +12.46 V (min = +10.79 V, max = +13.11 V)
-12V: -11.88 V (min = -13.21 V, max = -10.90 V)
-5V: -5.20 V (min = -5.51 V, max = -4.51 V)
V5SB: +4.97 V (min = +4.50 V, max = +5.48 V)
VBat: +2.51 V (min = +2.70 V, max = +3.29 V)
fan1: 4891 RPM (min = 3000 RPM, div = 2)
fan2: 0 RPM (min = 3000 RPM, div = 2)
fan3: 0 RPM (min = 3000 RPM, div = 2)
temp1: +28^C (limit = +60^C) sensor =
thermistor
temp2: +30.5^C (limit = +60^C, hysteresis = +50^C) sensor =
PII/Celeron diode
temp3: +29.0^C (limit = +60^C, hysteresis = +50^C) sensor =
thermistor
vid: +1.650 V
alarms: Chassis intrusion detection ALARM
beep_enable:
Sound alarm disabled
eeprom-i2c-0-50
Adapter: SMBus PIIX4 adapter at 5000
Algorithm: Non-I2C SMBus adapter
Memory type: SDRAM DIMM SPD
SDRAM Size (MB): 128
eeprom-i2c-0-51
Adapter: SMBus PIIX4 adapter at 5000
Algorithm: Non-I2C SMBus adapter
Memory type: SDRAM DIMM SPD
SDRAM Size (MB): 128dependent of course on your motherboard. Mine is Abit BE6-II with winbond. Install Gkrellm from the Suse CD's. It will work under kDe or any other GUI. Right click Gkrellm go to configuration, builtins, sensors. You should find at least setup, voltages and info menues. Toggle the buttons for CPU voltage to be displayed and apply. The fields with a blank label, need a name before they can be displayed. On my gktrellm temp 1 was blank, I called it CPU temp and hit apply, similarly for other sensors. All in all a nice little application. Hope that helps.
andy @freeserve.co.uk
> #----cut here---- > # I2C adapter drivers > modprobe i2c-isa > # I2C chip drivers > modprobe sis5595 > #----cut here---- > > To make the sensors modules behave correctly, add these lines to either > /etc/modules.conf or /etc/conf.modules: > > #----cut here---- > # I2C module options > alias char-major-89 i2c-dev > #----cut here---- > > Do you want to generate /etc/sysconfig/lm_sensors? (YES/no): > Copy /usr/share/doc/packages/sensors/prog/init/lm_sensors.init > to /etc/init.d/lm_sensors for initialization at boot time.
Ok Stig, I realise now that you must still be on the original kernel with 8.0 so the sensors module is not in by default.
You need to put the first part in /etc/init.r/boot.local :
# I2C adapter drivers modprobe i2c-isa # I2C chip drivers modprobe sis5595
and the last can be pit at the bottom of /etc/modules.conf :
# I2C module options alias char-major-89 i2c-dev
I take it you did say yes to generate the config file at the end.
and that should then be it. after the next boot it will load them automatically
or you could try by hand after you have added the line to modules.conf do a (as root)
modprobe i2c-isa modprobe sis5595
and see if you can get anything from sensors.
Mark N.Wales, UK.