Skip to content

Commit 3cc5228

Browse files
ribaldagregkh
authored andcommitted
media: uvcvideo: Force UVC version to 1.0a for 0408:4033
[ Upstream commit c9df993 ] The Quanta ACER HD User Facing camera reports a UVC 1.50 version, but implements UVC 1.0a as shown by the UVC probe control being 26 bytes long. Force the UVC version for that device. Reported-by: Giuliano Lotta <giuliano.lotta@gmail.com> Closes: https://lore.kernel.org/linux-media/fce4f906-d69b-417d-9f13-bf69fe5c81e3@koyu.space/ Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://lore.kernel.org/r/20240924-uvc-quanta-v1-1-2de023863767@chromium.org Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 0c20fad commit 3cc5228

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

drivers/media/usb/uvc/uvc_driver.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2479,6 +2479,17 @@ static const struct uvc_device_info uvc_quirk_force_y8 = {
24792479
*/
24802480
static const struct usb_device_id uvc_ids[] = {
24812481
/* Quanta ACER HD User Facing */
2482+
{ .match_flags = USB_DEVICE_ID_MATCH_DEVICE
2483+
| USB_DEVICE_ID_MATCH_INT_INFO,
2484+
.idVendor = 0x0408,
2485+
.idProduct = 0x4033,
2486+
.bInterfaceClass = USB_CLASS_VIDEO,
2487+
.bInterfaceSubClass = 1,
2488+
.bInterfaceProtocol = UVC_PC_PROTOCOL_15,
2489+
.driver_info = (kernel_ulong_t)&(const struct uvc_device_info){
2490+
.uvc_version = 0x010a,
2491+
} },
2492+
/* Quanta ACER HD User Facing */
24822493
{ .match_flags = USB_DEVICE_ID_MATCH_DEVICE
24832494
| USB_DEVICE_ID_MATCH_INT_INFO,
24842495
.idVendor = 0x0408,

0 commit comments

Comments
 (0)