From: "Vaupotic Marko" <marko.vaupotic@iskrasistemi.si>
To: <linuxppc-embedded@ozlabs.org>
Subject: I2C device node on Sequoia (440EPx)
Date: Tue, 11 Mar 2008 08:50:52 +0100 [thread overview]
Message-ID: <20080311075050.7FF1233C919@mercury.iskratr.si> (raw)
[-- Attachment #1: Type: text/plain, Size: 573 bytes --]
Hi
I am using an AMCC 440EPx processor on "Sequoia" board with Linux 2.6.21
rc4. I am trying to use the i2c in the user-space
In my Linux config file (Sequoia default) I have:
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y
I than added the "i2c-0" device in /dev (# mknod i2c-0 c 89 0)
When I run a simple program to open the device (provided by the
"dev-interface" file of i2c kernel documentation) it returns errno message:
"No such device".
I have tried to use the device number 1, 2, 3, 4 but with no luck.
Any suggestions what I might be doing wrong?
Best Regards
Marko
[-- Attachment #2: Type: text/html, Size: 1305 bytes --]
reply other threads:[~2008-03-11 8:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20080311075050.7FF1233C919@mercury.iskratr.si \
--to=marko.vaupotic@iskrasistemi.si \
--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