Re: Gadget driver rules question

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

 



On Wed, 1 Feb 2012, Nikolai Zhubr wrote:

> Hello Alan,
> 30.01.2012 19:04, Alan Stern:
> [...]
> >> I'm still failing to understand how can (-1-) and (-2-) be put together.
> >
> > What's the difficulty?  The host starts a transfer when it wants to.
> > If the device is ready to send or receive data at that time, it does
> > so; otherwise it replies with NAK and the host tries again later.
> Ah, ok. I somehow supposed NAKs are only related to some failures and 
> shouldn't normally be envolved. Now I see it a bit better and will try 
> to move on.

That's right.  When a major failure occurs, the device is supposed to
send STALL, not NAK.

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