Find the answer to your Linux question:
Results 1 to 2 of 2
Hello all, I've spent a few days trying to get lm sensors to work so I can monitor my cpu temp, etc with my superkaramba theme. I ran sensors-detect and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Location
    Wisconsin
    Posts
    2

    Need help with lm sensors


    Hello all,

    I've spent a few days trying to get lm sensors to work so I can monitor my cpu temp, etc with my superkaramba theme. I ran sensors-detect and here is the output:

    Code:
    # sensors-detect revision 4271 (2006-12-26 03:53:20 -0800)
    
    This program will help you determine which kernel modules you need
    to load to use lm_sensors most effectively. It is generally safe
    and recommended to accept the default answers to all questions,
    unless you know what you're doing.
    
    We can start with probing for (PCI) I2C or SMBus adapters.
    Do you want to probe now? (YES/no): yes
    Probing for PCI bus adapters...
    Use driver `i2c-nforce2' for device 0000:00:01.1: nVidia Corporation nForce2 SMBus (MCP)
    
    We will now try to load each adapter module in turn.
    Load `i2c-nforce2' (say NO if built into your kernel)? (YES/no): yes
    FATAL: Module i2c_nforce2 not found.
    Loading failed... skipping.
    If you have undetectable or unsupported adapters, you can have them
    scanned by manually loading the modules before running this script.
    
    To continue, we need module `i2c-dev' to be loaded.
    Do you want to load `i2c-dev' now? (YES/no): yes
    FATAL: Module i2c_dev not found.
    Loading failed, expect problems later on.
    
    We are now going to do the I2C/SMBus adapter probings. Some chips may
    be double detected; we choose the one with the highest confidence
    value in that case.
    If you found that the adapter hung after probing a certain address,
    you can specify that address to remain unprobed.
    
    Some chips are also accessible through the ISA I/O ports. We have to
    write to arbitrary I/O ports to probe them. This is usually safe though.
    Yes, you do have ISA I/O ports even if you do not have any ISA slots!
    Do you want to scan the ISA I/O ports? (YES/no): yes
    Probing for `National Semiconductor LM78' at 0x290...       No
    Probing for `National Semiconductor LM78-J' at 0x290...     No
    Probing for `National Semiconductor LM79' at 0x290...       No
    Probing for `Winbond W83781D' at 0x290...                   No
    Probing for `Winbond W83782D' at 0x290...                   No
    Probing for `Winbond W83627HF' at 0x290...                  No
    Probing for `Silicon Integrated Systems SIS5595'...         No
    Probing for `VIA VT82C686 Integrated Sensors'...            No
    Probing for `VIA VT8231 Integrated Sensors'...              No
    Probing for `IPMI BMC KCS' at 0xca0...                      No
    Probing for `IPMI BMC SMIC' at 0xca8...                     No
    
    Some Super I/O chips may also contain sensors. We have to write to
    standard I/O ports to probe them. This is usually safe.
    Do you want to scan for Super I/O sensors? (YES/no): yes
    Probing for Super-I/O at 0x2e/0x2f
    Trying family `ITE'...                                      Yes
    Found `ITE IT8712F Super IO Sensors'                        Success!
        (address 0xd00, driver `it87')
    Trying family `National Semiconductor'...                   No
    Trying family `SMSC'...                                     No
    Trying family `VIA/Winbond/Fintek'...                       No
    Probing for Super-I/O at 0x4e/0x4f
    Trying family `ITE'...                                      No
    Trying family `National Semiconductor'...                   No
    Trying family `SMSC'...                                     No
    Trying family `VIA/Winbond/Fintek'...                       No
    
    Some CPUs or memory controllers may also contain embedded sensors.
    Do you want to scan for them? (YES/no): yes
    AMD K8 thermal sensors...                                   No
    Intel Core family thermal sensor...                         No
    Intel AMB FB-DIMM thermal sensor...                         No
    
    Now follows a summary of the probes I have just done.
    Just press ENTER to continue:
    
    Driver `it87' (should be inserted):
      Detects correctly:
      * ISA bus, address 0xd00
        Chip `ITE IT8712F Super IO Sensors' (confidence: 9)
    
    I will now generate the commands needed to load the required modules.
    Just press ENTER to continue: 
    
    To make the sensors modules behave correctly, add these lines to
    /etc/modules.conf:
    
    #----cut here----
    # I2C module options
    alias char-major-89 i2c-dev
    #----cut here----
    
    To load everything that is needed, add this to some /etc/rc* file:
    
    #----cut here----
    # Chip drivers
    # Warning: the required module it87 is not currently installed
    # on your system. For status of 2.6 kernel ports check
    # http://www.lm-sensors.org/wiki/Devices. If driver is built
    # into the kernel, or unavailable, comment out the following line.
    modprobe it87
    # sleep 2 # optional
    /usr/local/bin/sensors -s # recommended
    #----cut here----
    
    If you have some drivers built into your kernel, the list above will
    contain too many modules. Skip the appropriate ones! You really
    should try these commands right now to make sure everything is
    working properly. Monitoring programs won't work until the needed
    modules are loaded.
    
    Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): ys
    Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors
    for initialization at boot time.
    I added this to /etc/modprobe.conf
    alias char-major-89 i2c-dev

    I added this to /etc/rc.d/rc.local
    modprobe it87
    /usr/local/bin/sensors -s


    Rebooted.... got this message:
    No sensors found!
    Make sure you loaded all the kernel drivers you need.
    Try sensors-detect to find out which these are.


    When I type 'sensors' as root I also get that same message. Any help? I really want to get this to work.

    I'm running Zenwalk 4.2 distro, kernel is 2.6.18.6, machine is AMD Athlon XP 2800+.

    Thanks.

  2. #2
    Just Joined!
    Join Date
    Jun 2007
    Posts
    1

    You need I2C support compiled into your kernel


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •