Re: CSW endpoint status returned STALL after BOT MSC Reset

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

 



On Wed, 30 Oct 2013, Pratyush Anand wrote:

> I read a bit usbmassbulk specification. 
> What I understood that, host sends a CBW (21 byte bulk out command),
> which should start with dCBWSignature 43425355.
> 
> I see that in both pass and fail case host sends a 31 byte bulk out
> with signature as DEADBEEF. It is well accepted by Verbatim USb3.0
> disk, which returns a CSW with correct signature 53425355 and tag and
> status is passed. f_mass_storage checks for the signature and finds it
> wrong so, it wedges the bulk in EP. I think, this is not an issue and
> f_mass_storage is doing right here.
> 
> However going further I see that, f_mass_storage is not able to clear
> halt condition of bulk in ep after MASS STORAGE RESET and CLEAR
> FEATURE (ENDPOINT HALT). In fact this what USB CV log suggests too.

That's right.  f_mass_storage tries to clear the halt, but dwc3 doesn't 
actually do it.

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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux