Re: uvcvideo: Trying to lower the URB buffers on eMPIA minicam

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Pierre,

On Friday 26 April 2013 02:03:49 Pierre ANTOINE wrote:
> Selon Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>:
> > Thank you. I'll update the supported devices list on the uvcvideo website.
> > Could you please give me the exact model name of the camera ?
> 
> The product description is here:
> 
> http://www.amazon.fr/dp/B00A487TPC/ref=pe_205631_30430471_3p_M3_dp_1
> 
> That is: Supereyes from XCSource know on Amazon as Microscope USB Cam.

Thank you.

> > Yes, that looks good. Just make sure you only hack the endpoint bandwidth
> > for the webcam and not for the other USB devices.
> 
> I'm trying this one:
> 
> ---------------------------------------
>         if (to_usb_device(ddev)->speed == USB_SPEED_HIGH)
>         {
>                 unsigned maxp;
> 
>                 maxp = usb_endpoint_maxp(&endpoint->desc) & 0x07ff;
>                 if (maxp == 912) endpoint->desc.wMaxPacketSize =
> cpu_to_le16(256);
>                 dev_warn(ddev, "Hack 912 to 256 downsize endpoint by
> Nunux"); }
> ---------------------------------------
> 
> That seem to trigger ... but not working ... and not showing is lsusb ...

lsusb parses the raw descriptors. Could you print the wMaxPacketSize value for 
all the endpoints in the uvcvideo driver ? The value is also exported through 
a sysfs attribute.

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux