Re: BUG - MODE SENSE residue miscount in g_file_storage bulk-only transport ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux