I am both developing a Linux USB driver, and designing a USB device (and writing the 
firmware for it) and appear to have a problem:

I am using a 2.4.4 kernel.

The Max Packet Size for endpoint 0 is set to 8.

If I am sending a Control / Write URB to endpoint zero, with 24 bytes of data 
specified.
I would imagine that the proper behavior would be to split the data into 3, 8-byte
packets - like it does for all my Control / Read URBs.

However, it sends me one 16-byte packet, and then one 7-byte packet. This is not 
expected.

Furthermore, 16 + 7 = 23, not 24.

Upon examination of the data at my device, it appears as though the LAST byte is not
being transmitted.

I dont know if this bug has been address, or is known - I checked through all the 
check-in
commants, but really couldn't make heads-or-tails of it.

I also rebuild the OHCI driver with DEBUG and OHCI_VERBOSE_DEBUG turned on, but didnt 
get any output... 
(probibly something stupid.)

Any help of this issue - or even where to look to debug it would be helpful! 

Thanks

Brad Goodman
Storigen Systems, Inc.

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to