Hi, >> From the usbmon trace and driver log, i can only see that TEST UNIT >> READY command is sent out but UDC driver does not receive it. May i >> ask, under what circumstances, is gadget driver calling >> start_transfer() to schedule reading from bulk-out endpoint ? > > file_storage.c calls start_transfer() whenever it expects the host to > send a bulk-out packet. These times include: > > When the gadget is waiting for the host to send a CBW packet > containing a SCSI command; I think the get_next_command() calls start_transfer() to read the next CBW. After unknown command 0xa1 is received, and if UDC driver doesn't halt the endpoint, why the get_next_command() does not call start_transfer() to read the next CBW? Somehow, i don't understand. Thanks, victor -- 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