Franz Hi,

2010/4/6 Franz TRIERWEILER <franz.trierweiler.ingeni...@gmail.com>:
> Hello,
>
> I am trying to make jpeg/png still encoded picture from a uvcvideo
> compatible webcam with gstreamer. I do this on a Freescale iMX25 evalboard
> featuring support for the uvcvideo driver.
>
> I configured the gstreamer package and v4l2 / uvc support properly through
> LTIB.
>
> My webcam is officialy supported (0c45:62c0) by the Linux UVC driver.
> indeed, here is what I get when plugging the device:
>
> usb 1-1.5: new full speed USB device using fsl-ehci and address 5
> usb 1-1.5: not running at top speed; connect to a high speed hub
> usb 1-1.5: New USB device found, idVendor=0c45, idProduct=62c0
> usb 1-1.5: New USB device strings: Mfr=2, Product=1, SerialNumber=0
> usb 1-1.5: Product: USB 2.0 Camera
> usb 1-1.5: Manufacturer: Sonix Technology Co., Ltd.
> usb 1-1.5: configuration #1 chosen from 1 choice
> uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62c0)
> input: USB 2.0 Camera as /class/input/input3
>

Everything looks good here.


>
>
> When i just try to launch the following command, then I get the following
> error:
>
> gst-launch-0.10 v4l2src
>
> Setting pipeline to PAUSED ...
> uvcvideo: Failed to submit URB 0 (-28).
> Pipeline is live and does not need PREROLL ...
> ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Error
> starting .
> Additional debug info:
> gstv4l2object.c(1886): gst_v4l2_object_start_streaming ():
> /GstPipeline:pipelin:
> system error: No space left on device

This looks like a bandwidth issue, I get a similar error if I try to
open two or three devices at the same time and the request bandwidth
is too much for the usb pipe to handle.

Are you using a usb1 or usb2 port?
Most of these ARM boards use have usb1 ports, so you can't use the
full camera capabilities (resolution/fps).


> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
> The error seems to come from the device/uvcvideo layer since this error
> clearly relates to the driver endpoints.
>
> My final goal is to submit such a command (with the right jpeg/png encoder):
> gst-launch-0.10 v4l2src ! pngenc ! filesink location=test.png
>
> Were there recent fixes to the uvcdriver (which Freescale did not report)?
> My driver version is 0.1.0. I read this in the uvc_driver.c file (from
> /linux/drivers/media/video/uvc) provided with my evalboard BSP.
>
> I noticed that what I want to do works fine on Ubuntu 09.04 (the kernel

Maybe you are using a usb2 port here ?


> features the uvcvideo). If I type modinfo
> /lib/modules/2.6.28-11-generic/kernel/drivers/media/video/uvc/uvcvideo.ko I
> get the following driver version:
>

Don't believe the reported uvc version, use the kernel version
instead, uvc is built-in the kernel since 2.6.27


> filename:
> /lib/modules/2.6.28-11-generic/kernel/drivers/media/video/uvc/uvcvideo.ko
> version:        v0.1.0
> license:        GPL
>
> Thus I guess that Freescale BSP uses the same driver version as Ubuntu 09.04
> does.
>
> If required I can send more information to help solve this issue.
>
> Best Regards,
> Franz
>
> _______________________________________________
> Linux-uvc-devel mailing list
> Linux-uvc-devel@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
>
>
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to