I guess I'm misunderstanding the purpose of these arbitrary limits
in usbfs. I had assumed that they weren't intended to enforce the
USB spec, but just to avoid allowing userspace processes to allocate
unreasonable amounts of unpaged memory.
--Micah
David Brownell wrote:
On Friday 27 January 20
On Friday 27 January 2006 2:09 pm, Micah Dowty wrote:
> This patch bumps usbfs' arbitrary limit on control URB buffer size
> up from one page to two pages. This is necessary to support devices
> that require control requests with a full 4096 bytes of data, since
> the URB buffer must also include 8
This patch bumps usbfs' arbitrary limit on control URB buffer size
up from one page to two pages. This is necessary to support devices
that require control requests with a full 4096 bytes of data, since
the URB buffer must also include 8 bytes for the SETUP packet.
Signed-off-by: Micah Dowty <[EM