Re: [PATCH v2] Add support for usbfs zerocopy.

2016-01-06 Thread Lingzhu Xiang
On Wed, Nov 25, 2015 at 7:19 PM, Steinar H. Gunderson wrote: > Add a new interface for userspace to preallocate memory that can be > used with usbfs. This gives two primary benefits: I got this when trying to allocate a little bit large buffer (~4MB) using the new userspace libusb_dev_mem_alloc()

Isochronous URB limits don't work with kmalloc limits

2017-12-27 Thread Lingzhu Xiang
Hi, At libfreenect2 we are interested in using large buffers for isochronous transferring of large depth camera frames. proc_do_submiturb() hardcodes two limits for iso transfers: 128 packets per URB, and 49152 per packet. When I submit a large URB of 128 packets of 49152 bytes I will have ENOMEM