Hi, >> > This log looks oddly incomplete. A lot of debugging messages are >> > missing. >> > >> >> g_file_storage gadget: ep0-setup, length 8: >> >> 00000000: 80 06 00 01 00 00 40 00 >> >> g_file_storage gadget: get device descriptor >> > >> > For example, right here we should see the device descriptor data that >> > was sent back to the host. >> >> I checked the log again, the dmesg log did not contain that info. May >> i know which part of the gadget code will print out the device >> descriptor data that was sent back to the host? > > ep0_complete(), where it calls dump_msg(). My Usb gadget hardware was broken for 2 weeks, i am sorry for the late reply. Today i check the ep0_complete() function, it is not called during Usb mass storage gadget enumeration with host PC. I am not sure which part of file_storage.c called ep0_complete(). Please kindly point out to me. Thanks. Regards, 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