IIC support?

John-Mark Gurney gurney_j at resnet.uoregon.edu
Fri Mar 2 18:17:41 UTC 2007


Krassimir Slavchev wrote this message on Fri, Mar 02, 2007 at 17:03 +0200:
> I have problems to access the iic eeprom from userland. Even after set 
> SCAN_IICBUS in iicbus.c nothing has been detected. I have made some 
> tests from the bootloader to read/write from/to the eeprom and they work.
> Is there any known problems with TWI or any differences between board 
> settings?

You can load the iic driver, and attempt to access the device through
iic's ioctl interface...  As Warner mentioned, iic isn't really self
enumerating, so it requires you to privde the address of the device
that you are accessing...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-arm mailing list