Re: [PATCH v2] target: add usb gadget fabric module

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

 



On Tue, 17 Jan 2012, Sebastian Andrzej Siewior wrote:

> This fabric uses the target framework to provide a usb gadget device.
> This gadget supports the USB Attached SCSI Protocol (UASP) and Bulk Only
> Transfers (BOT or BBB). BOT is the primary interface, UAS is the
> alternative interface.
> It has been tested with dummy_hcd on HS and SS. On SS USB3 are
> supported. I also took my omap device and tried it there against
> WindowsXP.
> UAS implements basic command passing (i.e. read/write requests) and TASK
> MANAGEMENT functions are missing.
> I had to add a little of error recovery to BOT because Windows was
> issuing some strange commands and it does not complain after the gadget
> responded with CSW.status=1.

It shouldn't complain when that happens; that's normal.  What error 
recovery did you need?

UAS doesn't seem to have anything resembling BOT's
dCBWDataTransferLength or dCSWDataResidue.  How do you deal with this?
And how does the uas driver deal with 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