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
--- 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