Re: usbfs and MAX_USBFS_BUFFER_SIZE

Daniel Drake <[email protected]>
Newsgroups gmane.linux.usb.general,gmane.linux.usb.devel
Message-ID <[email protected]>
Pete Zaitcev wrote:
> On Sun, 02 Dec 2007 22:26:34 +0000, Daniel Drake <[email protected]> wrote:
> 
>> Fair argument. I haven't actually tried sending a big urb through 
>> USBDEVFS_CONTROL but I noticed that MAX_USBFS_BUFFER_SIZE is not checked 
>> in that codepath. I wonder if something else in the chain will reject 
>> big control urbs.
> 
> But you did want it for something, didn't you?

Not exactly. I am writing a userspace USB I/O library (like libusb), and 
during testing I realised that I could not submit a bulk URB for ~110kb 
of data. While implementing the code to divide the request into several 
URBs, the thought "I wonder how this works for control URBs" crossed my 
mind. That's all :)

I published the source of my library yesterday:
http://www.reactivated.net/fprint/wiki/Fpusb

Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.