On Thu, 16 May 2013, victor yeo wrote: > Another question from the bulk_out_complete() printout which is shown > below. The req->actual is 512 byte. The bh->bulk_out_intended_length > is 31. Is this a bug? > > g_file_storage gadget: get_next_command > [start_transfer] 6f007442 7000 > ept1 out queue len 0x200, buffer 0xc1330000 > kagen2_ep_queue 512 512 512 > g_file_storage gadget: bulk_out_complete --> 0, 512/31 > ..... Well, it's a mistake. It might be a bug. If the host really did send a 13-byte packet then it's definitely a bug. But if the host sent a 512-byte packet then something else is wrong; it would mean the gadget was expecting a CBW packet but the host sent something else. 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