From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3ABB965C.796E2296@mvista.com> Date: Fri, 23 Mar 2001 10:30:52 -0800 From: Matthew Locke MIME-Version: 1.0 To: "Todd_Tomaino"@vnci.net Cc: Dan Malek , linuxppc-embedded@lists.linuxppc.org Subject: Re: NTSC Video on the 823 References: <85256A18.005DD98E.00@ushq1.vnci.net> Content-Type: text/plain; charset=us-ascii Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: "Todd_Tomaino"@vnci.net wrote: > > >>>>Where did you find these files? > > ftp://ftp.mvista.com/pub/Area51/embedded-planet/video.tgz oh yeah, I guess i put it there:-) > > Matthel Locke wrote: > >>chuck's code is based on a different i2c driver than the one in > >>8xx_io. Unless Todd has the i2c driver developed by EP, it probably > >>won't work > > The "patchVideo" file contains an I2c driver. I did not load it, assuming > that the more recent version I currently use would be preferable and > compatible. I will try recompiling with the "patch Video" version and see > if there is any change. yep, that is the problem. the i2c driver in the kernel source doesn't have write capablity. which is why the open (below) fails. > > >>>Where is this "Open error -19" coming from? There is lots more > >>>code executed than your little snippet shows. > > It could be from this code segment located in Vid823.c, I'm not sure what > this indicates. > > /* open or close a file in kernel space... */ > struct file *drvfopen(const char * filename, int flags, int mode) > { > struct file *f; > int error; > > f = filp_open(filename, flags, mode); > error = PTR_ERR(f); > if (IS_ERR(f)) > { > ========> printk("Open error %d\n",error); > return 0; > } > return f; > > thanks for the help! > ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/