David Brownell wrote:

I've just implemented ep3 and have tried to test it using g_zero (substituting "ep3in-bulk" for "ep2in-bulk" as you suggest) but it has caused the host usbtest driver to crash when I plugged it in:


If it's that early, it suggests there's something wrong with
the descriptors. They should look the same as before except
that the endpoint number is 0x83 not 0x82, and the maxpacket
for that endpoint (only!) would be 8 not 64.

The bmAttributes in the descriptor was set to USB_ENDPOINT_XFER_INT, setting it to USB_ENDPOINT_XFER_BULK fixed that problem and ep3 now works with usbtest.


Julian





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to