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.

USB Webcam and Mistral EVM

I would like to connect a USB video source to the Mistral OMAP35 evm kit.  I looked at the latest PSP source from TI (ver 02.01.01.07) and it looks like the UVC (USB Video Class) driver has been included in this release.  Has anyone successfully hooked a webcam to their Mistral board and captured/streamed video?

A quick scan of current Logitech  webcams shows this: (no real brand preference, just happen to know Logitech)

The following Logitech webcams support UVC:

  • Logitech® QuickCam® Pro 9000 for Business
  • Logitech® QuickCam® Pro for Notebooks Business
  • Logitech® QuickCam® Communicate MP for Business
  • Logitech® QuickCam® Deluxe for Notebooks Business
  • Logitech® QuickCam® 3000 for Business

I was hopeing someone had experience with a webcam before I went out and purchased one.  Any thoughts or suggestions would be greatly appreciated!

Thanks!

--William

 

 

  • I believe the following instructions compiled for DM6446 may also work for OMAP35x if you want to give it a try : http://tiexpressdsp.com/index.php/USB_Webcam

  • Thanks, I came across that link myself but was worried I'd have to get the same (make/model/chipset) webcam for it to work.  I was hoping UVC would take the pressure off finding a certain type of webcam.  I may need to take the plunge and see if I can follow the directions and get it working.

  • We have tested below cameras with PSP-2.x release,

    a) EHCI port on Mistral Daughter card

         - Creative Live Cam

         - Logitech Pro 5000/9000

         - Philips SPC 1300NC

    b) MUSB port on EVM

         - Creative Live Cam

         - Logitech Pro 5000/9000 (Only 320x240)

        - Philips SPC 1300NC (only 320x240)

    Any USB video class (UVC) compatible camera should work straight way.

    Regards,
    Ajay

  • I suggest creative as it supports VGA(640x480) and we have tested it to be working fine with OMAP35x.

    Also make sure that when you are connecting the webcams, you connect using a self powered USB Hub.

    Thanks,

    Prathap.

  • Thanks for the suggestions! It looks like I can pick up a "Creative - Live! Cam Video IM Ultra Webcam Model: VF0415" from my local Best Buy.  It supports the UVC driver and my budget.

    I'll send an update when I get it working.

    --William

  • I finally got all the adapters needed to connect the camera to the Mistral OMAP kit, but I can't get it to work.

    Here's what I have:

    Camera: Creative - Live! Cam Video IM Ultra Webcam Model: VF0415

    inland 4-port hub (to supply power)

    Mistral OMAP board running OMAP35x-PSP-SDK-02.01.01.07 image

    The camera works find under Ubuntu 8.0.4 using UVC driver and mjpeg_stream to serve the video (Firefox to view it)

    On the OMAP, I'm trying to use the loopback demo in the PSP source examples/video/saMmapLoopback

    When I run this I get:

    root@arago:~/examples# ./saMmapLoopback
    Capture: Opened Channel
    Capture: Current Input: Camera 1
    VIDIOC_S_INPUT: Invalid argument
    Error in opening capture device for channel 0

    I tried "/u" for USB, but it seems to be finding the /dev/video0 OK, but failing trying to configure it.

    When I plug in the USB camera I get a few warnings too:

    <6>usb 1-1.4: new high speed USB device using musb_hdrc a
    nd address 5
    usb 1-1.4: new high speed USB device using musb_hdrc and address 5
    <6>usb 1-1.4: New USB device found, idVendor=041e, idProduct=4071
    usb 1-1.4: New USB device found, idVendor=041e, idProduct=4071
    <6>usb 1-1.4: New USB device strings: Mfr=2, Product=1, SerialNumber=0
    usb 1-1.4: New USB device strings: Mfr=2, Product=1, SerialNumber=0
    <6>usb 1-1.4: Product: VF0415 Live! Cam Vid. IM Ultra
    usb 1-1.4: Product: VF0415 Live! Cam Vid. IM Ultra
    <6>usb 1-1.4: Manufacturer: Creative Technology Ltd.
    usb 1-1.4: Manufacturer: Creative Technology Ltd.
    <6>usb 1-1.4: configuration #1 chosen from 1 choice
    usb 1-1.4: configuration #1 chosen from 1 choice
    <6>uvcvideo: Found UVC 1.00 device VF0415 Live! Cam Vid. IM Ultra (041e:4071)
    uvcvideo: Found UVC 1.00 device VF0415 Live! Cam Vid. IM Ultra (041e:4071)
    <6>uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaro
    und.
    uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround
    .
    <6>input: VF0415 Live! Cam Vid. IM Ultra as /class/input/input3
    input: VF0415 Live! Cam Vid. IM Ultra as /class/input/input3
    <4>5:3:1: cannot get freq at ep 0x84
    5:3:1: cannot get freq at ep 0x84

    Any ideas?

  • Can you test with a different application?  I used luvcview to test with.  Can't remember where I found the source, but I downloaded it, cross-compiled it, and it worked.

    Steve K.

  • Woot!  I had the arguments wrong.  I put this in:

    root@arago:~/example# ./saMmapLoopback -u 1

     

    Now I get video!  Not perfect, but this is a huge step up from nothing.

    If anyone has some good "next steps" that would be great.

    The nice thing about saMmapLoopback is that it compiles and has few dependancies.  Ideas of how to configure the camera would be great, then I could use this source as a building block for bigger better things.

    --William (Now poorly on camera!)

  • You can use mplayer as well. With mplayer you can pass the required resolution(width & height) and frame rate. By playing around with these parameters, you can probably find how its affecting the video quality.

    Thanks,

    Prathap.

  • I know this post is from a year ago, but I have ran into the same problem of running the saMmapLoopback application and getting the VIDIOC_S_INPUT: Invalid Argument error.

    I ran the application with the -u option that you mentioned in your post, and I was able to get the application running.  What I'm not sure of, is why the application needs this option, and are there other options you can give it?  I have looked around in the source code a little but haven't ran across the options you can feed the application and what they are for.  I'm going to search around more, but if anyone knows the answer or can point me to where I can find it, I'd appreciate it. 

    Also, when I run the application, the video doesn't fill the entire LCD screen, is there a way to get it to display using the full LCD?

     

    Thanks for any help.

    ~Rachel

  • Rachel,

    If this is a question about Linux drivers you will get better results at the Embedded Software forum: http://e2e.ti.com/support/embedded/default.aspx

    -Tommy