On Fri, 10 May 2013, victor yeo wrote: > Hi, > > > Obviously this "disconnect or port reset" message is related to the > > "EP1 OUT IRQ 0x28" line above. But why? It looks like another bug. > > > > I see you still haven't fixed the last three bytes in the bulk-out > > transfer. > > Ok, i just fixed the last three bytes in the bulk-out transfer > problem. Please see below for the log. Now the last three bytes are > read correctly. After SCSI_WRITE_10 is received, the gadget driver > prints "g_file_storage gadget: disconnect or port reset", it means USB > reset interrupt is received by the UDC driver. I don't know why USB > reset interrupt is triggered. Then you need to figure out why. Have you checked the dmesg log and usbmon trace on the host? Incidentally, for debugging it will help if you enable CONFIG_PRINTK_TIME in the gadget's kernel. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html