[PATCH 0/2] media: uvcvideo: fix HP True Vision 5MP color streaming
From: Parmjot Singh
Date: Sun Nov 22 2026 - 01:04:43 EST
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