communication with i2c client

2 messages, 2 authors, 2006-08-25 · open the first message on its own page

communication with i2c client

From: Ladislav Klenovič <hidden>
Date: 2006-08-24 21:08:00

Hi,
I've create an i2c client and my questions is how to access it from use=
rspace=2E This client is sitttng on adapter that  I was able to access =
via /dev interface=2E After the client were successfuly loaded and dete=
cted,
ioctl(fd,I2C_SLAVE,=2E=2E=2E) and read/write functions didn't work and =
 error messages like "device busy" or "ioctl error" have occured=2E Als=
o my debug messages from i2c client didn't arise when I am accessing=20
device only adapter's=2E
How to (standardly) access a an i2c client?=20
Do I need to create an ioctl interface or exports some helper function =
for access it from user space and also from kernel space? =20

regards,
Ladislav=2E

Re: communication with i2c client

From: Frank <hidden>
Date: 2006-08-25 01:54:54

--- Ladislav Klenoviè <lk99336@pobox.sk> wrote:
Hi,
I've create an i2c client and my questions is how to access it
from userspace. This client is sitttng on adapter that  I was
able to access via /dev interface. After the client were
successfuly loaded and detected,
ioctl(fd,I2C_SLAVE,...) and read/write functions didn't work
and  error messages like "device busy" or "ioctl error" have
occured. Also my debug messages from i2c client didn't arise
when I am accessing 
device only adapter's.
How to (standardly) access a an i2c client? 
Do I need to create an ioctl interface or exports some helper
function for access it from user space and also from kernel
space?  

regards,
Ladislav.
You might get an answer here:
http://www.lm-sensors.org/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help