https://bugzilla.kernel.org/show_bug.cgi?id=26342


Jean Delvare <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #7 from Jean Delvare <[email protected]>  2011-01-12 20:19:03 ---
Oh. Look at drivers/acpi/sbshc.c. As far as I can see, it's i2c_ec, except that
the interface doesn't follow the i2c subsystem standard and is thus never
registered as an i2c_adapter. I guess this answers your question as to how the
sbs driver gets access to the device.

It would probably be easy to add a standard i2c adapter wrapper on top of
sbshc. As I seem to understand that you want to keep the 3 slave addresses
dedicated to batteries private, the wrapper could filter out these addresses so
that they remain internal.

Now the problem is that I don't think I have access to any system implementing
ACPI0001 or ACPI0005 devices. So while I can write the code, I'll need someone
else to test it.

To answer your unrelated question of SMBus device discovery, SMBus has an
optional feature named ARP which can be used for device discovery, however we
don't have support for this in the kernel yet. So for now we do arbitrary
probing, which isn't nice but works well enough in practice.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to