Arnaud Patard (Rtp) <arnaud.pat...@rtp-net.org> writes: > There are others gadget driver using interrupt endpoints so with them > you should be able to tell if the problem comes from your gadget driver > or from some bugs in the udc driver (I've never tested interrupt > endpoint before so you may be just unlucky and have hitten some bugs).
Note that I am using gadgetfs and writing a keyboard gadget in userland. The current unsolved problem is that when usbhid.ko on PC sends HID SET_IDLE command ((bRequestType 0x21) (bRequest 0x0a) (length 0)) I am supposed to ACK it somehow. Just reading 0 bytes from ep0 is supposed to signal this to gadgetfs but here it often returns -1 and errno is set to EL2HLT. If you want to try, the very incomplete version is at http://docs.openmoko.org/trac/raw-attachment/ticket/2237/testcase1.tar.gz _______________________________________________ devel mailing list devel@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/devel