So long as the maxpacket size divides the sector size, this scheme ought to work okay. Fortunately, the gadget driver is in charge of the maxpacket value. I assume anything <= the controller's limit will be acceptable.
Well, there are bulk maxpacket size constraints in the USB protocol. They're all powers of two, and at high speed it's fixed at 512.
So yes, if you're streaming sectors of 2^N bytes it'll be hard to have any problems in that area. Unless N < 3, which would be perverse!
- Dave
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel