Re: [RESEND v7 0/4] usb: gadget: uvc: use configfs entries for negotiation and v4l2 VIDIOCS

Greg KH
2022-09-07T14:10:01Z

On Wed, Sep 07, 2022 at 04:03:41PM +0200, Michael Grzeschik wrote:
> On Wed, Sep 07, 2022 at 03:28:54PM +0200, Greg KH wrote:
> > On Wed, Jun 08, 2022 at 12:57:44PM +0200, Michael Grzeschik wrote:
> > > This series improves the uvc video gadget by parsing the configfs
> > > entries. With the configfs data, the driver now is able to negotiate the
> > > format with the usb host in the kernel and also exports the supported
> > > frames/formats/intervals via the v4l2 VIDIOC interface.
> > >
> > > The uvc userspace stack is also under development. One example is an generic
> > > v4l2uvcsink gstreamer elemnt, which is currently under discussion. [1]
> > >
> > > [1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1304
> > >
> > > With the libusbgx library [1] used by the gadget-tool [2] it is now also
> > > possible to fully describe the configfs layout of the uvc gadget with scheme
> > > files.
> > >
> > > [2] https://github.com/linux-usb-gadgets/libusbgx/pull/61/commits/53231c76f9d512f59fdc23b65cd5c46b7fb09eb4
> > >
> > > [3] https://github.com/linux-usb-gadgets/gt/tree/master/examples/systemd
> > >
> > > The bigger picture of these patches is to provide a more versatile interface to
> > > the uvc gadget. The goal is to simply start a uvc-gadget with the following
> > > commands:
> > >
> > > $ gt load uvc.scheme
> > > $ gst-launch v4l2src ! v4l2uvcsink
> >
> > v4l developers, given a lack of review response to this series, I'm
> > assuming that you all have no objection to this series and I can take it
> > through my usb-next tree.
>
> Since this will not apply anymore, I just send v8 with some minor
> changes.

Thanks, I'll take that series now.

greg k-h