Hi, Thanks. We have been able to register an encoder for /dev/video3. The sys/class/davinci-display/ch1/output/mode are written to and we can read from it. The device /dev/video3 also gets created.
However, we are unable to proceed further as far as redirecting the captured video to the display is concerned and get the following error message: VIDIOC_DQBUF failed (Interrupted system call). There is a lower level debug print as well that we see vbuf "buffer waiton: -EINTR Please suggest as to what might be the problem. Thanks and Regards Sriraja ________________________________ From: Jadav, Brijesh R [mailto:[email protected]] Sent: Tuesday, June 09, 2009 2:22 PM To: Sriraja Yagneswaran; [email protected] Subject: RE: /dev/video3 - Cannot open- Invalid argument Hi, I think the problem is no encoder is registered for this node. We have to register an encoder driver for the node, which we are going to use. If it is not available it returns error. Thanks, Brijesh Jadav ________________________________ From: davinci-linux-open-source-bounces+brijesh.j=ti....@linux.davincidsp.com [mailto:davinci-linux-open-source-bounces+brijesh.j=ti....@linux.davincidsp.com] On Behalf Of Sriraja Yagneswaran Sent: Tuesday, June 09, 2009 10:19 AM To: [email protected] Subject: /dev/video3 - Cannot open- Invalid argument We are trying to get the video display output of VPIF port 3 instead of VPIF port 2 on our custom board with DM6467. When the kernel boots up, we see that the /sys/class/davinci_display/ch0 has files like mode, output etc with some default values. But however the ch1 folder has the files but no data, i.e. the files are empty. When we try to read and write these files from the application, it throws errors such as "unable to read /sys/class/davinci_display/ch1/output " As a result the device /dev/video3 is also not opened with the error stating "Invalid arguments". Any pointers and suggestions that would help us enable /dev/video3, i.e. video output from VPIF channel3 are welcome. Regards Sriraja ________________________________ http://www.mindtree.com/email/disclaimer.html ________________________________ http://www.mindtree.com/email/disclaimer.html
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
