Re: [PATCH 1/2] usb: gadget: f_ncm: Add OS descriptor support

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

 



On Sat, Jun 17, 2023 at 04:03:06PM +0000, Joakim Tjernlund wrote:
> Ping ?
> 
> Did I do something wrong with submission or is it queued for later ?
> 4.19 is missing these which make USB NCM unusable with Win >= 10. 
> 
>  Jocke
> 
> On Wed, 2023-05-31 at 19:33 +0200, Joakim Tjernlund wrote:
> > From: Romain Izard <romain.izard.pro@xxxxxxxxx>
> > 
> > To be able to use the default USB class drivers available in Microsoft
> > Windows, we need to add OS descriptors to the exported USB gadget to
> > tell the OS that we are compatible with the built-in drivers.
> > 
> > Copy the OS descriptor support from f_rndis into f_ncm. As a result,
> > using the WINNCM compatible ID, the UsbNcm driver is loaded on
> > enumeration without the need for a custom driver or inf file.
> > 
> > Signed-off-by: Romain Izard <romain.izard.pro@xxxxxxxxx>
> > Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx>
> > Signed-off-by: Joakim Tjernlund <joakim.tjernlund@xxxxxxxxxxxx>
> > Cc: stable@xxxxxxxxxxxxxxx # v4.19
> > ---
> > 
> >  Seems to have been forgotten when backporting NCM fixes.
> >  Needed to make Win10 accept Linux NCM gadget ethernet
> > 
> >  drivers/usb/gadget/function/f_ncm.c | 47 +++++++++++++++++++++++++++--
> >  drivers/usb/gadget/function/u_ncm.h |  3 ++
> >  2 files changed, 47 insertions(+), 3 deletions(-)

What is the git commit id of this change in Linus's tree?

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux