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.

V4L2 Capture From /dev/video1 ??

Other Parts Discussed in Thread: TVP7002, TVP5158, TVP5147

Hey all ,

i'm using DM8148 evb. 

i know that TI release user guide for how to do capture with v4l2 .

it says that v4l2 cannot do capture from /dev/video1 .

i success to do capture from /dev/video0 with tvp7002 , it works fine using Gstreamer .

now , my problem is :

in my company we replace the tvp5147 to tvp5158 (connected to video1).

i did port the tvp5158 driver from kernel 2.6.32 to 2.6.37 .

i configured the ti81xxvin_main.c to use tvp5158 and not the tvp7002 , 

i still have problem to configure all structures there ..

i think of maybe change the tvp5158 (connected to video1 in cpu) to work with virtual video0 -> /dev/video0

someone can help ?

someone success to do capture to tvp5147 ? (it also connected to video1 in cpu).

thank's , it's urgent !!

  • Hi,

    If you are trying to get video on VIN1 you should be using /dev/video2 for VIN1 port A and /dev/video3 for VIN1 port B. I am not aware of virtual /dev/video0 case.

    Regards,

    Hardik Shah

  • Hey Hadrik ,

    I'll explain my problem again.

    i have board based on DM8148.

    i know that on DM8148 there is two tvp's ,

    1: tvp7002 connected to video0.

    2: tvp5147 connected to video1.

    so , on my Target instead of tvp5147 i connected the tvp5158.

    i want to do capture on tvp5158 , ..

    i tried to change the ti81xxvin_main.c to work with tvp5158 without success .

    the other thing is , i think maybe to change the tvp5158 to be connected to /dev/video0 ,

    do you know how can i do it ?

    or maybe you have other solution for me ?

    thank you very much .

    in my board