* [PATCH 0/2] media: uvcvideo: fix HP True Vision 5MP color streaming
@ 2026-11-22 6:03 Parmjot Singh
2026-11-22 6:03 ` [PATCH 1/2] media: uvcvideo: skip GET_DEF(PROBE) for HP True Vision 5MP Parmjot Singh
2026-11-22 6:03 ` [PATCH 2/2] media: uvcvideo: delay HP True Vision 5MP isochronous start Parmjot Singh
0 siblings, 2 replies; 6+ messages in thread
From: Parmjot Singh @ 2026-11-22 6:03 UTC (permalink / raw)
To: linux-media; +Cc: laurent.pinchart, hansg, mchehab, linux-kernel
The HP True Vision 5MP Camera (04f2:b767, USB revision 0.05) can
disconnect from USB during initialization or shortly after starting
color capture. The first patch skips a malformed default probe response
using the existing UVC_QUIRK_PROBE_DEF. The second adds a startup delay
for the color interface between SET_INTERFACE and the first ISO URB.
On stock Arch Linux 7.2.14, selecting 1280x720 MJPEG succeeded. With
streaming enabled, COMMIT and SET_INTERFACE succeeded and ISO URBs
completed before the camera disconnected about 127 ms after
SET_INTERFACE. To reproduce, use the color capture node:
v4l2-ctl -d /dev/video0 --set-fmt-video=width=1280,height=720,pixelformat=MJPG \
--stream-mmap=4 --stream-count=90 --stream-to=/dev/null
With both patches active on Arch Linux 7.2.14, FFmpeg decoded 90 frames
each at 720p MJPEG, 640x480 YUYV and 2592x1944 MJPEG, followed by 300
frames on a 720p restart. Color capture was also reported working after
a reboot. The media-next series was build-tested on x86-64.
350 ms is the tested delay. The minimum reliable delay is unknown.
Infrared capture still disconnects and is outside the streaming fix.
OpenAI Codex (GPT-6.2 Sol) helped draft the fixes and analyze USB and V4L2
traces. Testing used usbmon, v4l2-ctl, strace and FFmpeg.
Parmjot Singh (2):
media: uvcvideo: skip GET_DEF(PROBE) for HP True Vision 5MP
media: uvcvideo: delay HP True Vision 5MP isochronous start
drivers/media/usb/uvc/uvc_driver.c | 23 +++++++++++++++++++++++
drivers/media/usb/uvc/uvc_video.c | 4 ++++
drivers/media/usb/uvc/uvcvideo.h | 1 +
3 files changed, 28 insertions(+)
base-commit: ccf78740d63813c452c035b57d17a650492562fa
--
2.56.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] media: uvcvideo: skip GET_DEF(PROBE) for HP True Vision 5MP
2026-11-22 6:03 [PATCH 0/2] media: uvcvideo: fix HP True Vision 5MP color streaming Parmjot Singh
@ 2026-11-22 6:03 ` Parmjot Singh
2026-11-22 6:03 ` [PATCH 2/2] media: uvcvideo: delay HP True Vision 5MP isochronous start Parmjot Singh
1 sibling, 0 replies; 6+ messages in thread
From: Parmjot Singh @ 2026-11-22 6:03 UTC (permalink / raw)
To: linux-media; +Cc: laurent.pinchart, hansg, mchehab, linux-kernel
The HP True Vision 5MP Camera (04f2:b767, revision 0.05) was observed
returning zero format and frame indices in GET_DEF(PROBE). The driver
can send those indices back in SET_CUR(PROBE) during initialization.
Use the existing UVC_QUIRK_PROBE_DEF workaround so initialization
reads the current probe settings without replaying the default. Match
the UVC 1.5 VideoControl interfaces used by the color and IR streams.
OpenAI Codex (GPT-6.2 Sol) helped turn the reported USB trace into a device
table entry and checked the reported protocol on both interfaces.
Signed-off-by: Parmjot Singh <parmjotsinghrobot@gmail.com>
---
drivers/media/usb/uvc/uvc_driver.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
index cbc145697..99c28991b 100644
--- a/drivers/media/usb/uvc/uvc_driver.c
+++ b/drivers/media/usb/uvc/uvc_driver.c
@@ -2754,6 +2754,15 @@ static const struct usb_device_id uvc_ids[] = {
.bInterfaceSubClass = 1,
.bInterfaceProtocol = 0,
.driver_info = UVC_INFO_QUIRK(UVC_QUIRK_RESTRICT_FRAME_RATE) },
+ /* HP True Vision 5MP Camera */
+ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
+ | USB_DEVICE_ID_MATCH_INT_INFO,
+ .idVendor = 0x04f2,
+ .idProduct = 0xb767,
+ .bInterfaceClass = USB_CLASS_VIDEO,
+ .bInterfaceSubClass = 1,
+ .bInterfaceProtocol = UVC_PC_PROTOCOL_15,
+ .driver_info = (kernel_ulong_t)&uvc_quirk_probe_def },
/* Alcor Micro AU3820 (Future Boy PC USB Webcam) */
{ .match_flags = USB_DEVICE_ID_MATCH_DEVICE
| USB_DEVICE_ID_MATCH_INT_INFO,
--
2.56.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] media: uvcvideo: delay HP True Vision 5MP isochronous start
2026-11-22 6:03 [PATCH 0/2] media: uvcvideo: fix HP True Vision 5MP color streaming Parmjot Singh
2026-11-22 6:03 ` [PATCH 1/2] media: uvcvideo: skip GET_DEF(PROBE) for HP True Vision 5MP Parmjot Singh
@ 2026-11-22 6:03 ` Parmjot Singh
2026-11-23 10:30 ` Ricardo Ribalda
1 sibling, 1 reply; 6+ messages in thread
From: Parmjot Singh @ 2026-11-22 6:03 UTC (permalink / raw)
To: linux-media; +Cc: laurent.pinchart, hansg, mchehab, linux-kernel
The HP True Vision 5MP Camera (04f2:b767, revision 0.05) accepts
COMMIT and SET_INTERFACE, then may disconnect shortly after starting
isochronous transfers. A 350 ms pause between SET_INTERFACE and the
first video URB allowed color streaming in MJPEG and YUYV modes.
Add a per-device isochronous startup delay and apply it to the color
interface.
On Arch Linux 7.2.14, FFmpeg decoded 90 frames each in 720p MJPEG,
640x480 YUYV and 2592x1944 MJPEG, plus 300 frames after a 720p
restart. The infrared stream still disconnected during the delay
experiment, before the first video URB was submitted.
OpenAI Codex (GPT-6.2 Sol) helped design and analyze the USB timing
experiment and write the driver change.
Signed-off-by: Parmjot Singh <parmjotsinghrobot@gmail.com>
---
drivers/media/usb/uvc/uvc_driver.c | 14 ++++++++++++++
drivers/media/usb/uvc/uvc_video.c | 4 ++++
drivers/media/usb/uvc/uvcvideo.h | 1 +
3 files changed, 19 insertions(+)
diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
index 99c28991b..cfc626a15 100644
--- a/drivers/media/usb/uvc/uvc_driver.c
+++ b/drivers/media/usb/uvc/uvc_driver.c
@@ -2754,6 +2754,20 @@ static const struct usb_device_id uvc_ids[] = {
.bInterfaceSubClass = 1,
.bInterfaceProtocol = 0,
.driver_info = UVC_INFO_QUIRK(UVC_QUIRK_RESTRICT_FRAME_RATE) },
+ /* HP True Vision 5MP Camera (color) */
+ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
+ | USB_DEVICE_ID_MATCH_INT_INFO
+ | USB_DEVICE_ID_MATCH_INT_NUMBER,
+ .idVendor = 0x04f2,
+ .idProduct = 0xb767,
+ .bInterfaceClass = USB_CLASS_VIDEO,
+ .bInterfaceSubClass = 1,
+ .bInterfaceProtocol = UVC_PC_PROTOCOL_15,
+ .bInterfaceNumber = 0,
+ .driver_info = (kernel_ulong_t)&(const struct uvc_device_info){
+ .quirks = UVC_QUIRK_PROBE_DEF,
+ .isoc_start_delay_ms = 350,
+ } },
/* HP True Vision 5MP Camera */
{ .match_flags = USB_DEVICE_ID_MATCH_DEVICE
| USB_DEVICE_ID_MATCH_INT_INFO,
diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c
index a92a986ab..e20330998 100644
--- a/drivers/media/usb/uvc/uvc_video.c
+++ b/drivers/media/usb/uvc/uvc_video.c
@@ -6,6 +6,7 @@
* Laurent Pinchart (laurent.pinchart@ideasonboard.com)
*/
+#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/highmem.h>
#include <linux/kernel.h>
@@ -2103,6 +2104,9 @@ static int uvc_video_start_transfer(struct uvc_streaming *stream,
if (ret < 0)
return ret;
+ if (stream->dev->info->isoc_start_delay_ms)
+ msleep(stream->dev->info->isoc_start_delay_ms);
+
ret = uvc_init_video_isoc(stream, best_ep, gfp_flags);
} else {
/* Bulk endpoint, proceed to URB initialization. */
diff --git a/drivers/media/usb/uvc/uvcvideo.h b/drivers/media/usb/uvc/uvcvideo.h
index af8cef94f..eb949c6d8 100644
--- a/drivers/media/usb/uvc/uvcvideo.h
+++ b/drivers/media/usb/uvc/uvcvideo.h
@@ -545,6 +545,7 @@ struct uvc_device_info {
u32 quirks;
u32 meta_format;
u16 uvc_version;
+ u16 isoc_start_delay_ms;
};
struct uvc_rect {
--
2.56.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] media: uvcvideo: delay HP True Vision 5MP isochronous start
2026-11-22 6:03 ` [PATCH 2/2] media: uvcvideo: delay HP True Vision 5MP isochronous start Parmjot Singh
@ 2026-11-23 10:30 ` Ricardo Ribalda
2026-11-23 10:39 ` Laurent Pinchart
0 siblings, 1 reply; 6+ messages in thread
From: Ricardo Ribalda @ 2026-11-23 10:30 UTC (permalink / raw)
To: Parmjot Singh; +Cc: linux-media, laurent.pinchart, hansg, mchehab, linux-kernel
Hi Parmjot
Could you provide the whole USB descriptor of the device
lsusb -v -d 04f2:b767
Is it a internal camera (it looks so based on the name) if it is not,
could you try connecting it to USB2 hub?
On Sun, 22 Nov 2026 at 07:05, Parmjot Singh <parmjotsinghrobot@gmail.com> wrote:
>
> The HP True Vision 5MP Camera (04f2:b767, revision 0.05) accepts
> COMMIT and SET_INTERFACE, then may disconnect shortly after starting
> isochronous transfers. A 350 ms pause between SET_INTERFACE and the
> first video URB allowed color streaming in MJPEG and YUYV modes.
>
> Add a per-device isochronous startup delay and apply it to the color
> interface.
>
> On Arch Linux 7.2.14, FFmpeg decoded 90 frames each in 720p MJPEG,
> 640x480 YUYV and 2592x1944 MJPEG, plus 300 frames after a 720p
> restart. The infrared stream still disconnected during the delay
> experiment, before the first video URB was submitted.
>
> OpenAI Codex (GPT-6.2 Sol) helped design and analyze the USB timing
> experiment and write the driver change.
>
> Signed-off-by: Parmjot Singh <parmjotsinghrobot@gmail.com>
>
> ---
> drivers/media/usb/uvc/uvc_driver.c | 14 ++++++++++++++
> drivers/media/usb/uvc/uvc_video.c | 4 ++++
> drivers/media/usb/uvc/uvcvideo.h | 1 +
> 3 files changed, 19 insertions(+)
>
> diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
> index 99c28991b..cfc626a15 100644
> --- a/drivers/media/usb/uvc/uvc_driver.c
> +++ b/drivers/media/usb/uvc/uvc_driver.c
> @@ -2754,6 +2754,20 @@ static const struct usb_device_id uvc_ids[] = {
> .bInterfaceSubClass = 1,
> .bInterfaceProtocol = 0,
> .driver_info = UVC_INFO_QUIRK(UVC_QUIRK_RESTRICT_FRAME_RATE) },
> + /* HP True Vision 5MP Camera (color) */
> + { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
> + | USB_DEVICE_ID_MATCH_INT_INFO
> + | USB_DEVICE_ID_MATCH_INT_NUMBER,
Why dont you add this to the previous quirk instead of adding a new fied?
We usually do not need to match int number.
> + .idVendor = 0x04f2,
> + .idProduct = 0xb767,
> + .bInterfaceClass = USB_CLASS_VIDEO,
> + .bInterfaceSubClass = 1,
> + .bInterfaceProtocol = UVC_PC_PROTOCOL_15,
> + .bInterfaceNumber = 0,
> + .driver_info = (kernel_ulong_t)&(const struct uvc_device_info){
> + .quirks = UVC_QUIRK_PROBE_DEF,
> + .isoc_start_delay_ms = 350,
> + } },
> /* HP True Vision 5MP Camera */
> { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
> | USB_DEVICE_ID_MATCH_INT_INFO,
> diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c
> index a92a986ab..e20330998 100644
> --- a/drivers/media/usb/uvc/uvc_video.c
> +++ b/drivers/media/usb/uvc/uvc_video.c
> @@ -6,6 +6,7 @@
> * Laurent Pinchart (laurent.pinchart@ideasonboard.com)
> */
>
> +#include <linux/delay.h>
> #include <linux/dma-mapping.h>
> #include <linux/highmem.h>
> #include <linux/kernel.h>
> @@ -2103,6 +2104,9 @@ static int uvc_video_start_transfer(struct uvc_streaming *stream,
> if (ret < 0)
> return ret;
>
> + if (stream->dev->info->isoc_start_delay_ms)
> + msleep(stream->dev->info->isoc_start_delay_ms);
> +
> ret = uvc_init_video_isoc(stream, best_ep, gfp_flags);
> } else {
> /* Bulk endpoint, proceed to URB initialization. */
> diff --git a/drivers/media/usb/uvc/uvcvideo.h b/drivers/media/usb/uvc/uvcvideo.h
> index af8cef94f..eb949c6d8 100644
> --- a/drivers/media/usb/uvc/uvcvideo.h
> +++ b/drivers/media/usb/uvc/uvcvideo.h
> @@ -545,6 +545,7 @@ struct uvc_device_info {
> u32 quirks;
> u32 meta_format;
> u16 uvc_version;
> + u16 isoc_start_delay_ms;
> };
>
> struct uvc_rect {
> --
> 2.56.0
>
>
--
Ricardo Ribalda
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] media: uvcvideo: delay HP True Vision 5MP isochronous start
2026-11-23 10:30 ` Ricardo Ribalda
@ 2026-11-23 10:39 ` Laurent Pinchart
2026-11-28 19:55 ` Parmjot Singh
0 siblings, 1 reply; 6+ messages in thread
From: Laurent Pinchart @ 2026-11-23 10:39 UTC (permalink / raw)
To: Ricardo Ribalda; +Cc: Parmjot Singh, linux-media, hansg, mchehab, linux-kernel
On Mon, Nov 23, 2026 at 11:30:28AM +0100, Ricardo Ribalda wrote:
> Hi Parmjot
>
> Could you provide the whole USB descriptor of the device
> lsusb -v -d 04f2:b767
>
> Is it a internal camera (it looks so based on the name) if it is not,
> could you try connecting it to USB2 hub?
>
> On Sun, 22 Nov 2026 at 07:05, Parmjot Singh <parmjotsinghrobot@gmail.com> wrote:
> >
> > The HP True Vision 5MP Camera (04f2:b767, revision 0.05) accepts
> > COMMIT and SET_INTERFACE, then may disconnect shortly after starting
> > isochronous transfers. A 350 ms pause between SET_INTERFACE and the
> > first video URB allowed color streaming in MJPEG and YUYV modes.
> >
> > Add a per-device isochronous startup delay and apply it to the color
> > interface.
> >
> > On Arch Linux 7.2.14, FFmpeg decoded 90 frames each in 720p MJPEG,
> > 640x480 YUYV and 2592x1944 MJPEG, plus 300 frames after a 720p
> > restart. The infrared stream still disconnected during the delay
> > experiment, before the first video URB was submitted.
> >
> > OpenAI Codex (GPT-6.2 Sol) helped design and analyze the USB timing
> > experiment and write the driver change.
> >
> > Signed-off-by: Parmjot Singh <parmjotsinghrobot@gmail.com>
> >
> > ---
> > drivers/media/usb/uvc/uvc_driver.c | 14 ++++++++++++++
> > drivers/media/usb/uvc/uvc_video.c | 4 ++++
> > drivers/media/usb/uvc/uvcvideo.h | 1 +
> > 3 files changed, 19 insertions(+)
> >
> > diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
> > index 99c28991b..cfc626a15 100644
> > --- a/drivers/media/usb/uvc/uvc_driver.c
> > +++ b/drivers/media/usb/uvc/uvc_driver.c
> > @@ -2754,6 +2754,20 @@ static const struct usb_device_id uvc_ids[] = {
> > .bInterfaceSubClass = 1,
> > .bInterfaceProtocol = 0,
> > .driver_info = UVC_INFO_QUIRK(UVC_QUIRK_RESTRICT_FRAME_RATE) },
> > + /* HP True Vision 5MP Camera (color) */
> > + { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
> > + | USB_DEVICE_ID_MATCH_INT_INFO
> > + | USB_DEVICE_ID_MATCH_INT_NUMBER,
>
> Why dont you add this to the previous quirk instead of adding a new fied?
>
> We usually do not need to match int number.
>
> > + .idVendor = 0x04f2,
> > + .idProduct = 0xb767,
> > + .bInterfaceClass = USB_CLASS_VIDEO,
> > + .bInterfaceSubClass = 1,
> > + .bInterfaceProtocol = UVC_PC_PROTOCOL_15,
> > + .bInterfaceNumber = 0,
> > + .driver_info = (kernel_ulong_t)&(const struct uvc_device_info){
> > + .quirks = UVC_QUIRK_PROBE_DEF,
> > + .isoc_start_delay_ms = 350,
> > + } },
> > /* HP True Vision 5MP Camera */
> > { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
> > | USB_DEVICE_ID_MATCH_INT_INFO,
> > diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c
> > index a92a986ab..e20330998 100644
> > --- a/drivers/media/usb/uvc/uvc_video.c
> > +++ b/drivers/media/usb/uvc/uvc_video.c
> > @@ -6,6 +6,7 @@
> > * Laurent Pinchart (laurent.pinchart@ideasonboard.com)
> > */
> >
> > +#include <linux/delay.h>
> > #include <linux/dma-mapping.h>
> > #include <linux/highmem.h>
> > #include <linux/kernel.h>
> > @@ -2103,6 +2104,9 @@ static int uvc_video_start_transfer(struct uvc_streaming *stream,
> > if (ret < 0)
> > return ret;
> >
> > + if (stream->dev->info->isoc_start_delay_ms)
> > + msleep(stream->dev->info->isoc_start_delay_ms);
> > +
> > ret = uvc_init_video_isoc(stream, best_ep, gfp_flags);
> > } else {
> > /* Bulk endpoint, proceed to URB initialization. */
> > diff --git a/drivers/media/usb/uvc/uvcvideo.h b/drivers/media/usb/uvc/uvcvideo.h
> > index af8cef94f..eb949c6d8 100644
> > --- a/drivers/media/usb/uvc/uvcvideo.h
> > +++ b/drivers/media/usb/uvc/uvcvideo.h
> > @@ -545,6 +545,7 @@ struct uvc_device_info {
> > u32 quirks;
> > u32 meta_format;
> > u16 uvc_version;
> > + u16 isoc_start_delay_ms;
Adding a new type of quirk requires a root cause analysis.
> > };
> >
> > struct uvc_rect {
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] media: uvcvideo: delay HP True Vision 5MP isochronous start
2026-11-23 10:39 ` Laurent Pinchart
@ 2026-11-28 19:55 ` Parmjot Singh
0 siblings, 0 replies; 6+ messages in thread
From: Parmjot Singh @ 2026-11-28 19:55 UTC (permalink / raw)
To: Laurent Pinchart
Cc: Ricardo Ribalda, linux-media, hansg, mchehab, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 5462 bytes --]
Hi Ricardo and Laurent,
Sorry for the late reply, I've been at work.
The camera is the built-in camera on an HP ENVY x360 15-ew0xxx. It
runs at USB high speed (480 Mb/s). I've attached the full lsusb -v
output as descriptor.txt, as requested.
I matched interface 0 to limit the delay to the color function. The
delay helped color in the earlier test, while IR still disconnected
before its first isochronous URB. On stock Arch 7.3.5 with driver
defaults, color capture passed in all three tested modes after a fresh
USB enumeration. A separate reprobe also returned valid
`GET_DEF(PROBE)` indices for both functions.
Could you please hold both patches for now? I haven't established the
cause of the earlier disconnect, and I'll follow up if either issue
recurs.
Thanks,
Parmjot
On Mon, 23 Nov 2026 at 23:39, Laurent Pinchart
<laurent.pinchart@ideasonboard.com> wrote:
>
> On Mon, Nov 23, 2026 at 11:30:28AM +0100, Ricardo Ribalda wrote:
> > Hi Parmjot
> >
> > Could you provide the whole USB descriptor of the device
> > lsusb -v -d 04f2:b767
> >
> > Is it a internal camera (it looks so based on the name) if it is not,
> > could you try connecting it to USB2 hub?
> >
> > On Sun, 22 Nov 2026 at 07:05, Parmjot Singh <parmjotsinghrobot@gmail.com> wrote:
> > >
> > > The HP True Vision 5MP Camera (04f2:b767, revision 0.05) accepts
> > > COMMIT and SET_INTERFACE, then may disconnect shortly after starting
> > > isochronous transfers. A 350 ms pause between SET_INTERFACE and the
> > > first video URB allowed color streaming in MJPEG and YUYV modes.
> > >
> > > Add a per-device isochronous startup delay and apply it to the color
> > > interface.
> > >
> > > On Arch Linux 7.2.14, FFmpeg decoded 90 frames each in 720p MJPEG,
> > > 640x480 YUYV and 2592x1944 MJPEG, plus 300 frames after a 720p
> > > restart. The infrared stream still disconnected during the delay
> > > experiment, before the first video URB was submitted.
> > >
> > > OpenAI Codex (GPT-6.2 Sol) helped design and analyze the USB timing
> > > experiment and write the driver change.
> > >
> > > Signed-off-by: Parmjot Singh <parmjotsinghrobot@gmail.com>
> > >
> > > ---
> > > drivers/media/usb/uvc/uvc_driver.c | 14 ++++++++++++++
> > > drivers/media/usb/uvc/uvc_video.c | 4 ++++
> > > drivers/media/usb/uvc/uvcvideo.h | 1 +
> > > 3 files changed, 19 insertions(+)
> > >
> > > diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
> > > index 99c28991b..cfc626a15 100644
> > > --- a/drivers/media/usb/uvc/uvc_driver.c
> > > +++ b/drivers/media/usb/uvc/uvc_driver.c
> > > @@ -2754,6 +2754,20 @@ static const struct usb_device_id uvc_ids[] = {
> > > .bInterfaceSubClass = 1,
> > > .bInterfaceProtocol = 0,
> > > .driver_info = UVC_INFO_QUIRK(UVC_QUIRK_RESTRICT_FRAME_RATE) },
> > > + /* HP True Vision 5MP Camera (color) */
> > > + { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
> > > + | USB_DEVICE_ID_MATCH_INT_INFO
> > > + | USB_DEVICE_ID_MATCH_INT_NUMBER,
> >
> > Why dont you add this to the previous quirk instead of adding a new fied?
> >
> > We usually do not need to match int number.
> >
> > > + .idVendor = 0x04f2,
> > > + .idProduct = 0xb767,
> > > + .bInterfaceClass = USB_CLASS_VIDEO,
> > > + .bInterfaceSubClass = 1,
> > > + .bInterfaceProtocol = UVC_PC_PROTOCOL_15,
> > > + .bInterfaceNumber = 0,
> > > + .driver_info = (kernel_ulong_t)&(const struct uvc_device_info){
> > > + .quirks = UVC_QUIRK_PROBE_DEF,
> > > + .isoc_start_delay_ms = 350,
> > > + } },
> > > /* HP True Vision 5MP Camera */
> > > { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
> > > | USB_DEVICE_ID_MATCH_INT_INFO,
> > > diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c
> > > index a92a986ab..e20330998 100644
> > > --- a/drivers/media/usb/uvc/uvc_video.c
> > > +++ b/drivers/media/usb/uvc/uvc_video.c
> > > @@ -6,6 +6,7 @@
> > > * Laurent Pinchart (laurent.pinchart@ideasonboard.com)
> > > */
> > >
> > > +#include <linux/delay.h>
> > > #include <linux/dma-mapping.h>
> > > #include <linux/highmem.h>
> > > #include <linux/kernel.h>
> > > @@ -2103,6 +2104,9 @@ static int uvc_video_start_transfer(struct uvc_streaming *stream,
> > > if (ret < 0)
> > > return ret;
> > >
> > > + if (stream->dev->info->isoc_start_delay_ms)
> > > + msleep(stream->dev->info->isoc_start_delay_ms);
> > > +
> > > ret = uvc_init_video_isoc(stream, best_ep, gfp_flags);
> > > } else {
> > > /* Bulk endpoint, proceed to URB initialization. */
> > > diff --git a/drivers/media/usb/uvc/uvcvideo.h b/drivers/media/usb/uvc/uvcvideo.h
> > > index af8cef94f..eb949c6d8 100644
> > > --- a/drivers/media/usb/uvc/uvcvideo.h
> > > +++ b/drivers/media/usb/uvc/uvcvideo.h
> > > @@ -545,6 +545,7 @@ struct uvc_device_info {
> > > u32 quirks;
> > > u32 meta_format;
> > > u16 uvc_version;
> > > + u16 isoc_start_delay_ms;
>
> Adding a new type of quirk requires a root cause analysis.
>
> > > };
> > >
> > > struct uvc_rect {
>
> --
> Regards,
>
> Laurent Pinchart
[-- Attachment #2: descriptor.txt --]
[-- Type: text/plain, Size: 33722 bytes --]
Bus 003 Device 005: ID 04f2:b767 Chicony Electronics Co., Ltd HP True Vision 5MP Camera
Negotiated speed: High Speed (480Mbps)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.01
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 [unknown]
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x04f2 Chicony Electronics Co., Ltd
idProduct 0xb767 HP True Vision 5MP Camera
bcdDevice 0.05
iManufacturer 1 SunplusIT Inc
iProduct 2 HP True Vision 5MP Camera
iSerial 3 01.00.00
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x03dd
bNumInterfaces 5
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 4 HP True Vision 5MP Camera
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 1
iInterface 4 HP True Vision 5MP Camera
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.50
wTotalLength 0x006f
dwClockFrequency 48.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 0x0024000e
Auto-Exposure Mode
Auto-Exposure Priority
Exposure Time (Absolute)
Privacy
Region of Interest
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
bUnitID 2
bSourceID 1
wMaxMultiplier 16384
bControlSize 3
bmControls 0x0000177f
Brightness
Contrast
Hue
Saturation
Sharpness
Gamma
White Balance Temperature
Backlight Compensation
Gain
Power Line Frequency
White Balance Temperature, Auto
iProcessing 0
bmVideoStandards 0x00
VideoControl Interface Descriptor:
bLength 29
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 3
guidExtensionCode {0fb885c3-68c2-4547-90f7-8f47579d95fc}
bNumControls 5
bNrInPins 1
baSourceID( 0) 2
bControlSize 4
bmControls( 0) 0x1f
bmControls( 1) 0x00
bmControls( 2) 0x00
bmControls( 3) 0x00
iExtension 0
VideoControl Interface Descriptor:
bLength 29
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 4
guidExtensionCode {63610682-5070-49ab-b8cc-b3855e8d221d}
bNumControls 25
bNrInPins 1
baSourceID( 0) 3
bControlSize 4
bmControls( 0) 0xff
bmControls( 1) 0xff
bmControls( 2) 0x77
bmControls( 3) 0x07
iExtension 0
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 5
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 4
iTerminal 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 8
VideoControl Endpoint Descriptor:
bLength 5
bDescriptorType 37
bDescriptorSubtype 3 (EP_INTERRUPT)
wMaxTransferSize 1029
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 1
iInterface 0
VideoStreaming Interface Descriptor:
bLength 15
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormats 2
wTotalLength 0x018b
bEndpointAddress 0x81 EP 1 IN
bmInfo 0
bTerminalLink 5
bStillCaptureMethod 1
bTriggerSupport 0
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 4
bmaControls( 1) 0
VideoStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 6 (FORMAT_MJPEG)
bFormatIndex 1
bNumFrameDescriptors 9
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 30
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 1
bmCapabilities 0x01
Still image supported
wWidth 2592
wHeight 1944
dwMinBitRate 2418647040
dwMaxBitRate 2418647040
dwMaxVideoFrameBufferSize 10077696
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwFrameInterval( 0) 333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 2
bmCapabilities 0x01
Still image supported
wWidth 1280
wHeight 720
dwMinBitRate 442368000
dwMaxBitRate 442368000
dwMaxVideoFrameBufferSize 1843200
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwFrameInterval( 0) 333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 3
bmCapabilities 0x01
Still image supported
wWidth 640
wHeight 480
dwMinBitRate 147456000
dwMaxBitRate 147456000
dwMaxVideoFrameBufferSize 614400
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwFrameInterval( 0) 333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 4
bmCapabilities 0x01
Still image supported
wWidth 640
wHeight 360
dwMinBitRate 110592000
dwMaxBitRate 110592000
dwMaxVideoFrameBufferSize 460800
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwFrameInterval( 0) 333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 5
bmCapabilities 0x01
Still image supported
wWidth 1280
wHeight 960
dwMinBitRate 589824000
dwMaxBitRate 589824000
dwMaxVideoFrameBufferSize 2457600
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwFrameInterval( 0) 333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 6
bmCapabilities 0x01
Still image supported
wWidth 1920
wHeight 1080
dwMinBitRate 995328000
dwMaxBitRate 995328000
dwMaxVideoFrameBufferSize 4147200
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwFrameInterval( 0) 333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 7
bmCapabilities 0x01
Still image supported
wWidth 640
wHeight 640
dwMinBitRate 196608000
dwMaxBitRate 196608000
dwMaxVideoFrameBufferSize 819200
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwFrameInterval( 0) 333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 8
bmCapabilities 0x01
Still image supported
wWidth 2560
wHeight 1440
dwMinBitRate 1769472000
dwMaxBitRate 1769472000
dwMaxVideoFrameBufferSize 7372800
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwFrameInterval( 0) 333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 9
bmCapabilities 0x01
Still image supported
wWidth 2592
wHeight 1728
dwMinBitRate 2149908480
dwMaxBitRate 2149908480
dwMaxVideoFrameBufferSize 8957952
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwFrameInterval( 0) 333333
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 2
bNumFrameDescriptors 2
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 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 1
bmCapabilities 0x01
Still image supported
wWidth 640
wHeight 480
dwMinBitRate 147456000
dwMaxBitRate 147456000
dwMaxVideoFrameBufferSize 614400
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwFrameInterval( 0) 333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 2
bmCapabilities 0x01
Still image supported
wWidth 640
wHeight 360
dwMinBitRate 110592000
dwMaxBitRate 110592000
dwMaxVideoFrameBufferSize 460800
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwFrameInterval( 0) 333333
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 1
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 0x00c0 1x 192 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 1
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
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 1
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 0x0200 1x 512 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 1
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
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 1
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 0x0320 1x 800 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 6
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 1
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
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 7
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 1
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 0x0a80 2x 640 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 8
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 1
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 0x0b20 2x 800 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 9
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 1
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 0x0be0 2x 992 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 10
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 1
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 0x13c0 3x 960 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 11
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 1
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 0x13fc 3x 1020 bytes
bInterval 1
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 2
bInterfaceCount 2
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 11 HP IR Camera
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 1
iInterface 11 HP IR Camera
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.50
wTotalLength 0x006f
dwClockFrequency 48.000000MHz
bInCollection 1
baInterfaceNr( 0) 3
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 0x00240000
Privacy
Region of Interest
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
bUnitID 2
bSourceID 1
wMaxMultiplier 16384
bControlSize 3
bmControls 0x00000000
iProcessing 0
bmVideoStandards 0x00
VideoControl Interface Descriptor:
bLength 29
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 7
guidExtensionCode {0f3f95dc-2632-4c4e-92c9-a04782f43bc8}
bNumControls 4
bNrInPins 1
baSourceID( 0) 2
bControlSize 4
bmControls( 0) 0xe0
bmControls( 1) 0x01
bmControls( 2) 0x00
bmControls( 3) 0x00
iExtension 0
VideoControl Interface Descriptor:
bLength 29
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 4
guidExtensionCode {63610682-5070-49ab-b8cc-b3855e8d221d}
bNumControls 25
bNrInPins 1
baSourceID( 0) 7
bControlSize 4
bmControls( 0) 0xff
bmControls( 1) 0xff
bmControls( 2) 0x77
bmControls( 3) 0x07
iExtension 0
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 5
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 4
iTerminal 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 8
VideoControl Endpoint Descriptor:
bLength 5
bDescriptorType 37
bDescriptorSubtype 3 (EP_INTERRUPT)
wMaxTransferSize 1029
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 1
iInterface 0
VideoStreaming Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormats 1
wTotalLength 0x004d
bEndpointAddress 0x82 EP 2 IN
bmInfo 0
bTerminalLink 5
bStillCaptureMethod 1
bTriggerSupport 0
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 0
VideoStreaming Interface Descriptor:
bLength 27
bDescriptorType 36
bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
bFormatIndex 1
bNumFrameDescriptors 1
guidFormat {00000032-0002-0010-8000-00aa00389b71}
bBitsPerPixel 8
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 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 1
bmCapabilities 0x01
Still image supported
wWidth 640
wHeight 480
dwMinBitRate 73728000
dwMaxBitRate 73728000
dwMaxVideoFrameBufferSize 614400
dwDefaultFrameInterval 333333
bFrameIntervalType 1
dwFrameInterval( 0) 333333
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 3
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 1
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0a80 2x 640 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 254 Application Specific Interface
bInterfaceSubClass 1 Device Firmware Update
bInterfaceProtocol 1
iInterface 12 APP Mode
Device Firmware Upgrade Interface Descriptor:
bLength 9
bDescriptorType 33
bmAttributes 15
Will Detach
Manifestation Tolerant
Upload Supported
Download Supported
wDetachTimeout 2000 milliseconds
wTransferSize 4096 bytes
bcdDFUVersion 1.10
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x0029
bNumDeviceCaps 2
Platform Device Capability:
bLength 28
bDescriptorType 16
bDevCapabilityType 5
bReserved 0
PlatformCapabilityUUID {d8dd60df-4589-4cc7-9cd2-659d9e648a9f}
CapabilityData[0] 0x00
CapabilityData[1] 0x00
CapabilityData[2] 0x03
CapabilityData[3] 0x06
CapabilityData[4] 0xe0
CapabilityData[5] 0x04
CapabilityData[6] 0x01
CapabilityData[7] 0x00
FWStatus Capability:
bLength 8
bDescriptorType 16
bDevCapabilityType 17
bcdDescriptorVersion 1
bmAttributes 0x00000003
Get FW Image Hash support: Yes
Disallow FW Update support: Yes
Device Status: 0x0000
(Bus Powered)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-11-28 19:55 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-22 6:03 [PATCH 0/2] media: uvcvideo: fix HP True Vision 5MP color streaming Parmjot Singh
2026-11-22 6:03 ` [PATCH 1/2] media: uvcvideo: skip GET_DEF(PROBE) for HP True Vision 5MP Parmjot Singh
2026-11-22 6:03 ` [PATCH 2/2] media: uvcvideo: delay HP True Vision 5MP isochronous start Parmjot Singh
2026-11-23 10:30 ` Ricardo Ribalda
2026-11-23 10:39 ` Laurent Pinchart
2026-11-28 19:55 ` Parmjot Singh
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.