Re: how to use the i2c in mpc5200
From: iida <hidden>
Date: 2004-05-27 19:32:36
i2s is anoter i/o , but i read the source of i2c and i think that the minor number is correct Thanks for help linuxppc-embedded@2nerds.com wrote:
On Thu, 27 May 2004, iida wrote:quoted
i created the i2c with mknod /dev/i2c c 89 1This is just a hunch, but is that the proper minor device number? In my copy of the kernel sources, in the file arch/ppc/5xxx_io/i2s.c, I see this definition: #define I2S_MINOR 242 ...which makes me wonder if "mknod /dev/i2c c 89 242" would work any better. Does your source tree include that same definition? Is that "minor number" the one you need to use with mknod? I'm a novice at this Linux-on-embedded-PPC stuff, so please forgive me if this is useless advice--and please let me know how you resolved the problem when you find the "right" answer. :-) Chris
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/