From: Martin V. <mva...@me...> - 2004-11-09 21:39:43
|
Hi, I would like to know if this is still a limit under Linux 2.6.5? /* Linux usbdevfs has a limit of one page size per read/write. 4096 is */ /* the most portable maximum we can do for now */ #define MAX_READ_WRITE 4096 From : int usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes, int length, int timeout) The maximum is an 'int', so 65536? (64KB) I don't know exactly how the low level function is working, but in some CBW write command, I set some burst size > 4KB and I do not have mistake. But again, on the new device, I can go up to 16KB without any problem. The 32KB return me the 4KB error limit. I will check tomorrow morning the code more in detail. By this time I will appreciate if you can tell me the limitation today. Thank's Martin |