linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: iida <iida@ztec.com.br>
To: linuxppc <linuxppc-embedded@lists.linuxppc.org>
Subject: how to use the i2c in mpc5200
Date: Thu, 27 May 2004 10:47:34 -0300	[thread overview]
Message-ID: <40B5F176.2020805@ztec.com.br> (raw)


i am using the linuxppc-2.4.25-denx and loaded
this modules

Module                  Size  Used by    Not tainted
i2c-icecube             1680   0 (unused)
i2c-algo-mpc5xxx        4048   0 [i2c-icecube]
i2c-core               18768   0 [i2c-algo-mpc5xxx]
when i loaded the i2c-icecube i recived the message

i2c-algo-5xxx.o: scanning bus Icecube I2C module #2 interface...
................................................................................(0x50)..............................................(0x7f)
i2c-icecube.o: I2C module #2 installed

i created the i2c with
mknod /dev/i2c c 89 1


i am used the i2c-demo from bsp of the metrowerks
but i recived the message


*** Pass the write-string optionally as argument ***
/dev/i2c open: No such device
eeprom_read: Illegal seek
/dev/i2c open: No such device
/dev/i2c open: No such device
eeprom_read: Illegal seek



what am i doing wrong ?

Thanks

Renato


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2004-05-27 13:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-27 13:47 iida [this message]
     [not found] ` <Pine.LNX.4.60.0405270900480.32475@xmission.xmission.com>
2004-05-27 19:32   ` how to use the i2c in mpc5200 iida
2004-05-27 23:56 ` Wolfgang Denk
2004-05-28 11:48   ` iida
     [not found] <20040528203540.5383EC109F@atlas.denx.de>
2004-05-31 17:19 ` iida
  -- strict thread matches above, loose matches on Subject: below --
2004-05-31 18:49 Wolfgang Denk

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=40B5F176.2020805@ztec.com.br \
    --to=iida@ztec.com.br \
    --cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).