Re: [SLE] sensors question



Bob S wrote:
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----

For suse, that should be auto created in /etc/sysconfig/lm_sensors
Question is What file does that get added to. I have only an rc.status file
and a rc.splash. Doesn't look like that statement should go into either of
them.

It also makes a file in /usr/share/doc/packages/sensors/prog/init called
lm_sensors.init.suse, which you should manually copy to /etc/init.d.
Rename it to lm_sensors (personal preference), and make sure it is
executable. For niceness, create a symlink in /usr/sbin called
rcsensors, i.e. cd /usr/sbin, ln -s /etc/init.d/lm_sensors rcsensors.
Then you can start and stop it like many other services, i.e.rcsensors
start, etc. You may want to check /etc/init.d/lm_sensors to make sure
it looks ok for you as far as starting dependencies, then either use
Yast, System, Runlevel Editor to start it on boot, or insserv
/etc/init.d/lmsensors, or chkconfig --add lm_sensors. HTH



--
Joe Morris
Registered Linux user 231871







--
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

  • [SLE] sensors question
    ... I ran sensors-detect in Konsole. ... Then it suggested additions to two config files before ... modprobe i2c-viapro ...
    (SuSE)
  • Re: i2c and lm_sensors
    ... modprobe i2c-isa ... says but it is not a script file. ...
    (linux.redhat.misc)
  • Re: i2c and lm_sensors
    ... modprobe i2c-isa ... I want to load the modules automatically. ... HAve you got nforce2 chipset too?...what modules do you need to load? ...
    (linux.redhat.misc)
  • Re: no sensors detected in gkrellm
    ... Sensors-detect found a similar set for me: ... modprobe i2c-viapro ...
    (Fedora)
  • [SLE] [9.0] Another sensors question
    ... files it needed, but still not the nforce2, But I am still lokking where ... modprobe i2c-isa ...
    (SuSE)