Difference between revisions of "Talk:Bering-uClibc 4.x - User Guide - Appendices - Hardware-Specific Guides"

From bering-uClibc
Jump to: navigation, search
(Created page with '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 i…')
 
Line 16: Line 16:
  
 
Maybe it's my board... Do you have more luck? Anything I missed? --[[User:Kapeka|Kapeka]] 18:50, 1 April 2011 (UTC)
 
Maybe it's my board... Do you have more luck? Anything I missed? --[[User:Kapeka|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 <tt>i2c-dev.ko</tt> was a fix for the "no i2c device files found" error so I got it working without that.
 +
 +
You could try loading <tt>lm90.ko</tt> (requires <tt>hwmon.ko</tt>) manually and running "sensors" (not "sensors-detect").
 +
 +
However, "sensors-detect" works for me (with <tt>i2c-dev.ko</tt> 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) 
 +
 +
[[User:Davidmbrooke|Davidmbrooke]] 19:23, 1 April 2011 (UTC)

Revision as of 19:23, 1 April 2011

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)