LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Ladislav Klenovič" <lk99336@pobox.sk>
To: linuxppc-embedded@ozlabs.org
Subject: communication with i2c client
Date: Thu, 24 Aug 2006 15:12:54 +0200	[thread overview]
Message-ID: <99de7cba0d63488089aa1add47109fb9@pobox.sk> (raw)

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

             reply	other threads:[~2006-08-24 21:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-24 13:12 Ladislav Klenovič [this message]
2006-08-25  1:54 ` communication with i2c client Frank
  -- strict thread matches above, loose matches on Subject: below --
2006-08-24 13:15 Ladislav Klenovič
2006-08-25  7:14 Yong Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=99de7cba0d63488089aa1add47109fb9@pobox.sk \
    --to=lk99336@pobox.sk \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox