On Wed, Mar 27, 2002, Petko Manolov <[EMAIL PROTECTED]> wrote: > > When the packet size is a multiple of the endpoint size, does it send a > > zero packet? > > I couldn't find this in the documentation. It says the host treats > pakect smaller than 64 bytes or equal zero as the end of ethernet > packet and that's all.
When they say "host" do they mean the PC running Linux or the ethernet device? > > I wonder if it's sending two packets as one and that's causing the > > problem? > > This is the bulk IN endpoint so it's receiving packets with variable > length. That would make sense. Bulk pipes are essentially streams. People use it to split the stream into logical blocks of data by using short packets. Sometimes, they don't take into consideration blocks of data that are multiples of the endpoint size and thusly, require an additional USB packet of 0 bytes to mark the end. > > Try making the URB buffer size a multiple of the endpoint size. > > OK. It worth trying it. I hope it is my fault, otherwise it will > be pain in the ass. :-) I think we can workaround it in the worst case. JE _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel