This commit is contained in:
Takshak Mudgal 2024-10-31 21:37:19 +08:00 committed by GitHub
commit d4ec5de5df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2430,6 +2430,24 @@ static const struct uvc_device_info uvc_quirk_force_y8 = {
* though they are compliant.
*/
static const struct usb_device_id uvc_ids[] = {
/**
* Fix for the problem with cameras on Acer Nitro 5 Series & Acer Aspire 3 Series.
*
* Fix required for the camera here
* Thanks for @Giuliano69 for providing the fix
*/
/* Quanta ACER HD User Facing 4033 - Experimental !! */
{ .match_flags = USB_DEVICE_ID_MATCH_DEVICE
| USB_DEVICE_ID_MATCH_INT_INFO,
.idVendor = 0x0408,
.idProduct = 0x4033,
.bInterfaceClass = USB_CLASS_VIDEO,
.bInterfaceSubClass = 1,
.bInterfaceProtocol = UVC_PC_PROTOCOL_15,
.driver_info = (kernel_ulong_t)&(const struct uvc_device_info){
.uvc_version = 0x010a,
} },
/* Fix end here */
/* Quanta ACER HD User Facing */
{ .match_flags = USB_DEVICE_ID_MATCH_DEVICE
| USB_DEVICE_ID_MATCH_INT_INFO,