Hello. On 17-04-2013 14:36, victor yeo wrote:
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
Command 0xa1 is BLANK which indeed shouldn't be sent to mass storage gadget. Although the other command list gives me ATA COMAMND PASSTHROUGH (12)
for this code which makes somewhat more sense... WBR, Sergei -- 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