On Sat, 21 Feb 2009, David Brownell wrote: > On Monday 16 February 2009, Stanislaw Gruszka wrote: > > > > > 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. > > Should the driver maybe > > if (gadget_is_at91(g)) > disable stalls; > > then? Perhaps it should. I have not tried to keep track of which peripheral drivers are incapable of halting bulk endpoints correctly. There's already a similar test for gadget_is_sh(); maybe others should be added too. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html