lm_sensors-3.3.5
      
      
      
        
          Kernel
          Configuration
        
        
          Getting your kernel config right is an iterative process that may
          require that you recompile your kernel a couple of times. The
          simplest way to go about it is to start by enabling modules and
          then compile everything that may be needed by Lm Sensors as a
          module:
        
        
[*] Enable loadable module support  --->  [CONFIG_MODULES]
Bus options (PCI etc.)  --->
  [*] PCI support                         [CONFIG_PCI]
Device Drivers  --->
  I2C support --->
    <*/M> I2C device interface            [CONFIG_I2C_CHARDEV]
    I2C Hardware Bus support  --->
      <M> (configure all of them as modules)
  <*/M> Hardware Monitoring support  ---> [CONFIG_HWMON]
    <M> (configure all of them as modules)
        
          Recompile your kernel and reboot into the new kernel. Don't forget
          to make
          modules_install We will come back to the kernel in
          the Configuring section below.
        
       
      
        
          Installation of lm_sensors
        
        
          Install lm_sensors by running the
          following commands:
        
        
patch -Np1 -i ../lm_sensors-3.3.5-upstream_fixes-1.patch &&
make PREFIX=/usr        \
     BUILD_STATIC_LIB=0 \
     MANDIR=/usr/share/man
        
          This package does not come with a test suite.
        
        
          Now, as the root user:
        
        
make PREFIX=/usr        \
     BUILD_STATIC_LIB=0 \
     MANDIR=/usr/share/man install &&
install -v -m755 -d /usr/share/doc/lm_sensors-3.3.5 &&
cp -rv              README INSTALL doc/* \
                    /usr/share/doc/lm_sensors-3.3.5
       
      
        
          Command Explanations
        
        
          BUILD_STATIC_LIB=0: This
          parameter disables compiling and installing the static version of
          libsensors.
        
        
          PROG_EXTRA=sensord: This
          parameter enables compiling sensord, a daemon that can
          monitor your system at regular intervals. Compiling sensord requires RRDtool. Compiling
          RRDtool 1.4.6 requires a sed: sed -i
          '/ sv_undef/d' bindings/perl-shared/RRDs.xs.
        
       
      
        
          Configuring Lm Sensors
        
        
          
            Config
            File
          
          
            /etc/sensors3.conf
          
         
        
          
            Configuration Information
          
          
            To find out what hardware sensors your system has, issue the
            following command as the root
            user:
          
          
sensors-detect
          
            The appropriate modules should have been loaded and a summary is
            displayed at the end. Now you know what is needed and you can
            recompile your kernel to enable just the options you need (i.e.,
            don't enable the modules you cannot use).
          
         
       
      
        
          Contents
        
        
          
            
              Installed Programs:
              fancontrol, isadump, isaset, pwmconfig,
              sensors, sensors-conf-convert, sensors-detect, and optionally,
              sensord
            
            
              Installed Library:
              libsensors.so
            
            
              Installed Directories:
              /etc/sensors.d, /usr/include/sensors and
              /usr/share/doc/lm_sensors-3.3.5
            
           
         
        
          
            Short Descriptions
          
          
            
            
              
                | 
                    fancontrol
                   | 
                    is a shell script for use with lm_sensors. It reads its
                    configuration from a file, then calculates fan speeds
                    from temperatures and sets the corresponding PWM outputs
                    to the computed values.
                   | 
              
                | 
                    isadump
                   | 
                    is a small helper program to examine registers visible
                    through the ISA bus. It is intended to probe any chip
                    that lives on the ISA bus working with an address
                    register and a data register (I2C-like access) or a flat
                    range (of up to 256 bytes).
                   | 
              
                | 
                    isaset
                   | 
                    is a small helper program to set registers visible
                    through the ISA bus.
                   | 
              
                | 
                    pwmconfig
                   | 
                    tests the pulse width modulation (PWM) outputs of sensors
                    and configures fancontrol.
                   | 
              
                | 
                    sensors
                   | 
                    prints the current readings of all sensor chips.
                   | 
              
                | 
                    sensors-conf-convert
                   | 
                    is a Perl script to
                    convert lm-sensors
                    version 2 configuration files to work with version 3.
                   | 
              
                | 
                    sensors-detect
                   | 
                    is a Perl script that
                    will walk you through the process of scanning your system
                    for various hardware monitoring chips (sensors) supported
                    by libsensors, or more
                    generally by the lm_sensors tool suite. | 
              
                | 
                    libsensors.so | 
                    contains the lm_sensors
                    API functions.
                   | 
            
          
         
       
      
        Last updated on 2015-02-20 21:50:01 -0800