http://bugzilla.kernel.org/show_bug.cgi?id=9588

           Summary: Smart Battery not recognized by sbs module
           Product: ACPI
           Version: 2.5
     KernelVersion: 2.6.24-rc5
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Power-Battery
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Distribution: debian unstable
Hardware Environment: Raon Digital Everun (AMD Geode UMPC)
Software Environment: 
Problem Description: Smart Battery not recognized by driver, even though i2c
tools show it to be there 

Sensors-detect detects a Smart Battery, and i2cdetect shows why: 

# i2cdetect -y 0 
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- 0b -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- UU -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         

I believe that the device at 0x0b is a smart battery because (1) the 
manufacturer told me the device had a smart battery on SMBus, (2) I can dump
its contents and watch values within the register change in ways that make it
really look like a battery.  In particular, the stuff at 0x0c-0c0f looks
like battery voltage or charge level (not sure of the scale)... it goes 
up when AC plugged in, down when discharging the battery.  0x2f looks like
it represents the AC adapter state somehow; it takes different values when
the AC is plugged in or not.

# i2cdump -y 0 0x0b
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 00 e6 0a 01 00 ff ff 01 fd 5b 04 04 02 62 44 18    .???...??[???bD?
10: 40 ff ff 58 00 38 a7 1b fc 5c 31 fb 08 XX XX XX    @..X.8???\1??XXX
20: 0b 07 04 0d XX XX XX XX XX XX XX XX XX XX XX b0    ????XXXXXXXXXXX?
30: XX XX XX XX XX XX XX XX XX XX XX XX 00 1d 22 1d    XXXXXXXXXXXX.?"?
40: XX XX XX XX XX de XX XX XX XX XX XX XX XX XX XX    XXXXX?XXXXXXXXXX
50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX

However, I can load the sbs and sbshc drivers and nothing happens (no battery
information in /sys/ or /proc/ ACPI trees, only an AC adapter which claims to
be always on, which is what my DSDT tells ACPI to say... see
http://bugzilla.kernel.org/show_bug.cgi?id=9137)

Any help appreciated!


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to