High Definition 720p USB Webcam DEMO on Linux

High Definition 720p USB Webcam DEMO on Linux

This question is not answered

Hello,

I think this question has been raised before but I am still trying to make it work: can I use the HD USB demo (Leopard Board) in Linux? I.e. connect the Leopard Board to my computer through USB?

Actually, I have been trying doing that (with Ubuntu 10) and here are the results that I have in dmesg:

[17753.885473] Linux video capture interface: v2.00
[17753.903574] uvcvideo: Found UVC 1.00 device Media gadget (UVC/UAC) (041e:4057)
[17753.905966] input: Media gadget (UVC/UAC) as /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3:1.0/input/input15
[17753.906013] usbcore: registered new interface driver uvcvideo
[17753.906016] USB Video Class driver (v0.1.0)
[17753.937383] usbcore: registered new interface driver snd-usb-audio
[17801.449671] uvcvideo: Failed to query (135) UVC control 11 (unit 4) : -75 (exp. 1).
[17801.451064] vmap allocation for size 260018176 failed: use vmalloc=<size> to increase size.
[17801.451067] vmap allocation for size 195014656 failed: use vmalloc=<size> to increase size.
[17801.451070] vmap allocation for size 130011136 failed: use vmalloc=<size> to increase size.
[17801.459294] uvcvideo: Failed to query (135) UVC control 11 (unit 4) : -75 (exp. 1).
[17801.464794] uvcvideo: Failed to query (135) UVC control 11 (unit 4) : -75 (exp. 1).
[17801.465165] vmap allocation for size 260018176 failed: use vmalloc=<size> to increase size.
[17801.465173] vmap allocation for size 195014656 failed: use vmalloc=<size> to increase size.
[17801.465176] vmap allocation for size 130011136 failed: use vmalloc=<size> to increase size.
[17801.473169] uvcvideo: Failed to query (135) UVC control 11 (unit 4) : -75 (exp. 1).
[18056.080018] usb 1-3: USB disconnect, address 4
[20684.164033] usb 1-3: new high speed USB device using ehci_hcd and address 5
[20684.297888] usb 1-3: configuration #1 chosen from 1 choice
[20684.304444] uvcvideo: Found UVC 1.00 device Media gadget (UVC/UAC) (041e:4057)
[20684.321939] input: Media gadget (UVC/UAC) as /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3:1.0/input/input16
[20718.467153] uvcvideo: Failed to query (135) UVC control 11 (unit 4) : -75 (exp. 1).
[20718.502388] vmap allocation for size 260018176 failed: use vmalloc=<size> to increase size.
[20718.502393] vmap allocation for size 195014656 failed: use vmalloc=<size> to increase size.
[20718.502396] vmap allocation for size 130011136 failed: use vmalloc=<size> to increase size.
[20718.511040] uvcvideo: Failed to query (135) UVC control 11 (unit 4) : -75 (exp. 1).
[20718.516667] uvcvideo: Failed to query (135) UVC control 11 (unit 4) : -75 (exp. 1).
[20718.517113] vmap allocation for size 260018176 failed: use vmalloc=<size> to increase size.
[20718.517122] vmap allocation for size 195014656 failed: use vmalloc=<size> to increase size.
[20718.517125] vmap allocation for size 130011136 failed: use vmalloc=<size> to increase size.
[20718.526042] uvcvideo: Failed to query (135) UVC control 11 (unit 4) : -75 (exp. 1).

The error messages appear after I am trying to connect to the camera using VLC.

VLC of course is not capable of displaying the image. Any idea why?

Thanks,

Michael

All Replies
  • I was able to see the video by  "mplayer tv:// -tv device=/dev/video1"
    and I also used guvcview successfully too.

    gentlemich

    Hello,

    I think this question has been raised before but I am still trying to make it work: can I use the HD USB demo (Leopard Board) in Linux? I.e. connect the Leopard Board to my computer through USB?

    Actually, I have been trying doing that (with Ubuntu 10) and here are the results that I have in dmesg:

    [17753.885473] Linux video capture interface: v2.00
    [17753.903574] uvcvideo: Found UVC 1.00 device Media gadget (UVC/UAC) (041e:4057)
    [17753.905966] input: Media gadget (UVC/UAC) as /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3:1.0/input/input15
    [17753.906013] usbcore: registered new interface driver uvcvideo
    [17753.906016] USB Video Class driver (v0.1.0)
    [17753.937383] usbcore: registered new interface driver snd-usb-audio
    [17801.449671] uvcvideo: Failed to query (135) UVC control 11 (unit 4) : -75 (exp. 1).
    [17801.451064] vmap allocation for size 260018176 failed: use vmalloc=<size> to increase size.
    [17801.451067] vmap allocation for size 195014656 failed: use vmalloc=<size> to increase size.
    [17801.451070] vmap allocation for size 130011136 failed: use vmalloc=<size> to increase size.
    [17801.459294] uvcvideo: Failed to query (135) UVC control 11 (unit 4) : -75 (exp. 1).
    [17801.464794] uvcvideo: Failed to query (135) UVC control 11 (unit 4) : -75 (exp. 1).
    [17801.465165] vmap allocation for size 260018176 failed: use vmalloc=<size> to increase size.
    [17801.465173] vmap allocation for size 195014656 failed: use vmalloc=<size> to increase size.
    [17801.465176] vmap allocation for size 130011136 failed: use vmalloc=<size> to increase size.
    [17801.473169] uvcvideo: Failed to query (135) UVC control 11 (unit 4) : -75 (exp. 1).
    [18056.080018] usb 1-3: USB disconnect, address 4
    [20684.164033] usb 1-3: new high speed USB device using ehci_hcd and address 5
    [20684.297888] usb 1-3: configuration #1 chosen from 1 choice
    [20684.304444] uvcvideo: Found UVC 1.00 device Media gadget (UVC/UAC) (041e:4057)
    [20684.321939] input: Media gadget (UVC/UAC) as /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3:1.0/input/input16
    [20718.467153] uvcvideo: Failed to query (135) UVC control 11 (unit 4) : -75 (exp. 1).
    [20718.502388] vmap allocation for size 260018176 failed: use vmalloc=<size> to increase size.
    [20718.502393] vmap allocation for size 195014656 failed: use vmalloc=<size> to increase size.
    [20718.502396] vmap allocation for size 130011136 failed: use vmalloc=<size> to increase size.
    [20718.511040] uvcvideo: Failed to query (135) UVC control 11 (unit 4) : -75 (exp. 1).
    [20718.516667] uvcvideo: Failed to query (135) UVC control 11 (unit 4) : -75 (exp. 1).
    [20718.517113] vmap allocation for size 260018176 failed: use vmalloc=<size> to increase size.
    [20718.517122] vmap allocation for size 195014656 failed: use vmalloc=<size> to increase size.
    [20718.517125] vmap allocation for size 130011136 failed: use vmalloc=<size> to increase size.
    [20718.526042] uvcvideo: Failed to query (135) UVC control 11 (unit 4) : -75 (exp. 1).

    The error messages appear after I am trying to connect to the camera using VLC.

    VLC of course is not capable of displaying the image. Any idea why?

    Thanks,

    Michael

     

  • Thanks!

    MPlayer is working fine while guvcview gives me a segmentation fault error.

  • Actually, any idea why I'm getting this error in VLC: "v4l2 demux error: Insufficient buffer memory" ?

    Thanks!

  • Also, one and last question: does the algorithm capture and transfer sound using the microphone?

  • Tell me please, which kernel sources / DVSDK with UVC peripheral do you use on LeopardBoard?