This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM365: Unable to read from /dev/video0 (kernel 2.6.37)

Other Parts Discussed in Thread: TVP5146, OMAPL138

hello everyone,

I've just finished building a FileSystem+Kernel Image from arago, with kernel linux-davinci-2.6.37-psp03.21.00.04.sdk-r57.

everything seems to be working, aside from one problem: v4l2 isn't working

 

every time I try to run dmai/ce example / gstreamer pipeline / manually read from /dev/video0 I'm getting the following error:

invalid media connection to video node
invalid external subdev

 

My bootargs are:

console=ttyS0,115200n8 noinitrd rw ip=192.168.1.2 root=/dev/nfs nfsroot=192.168.1.1:/home/user/workdir365/rootfs,nolock mem=60M video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 davinci_capture.device_type=1 davinci_display.cont2_bufsize=6291456 vpfe_capture.bufsize=829440davinci_enc_mngr.ch0_mode=pal vpfe_capture.interface=0

 

dmesg after boot:

5875.log2.txt

 

I've looked in the kernel sources and it looks like the failure occurs in vpfe_video.c, but I have no idea why any function there would fail since tvp5146 was registered OK

 

any help would be great!

Thanks,

         James