Date: Fri, 2 Mar 2007 09:59:13 -0800 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: Krassimir Slavchev <krassi@bulinfo.net> Cc: freebsd-arm@freebsd.org Subject: Re: IIC support? Message-ID: <20070302175913.GQ73385@funkthat.com> In-Reply-To: <45E83CAB.1090005@bulinfo.net> References: <45E83CAB.1090005@bulinfo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070302175913.GQ73385>