Hi, Where are you hard-coding buffer size? Can you also check whether user pointer buffer exchange mechanism is supported in the driver?
Thanks, Brijesh Jadav ________________________________ From: Mr. V R [mailto:[EMAIL PROTECTED] Sent: Friday, November 28, 2008 6:18 PM To: Jadav, Brijesh R; davinci-linux-open-source@linux.davincidsp.com Subject: Re: Need help with V4L2 USERPTR method I am not getting any error after hardcoding buffer size to 884736, and able to dequeue and enque buffer successfully, but this buffer does not contain any frame data. On Fri, Nov 28, 2008 at 5:10 PM, Jadav, Brijesh R <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: Hi, As far as I remember, earlier dm644x capture code was not supporting user pointer buffer exchange mechanism. Can you tell me which error you are getting? Does it allow to do reqbuf? Thanks, Brijesh Jadav -----Original Message----- From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of Andrea Gasparini Sent: Friday, November 28, 2008 4:55 PM To: davinci-linux-open-source@linux.davincidsp.com<mailto:davinci-linux-open-source@linux.davincidsp.com> Cc: Mr. V R Subject: Re: Need help with V4L2 USERPTR method Hi, Mr. V R spiffera, alle Friday 28 November 2008 circa: > 1. The sample code without modification in buffer size works well with > MMAP but fails in USERPTR > 2. If we provide buffer more then or equal to 884736, capture is > possible with USERPTR, but driver does not copy frame in the buffer. > > I am badly stuck here, any pointer will be appreciated. Check your kernel has CONFIG_CAPTURE_DAVINCIHD configured. Moreover, try to retrieve the error code and take a look at the kernel source code to guess what problem could give you that error code. bye! -- Andrea Gasparini ---- ImaVis S.r.l. ---- web: www.imavis.com<http://www.imavis.com> _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com<mailto:Davinci-linux-open-source@linux.davincidsp.com> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source