From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mercury.iskratr.si (mercury.iskratr.si [193.201.45.54]) by ozlabs.org (Postfix) with ESMTP id 06FFCDDF45 for ; Tue, 11 Mar 2008 19:08:01 +1100 (EST) Received: from localhost (mercury.iskratr.si [127.0.0.1]) by mercury.iskratr.si (Postfix) with ESMTP id 544CB33C91F for ; Tue, 11 Mar 2008 08:50:51 +0100 (CET) Received: from mercury.iskratr.si ([127.0.0.1]) by localhost (mercury.iskratr.si [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fdhd7czxHiyD for ; Tue, 11 Mar 2008 08:50:50 +0100 (CET) Received: from vavpoticmarko (unknown [10.12.14.51]) by mercury.iskratr.si (Postfix) with ESMTP id 7FF1233C919 for ; Tue, 11 Mar 2008 08:50:50 +0100 (CET) From: "Vaupotic Marko" To: Subject: I2C device node on Sequoia (440EPx) Date: Tue, 11 Mar 2008 08:50:52 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0034_01C88355.02B67570" Message-Id: <20080311075050.7FF1233C919@mercury.iskratr.si> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------=_NextPart_000_0034_01C88355.02B67570 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_0034_01C88355.02B67570 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable I2C device node on Sequoia (440EPx)

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=3Dy
CONFIG_I2C_CHARDEV=3Dy

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



------=_NextPart_000_0034_01C88355.02B67570--