I'm running the gadgetfs module in a 3.6.9 kernel with an ARM Cortex A5 processor. With the user mode driver usb.c (www.linux-usb.org/gadget/usb.c
On a connected Windows Machine I run the Chapter 9 Compliance Tests from the USB 2.0 Command Verifier (http://compliance.usb.org/index.asp?UpdateFile=USBCV
All the tests are passed until the "Endpoint Descriptor Test - Confiured State". The "Suspend/Resume Test" is passed however and the board (started usb example with verbose) gives this output:
fd 5, unclaimed = 0
fd 4, unclaimed = 0
reset source fd: No such device
reset sink fd: Bad file descriptor
... protocol stall 01.0b
ep0 stall: Identifier removed
CONNECT high speed
The previous tests seem to fail because some endpoint is blocking.
All other tests are passing after that, allthough ep2 seems to be blocked.
simple_sink_thread open ep2 error 16 (Device or resource busy)
simple_source_thread start -1235237776 fd 5
Anyone else experienced this problem or knows a workaround how i can achieve Compliance?