Re: Stalling non-0-length OUT control requests in Raw Gadget/GadgetFS

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

 



On Wed, Jun 19, 2024 at 10:44:15AM +0900, Paul Elder wrote:
> On Sat, Jun 15, 2024 at 10:33:28PM -0400, Alan Stern wrote:
> > On Sat, Jun 15, 2024 at 10:49:46PM +0200, Andrey Konovalov wrote:
> > > On Sat, Jun 15, 2024 at 4:12 AM Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> > > > There has been a patch posted to support UDC drivers that don't
> > > > automatically acknowledge non-zero-length control-OUT transfers.  But
> > > > the patch hasn't been merged, and even if it were, all the existing UDC
> > > > drivers would still need to be updated.
> > > 
> > > This series below is the one you're referring to, right?
> > > 
> > > https://lore.kernel.org/linux-kernel/20190124030228.19840-1-paul.elder@xxxxxxxxxxxxxxxx/
> > 
> > Yes, that's it.  I'm impressed that you were able to find it; I had lost 
> > track of it.
> > 
> > > Do you know why it wasn't merged? (CC Paul). There are no comments on
> > > the latest version I managed to find.
> > 
> > I guess Felipe Balbi (the USB Gadget maintainer at the time) just wasn't 
> > very interested in fixing the problem.
> 
> So that's why we never continued with merging it...
> 
> Is it time to dust it off and try to upstream it again? :)

You certainly could try.  But be sure to add a supports_explicit_status 
flag to the usb_gadget structure.

Alan Stern




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

  Powered by Linux