Hi,

On Wednesday 08 June 2011 10:07:20 Chandrashekhar Lavania wrote:
> Hi,
> 
> I am trying to capture VGA frames in YUYV format from Logitech QuickCam
> E3500.
> 
> But When I try to do this , I get the following error:
> 
> uvcvideo: Failed to submit URB 0 (-28).
> 
> Also, I put printk in the uvc_init_video_isoc() function of uvc_video.c to
> get psize and size values in the following manner:
> 
> psize = le16_to_cpu(ep->desc.wMaxPacketSize);
> psize = (psize & 0x07ff) * (1 + ((psize >> 11) & 3));
> size = stream->ctrl.dwMaxVideoFrameSize;
> 
> printk(KERN_ALERT "SIZE = %d\n",size);
> printk(KERN_ALERT "PSIZE = %d\n",psize);
> 
> When I try to capture VGA - YUV I get the following alerts:
> 
> SIZE = 614400
> 
> PSIZE = 1984
> 
> This is for single frame capture.
> 
> 
> I tried to do the same thing for QVGA -YUV, and then I was able to capture
> the image. I got the following alerts:
> 
> 
> SIZE = 153600
> 
> PSIZE = 512
> 
> 
> What could be causing this...

Do you have other connected USB devices that could use the USB bandwidth ?

-- 
Regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to