Re: i2c and lm_sensors

From: Andreas Korn (andreas.korn_at_onlinehome.de)
Date: 03/26/04


Date: Fri, 26 Mar 2004 23:03:08 +0100

First, if you use Fedora, you could use some non-official addon
repositories (apt or yum), too. At ATRPMS
(http://atrpms.physik.fu-berlin.de/) you also find the kernel modules,
user space rpm-packages, ...
Just install lm_sensors package. This will install
/etc/init.d/lm_sensors. This should be started as service (like
everything else in /etc/init.d) and loads the modules. The modprobe
commands should be in /etc/sysconfig/lm_sensors (just like the
sensors-detect tells you).
If you don't (or cannot) use the rpms packages, you will have to do some
more manual checking and editing, but basically it should work the same way.

Andreas

ElNoHabido wrote:
> *****************
> To load everything that is needed, add this to some /etc/rc* file:
>
> #----cut here----
> # I2C adapter drivers
> modprobe i2c-isa
> # I2C chip drivers
> modprobe w83781d
> # sleep 2 # optional
> /usr/local/bin/sensors -s # recommended
> #----cut here----
>
> Do you want to generate /etc/sysconfig/lm_sensors? (YES/no): y
> Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors
> for initialization at boot time.
>
> ****************
>
> but I do not know where to add both modprobe lines. I search for
> lm_sensors.init in order to copy to /etc/rc.d/init.d/lm_sensors but I
> didn't find. I have a lm_sensors file in /etc/sysconfig/lm_sensors as it
> says but it is not a script file.
>
> Could you, please, give me an idea of how to do it?
>
> (I don't undestand my last mail 8-))
>
> I want to load the modules automatically. Now I do it manually everytime
> I logon.
>
> Which are the files I need to modified in order to have support to
> sensors always?
>
> HAve you got nforce2 chipset too?...what modules do you need to load?
>
>



Relevant Pages

  • Re: Problem with instruktions from sensors-detect
    ... > the directory begging with rc* are shell script. ... /etc/rc.local - a script file which is executed once during boot up - ... modprobe i2c-viapro ... Fedora GNU/Linux Core 1 on Athlon CPU kernel 2.4.22-1.2149.nptl ...
    (Fedora)
  • Re: i2c and lm_sensors
    ... modprobe i2c-isa ... says but it is not a script file. ...
    (linux.redhat.misc)
  • lm_sensors failing with i2c
    ... sensors-detect as root, ... # I2C Adapter Drivers ... modprobe i2c-piix4 ... I then allowed the sensors-detect script to generate an init script for ...
    (Fedora)
  • Re: Doubt about lm_sensors.
    ... I'm confusing about the configuration of the lm_sensors through ... sensors-detect because at the end it says to put the commands below ... modprobe i2c-isa ...
    (Fedora)
  • Re: [SLE] athlon overheating?
    ... >> Could anyone with an AMD give me reasonable working ... > sensors-detect to let you know with modules to ... modprobe i2c-viapro ...
    (SuSE)