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.

Problems adding new BT.656 device

Other Parts Discussed in Thread: TVP5150

 

I'm using gumstix overo with psp 3.00.00.05 (2.6.32 kernel), and I'm trying to add a new bt.656 device (tvp5150).  I created a board-overo-camera.c based on the board-omap3evm-camera.c file.  I've also edited the board-overo.c file, and created a tvp5150_overo.c driver.  

When booting, the tvp5150 is discovered correctly, so the system is able to talk to it over the i2c bus ok.

The omap34xxcam is initialized from what I can tell.

When I try to run a simple gst-ti pipeline, like "gst-launch v4l2src ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=720,height=480 ! fakesink", everything seems to startup correctly, but then it gets stuck at gst_v4l2src_grab_frame:<v4l2src0> grab frame".  If I turn on debugging, I can see HS_VS_IRQs.  If I check PCLK, it is at the right freq.  If I look at HS and VS, they look correct, and the D0 to D7 lines are active.  By the way, I have Y0 to Y7 of the TVP5150 connected to D0 thru D7 of the omap.  I originally thought maybe is was a dataline shift issue, but I tried four different shift values, and it didn't seem to change anything.

I've tried to trace the problem a little more, and I never see the ispccdc_config_datapath() getting called.  It seems like it should be called by vidioc_s_fmt_vid_cap() of the omap34xxcam, but I never see it being called as well.  There is a /dev/video0 device present.  

I've spent quite a bit of time on this, but I think I am running out of things to investigate.  

Thanks.