Skip to content

Commit ed01e57

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 <[email protected]> Closes: https://lore.kernel.org/linux-media/[email protected]/ Signed-off-by: Ricardo Ribalda <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 9471b8f commit ed01e57

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

drivers/media/usb/uvc/uvc_driver.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2520,6 +2520,17 @@ static const struct usb_device_id uvc_ids[] = {
25202520
.bInterfaceProtocol = UVC_PC_PROTOCOL_15,
25212521
.driver_info = (kernel_ulong_t)&uvc_ctrl_power_line_limited },
25222522
/* Quanta ACER HD User Facing */
2523+
{ .match_flags = USB_DEVICE_ID_MATCH_DEVICE
2524+
| USB_DEVICE_ID_MATCH_INT_INFO,
2525+
.idVendor = 0x0408,
2526+
.idProduct = 0x4033,
2527+
.bInterfaceClass = USB_CLASS_VIDEO,
2528+
.bInterfaceSubClass = 1,
2529+
.bInterfaceProtocol = UVC_PC_PROTOCOL_15,
2530+
.driver_info = (kernel_ulong_t)&(const struct uvc_device_info){
2531+
.uvc_version = 0x010a,
2532+
} },
2533+
/* Quanta ACER HD User Facing */
25232534
{ .match_flags = USB_DEVICE_ID_MATCH_DEVICE
25242535
| USB_DEVICE_ID_MATCH_INT_INFO,
25252536
.idVendor = 0x0408,

0 commit comments

Comments
 (0)