public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kari Laine <klaine8@gmail.com>
To: linux-kernel@vger.kernel.org, klaine8@gmail.com
Subject: I2C -bus programming
Date: Fri, 14 Aug 2009 01:21:23 +0300	[thread overview]
Message-ID: <4A8491E3.4070907@gmail.com> (raw)

Dear List,

this is my first post here and I am not sure if this is a suitable topic
here. Anyway I have a Velleman K8000 IO-card and it uses I2C over
parallel port to communicate.

when I modprobe i2c-parport it does not complain. I tested without card
connected and it complained so it seems to find the card.

modprobe pcf8591

modprobe i2c-core

modprobe i2c-dev

I am not sure I am doing it right. Should i2c-core probed first ?

anyway now I have

/dev/i2c-0  /dev/i2c-1

Now I don't know whether these i2c-devices refer to this Velleman  board
or some other i2c-device which happen to be in the computer...

If these devices probably refer to Velleman - then how I can refer
different i2c-devices on the board.


I am totally new to this i2c thing (reading spec at the moment but it
does not help much with Linux).

I would be very greatfull if some could point me the way - thanks.

Best Regards
Kari Laine


             reply	other threads:[~2009-08-13 22:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13 22:21 Kari Laine [this message]
2009-08-14 11:23 ` I2C -bus programming Jonathan Cameron
2009-09-12  9:12   ` Jean Delvare

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=4A8491E3.4070907@gmail.com \
    --to=klaine8@gmail.com \
    --cc=linux-kernel@vger.kernel.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