Talk:Bering-uClibc 4.x - User Guide - Appendices - Hardware-Specific Guides

From bering-uClibc
Jump to: navigation, search

I have no luck with sensors on an alix box.

First i2c-dev.ko is required, otherwise I get the message while running sensors-detect "no i2c device files found".


After loading i2c-dev.ko running sensors-detect fails with

Do you want to probe the I2C/SMBus adapters now? (YES/no): Using driver `scx200_acb' for device 0000:00:0f.0: CS5536 [Geode companion] ISA

Next adapter: CS5536 ACB0 (i2c-0) Do you want to scan it? (YES/no/selectively):

Sorry, no sensors were detected. ...

Maybe it's my board... Do you have more luck? Anything I missed? --Kapeka 18:50, 1 April 2011 (UTC)


It works for me on my new alix2d13:

# sensors                                                               
lm86-i2c-0-4c                                                                   
Adapter: CS5536 ACB0                                                            
temp1:        +37.0 C  (low  =  +0.0 C, high = +70.0 C)                         
                       (crit = +85.0 C, hyst = +75.0 C)                         
temp2:        +41.0 C  (low  =  +0.0 C, high = +70.0 C)                         
                       (crit = +85.0 C, hyst = +75.0 C)  

I did not know that loading i2c-dev.ko was a fix for the "no i2c device files found" error so I got it working without that.

You could try loading lm90.ko (requires hwmon.ko) manually and running "sensors" (not "sensors-detect").

However, "sensors-detect" works for me (with i2c-dev.ko loaded):

Do you want to probe the I2C/SMBus adapters now? (YES/no):                      
Using driver `scx200_acb' for device 0000:00:0f.0: CS5536 [Geode companion] ISA 
                                                                               
Next adapter: CS5536 ACB0 (i2c-0)                                               
Do you want to scan it? (YES/no/selectively):                                   
Client found at address 0x4c                                                    
Probing for `National Semiconductor LM75'...                No                  
<snip>
Probing for `National Semiconductor LM89/LM99'...           No                  
Probing for `National Semiconductor LM86'...                Success!            
    (confidence 8, driver `lm90')                                               
Probing for `Analog Devices ADM1032'...                     No
<snip>
Now follows a summary of the probes I have just done.                           
Just press ENTER to continue:                                                   
                                                                               
Driver `lm90':                                                                  
  * Bus `CS5536 ACB0'                                                           
    Busdriver `scx200_acb', I2C address 0x4c                                    
    Chip `National Semiconductor LM86' (confidence: 8)  

Davidmbrooke 19:23, 1 April 2011 (UTC)


As I said - maybe it's my box - two or three years older and probably without the necessary hw support, or maybe the bios(?)...

#lsmod | grep lm90
lm90 6603 0 - Live 0x8942b000
i2c_core 11684 4 i2c_dev,dme1737,scx200_acb,lm90, Live 0x8941b000
hwmon 977 2 dme1737,lm90, Live 0x8940b000
#sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.


--Kapeka 19:55, 1 April 2011 (UTC)