Re: Gadget driver & virtual hub

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

 



On Thu, 2017-06-08 at 11:30 -0400, Alan Stern wrote:
> On Thu, 8 Jun 2017, Benjamin Herrenschmidt wrote:
> 
> > Another question ...
> > 
> > Do i need to support dequeue() on EP0 ?
> 
> Yes.  I don't know if any drivers ever dequeue requests from ep0, but 
> it should be supported.

Talking of which... what is the expected "semantic" of dequeue of
an active request ? (Either on EP0 or another EP, but on EP0 a queued
request becomes active pretty much right away).

By active I mean the request has started transferring.

I assume I should interrupt it on a packet boundary... do I also need
to finish with a short packet for a IN request or leave the pipe alone
in whatever half-baked state it is ?

Ben.

--
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