* [PATCH] media: uvcvideo: Batch StreamCam unlinks on ASUS ASM2142 @ 2026-11-19 11:44 ` Yasunobu Sakashita via B4 Relay 0 siblings, 0 replies; 8+ messages in thread From: Yasunobu Sakashita @ 2026-11-19 11:44 UTC (permalink / raw) To: linux-media Cc: Laurent Pinchart, Hans de Goede, Mauro Carvalho Chehab, Mathias Nyman, linux-usb, Yasunobu Sakashita Stopping a SuperSpeed StreamCam can halt xHCI on the ASUS PRIME Z270-A. The fifth Stop Endpoint command timed out after an invalid type 15 event. For the affected StreamCam and ASM2142, block URB resubmission. Queue all unlinks before waiting so xHCI can coalesce them. The stock driver reproduced the halt on Ubuntu 6.8.0-149-generic. Three FFmpeg 720p MJPEG and audio capture cycles passed with the patch. I used Codex to help analyze traces and draft the patch and changelog. Signed-off-by: Yasunobu Sakashita <hi@yasunobu.dev> --- Built uvc_video.o on media-committers/next with and without CONFIG_PCI. --- drivers/media/usb/uvc/uvc_video.c | 43 ++++++++++++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 5 deletions(-) diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c index a92a986ab..0ee5a7d17 100644 --- a/drivers/media/usb/uvc/uvc_video.c +++ b/drivers/media/usb/uvc/uvc_video.c @@ -11,6 +11,7 @@ #include <linux/kernel.h> #include <linux/list.h> #include <linux/module.h> +#include <linux/pci.h> #include <linux/slab.h> #include <linux/usb.h> #include <linux/usb/hcd.h> @@ -1885,6 +1886,26 @@ static int uvc_alloc_urb_buffers(struct uvc_streaming *stream, return 0; } +static bool uvc_streamcam_batch_unlink(const struct uvc_streaming *stream) +{ + const struct usb_device *udev = stream->dev->udev; + struct device *controller = udev->bus->controller; + const struct pci_dev *pdev; + + if (stream->frozen || udev->state != USB_STATE_CONFIGURED || + udev->speed != USB_SPEED_SUPER || + le16_to_cpu(udev->descriptor.idVendor) != 0x046d || + le16_to_cpu(udev->descriptor.idProduct) != 0x0893 || + !controller || !dev_is_pci(controller)) + return false; + + pdev = to_pci_dev(controller); + return pdev->vendor == PCI_VENDOR_ID_ASMEDIA && + pdev->device == 0x2142 && + pdev->subsystem_vendor == PCI_VENDOR_ID_ASUSTEK && + pdev->subsystem_device == 0x8732 && pdev->revision == 0; +} + /* * Uninitialize isochronous/bulk URBs and free transfer buffers. */ @@ -1896,12 +1917,24 @@ static void uvc_video_stop_transfer(struct uvc_streaming *stream, uvc_video_stats_stop(stream); /* - * We must poison the URBs rather than kill them to ensure that even - * after the completion handler returns, any asynchronous workqueues - * will be prevented from resubmitting the URBs. + * URBs must stay blocked until the workqueue has been flushed. + * A completion handler can leave work that tries to resubmit an URB. */ - for_each_uvc_urb(uvc_urb, stream) - usb_poison_urb(uvc_urb->urb); + if (uvc_streamcam_batch_unlink(stream)) { + /* + * usb_block_urb() keeps URBs blocked after usb_kill_urb(). + * Queue unlinks together so xHCI can coalesce them. + */ + for_each_uvc_urb(uvc_urb, stream) + usb_block_urb(uvc_urb->urb); + for_each_uvc_urb(uvc_urb, stream) + usb_unlink_urb(uvc_urb->urb); + for_each_uvc_urb(uvc_urb, stream) + usb_kill_urb(uvc_urb->urb); + } else { + for_each_uvc_urb(uvc_urb, stream) + usb_poison_urb(uvc_urb->urb); + } flush_workqueue(stream->async_wq); --- base-commit: aa0f4c41d4870a18e65772a1817af16427200371 change-id: 20261119-streamcam-batched-unlink-fb4a6e39626e Best regards, -- Yasunobu Sakashita <hi@yasunobu.dev> ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] media: uvcvideo: Batch StreamCam unlinks on ASUS ASM2142 @ 2026-11-19 11:44 ` Yasunobu Sakashita via B4 Relay 0 siblings, 0 replies; 8+ messages in thread From: Yasunobu Sakashita via B4 Relay @ 2026-11-19 11:44 UTC (permalink / raw) To: linux-media Cc: Laurent Pinchart, Hans de Goede, Mauro Carvalho Chehab, Mathias Nyman, linux-usb, Yasunobu Sakashita From: Yasunobu Sakashita <hi@yasunobu.dev> Stopping a SuperSpeed StreamCam can halt xHCI on the ASUS PRIME Z270-A. The fifth Stop Endpoint command timed out after an invalid type 15 event. For the affected StreamCam and ASM2142, block URB resubmission. Queue all unlinks before waiting so xHCI can coalesce them. The stock driver reproduced the halt on Ubuntu 6.8.0-149-generic. Three FFmpeg 720p MJPEG and audio capture cycles passed with the patch. I used Codex to help analyze traces and draft the patch and changelog. Signed-off-by: Yasunobu Sakashita <hi@yasunobu.dev> --- Built uvc_video.o on media-committers/next with and without CONFIG_PCI. --- drivers/media/usb/uvc/uvc_video.c | 43 ++++++++++++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 5 deletions(-) diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c index a92a986ab..0ee5a7d17 100644 --- a/drivers/media/usb/uvc/uvc_video.c +++ b/drivers/media/usb/uvc/uvc_video.c @@ -11,6 +11,7 @@ #include <linux/kernel.h> #include <linux/list.h> #include <linux/module.h> +#include <linux/pci.h> #include <linux/slab.h> #include <linux/usb.h> #include <linux/usb/hcd.h> @@ -1885,6 +1886,26 @@ static int uvc_alloc_urb_buffers(struct uvc_streaming *stream, return 0; } +static bool uvc_streamcam_batch_unlink(const struct uvc_streaming *stream) +{ + const struct usb_device *udev = stream->dev->udev; + struct device *controller = udev->bus->controller; + const struct pci_dev *pdev; + + if (stream->frozen || udev->state != USB_STATE_CONFIGURED || + udev->speed != USB_SPEED_SUPER || + le16_to_cpu(udev->descriptor.idVendor) != 0x046d || + le16_to_cpu(udev->descriptor.idProduct) != 0x0893 || + !controller || !dev_is_pci(controller)) + return false; + + pdev = to_pci_dev(controller); + return pdev->vendor == PCI_VENDOR_ID_ASMEDIA && + pdev->device == 0x2142 && + pdev->subsystem_vendor == PCI_VENDOR_ID_ASUSTEK && + pdev->subsystem_device == 0x8732 && pdev->revision == 0; +} + /* * Uninitialize isochronous/bulk URBs and free transfer buffers. */ @@ -1896,12 +1917,24 @@ static void uvc_video_stop_transfer(struct uvc_streaming *stream, uvc_video_stats_stop(stream); /* - * We must poison the URBs rather than kill them to ensure that even - * after the completion handler returns, any asynchronous workqueues - * will be prevented from resubmitting the URBs. + * URBs must stay blocked until the workqueue has been flushed. + * A completion handler can leave work that tries to resubmit an URB. */ - for_each_uvc_urb(uvc_urb, stream) - usb_poison_urb(uvc_urb->urb); + if (uvc_streamcam_batch_unlink(stream)) { + /* + * usb_block_urb() keeps URBs blocked after usb_kill_urb(). + * Queue unlinks together so xHCI can coalesce them. + */ + for_each_uvc_urb(uvc_urb, stream) + usb_block_urb(uvc_urb->urb); + for_each_uvc_urb(uvc_urb, stream) + usb_unlink_urb(uvc_urb->urb); + for_each_uvc_urb(uvc_urb, stream) + usb_kill_urb(uvc_urb->urb); + } else { + for_each_uvc_urb(uvc_urb, stream) + usb_poison_urb(uvc_urb->urb); + } flush_workqueue(stream->async_wq); --- base-commit: aa0f4c41d4870a18e65772a1817af16427200371 change-id: 20261119-streamcam-batched-unlink-fb4a6e39626e Best regards, -- Yasunobu Sakashita <hi@yasunobu.dev> ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] media: uvcvideo: Batch StreamCam unlinks on ASUS ASM2142 2026-11-19 11:44 ` Yasunobu Sakashita via B4 Relay (?) @ 2026-11-19 11:54 ` sashiko-bot -1 siblings, 0 replies; 8+ messages in thread From: sashiko-bot @ 2026-11-19 11:54 UTC (permalink / raw) To: Yasunobu Sakashita; +Cc: linux-usb, media-ci Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Medium] media: uvcvideo: uvc_streamcam_batch_unlink() skips suspend and over-scopes IDs -- commit f1a098ca74da80c22f81d063591bc26d9db211f8 Author: Yasunobu Sakashita <hi@yasunobu.dev> media: uvcvideo: Batch StreamCam unlinks on ASUS ASM2142 This commit batches URB unlinks before waiting in uvc_video_stop_transfer() when stopping a Logitech StreamCam attached to an ASMedia ASM2142 xHCI controller on an ASUS PRIME Z270-A motherboard. > diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c > index a92a986ab714b..0ee5a7d175032 100644 > --- a/drivers/media/usb/uvc/uvc_video.c > +++ b/drivers/media/usb/uvc/uvc_video.c [ ... ] > @@ -1885,6 +1886,26 @@ static int uvc_alloc_urb_buffers(struct uvc_streaming *stream, > return 0; > } > > +static bool uvc_streamcam_batch_unlink(const struct uvc_streaming *stream) > +{ > + const struct usb_device *udev = stream->dev->udev; > + struct device *controller = udev->bus->controller; > + const struct pci_dev *pdev; > + > + if (stream->frozen || udev->state != USB_STATE_CONFIGURED || > + udev->speed != USB_SPEED_SUPER || > + le16_to_cpu(udev->descriptor.idVendor) != 0x046d || > + le16_to_cpu(udev->descriptor.idProduct) != 0x0893 || > + !controller || !dev_is_pci(controller)) > + return false; > + > + pdev = to_pci_dev(controller); > + return pdev->vendor == PCI_VENDOR_ID_ASMEDIA && > + pdev->device == 0x2142 && > + pdev->subsystem_vendor == PCI_VENDOR_ID_ASUSTEK && > + pdev->subsystem_device == 0x8732 && pdev->revision == 0; > +} > + > /* > * Uninitialize isochronous/bulk URBs and free transfer buffers. > */ > @@ -1896,12 +1917,24 @@ static void uvc_video_stop_transfer(struct uvc_streaming *stream, > uvc_video_stats_stop(stream); > > /* > - * We must poison the URBs rather than kill them to ensure that even > - * after the completion handler returns, any asynchronous workqueues > - * will be prevented from resubmitting the URBs. > + * URBs must stay blocked until the workqueue has been flushed. > + * A completion handler can leave work that tries to resubmit an URB. > */ > - for_each_uvc_urb(uvc_urb, stream) > - usb_poison_urb(uvc_urb->urb); > + if (uvc_streamcam_batch_unlink(stream)) { > + /* > + * usb_block_urb() keeps URBs blocked after usb_kill_urb(). > + * Queue unlinks together so xHCI can coalesce them. > + */ > + for_each_uvc_urb(uvc_urb, stream) > + usb_block_urb(uvc_urb->urb); > + for_each_uvc_urb(uvc_urb, stream) > + usb_unlink_urb(uvc_urb->urb); > + for_each_uvc_urb(uvc_urb, stream) > + usb_kill_urb(uvc_urb->urb); > + } else { > + for_each_uvc_urb(uvc_urb, stream) > + usb_poison_urb(uvc_urb->urb); > + } [Severity: Medium] Does checking stream->frozen in uvc_streamcam_batch_unlink() leave the suspend path exposed to the same xHCI halt? uvc_video_suspend() sets stream->frozen = 1 immediately before calling uvc_video_stop_transfer(), so suspending while streaming falls back to the unbatched usb_poison_urb() loop. Also, restricting this to a single USB device ID and motherboard PCI subsystem ID leaves the ASM2142 host controller exposed on other boards and cameras. In uvc_video_complete(), stream->frozen is currently checked only for -ENOENT before falling through to -ECONNRESET: drivers/media/usb/uvc/uvc_video.c:uvc_video_complete() { ... case -ENOENT: /* usb_poison_urb() called. */ if (stream->frozen) return; fallthrough; case -ECONNRESET: /* usb_unlink_urb() called. */ ... } If uvc_video_complete() checks stream->frozen for both -ENOENT and -ECONNRESET, uvc_video_stop_transfer() can block, unlink, and poison all URBs unconditionally without PCI or USB ID checks. -- Sashiko AI review · https://sashiko.dev/#/patchset/20261119-streamcam-batched-unlink-v1-1-076bc02866c1@yasunobu.dev?part=1 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] media: uvcvideo: Batch StreamCam unlinks on ASUS ASM2142 2026-11-19 11:44 ` Yasunobu Sakashita via B4 Relay (?) (?) @ 2026-11-19 12:06 ` Ricardo Ribalda 2026-11-19 12:43 ` Laurent Pinchart 2026-11-19 13:19 ` Michal Pecio -1 siblings, 2 replies; 8+ messages in thread From: Ricardo Ribalda @ 2026-11-19 12:06 UTC (permalink / raw) To: hi, Michal Pecio Cc: linux-media, Laurent Pinchart, Hans de Goede, Mauro Carvalho Chehab, Mathias Nyman, linux-usb Hi Yasunobu Thanks for your patch On Thu, 19 Nov 2026 at 12:47, Yasunobu Sakashita via B4 Relay <devnull+hi.yasunobu.dev@kernel.org> wrote: > > From: Yasunobu Sakashita <hi@yasunobu.dev> > > Stopping a SuperSpeed StreamCam can halt xHCI on the ASUS PRIME Z270-A. > The fifth Stop Endpoint command timed out after an invalid type 15 event. > > For the affected StreamCam and ASM2142, block URB resubmission. > Queue all unlinks before waiting so xHCI can coalesce them. > > The stock driver reproduced the halt on Ubuntu 6.8.0-149-generic. > Three FFmpeg 720p MJPEG and audio capture cycles passed with the patch. > > I used Codex to help analyze traces and draft the patch and changelog. > > Signed-off-by: Yasunobu Sakashita <hi@yasunobu.dev> > --- > Built uvc_video.o on media-committers/next with and without CONFIG_PCI. > --- > drivers/media/usb/uvc/uvc_video.c | 43 ++++++++++++++++++++++++++++++++++----- > 1 file changed, 38 insertions(+), 5 deletions(-) > > diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c > index a92a986ab..0ee5a7d17 100644 > --- a/drivers/media/usb/uvc/uvc_video.c > +++ b/drivers/media/usb/uvc/uvc_video.c > @@ -11,6 +11,7 @@ > #include <linux/kernel.h> > #include <linux/list.h> > #include <linux/module.h> > +#include <linux/pci.h> > #include <linux/slab.h> > #include <linux/usb.h> > #include <linux/usb/hcd.h> > @@ -1885,6 +1886,26 @@ static int uvc_alloc_urb_buffers(struct uvc_streaming *stream, > return 0; > } > > +static bool uvc_streamcam_batch_unlink(const struct uvc_streaming *stream) > +{ > + const struct usb_device *udev = stream->dev->udev; > + struct device *controller = udev->bus->controller; > + const struct pci_dev *pdev; > + > + if (stream->frozen || udev->state != USB_STATE_CONFIGURED || > + udev->speed != USB_SPEED_SUPER || > + le16_to_cpu(udev->descriptor.idVendor) != 0x046d || > + le16_to_cpu(udev->descriptor.idProduct) != 0x0893 || > + !controller || !dev_is_pci(controller)) > + return false; > + > + pdev = to_pci_dev(controller); > + return pdev->vendor == PCI_VENDOR_ID_ASMEDIA && > + pdev->device == 0x2142 && > + pdev->subsystem_vendor == PCI_VENDOR_ID_ASUSTEK && > + pdev->subsystem_device == 0x8732 && pdev->revision == 0; > +} > + > /* > * Uninitialize isochronous/bulk URBs and free transfer buffers. > */ > @@ -1896,12 +1917,24 @@ static void uvc_video_stop_transfer(struct uvc_streaming *stream, > uvc_video_stats_stop(stream); > > /* > - * We must poison the URBs rather than kill them to ensure that even > - * after the completion handler returns, any asynchronous workqueues > - * will be prevented from resubmitting the URBs. > + * URBs must stay blocked until the workqueue has been flushed. > + * A completion handler can leave work that tries to resubmit an URB. > */ > - for_each_uvc_urb(uvc_urb, stream) > - usb_poison_urb(uvc_urb->urb); > + if (uvc_streamcam_batch_unlink(stream)) { > + /* > + * usb_block_urb() keeps URBs blocked after usb_kill_urb(). > + * Queue unlinks together so xHCI can coalesce them. > + */ > + for_each_uvc_urb(uvc_urb, stream) > + usb_block_urb(uvc_urb->urb); > + for_each_uvc_urb(uvc_urb, stream) > + usb_unlink_urb(uvc_urb->urb); > + for_each_uvc_urb(uvc_urb, stream) > + usb_kill_urb(uvc_urb->urb); > + } else { > + for_each_uvc_urb(uvc_urb, stream) > + usb_poison_urb(uvc_urb->urb); > + } > Michal proposed something very similar not so long ago: https://lore.kernel.org/linux-media/20261115110132.2b0bda47.michal.pecio@gmail.com/ He also mentioned that those crashes were solved in 7.3. Could you check if your device works fine on 7.3, or if it still crashes? (Note that even if a workaround is still needed, we probably wouldn't want to match host-controller PCI IDs inside uvcvideo.) Michal, would you recommend applying something like what you proposed in your email, or would you rather fix this at the USB level? Thanks! > flush_workqueue(stream->async_wq); > > > --- > base-commit: aa0f4c41d4870a18e65772a1817af16427200371 > change-id: 20261119-streamcam-batched-unlink-fb4a6e39626e > > Best regards, > -- > Yasunobu Sakashita <hi@yasunobu.dev> > > > -- Ricardo Ribalda ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] media: uvcvideo: Batch StreamCam unlinks on ASUS ASM2142 2026-11-19 12:06 ` Ricardo Ribalda @ 2026-11-19 12:43 ` Laurent Pinchart 2026-11-19 13:08 ` hi 2026-11-19 13:19 ` Michal Pecio 1 sibling, 1 reply; 8+ messages in thread From: Laurent Pinchart @ 2026-11-19 12:43 UTC (permalink / raw) To: Ricardo Ribalda Cc: hi, Michal Pecio, linux-media, Hans de Goede, Mauro Carvalho Chehab, Mathias Nyman, linux-usb On Thu, Nov 19, 2026 at 01:06:50PM +0100, Ricardo Ribalda wrote: > On Thu, 19 Nov 2026 at 12:47, Yasunobu Sakashita via B4 Relay wrote: > > > > From: Yasunobu Sakashita <hi@yasunobu.dev> > > > > Stopping a SuperSpeed StreamCam can halt xHCI on the ASUS PRIME Z270-A. > > The fifth Stop Endpoint command timed out after an invalid type 15 event. > > > > For the affected StreamCam and ASM2142, block URB resubmission. > > Queue all unlinks before waiting so xHCI can coalesce them. > > > > The stock driver reproduced the halt on Ubuntu 6.8.0-149-generic. > > Three FFmpeg 720p MJPEG and audio capture cycles passed with the patch. > > > > I used Codex to help analyze traces and draft the patch and changelog. > > > > Signed-off-by: Yasunobu Sakashita <hi@yasunobu.dev> > > --- > > Built uvc_video.o on media-committers/next with and without CONFIG_PCI. > > --- > > drivers/media/usb/uvc/uvc_video.c | 43 ++++++++++++++++++++++++++++++++++----- > > 1 file changed, 38 insertions(+), 5 deletions(-) > > > > diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c > > index a92a986ab..0ee5a7d17 100644 > > --- a/drivers/media/usb/uvc/uvc_video.c > > +++ b/drivers/media/usb/uvc/uvc_video.c > > @@ -11,6 +11,7 @@ > > #include <linux/kernel.h> > > #include <linux/list.h> > > #include <linux/module.h> > > +#include <linux/pci.h> > > #include <linux/slab.h> > > #include <linux/usb.h> > > #include <linux/usb/hcd.h> > > @@ -1885,6 +1886,26 @@ static int uvc_alloc_urb_buffers(struct uvc_streaming *stream, > > return 0; > > } > > > > +static bool uvc_streamcam_batch_unlink(const struct uvc_streaming *stream) > > +{ > > + const struct usb_device *udev = stream->dev->udev; > > + struct device *controller = udev->bus->controller; > > + const struct pci_dev *pdev; > > + > > + if (stream->frozen || udev->state != USB_STATE_CONFIGURED || > > + udev->speed != USB_SPEED_SUPER || > > + le16_to_cpu(udev->descriptor.idVendor) != 0x046d || > > + le16_to_cpu(udev->descriptor.idProduct) != 0x0893 || > > + !controller || !dev_is_pci(controller)) > > + return false; > > + > > + pdev = to_pci_dev(controller); > > + return pdev->vendor == PCI_VENDOR_ID_ASMEDIA && > > + pdev->device == 0x2142 && > > + pdev->subsystem_vendor == PCI_VENDOR_ID_ASUSTEK && > > + pdev->subsystem_device == 0x8732 && pdev->revision == 0; > > +} > > + > > /* > > * Uninitialize isochronous/bulk URBs and free transfer buffers. > > */ > > @@ -1896,12 +1917,24 @@ static void uvc_video_stop_transfer(struct uvc_streaming *stream, > > uvc_video_stats_stop(stream); > > > > /* > > - * We must poison the URBs rather than kill them to ensure that even > > - * after the completion handler returns, any asynchronous workqueues > > - * will be prevented from resubmitting the URBs. > > + * URBs must stay blocked until the workqueue has been flushed. > > + * A completion handler can leave work that tries to resubmit an URB. > > */ > > - for_each_uvc_urb(uvc_urb, stream) > > - usb_poison_urb(uvc_urb->urb); > > + if (uvc_streamcam_batch_unlink(stream)) { > > + /* > > + * usb_block_urb() keeps URBs blocked after usb_kill_urb(). > > + * Queue unlinks together so xHCI can coalesce them. > > + */ > > + for_each_uvc_urb(uvc_urb, stream) > > + usb_block_urb(uvc_urb->urb); > > + for_each_uvc_urb(uvc_urb, stream) > > + usb_unlink_urb(uvc_urb->urb); > > + for_each_uvc_urb(uvc_urb, stream) > > + usb_kill_urb(uvc_urb->urb); > > + } else { > > + for_each_uvc_urb(uvc_urb, stream) > > + usb_poison_urb(uvc_urb->urb); > > + } > > > > Michal proposed something very similar not so long ago: > > https://lore.kernel.org/linux-media/20261115110132.2b0bda47.michal.pecio@gmail.com/ > > He also mentioned that those crashes were solved in 7.3. Could you check if your > device works fine on 7.3, or if it still crashes? > (Note that even if a workaround is still needed, we probably wouldn't > want to match > host-controller PCI IDs inside uvcvideo.) > > Michal, would you recommend applying something like what you proposed in your > email, or would you rather fix this at the USB level? This looks like something that should be fixed at the USB level, unless proven impossible. > > flush_workqueue(stream->async_wq); > > > > > > --- > > base-commit: aa0f4c41d4870a18e65772a1817af16427200371 > > change-id: 20261119-streamcam-batched-unlink-fb4a6e39626e -- Regards, Laurent Pinchart ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] media: uvcvideo: Batch StreamCam unlinks on ASUS ASM2142 2026-11-19 12:43 ` Laurent Pinchart @ 2026-11-19 13:08 ` hi 0 siblings, 0 replies; 8+ messages in thread From: hi @ 2026-11-19 13:08 UTC (permalink / raw) To: Laurent Pinchart Cc: Ricardo Ribalda, Michal Pecio, linux-media, Hans de Goede, Mauro Carvalho Chehab, Mathias Nyman, linux-usb On Thu, Nov 19, 2026, Laurent Pinchart wrote: > On Thu, Nov 19, 2026 at 01:06:50PM +0100, Ricardo Ribalda wrote: > > Could you check if your device works fine on 7.3, or if it still crashes? Thanks for the quick replies. I tested 7.3.5 on the same USB-C port, and the xHCI hang did not recur. > This looks like something that should be fixed at the USB level, unless > proven impossible. I agree the fix belongs at the USB level, so I'll drop the patch. I appreciate your help with my first Linux kernel contribution. I hope to contribute again. Yasunobu ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] media: uvcvideo: Batch StreamCam unlinks on ASUS ASM2142 2026-11-19 12:06 ` Ricardo Ribalda 2026-11-19 12:43 ` Laurent Pinchart @ 2026-11-19 13:19 ` Michal Pecio 2026-11-19 14:24 ` hi 1 sibling, 1 reply; 8+ messages in thread From: Michal Pecio @ 2026-11-19 13:19 UTC (permalink / raw) To: Ricardo Ribalda Cc: hi, linux-media, Laurent Pinchart, Hans de Goede, Mauro Carvalho Chehab, Mathias Nyman, linux-usb On Thu, 19 Nov 2026 13:06:50 +0100, Ricardo Ribalda wrote: > On Thu, 19 Nov 2026 at 12:47, Yasunobu Sakashita via B4 Relay > <devnull+hi.yasunobu.dev@kernel.org> wrote: > > > > From: Yasunobu Sakashita <hi@yasunobu.dev> > > > > Stopping a SuperSpeed StreamCam can halt xHCI on the ASUS PRIME > > Z270-A. The fifth Stop Endpoint command timed out after an invalid > > type 15 event. > > > > For the affected StreamCam and ASM2142, block URB resubmission. > > Queue all unlinks before waiting so xHCI can coalesce them. Hi Yasunobu, I'm curious what's your general experience with SuperSpeed isochronous cameras on ASM2142 (or ASM3142 - same IDs, not sure what difference). Does it work, including in high resolution uncompressed video modes? In my experience with one no-name USB3 camera, ASMedia contrellers worked poorly in general, which is why I haven't bothered upstreaming this compatibility hack. Could you post "lsusb -v" of this camera? Preferably with usbutils v019 or newer. > > > > The stock driver reproduced the halt on Ubuntu 6.8.0-149-generic. > > Three FFmpeg 720p MJPEG and audio capture cycles passed with the > > patch. > > > > I used Codex to help analyze traces and draft the patch and > > changelog. > > > > Signed-off-by: Yasunobu Sakashita <hi@yasunobu.dev> > > --- > > Built uvc_video.o on media-committers/next with and without CONFIG_PCI. > > --- > > drivers/media/usb/uvc/uvc_video.c | 43 ++++++++++++++++++++++++++++++++++----- > > 1 file changed, 38 insertions(+), 5 deletions(-) > > > > diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c > > index a92a986ab..0ee5a7d17 100644 > > --- a/drivers/media/usb/uvc/uvc_video.c > > +++ b/drivers/media/usb/uvc/uvc_video.c > > @@ -11,6 +11,7 @@ > > #include <linux/kernel.h> > > #include <linux/list.h> > > #include <linux/module.h> > > +#include <linux/pci.h> > > #include <linux/slab.h> > > #include <linux/usb.h> > > #include <linux/usb/hcd.h> > > @@ -1885,6 +1886,26 @@ static int uvc_alloc_urb_buffers(struct uvc_streaming *stream, > > return 0; > > } > > > > +static bool uvc_streamcam_batch_unlink(const struct uvc_streaming *stream) > > +{ > > + const struct usb_device *udev = stream->dev->udev; > > + struct device *controller = udev->bus->controller; > > + const struct pci_dev *pdev; > > + > > + if (stream->frozen || udev->state != USB_STATE_CONFIGURED || > > + udev->speed != USB_SPEED_SUPER || > > + le16_to_cpu(udev->descriptor.idVendor) != 0x046d || > > + le16_to_cpu(udev->descriptor.idProduct) != 0x0893 || > > + !controller || !dev_is_pci(controller)) > > + return false; > > + > > + pdev = to_pci_dev(controller); > > + return pdev->vendor == PCI_VENDOR_ID_ASMEDIA && > > + pdev->device == 0x2142 && > > + pdev->subsystem_vendor == PCI_VENDOR_ID_ASUSTEK && > > + pdev->subsystem_device == 0x8732 && pdev->revision == 0; > > +} > > + This shouldn't be unnecessary, the alternative unlinking logic is unlikely to cause compatibility issues with any hardware. > > /* > > * Uninitialize isochronous/bulk URBs and free transfer buffers. > > */ > > @@ -1896,12 +1917,24 @@ static void uvc_video_stop_transfer(struct uvc_streaming *stream, > > uvc_video_stats_stop(stream); > > > > /* > > - * We must poison the URBs rather than kill them to ensure that even > > - * after the completion handler returns, any asynchronous workqueues > > - * will be prevented from resubmitting the URBs. > > + * URBs must stay blocked until the workqueue has been flushed. > > + * A completion handler can leave work that tries to resubmit an URB. > > */ > > - for_each_uvc_urb(uvc_urb, stream) > > - usb_poison_urb(uvc_urb->urb); > > + if (uvc_streamcam_batch_unlink(stream)) { > > + /* > > + * usb_block_urb() keeps URBs blocked after usb_kill_urb(). > > + * Queue unlinks together so xHCI can coalesce them. > > + */ > > + for_each_uvc_urb(uvc_urb, stream) > > + usb_block_urb(uvc_urb->urb); > > + for_each_uvc_urb(uvc_urb, stream) > > + usb_unlink_urb(uvc_urb->urb); > > + for_each_uvc_urb(uvc_urb, stream) > > + usb_kill_urb(uvc_urb->urb); For the record, the objective of this ugly code was to hopefully preserve the same guarantees to the UVC driver as the original, while avoiding repeatedly stopping and restarting the xHCI endpoint, which occurs because usb_poison_urb() forces unlink of urb N to complete before unlink of urb N+1 can begin. I don't claim that this is the best or the only solution. > > + } else { > > + for_each_uvc_urb(uvc_urb, stream) > > + usb_poison_urb(uvc_urb->urb); > > + } > > > > Michal proposed something very similar not so long ago: > > https://lore.kernel.org/linux-media/20261115110132.2b0bda47.michal.pecio@gmail.com/ Yes, LLMs got pretty good at stealing test patches from maling lists. > He also mentioned that those crashes were solved in 7.3. Could you > check if your device works fine on 7.3, or if it still crashes? > (Note that even if a workaround is still needed, we probably wouldn't > want to match host-controller PCI IDs inside uvcvideo.) To be exact, 7.3 solved interrupt endpoint crashes on ASMedia and isochronous endpoint crashes on VIA. I haven't tested isochronous on ASMedia, but now I will, subject to the limitation that my camera barely works with those controllers at all. > Michal, would you recommend applying something like what you proposed > in your email, or would you rather fix this at the USB level? Other than bloat, the UVC change should be harmless and it makes unlinking multiple URBs somewhat wore efficient and faster. But it does make the code longer and weirder. If there is a need, perhaps USB core could provide a new usb_nuke_endpoint() call. I'm also curious to hear whether the 7.3 changes or this patch affect the Intel+Razer case (linked above). Regards, Michal ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] media: uvcvideo: Batch StreamCam unlinks on ASUS ASM2142 2026-11-19 13:19 ` Michal Pecio @ 2026-11-19 14:24 ` hi 0 siblings, 0 replies; 8+ messages in thread From: hi @ 2026-11-19 14:24 UTC (permalink / raw) To: Michal Pecio Cc: Ricardo Ribalda, linux-media, Laurent Pinchart, Hans de Goede, Mauro Carvalho Chehab, Mathias Nyman, linux-usb [-- Attachment #1: Type: text/plain, Size: 407 bytes --] Thanks for the clarification. > Does it work, including in high resolution uncompressed video modes? On Linux 7.3.5, 720p30 MJPEG worked on my ASM2142 at SuperSpeed. 1080p30 timed out with zero frames in YUYV, NV12, and MJPEG. xHCI logged "status 13 not part of TD" for ep 2. > Could you post "lsusb -v" of this camera? The SuperSpeed lsusb -v output from usbutils 019 is attached. Yasunobu [-- Attachment #2: streamcam-superspeed-descriptors.GzsyCE.txt --] [-- Type: text/plain, Size: 60535 bytes --] Bus 004 Device 002: ID 046d:0893 Logitech, Inc. StreamCam Negotiated speed: SuperSpeed (5Gbps) Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 3.20 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 [unknown] bDeviceProtocol 1 Interface Association bMaxPacketSize0 9 idVendor 0x046d Logitech, Inc. idProduct 0x0893 StreamCam bcdDevice 3.17 iManufacturer 0 iProduct 2 Logitech StreamCam iSerial 3 [redacted] bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0933 bNumInterfaces 6 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 896mA Interface Association: bLength 8 bDescriptorType 11 bFirstInterface 0 bInterfaceCount 2 bFunctionClass 14 Video bFunctionSubClass 3 Video Interface Collection bFunctionProtocol 0 iFunction 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 1 Video Control bInterfaceProtocol 0 iInterface 0 VideoControl Interface Descriptor: bLength 13 bDescriptorType 36 bDescriptorSubtype 1 (HEADER) bcdUVC 1.00 wTotalLength 0x00d8 dwClockFrequency 30.000000MHz bInCollection 1 baInterfaceNr( 0) 1 VideoControl Interface Descriptor: bLength 18 bDescriptorType 36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 1 wTerminalType 0x0201 Camera Sensor bAssocTerminal 0 iTerminal 0 wObjectiveFocalLengthMin 0 wObjectiveFocalLengthMax 0 wOcularFocalLength 0 bControlSize 3 bmControls 0x00022a2e Auto-Exposure Mode Auto-Exposure Priority Exposure Time (Absolute) Focus (Absolute) Zoom (Absolute) PanTilt (Absolute) Roll (Absolute) Focus, Auto VideoControl Interface Descriptor: bLength 11 bDescriptorType 36 bDescriptorSubtype 5 (PROCESSING_UNIT) Warning: Descriptor too short bUnitID 3 bSourceID 1 wMaxMultiplier 16384 bControlSize 2 bmControls 0x0000175b Brightness Contrast Saturation Sharpness White Balance Temperature Backlight Compensation Gain Power Line Frequency White Balance Temperature, Auto iProcessing 0 bmVideoStandards 0x1b None NTSC - 525/60 SECAM - 625/50 NTSC - 625/50 VideoControl Interface Descriptor: bLength 27 bDescriptorType 36 bDescriptorSubtype 6 (EXTENSION_UNIT) bUnitID 14 guidExtensionCode {2c49d16a-32b8-4485-3ea8-643a152362f2} bNumControls 6 bNrInPins 1 baSourceID( 0) 3 bControlSize 2 bmControls( 0) 0x3f bmControls( 1) 0x00 iExtension 0 VideoControl Interface Descriptor: bLength 27 bDescriptorType 36 bDescriptorSubtype 6 (EXTENSION_UNIT) bUnitID 6 guidExtensionCode {23e49ed0-1178-4f31-ae52-d2fb8a8d3b48} bNumControls 14 bNrInPins 1 baSourceID( 0) 3 bControlSize 2 bmControls( 0) 0xff bmControls( 1) 0x6f iExtension 0 VideoControl Interface Descriptor: bLength 27 bDescriptorType 36 bDescriptorSubtype 6 (EXTENSION_UNIT) bUnitID 8 guidExtensionCode {69678ee4-410f-40db-a850-7420d7d8240e} bNumControls 8 bNrInPins 1 baSourceID( 0) 3 bControlSize 2 bmControls( 0) 0x3f bmControls( 1) 0x0f iExtension 0 VideoControl Interface Descriptor: bLength 28 bDescriptorType 36 bDescriptorSubtype 6 (EXTENSION_UNIT) bUnitID 9 guidExtensionCode {1f5d4ca9-de11-4487-840d-50933c8ec8d1} bNumControls 18 bNrInPins 1 baSourceID( 0) 3 bControlSize 3 bmControls( 0) 0xff bmControls( 1) 0xff bmControls( 2) 0x03 iExtension 0 VideoControl Interface Descriptor: bLength 28 bDescriptorType 36 bDescriptorSubtype 6 (EXTENSION_UNIT) bUnitID 10 guidExtensionCode {49e40215-f434-47fe-b158-0e885023e51b} bNumControls 11 bNrInPins 1 baSourceID( 0) 3 bControlSize 3 bmControls( 0) 0xfa bmControls( 1) 0xff bmControls( 2) 0x01 iExtension 0 VideoControl Interface Descriptor: bLength 28 bDescriptorType 36 bDescriptorSubtype 6 (EXTENSION_UNIT) bUnitID 11 guidExtensionCode {ffe52d21-8030-4e2c-82d9-f587d00540bd} bNumControls 4 bNrInPins 1 baSourceID( 0) 3 bControlSize 3 bmControls( 0) 0x00 bmControls( 1) 0x41 bmControls( 2) 0x01 iExtension 0 VideoControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 3 (OUTPUT_TERMINAL) bTerminalID 4 wTerminalType 0x0101 USB Streaming bAssocTerminal 0 bSourceID 3 iTerminal 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x85 EP 5 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 8 bMaxBurst 0 wBytesPerInterval 64 VideoControl Endpoint Descriptor: bLength 5 bDescriptorType 37 bDescriptorSubtype 3 (EP_INTERRUPT) wMaxTransferSize 64 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 VideoStreaming Interface Descriptor: bLength 16 bDescriptorType 36 bDescriptorSubtype 1 (INPUT_HEADER) bNumFormats 3 wTotalLength 0x05b9 bEndpointAddress 0x81 EP 1 IN bmInfo 0 bTerminalLink 4 bStillCaptureMethod 0 bTriggerSupport 0 bTriggerUsage 0 bControlSize 1 bmaControls( 0) 0 bmaControls( 1) 0 bmaControls( 2) 0 VideoStreaming Interface Descriptor: bLength 27 bDescriptorType 36 bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED) bFormatIndex 1 bNumFrameDescriptors 11 guidFormat {32595559-0000-0010-8000-00aa00389b71} bBitsPerPixel 16 bDefaultFrameIndex 1 bAspectRatioX 0 bAspectRatioY 0 bmInterlaceFlags 0x00 Interlaced stream or variable: No Fields per frame: 2 fields Field 1 first: No Field pattern: Field 1 only bCopyProtect 0 VideoStreaming Interface Descriptor: bLength 54 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 1 bmCapabilities 0x00 Still image unsupported wWidth 640 wHeight 480 dwMinBitRate 24576000 dwMaxBitRate 147456000 dwMaxVideoFrameBufferSize 614400 dwDefaultFrameInterval 333333 bFrameIntervalType 7 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 416666 dwFrameInterval( 2) 500000 dwFrameInterval( 3) 666666 dwFrameInterval( 4) 1000000 dwFrameInterval( 5) 1333333 dwFrameInterval( 6) 2000000 VideoStreaming Interface Descriptor: bLength 54 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 2 bmCapabilities 0x00 Still image unsupported wWidth 176 wHeight 144 dwMinBitRate 2027520 dwMaxBitRate 12165120 dwMaxVideoFrameBufferSize 50688 dwDefaultFrameInterval 333333 bFrameIntervalType 7 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 416666 dwFrameInterval( 2) 500000 dwFrameInterval( 3) 666666 dwFrameInterval( 4) 1000000 dwFrameInterval( 5) 1333333 dwFrameInterval( 6) 2000000 VideoStreaming Interface Descriptor: bLength 54 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 3 bmCapabilities 0x00 Still image unsupported wWidth 320 wHeight 240 dwMinBitRate 6144000 dwMaxBitRate 36864000 dwMaxVideoFrameBufferSize 153600 dwDefaultFrameInterval 333333 bFrameIntervalType 7 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 416666 dwFrameInterval( 2) 500000 dwFrameInterval( 3) 666666 dwFrameInterval( 4) 1000000 dwFrameInterval( 5) 1333333 dwFrameInterval( 6) 2000000 VideoStreaming Interface Descriptor: bLength 54 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 4 bmCapabilities 0x00 Still image unsupported wWidth 424 wHeight 240 dwMinBitRate 8140800 dwMaxBitRate 48844800 dwMaxVideoFrameBufferSize 203520 dwDefaultFrameInterval 333333 bFrameIntervalType 7 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 416666 dwFrameInterval( 2) 500000 dwFrameInterval( 3) 666666 dwFrameInterval( 4) 1000000 dwFrameInterval( 5) 1333333 dwFrameInterval( 6) 2000000 VideoStreaming Interface Descriptor: bLength 54 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 5 bmCapabilities 0x00 Still image unsupported wWidth 640 wHeight 360 dwMinBitRate 18432000 dwMaxBitRate 110592000 dwMaxVideoFrameBufferSize 460800 dwDefaultFrameInterval 333333 bFrameIntervalType 7 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 416666 dwFrameInterval( 2) 500000 dwFrameInterval( 3) 666666 dwFrameInterval( 4) 1000000 dwFrameInterval( 5) 1333333 dwFrameInterval( 6) 2000000 VideoStreaming Interface Descriptor: bLength 54 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 6 bmCapabilities 0x00 Still image unsupported wWidth 848 wHeight 480 dwMinBitRate 32563200 dwMaxBitRate 195379200 dwMaxVideoFrameBufferSize 814080 dwDefaultFrameInterval 333333 bFrameIntervalType 7 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 416666 dwFrameInterval( 2) 500000 dwFrameInterval( 3) 666666 dwFrameInterval( 4) 1000000 dwFrameInterval( 5) 1333333 dwFrameInterval( 6) 2000000 VideoStreaming Interface Descriptor: bLength 54 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 7 bmCapabilities 0x00 Still image unsupported wWidth 960 wHeight 540 dwMinBitRate 41472000 dwMaxBitRate 248832000 dwMaxVideoFrameBufferSize 1036800 dwDefaultFrameInterval 333333 bFrameIntervalType 7 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 416666 dwFrameInterval( 2) 500000 dwFrameInterval( 3) 666666 dwFrameInterval( 4) 1000000 dwFrameInterval( 5) 1333333 dwFrameInterval( 6) 2000000 VideoStreaming Interface Descriptor: bLength 54 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 8 bmCapabilities 0x00 Still image unsupported wWidth 1280 wHeight 720 dwMinBitRate 73728000 dwMaxBitRate 442368000 dwMaxVideoFrameBufferSize 1843200 dwDefaultFrameInterval 333333 bFrameIntervalType 7 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 416666 dwFrameInterval( 2) 500000 dwFrameInterval( 3) 666666 dwFrameInterval( 4) 1000000 dwFrameInterval( 5) 1333333 dwFrameInterval( 6) 2000000 VideoStreaming Interface Descriptor: bLength 54 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 9 bmCapabilities 0x00 Still image unsupported wWidth 1600 wHeight 896 dwMinBitRate 114688000 dwMaxBitRate 688128000 dwMaxVideoFrameBufferSize 2867200 dwDefaultFrameInterval 333333 bFrameIntervalType 7 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 416666 dwFrameInterval( 2) 500000 dwFrameInterval( 3) 666666 dwFrameInterval( 4) 1000000 dwFrameInterval( 5) 1333333 dwFrameInterval( 6) 2000000 VideoStreaming Interface Descriptor: bLength 54 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 10 bmCapabilities 0x00 Still image unsupported wWidth 1920 wHeight 1080 dwMinBitRate 165888000 dwMaxBitRate 995328000 dwMaxVideoFrameBufferSize 4147200 dwDefaultFrameInterval 333333 bFrameIntervalType 7 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 416666 dwFrameInterval( 2) 500000 dwFrameInterval( 3) 666666 dwFrameInterval( 4) 1000000 dwFrameInterval( 5) 1333333 dwFrameInterval( 6) 2000000 VideoStreaming Interface Descriptor: bLength 30 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 11 bmCapabilities 0x00 Still image unsupported wWidth 2304 wHeight 1296 dwMinBitRate 238878720 dwMaxBitRate 238878720 dwMaxVideoFrameBufferSize 5971968 dwDefaultFrameInterval 2000000 bFrameIntervalType 1 dwFrameInterval( 0) 2000000 VideoStreaming Interface Descriptor: bLength 6 bDescriptorType 36 bDescriptorSubtype 13 (COLORFORMAT) bColorPrimaries 1 (BT.709,sRGB) bTransferCharacteristics 1 (BT.709) bMatrixCoefficients 4 (SMPTE 170M (BT.601)) VideoStreaming Interface Descriptor: bLength 11 bDescriptorType 36 bDescriptorSubtype 6 (FORMAT_MJPEG) bFormatIndex 2 bNumFrameDescriptors 10 bFlags 1 Fixed-size samples: Yes bDefaultFrameIndex 1 bAspectRatioX 0 bAspectRatioY 0 bmInterlaceFlags 0x00 Interlaced stream or variable: No Fields per frame: 1 fields Field 1 first: No Field pattern: Field 1 only bCopyProtect 0 VideoStreaming Interface Descriptor: bLength 58 bDescriptorType 36 bDescriptorSubtype 7 (FRAME_MJPEG) bFrameIndex 1 bmCapabilities 0x00 Still image unsupported wWidth 640 wHeight 480 dwMinBitRate 24576000 dwMaxBitRate 294912000 dwMaxVideoFrameBufferSize 614400 dwDefaultFrameInterval 333333 bFrameIntervalType 8 dwFrameInterval( 0) 166666 dwFrameInterval( 1) 333333 dwFrameInterval( 2) 416666 dwFrameInterval( 3) 500000 dwFrameInterval( 4) 666666 dwFrameInterval( 5) 1000000 dwFrameInterval( 6) 1333333 dwFrameInterval( 7) 2000000 VideoStreaming Interface Descriptor: bLength 58 bDescriptorType 36 bDescriptorSubtype 7 (FRAME_MJPEG) bFrameIndex 2 bmCapabilities 0x00 Still image unsupported wWidth 176 wHeight 144 dwMinBitRate 2027520 dwMaxBitRate 24330240 dwMaxVideoFrameBufferSize 50688 dwDefaultFrameInterval 333333 bFrameIntervalType 8 dwFrameInterval( 0) 166666 dwFrameInterval( 1) 333333 dwFrameInterval( 2) 416666 dwFrameInterval( 3) 500000 dwFrameInterval( 4) 666666 dwFrameInterval( 5) 1000000 dwFrameInterval( 6) 1333333 dwFrameInterval( 7) 2000000 VideoStreaming Interface Descriptor: bLength 58 bDescriptorType 36 bDescriptorSubtype 7 (FRAME_MJPEG) bFrameIndex 3 bmCapabilities 0x00 Still image unsupported wWidth 320 wHeight 240 dwMinBitRate 6144000 dwMaxBitRate 73728000 dwMaxVideoFrameBufferSize 153600 dwDefaultFrameInterval 333333 bFrameIntervalType 8 dwFrameInterval( 0) 166666 dwFrameInterval( 1) 333333 dwFrameInterval( 2) 416666 dwFrameInterval( 3) 500000 dwFrameInterval( 4) 666666 dwFrameInterval( 5) 1000000 dwFrameInterval( 6) 1333333 dwFrameInterval( 7) 2000000 VideoStreaming Interface Descriptor: bLength 58 bDescriptorType 36 bDescriptorSubtype 7 (FRAME_MJPEG) bFrameIndex 4 bmCapabilities 0x00 Still image unsupported wWidth 424 wHeight 240 dwMinBitRate 8140800 dwMaxBitRate 97689600 dwMaxVideoFrameBufferSize 203520 dwDefaultFrameInterval 333333 bFrameIntervalType 8 dwFrameInterval( 0) 166666 dwFrameInterval( 1) 333333 dwFrameInterval( 2) 416666 dwFrameInterval( 3) 500000 dwFrameInterval( 4) 666666 dwFrameInterval( 5) 1000000 dwFrameInterval( 6) 1333333 dwFrameInterval( 7) 2000000 VideoStreaming Interface Descriptor: bLength 58 bDescriptorType 36 bDescriptorSubtype 7 (FRAME_MJPEG) bFrameIndex 5 bmCapabilities 0x00 Still image unsupported wWidth 640 wHeight 360 dwMinBitRate 18432000 dwMaxBitRate 221184000 dwMaxVideoFrameBufferSize 460800 dwDefaultFrameInterval 333333 bFrameIntervalType 8 dwFrameInterval( 0) 166666 dwFrameInterval( 1) 333333 dwFrameInterval( 2) 416666 dwFrameInterval( 3) 500000 dwFrameInterval( 4) 666666 dwFrameInterval( 5) 1000000 dwFrameInterval( 6) 1333333 dwFrameInterval( 7) 2000000 VideoStreaming Interface Descriptor: bLength 58 bDescriptorType 36 bDescriptorSubtype 7 (FRAME_MJPEG) bFrameIndex 6 bmCapabilities 0x00 Still image unsupported wWidth 848 wHeight 480 dwMinBitRate 32563200 dwMaxBitRate 390758400 dwMaxVideoFrameBufferSize 814080 dwDefaultFrameInterval 333333 bFrameIntervalType 8 dwFrameInterval( 0) 166666 dwFrameInterval( 1) 333333 dwFrameInterval( 2) 416666 dwFrameInterval( 3) 500000 dwFrameInterval( 4) 666666 dwFrameInterval( 5) 1000000 dwFrameInterval( 6) 1333333 dwFrameInterval( 7) 2000000 VideoStreaming Interface Descriptor: bLength 58 bDescriptorType 36 bDescriptorSubtype 7 (FRAME_MJPEG) bFrameIndex 7 bmCapabilities 0x00 Still image unsupported wWidth 960 wHeight 540 dwMinBitRate 41472000 dwMaxBitRate 497664000 dwMaxVideoFrameBufferSize 1036800 dwDefaultFrameInterval 333333 bFrameIntervalType 8 dwFrameInterval( 0) 166666 dwFrameInterval( 1) 333333 dwFrameInterval( 2) 416666 dwFrameInterval( 3) 500000 dwFrameInterval( 4) 666666 dwFrameInterval( 5) 1000000 dwFrameInterval( 6) 1333333 dwFrameInterval( 7) 2000000 VideoStreaming Interface Descriptor: bLength 58 bDescriptorType 36 bDescriptorSubtype 7 (FRAME_MJPEG) bFrameIndex 8 bmCapabilities 0x00 Still image unsupported wWidth 1280 wHeight 720 dwMinBitRate 73728000 dwMaxBitRate 884736000 dwMaxVideoFrameBufferSize 1843200 dwDefaultFrameInterval 333333 bFrameIntervalType 8 dwFrameInterval( 0) 166666 dwFrameInterval( 1) 333333 dwFrameInterval( 2) 416666 dwFrameInterval( 3) 500000 dwFrameInterval( 4) 666666 dwFrameInterval( 5) 1000000 dwFrameInterval( 6) 1333333 dwFrameInterval( 7) 2000000 VideoStreaming Interface Descriptor: bLength 58 bDescriptorType 36 bDescriptorSubtype 7 (FRAME_MJPEG) bFrameIndex 9 bmCapabilities 0x00 Still image unsupported wWidth 1600 wHeight 896 dwMinBitRate 114688000 dwMaxBitRate 1376256000 dwMaxVideoFrameBufferSize 2867200 dwDefaultFrameInterval 333333 bFrameIntervalType 8 dwFrameInterval( 0) 166666 dwFrameInterval( 1) 333333 dwFrameInterval( 2) 416666 dwFrameInterval( 3) 500000 dwFrameInterval( 4) 666666 dwFrameInterval( 5) 1000000 dwFrameInterval( 6) 1333333 dwFrameInterval( 7) 2000000 VideoStreaming Interface Descriptor: bLength 58 bDescriptorType 36 bDescriptorSubtype 7 (FRAME_MJPEG) bFrameIndex 10 bmCapabilities 0x00 Still image unsupported wWidth 1920 wHeight 1080 dwMinBitRate 165888000 dwMaxBitRate 1990656000 dwMaxVideoFrameBufferSize 4147200 dwDefaultFrameInterval 333333 bFrameIntervalType 8 dwFrameInterval( 0) 166666 dwFrameInterval( 1) 333333 dwFrameInterval( 2) 416666 dwFrameInterval( 3) 500000 dwFrameInterval( 4) 666666 dwFrameInterval( 5) 1000000 dwFrameInterval( 6) 1333333 dwFrameInterval( 7) 2000000 VideoStreaming Interface Descriptor: bLength 6 bDescriptorType 36 bDescriptorSubtype 13 (COLORFORMAT) bColorPrimaries 1 (BT.709,sRGB) bTransferCharacteristics 1 (BT.709) bMatrixCoefficients 4 (SMPTE 170M (BT.601)) VideoStreaming Interface Descriptor: bLength 27 bDescriptorType 36 bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED) bFormatIndex 3 bNumFrameDescriptors 4 guidFormat {3231564e-0000-0010-8000-00aa00389b71} bBitsPerPixel 12 bDefaultFrameIndex 1 bAspectRatioX 0 bAspectRatioY 0 bmInterlaceFlags 0x00 Interlaced stream or variable: No Fields per frame: 2 fields Field 1 first: No Field pattern: Field 1 only bCopyProtect 0 VideoStreaming Interface Descriptor: bLength 54 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 1 bmCapabilities 0x00 Still image unsupported wWidth 640 wHeight 480 dwMinBitRate 24576000 dwMaxBitRate 147456000 dwMaxVideoFrameBufferSize 614400 dwDefaultFrameInterval 333333 bFrameIntervalType 7 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 416666 dwFrameInterval( 2) 500000 dwFrameInterval( 3) 666666 dwFrameInterval( 4) 1000000 dwFrameInterval( 5) 1333333 dwFrameInterval( 6) 2000000 VideoStreaming Interface Descriptor: bLength 54 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 2 bmCapabilities 0x00 Still image unsupported wWidth 640 wHeight 360 dwMinBitRate 18432000 dwMaxBitRate 110592000 dwMaxVideoFrameBufferSize 460800 dwDefaultFrameInterval 333333 bFrameIntervalType 7 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 416666 dwFrameInterval( 2) 500000 dwFrameInterval( 3) 666666 dwFrameInterval( 4) 1000000 dwFrameInterval( 5) 1333333 dwFrameInterval( 6) 2000000 VideoStreaming Interface Descriptor: bLength 54 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 3 bmCapabilities 0x00 Still image unsupported wWidth 1280 wHeight 720 dwMinBitRate 73728000 dwMaxBitRate 442368000 dwMaxVideoFrameBufferSize 1843200 dwDefaultFrameInterval 333333 bFrameIntervalType 7 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 416666 dwFrameInterval( 2) 500000 dwFrameInterval( 3) 666666 dwFrameInterval( 4) 1000000 dwFrameInterval( 5) 1333333 dwFrameInterval( 6) 2000000 VideoStreaming Interface Descriptor: bLength 54 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 4 bmCapabilities 0x00 Still image unsupported wWidth 1920 wHeight 1080 dwMinBitRate 165888000 dwMaxBitRate 995328000 dwMaxVideoFrameBufferSize 4147200 dwDefaultFrameInterval 333333 bFrameIntervalType 7 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 416666 dwFrameInterval( 2) 500000 dwFrameInterval( 3) 666666 dwFrameInterval( 4) 1000000 dwFrameInterval( 5) 1333333 dwFrameInterval( 6) 2000000 VideoStreaming Interface Descriptor: bLength 6 bDescriptorType 36 bDescriptorSubtype 13 (COLORFORMAT) bColorPrimaries 1 (BT.709,sRGB) bTransferCharacteristics 1 (BT.709) bMatrixCoefficients 4 (SMPTE 170M (BT.601)) Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 1 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0180 1x 384 bytes bInterval 1 bMaxBurst 0 wBytesPerInterval 384 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 2 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0280 1x 640 bytes bInterval 1 bMaxBurst 0 wBytesPerInterval 640 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 3 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x03b0 1x 944 bytes bInterval 1 bMaxBurst 0 wBytesPerInterval 944 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 4 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 1 bMaxBurst 0 wBytesPerInterval 1024 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 5 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 1 bMaxBurst 1 wBytesPerInterval 2048 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 6 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 1 bMaxBurst 2 wBytesPerInterval 3072 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 7 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 1 bMaxBurst 2 Mult 1 wBytesPerInterval 6144 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 8 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 1 bMaxBurst 2 Mult 2 wBytesPerInterval 9216 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 9 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 1 bMaxBurst 3 Mult 2 wBytesPerInterval 12288 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 10 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 1 bMaxBurst 4 Mult 2 wBytesPerInterval 15360 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 11 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 1 bMaxBurst 5 Mult 2 wBytesPerInterval 18432 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 12 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 1 bMaxBurst 6 Mult 2 wBytesPerInterval 21504 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 13 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 1 bMaxBurst 7 Mult 2 wBytesPerInterval 24576 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 14 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 1 bMaxBurst 9 Mult 2 wBytesPerInterval 30720 Interface Association: bLength 8 bDescriptorType 11 bFirstInterface 2 bInterfaceCount 2 bFunctionClass 1 Audio bFunctionSubClass 2 Streaming bFunctionProtocol 0 iFunction 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 1 Audio bInterfaceSubClass 1 Control Device bInterfaceProtocol 0 iInterface 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 1 (HEADER) bcdADC 1.00 wTotalLength 0x0026 bInCollection 1 baInterfaceNr(0) 3 AudioControl Interface Descriptor: bLength 12 bDescriptorType 36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 1 wTerminalType 0x0201 Microphone bAssocTerminal 0 bNrChannels 2 wChannelConfig 0x0003 Left Front (L) Right Front (R) iChannelNames 0 iTerminal 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 3 (OUTPUT_TERMINAL) bTerminalID 3 wTerminalType 0x0101 USB Streaming bAssocTerminal 0 bSourceID 5 iTerminal 0 AudioControl Interface Descriptor: bLength 8 bDescriptorType 36 bDescriptorSubtype 6 (FEATURE_UNIT) bUnitID 5 bSourceID 1 bControlSize 1 bmaControls(0) 0x03 Mute Control Volume Control iFeature 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 3 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 1 Audio bInterfaceSubClass 2 Streaming bInterfaceProtocol 0 iInterface 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 3 bAlternateSetting 1 bNumEndpoints 1 bInterfaceClass 1 Audio bInterfaceSubClass 2 Streaming bInterfaceProtocol 0 iInterface 0 AudioStreaming Interface Descriptor: bLength 7 bDescriptorType 36 bDescriptorSubtype 1 (AS_GENERAL) bTerminalLink 3 bDelay 1 frames wFormatTag 0x0001 PCM AudioStreaming Interface Descriptor: bLength 11 bDescriptorType 36 bDescriptorSubtype 2 (FORMAT_TYPE) bFormatType 1 (FORMAT_TYPE_I) bNrChannels 2 bSubframeSize 2 bBitResolution 16 bSamFreqType 1 Discrete tSamFreq[ 0] 16000 Endpoint Descriptor: bLength 9 bDescriptorType 5 bEndpointAddress 0x84 EP 4 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0044 1x 68 bytes bInterval 4 bRefresh 0 bSynchAddress 0 bMaxBurst 0 wBytesPerInterval 68 AudioStreaming Endpoint Descriptor: bLength 7 bDescriptorType 37 bDescriptorSubtype 1 (EP_GENERAL) bmAttributes 0x01 Sampling Frequency bLockDelayUnits 0 Undefined wLockDelay 0x0000 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 3 bAlternateSetting 2 bNumEndpoints 1 bInterfaceClass 1 Audio bInterfaceSubClass 2 Streaming bInterfaceProtocol 0 iInterface 0 AudioStreaming Interface Descriptor: bLength 7 bDescriptorType 36 bDescriptorSubtype 1 (AS_GENERAL) bTerminalLink 3 bDelay 1 frames wFormatTag 0x0001 PCM AudioStreaming Interface Descriptor: bLength 11 bDescriptorType 36 bDescriptorSubtype 2 (FORMAT_TYPE) bFormatType 1 (FORMAT_TYPE_I) bNrChannels 2 bSubframeSize 2 bBitResolution 16 bSamFreqType 1 Discrete tSamFreq[ 0] 24000 Endpoint Descriptor: bLength 9 bDescriptorType 5 bEndpointAddress 0x84 EP 4 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0064 1x 100 bytes bInterval 4 bRefresh 0 bSynchAddress 0 bMaxBurst 0 wBytesPerInterval 100 AudioStreaming Endpoint Descriptor: bLength 7 bDescriptorType 37 bDescriptorSubtype 1 (EP_GENERAL) bmAttributes 0x01 Sampling Frequency bLockDelayUnits 0 Undefined wLockDelay 0x0000 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 3 bAlternateSetting 3 bNumEndpoints 1 bInterfaceClass 1 Audio bInterfaceSubClass 2 Streaming bInterfaceProtocol 0 iInterface 0 AudioStreaming Interface Descriptor: bLength 7 bDescriptorType 36 bDescriptorSubtype 1 (AS_GENERAL) bTerminalLink 3 bDelay 1 frames wFormatTag 0x0001 PCM AudioStreaming Interface Descriptor: bLength 11 bDescriptorType 36 bDescriptorSubtype 2 (FORMAT_TYPE) bFormatType 1 (FORMAT_TYPE_I) bNrChannels 2 bSubframeSize 2 bBitResolution 16 bSamFreqType 1 Discrete tSamFreq[ 0] 32000 Endpoint Descriptor: bLength 9 bDescriptorType 5 bEndpointAddress 0x84 EP 4 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0084 1x 132 bytes bInterval 4 bRefresh 0 bSynchAddress 0 bMaxBurst 0 wBytesPerInterval 132 AudioStreaming Endpoint Descriptor: bLength 7 bDescriptorType 37 bDescriptorSubtype 1 (EP_GENERAL) bmAttributes 0x01 Sampling Frequency bLockDelayUnits 0 Undefined wLockDelay 0x0000 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 3 bAlternateSetting 4 bNumEndpoints 1 bInterfaceClass 1 Audio bInterfaceSubClass 2 Streaming bInterfaceProtocol 0 iInterface 0 AudioStreaming Interface Descriptor: bLength 7 bDescriptorType 36 bDescriptorSubtype 1 (AS_GENERAL) bTerminalLink 3 bDelay 1 frames wFormatTag 0x0001 PCM AudioStreaming Interface Descriptor: bLength 11 bDescriptorType 36 bDescriptorSubtype 2 (FORMAT_TYPE) bFormatType 1 (FORMAT_TYPE_I) bNrChannels 2 bSubframeSize 2 bBitResolution 16 bSamFreqType 1 Discrete tSamFreq[ 0] 48000 Endpoint Descriptor: bLength 9 bDescriptorType 5 bEndpointAddress 0x84 EP 4 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x00c4 1x 196 bytes bInterval 4 bRefresh 0 bSynchAddress 0 bMaxBurst 0 wBytesPerInterval 196 AudioStreaming Endpoint Descriptor: bLength 7 bDescriptorType 37 bDescriptorSubtype 1 (EP_GENERAL) bmAttributes 0x01 Sampling Frequency bLockDelayUnits 0 Undefined wLockDelay 0x0000 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 4 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 5 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 [unknown] bInterfaceProtocol 0 iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.11 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 108 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x87 EP 7 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 6 bMaxBurst 0 wBytesPerInterval 2 Binary Object Store Descriptor: bLength 5 bDescriptorType 15 wTotalLength 0x0016 bNumDeviceCaps 2 USB 2.0 Extension Device Capability: bLength 7 bDescriptorType 16 bDevCapabilityType 2 bmAttributes 0x00000002 HIRD Link Power Management (LPM) Supported SuperSpeed USB Device Capability: bLength 10 bDescriptorType 16 bDevCapabilityType 3 bmAttributes 0x00 wSpeedsSupported 0x000e Device can operate at Full Speed (12Mbps) Device can operate at High Speed (480Mbps) Device can operate at SuperSpeed (5Gbps) bFunctionalitySupport 2 Lowest fully-functional device speed is High Speed (480Mbps) bU1DevExitLat 10 micro seconds bU2DevExitLat 256 micro seconds Device Status: 0x0000 (Bus Powered) ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-11-19 14:24 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-11-19 11:44 [PATCH] media: uvcvideo: Batch StreamCam unlinks on ASUS ASM2142 Yasunobu Sakashita 2026-11-19 11:44 ` Yasunobu Sakashita via B4 Relay 2026-11-19 11:54 ` sashiko-bot 2026-11-19 12:06 ` Ricardo Ribalda 2026-11-19 12:43 ` Laurent Pinchart 2026-11-19 13:08 ` hi 2026-11-19 13:19 ` Michal Pecio 2026-11-19 14:24 ` hi
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.