Re: [SLE] sensors question



Bob S wrote:
Hello SuSE people,

Running 10.0 on AMD64.

After installing the package, I ran sensors-detect in Konsole. Did all of the probing, testing, etc. Then it suggested additions to two config files before it finished. The following is a paste from the Konsole.

To load everything that is needed, add this to some /etc/rc* file:

#----cut here----
# I2C adapter drivers
modprobe i2c-viapro
modprobe i2c-isa
# I2C chip drivers
modprobe eeprom
modprobe w83627hf
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----cut here----

Question is What file does that get added to. I have only an rc.status file and a rc.splash.

You don't need to; it's delivered as part of 10.0. Don't mess around with your system and introduce local patches, just use the SUSE-supplied framework.

Check that you have /etc/init.d/lm_sensors, that's the file you're looking for. It's in the package sensors-2.9.1-4, on my 10.0 system.

Check /etc/sysconfig/lm_sensors and add these modules to the configuration if they're not already there. In your case, this configuration file should finish with

MODULE_0=i2c-viapro
MODULE_1=i2c-isa
MODULE_2=eeprom
MODULE_3=w83627hf

(I don't remember any more if I put the modules list there myself or if sensors-detect did that already.)

Call "/etc/init.d/lm_sensors start" to start the whole thing.

Call "sensors" to check if it works.

Call "chkconfig -a lm_sensors" to initialize the system at boot time.

For the last straw, update /etc/sensors.conf with temperature and fan thresholds to get proper warnings. (You must call "sensors -s" again to activate your changes.) Add a sensors service check to your Nagios installation, to get automatically informed when your CPU gets too hot or your fans die. The hardest part of that is to get the information about good thresholds. ;-)

Cheers,
Joachim

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod Email: jschrod@xxxxxxx
Roedermark, Germany

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • lm_sensors doesnt stay enabled!
    ... I have gotten the lm_sensors configured to read cpu temp and other ... the sensors won't start back up. ... alias snd-card-0 snd-ens1371 ... modprobe i2c-viapro ...
    (Fedora)
  • Re: Use of sensors
    ... If you're reunning Fedora you should put those on ... Not sure what the VID is, ... > To make the sensors modules behave correctly, ... > modprobe i2c-isa ...
    (Fedora)
  • [SLE] Sensors
    ... I have the Sensors package installed, and have run sensors-detect, which comes back with this at the end: ... a chip is available both through the ISA bus and an I2C bus. ... but you need to load an additional driver module ... modprobe i2c-nforce2 ...
    (SuSE)
  • Re: Lm_sensors / SuSE9 / Asus P4s333
    ... > this sequence at boot there will be another line in the script, ... modprobe i2c-sis645 ... > In your case sensors have failed to start, ...
    (alt.os.linux.suse)
  • Re: Use of sensors
    ... modprobe i2c-isa ... As root, I ran the programs listed above, and now sensors outputs ... Adapter: ISA adapter ... What is the error related to VID data? ...
    (Fedora)