Re: usbfs and MAX_USBFS_BUFFER_SIZE

2007-12-03 Thread Daniel Drake
Pete Zaitcev wrote: On Sun, 02 Dec 2007 22:26:34 +, 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

Re: usbfs and MAX_USBFS_BUFFER_SIZE

2007-12-02 Thread David Brownell
On Sunday 02 December 2007, Daniel Drake wrote: I wonder if something else in the chain will reject big control urbs. The HCDs have limits. ISTR that OHCI and EHCI pick something convenient; 4 KBytes is save, more is iffy. - To unsubscribe from this list: send the line unsubscribe linux-usb

Re: usbfs and MAX_USBFS_BUFFER_SIZE

2007-12-02 Thread Pete Zaitcev
On Sun, 02 Dec 2007 22:26:34 +, 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