Dave: While trying to test some changes to the ISO handling in uhci-hcd, I ran across a whole mess of bugs.
Easy one first: The ISO tests in usbtest don't report errors! test_iso_queue() will return 0 even if all the URBs fail. Not so good for testing purposes. Intermediate ones: In inode.c, ep_aio_complete() assumes that iocb->ki_retry will be set for reads and will be NULL for writes. But it isn't; the aio core sets default values for ki_retry always. Even when that is fixed, the call to kick_iocb() (in the same routine) doesn't seem to do anything. ep_aio_read_retry() does not get invoked and the pending aio requests never terminate. Hard one: When DMA is enabled in net2280, the first ISO request submitted by the gadget driver (an IN transfer) completes immediately. Even though the host hasn't tried to do any I/O. When DMA is disabled this doesn't happen. I might be able to work on the aio problem, except that I have no idea how the kernel's aio facility is meant to work. Is there any documentation for it? Alan Stern ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel