[Voyage-linux] Getting access to the second I2C bus
Uli Raich
(spam-protected)
Wed Sep 6 16:19:13 HKT 2006
Hi all,
I need to get access to the external I2C bus on my wrap 2c board in
order to access an I2C to 1-wire bridge (DS2482).
In the voyage FAQ I found that you need to specify:
scx200_acb base=0x820,0 in /etc/modules
which unfortunately disables the second bus altogether.
Finally I found in
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=b
lob;f=Documentation/i2c/busses/scx200_acb
that the i2c base addresses are 0x810 and 0x820 whereas the scx200_acb
driver uses 0x820 and 0x840 as default addresses. The correct entry in
/etc/modules should therefore be:
scx200_acb base=0x810,0x820
This at least allows me to see both busses. I will now try to access an
I2C device on the second bus and check if the LM77 still works as
expected. If both things work I will update the wiki page.
Cheers Uli
More information about the Voyage-linux
mailing list