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.

omam 3530 video capture from usb camera

Other Parts Discussed in Thread: OMAP3530, TLV320AIC23B, TVP5150, THS7303, OMAPL138

i have CM-t3530 from compulab, based on omap3530 processor - it supports linux kernel 2.6.32. It also has a small display unit attached to the system. i want to capture video from the logitech quickcam messenger usb and display it on the screen. How shall i achieve this. I compiled a new kernel with logitech quickcam messenger drivers, but it had (deprecated) written with it.how shall i test whether my driver is installed in the kernel. mplayer doesnt work on my kit.

is there any other ready to use player for arm linux. if not, which one is the best and how to compile it for my kit.

warm regards.

 

 

 

  • you can connect the usb camera to either EHCI port (standard usb receptacle as on PC) or to OTG port (required mini-A plug to sta-A receptacle cable) and then use mplayer to capture and display on LCD using below command.

    ./mplayer tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video0

    Regards,

    Ajay

  • thnx ajay,

    i have angstrom linux image installed over kernel 2.6.32. the icon of mplayer doesnt do anything. when i contacted the compulab's tech support they said it's angstrom demo version and mplayer wont play any video. So now i have to compile the mplayer for my arm kit.

     

    what you told i tried it. It gives the following

    playing tv://

    TV file format detected

    selected driver:v4l2

    name: Video 4 linux 2 input

    author : Martin Ol.........

    comment: first try, more to come :-)

    v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.

    selected device: camera

    capabilities: video capture read/write streaming

    supported norms:

    inputs: 0 = STV06xx;

    Current input : 0

    current format: unknown (0X47425247)

    tv.c:norm_from_string(pal):Bogus norm parameter, setting default

    v4l2: ioctl enum norm failed: Invalid argument

    Error: Cannot set norm!

    Selected input hasn't got  a tuner!

    v4l2: cannot get fps

    v4l2: ioctl set mute failed: Invalid argument

    v4l2: ioctl query control failed: Invalid argument

    v4l2: ioctl query control failed: invalid argument

    -------------------------------------------------------

    cannot find codec matching selected -vo and video format 0X47425247

    ---------------------------------------------------------

    v4l2: ioctl set mute failed: Invalid argument

    v4l2: 0 frames successfully processed, 0 frames dropped

     

    Exiting....... (end of file)

     

    warm regards

     

  • send the output of $ zcat /proc/config.gz | grep VIDEO

    Ajay

  •  
    .-------.                                           
    |       |                  .-.                      
    |   |   |-----.-----.-----.| |   .----..-----.-----.
    |       |     | __  |  ---'| '--.|  .-'|     |     |
    |   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
    '---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                    -'  |
                    '---'
     
    The Angstrom Distribution cm-t35 ttyS2
     
    Angstrom 2009.X-test-20091201 cm-t35 ttyS2
     
    cm-t35 login: net eth1: SMSC911x/921x identified at 0xd090a000, IRQ: 225
     
    .-------.                                           
    |       |                  .-.                      
    |   |   |-----.-----.-----.| |   .----..-----.-----.
    |       |     | __  |  ---'| '--.|  .-'|     |     |
    |   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
    '---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                    -'  |
                    '---'
     
    The Angstrom Distribution cm-t35 ttyS2
     
    Angstrom 2009.X-test-20091201 cm-t35 ttyS2
     
    cm-t35 login: root
    root@cm-t35:~# zcat /proc/config.gz | grep VIDEO
    CONFIG_VIDEO_DEV=y
    CONFIG_VIDEO_V4L2_COMMON=y
    CONFIG_VIDEO_ALLOW_V4L1=y
    CONFIG_VIDEO_V4L1_COMPAT=y
    CONFIG_VIDEO_MEDIA=y
    CONFIG_VIDEO_V4L2=y
    CONFIG_VIDEO_V4L1=y
    CONFIG_VIDEOBUF_GEN=y
    CONFIG_VIDEOBUF_DMA_SG=y
    CONFIG_VIDEOBUF_VMALLOC=y
    CONFIG_VIDEOBUF_DVB=y
    CONFIG_VIDEO_IR=y
    CONFIG_VIDEO_TVEEPROM=y
    CONFIG_VIDEO_TUNER=y
    CONFIG_VIDEO_CAPTURE_DRIVERS=y
    # CONFIG_VIDEO_ADV_DEBUG is not set
    # CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
    # CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
    CONFIG_VIDEO_IR_I2C=y
    # CONFIG_VIDEO_TVAUDIO is not set
    # CONFIG_VIDEO_TDA7432 is not set
    # CONFIG_VIDEO_TDA9840 is not set
    # CONFIG_VIDEO_TDA9875 is not set
    # CONFIG_VIDEO_TEA6415C is not set
    # CONFIG_VIDEO_TEA6420 is not set
    CONFIG_VIDEO_MSP3400=y
    # CONFIG_VIDEO_CS5345 is not set
    CONFIG_VIDEO_CS53L32A=y
    # CONFIG_VIDEO_M52790 is not set
    # CONFIG_VIDEO_TLV320AIC23B is not set
    CONFIG_VIDEO_WM8775=y
    # CONFIG_VIDEO_WM8739 is not set
    # CONFIG_VIDEO_VP27SMPX is not set
    # CONFIG_VIDEO_SAA6588 is not set
    # CONFIG_VIDEO_ADV7180 is not set
    # CONFIG_VIDEO_BT819 is not set
    # CONFIG_VIDEO_BT856 is not set
    # CONFIG_VIDEO_BT866 is not set
    # CONFIG_VIDEO_KS0127 is not set
    # CONFIG_VIDEO_OV7670 is not set
    # CONFIG_VIDEO_MT9V011 is not set
    # CONFIG_VIDEO_TCM825X is not set
    # CONFIG_VIDEO_MT9P012 is not set
    # CONFIG_VIDEO_DW9710 is not set
    CONFIG_VIDEO_OV3640=y
    # CONFIG_VIDEO_OV3640_CSI2 is not set
    CONFIG_VIDEO_OV3640_ISP=y
    # CONFIG_VIDEO_IMX046 is not set
    # CONFIG_VIDEO_LV8093 is not set
    # CONFIG_VIDEO_SAA7110 is not set
    CONFIG_VIDEO_SAA711X=y
    # CONFIG_VIDEO_SAA717X is not set
    # CONFIG_VIDEO_SAA7191 is not set
    # CONFIG_VIDEO_TVP514X is not set
    # CONFIG_VIDEO_TVP5150 is not set
    # CONFIG_VIDEO_VPX3220 is not set
    CONFIG_VIDEO_CX25840=y
    CONFIG_VIDEO_CX2341X=y
    # CONFIG_VIDEO_SAA7127 is not set
    # CONFIG_VIDEO_SAA7185 is not set
    # CONFIG_VIDEO_ADV7170 is not set
    # CONFIG_VIDEO_ADV7175 is not set
    # CONFIG_VIDEO_THS7303 is not set
    # CONFIG_VIDEO_ADV7343 is not set
    # CONFIG_VIDEO_UPD64031A is not set
    # CONFIG_VIDEO_UPD64083 is not set
    CONFIG_VIDEO_VIVI=y
    CONFIG_VIDEO_CPIA=y
    CONFIG_VIDEO_CPIA_USB=y
    CONFIG_VIDEO_CPIA2=y
    # CONFIG_VIDEO_SAA5246A is not set
    # CONFIG_VIDEO_SAA5249 is not set
    # CONFIG_VIDEO_AU0828 is not set
    CONFIG_VIDEO_OMAP3=y
    # CONFIG_VIDEO_OMAP34XX_ISP_PREVIEWER is not set
    # CONFIG_VIDEO_OMAP34XX_ISP_RESIZER is not set
    # CONFIG_VIDEO_SH_MOBILE_CEU is not set
    CONFIG_USB_VIDEO_CLASS=y
    CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
    CONFIG_VIDEO_PVRUSB2=y
    CONFIG_VIDEO_PVRUSB2_SYSFS=y
    CONFIG_VIDEO_PVRUSB2_DVB=y
    CONFIG_VIDEO_PVRUSB2_DEBUGIFC=y
    CONFIG_VIDEO_HDPVR=y
    CONFIG_VIDEO_EM28XX=y
    CONFIG_VIDEO_EM28XX_ALSA=y
    # CONFIG_VIDEO_EM28XX_DVB is not set
    CONFIG_VIDEO_CX231XX=y
    CONFIG_VIDEO_CX231XX_ALSA=y
    CONFIG_VIDEO_CX231XX_DVB=y
    CONFIG_VIDEO_USBVISION=y
    CONFIG_VIDEO_USBVIDEO=y
    CONFIG_VIDEO_OVCAMCHIP=y
    # CONFIG_VIDEO_OUTPUT_CONTROL is not set
    root@cm-t35:~#

     

    i am doing this thru my serial port terminal in ubuntu.

     

    warm regards.

  • hi ajay,

     

    are you there..?

    you didnt reply

     

    warm regards.

  • Anmol,

    You config related to VIDEO looks fine. I am not sure if " logitech quickcam messenger" iS UVC compliant. As per logitech site , this camera needs seprate driver and so that point that its not UVC compliant and need it's own driver.

    Have you compiled correct logitech driver with kernel  and Does kernel makes /dev/vedeoX node for your camera when attached?

    Regards,

    Ajay

  • Hi Ajay,

    We have OMAPL138 platform, I would like to interface my “Logitech USB WEBCAM” to my processor USB port. Will this Camera preview can see on my LCD. Is it supports my processor.

    Under drivers there is default Logitech qickcam driver available.

    Please help me how this can be done, how the platform driver can add in the main board.

    Thanks