Dear Torsten > > Hi Mike, > > I'm using an i.MX controller too and I'm testing your imx_udc driver. > The controller is an i.MXL @200MHz.
It is the same with my platform. > > Patching the kernel (2.6.10-rc2), compiling and loading the driver > works fine. I'm also able to attach other gadget drivers like > file_storage or serial without problems, too. Please only try file_storage or serial now. Don' try zero. > > But I'm not able to enumerate the device driver. The data at the end > of the 32-byte-packet is corrupted. The error code from host is -71: > Protocol Error. This should be the problem on sending the GET_CONFIGURATION response. Please check that whether your gadget driver MUST use configuation 0 or 1. And also, check your gadget driver whether send out the GET_CONFIGURATION response when receive the request. Because iMX UDC response the standard USB chapter 9 request without software acknowledge, you should stop any response to this from the upper gadget driver. > I modified the fifosize of ep0 to 14 or to other values smaller than > 32 and it works better, enumeration works for about 50% of tries. But > that's no solution. Up to now the driver work fine only on the default fifo size, it is still to the problem of frame status bit in FSTAT register. It will remain set after you read the remaining byte in the fifo, which will mislead the empty check. Because i am hurrying on other projects, I have little time on usb gadget development, hope i can help Mike,Lee ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel