Re: [patch] HID descriptor STALL fix for the HID gadget (was: The HID gadget stalls when the HID descriptor is requested (Resent))

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

 



On Tue, Jul 19, 2011 at 04:53:23PM +0200, Sebastian Bauer wrote:
> Hello,
> 
> > > Basically, the USB HID gadget does respond to a request of getting the
> > HID descriptor via a STALL
> > > although it could easily deliver the descriptor. A possible fix, which
> > is really tiny, is attached to the
> > > mentioned bug (https://bugzilla.kernel.org/show_bug.cgi?id=36232 or
> > > https://bugzilla.kernel.org/attachment.cgi?id=60052 for the attachment).
> > Ah, you have a patch for this, great.
> > Then please just send it to us, in the format described in
> > Documentation/SubmittingPatches, in email, so we can apply it.  We can't
> > apply patches from bugzilla.
> 
> Okay, here is the patch regenerated from linux-next. Hope this is fine. The patch changes the hid gadget such that a request for the HID descriptor is handled by copying the descriptor into the response buffer, rather than falling through the default case, in which the request is answered by a STALL. 

We need a "Signed-off-by:" line as described in the
Documentation/SubmittingPatches file.

Care to fix the code as recommended, and resend this, with that line,
and a new Subject: so it can be applied?

thanks,

greg k-h
--
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