Monday 16 February 2009 17:30:35 Alan Stern napisał(a): > > Maybe this is not only problem with MODE SENSE command but with all commands > > that have allocation length field and file_storage gadget driver BBB transport > > return less data. > > > > Problem also happens in older kernels, I tried 2.6.27 and 2.6.24 - they have this issue. > > Please let me know if have more info or any other help to fix. > > The problem is in the Atmel hardware; it's not capable of halting a > bulk endpoint correctly. You need to invoke g_file_storage with the > "stall=no" parameter. I see, it works now, thanks very much. Stanislaw Gruszka -- 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