On Fri, 13 Jul 2007, Skip Rafferty wrote: > Sorry for the lack of detail, and yes I'm talking > about bulk endpoints. > > The gadget provides a printer class device and the > host system in this case is Windows. There is no > protocol, the app just opens the USB device and writes > the contents of a file to the USB device.
That's a problem right there. USB is much more structured than old-fashioned RS232-type serial communications. Attempts to communicate without a suitable protocol are liable to fail, as you have learned. > I can make the custom app I'm using generate a ZLP, > but I don't believe the Windows print system will > generate a ZLP when a data stream ends on a MAXP > boundary. How about making the application add an extra byte instead? > It appears I'm stuck solving it on the device side. Yes, you could do it that way. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel