On Tue, 9 Aug 2011, B.Vinai Kumar wrote: > Hi, > > Yes, I agree with that, both the Host and device can't access the > backing storage at the same time. The device should access the backing > storage only after unloading the file storage gadget module. > > > The only way to be sure that the copy is complete is to wait for the > > gadget to be unplugged from the host. > > The device is bus powered and it has very limited flash to store > kernel image and configuration information. Michal was correct; what I said was too pessimistic. If the removable=y option is set on the gadget, you can also tell that the file copy is finished if the host sends an eject command. 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