LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Frank <frannk_m1@yahoo.com>
To: Ladislav "Klenoviè" <lk99336@pobox.sk>, linuxppc-embedded@ozlabs.org
Subject: Re: communication with i2c client
Date: Thu, 24 Aug 2006 18:54:53 -0700 (PDT)	[thread overview]
Message-ID: <20060825015453.8450.qmail@web32203.mail.mud.yahoo.com> (raw)
In-Reply-To: <99de7cba0d63488089aa1add47109fb9@pobox.sk>



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

  reply	other threads:[~2006-08-25  1:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-24 13:12 communication with i2c client Ladislav Klenovič
2006-08-25  1:54 ` Frank [this message]
  -- 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=20060825015453.8450.qmail@web32203.mail.mud.yahoo.com \
    --to=frannk_m1@yahoo.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=lk99336@pobox.sk \
    /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