media: uvcvideo: Fix InterfaceProtocol for Quanta camera
Subsystems (2)
PATCH 1/1 media: uvcvideo: Fix InterfaceProtocol for Quanta camera
The device is using a different InterfaceProtocol than the one set in the original quirk.
---
This was fixed on the last version of the patchset. Unfortunately I did checked that it was the version merged :(.
It is too late to land it in this version?
drivers/media/usb/uvc/uvc_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/usb/uvc/uvc_driver.c +1 -1
@@ -2740,7 +2740,7 @@ static const struct usb_device_id uvc_ids[] = { .idProduct = 0x4034, .bInterfaceClass = USB_CLASS_VIDEO, .bInterfaceSubClass = 1, - .bInterfaceProtocol = 0, + .bInterfaceProtocol = 1, .driver_info = (kernel_ulong_t)&uvc_ctrl_power_line_limited },/* LogiLink Wireless Webcam */ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
Signature · 1 line
2.37.1.559.g78731f0fdb-goog
Hi
Friendly ping on text-mode with the correct account ;)
Regards!
Quoted 33 lines · Ricardo Ribalda
The device is using a different InterfaceProtocol than the one set in the original quirk.
Fixes 95f03d973478 ("media: uvcvideo: Limit power line control for Quanta cameras")Signed-off-by Ricardo Ribalda <[email protected]>---
This was fixed on the last version of the patchset. Unfortunately I did checked that it was the version merged :(.
It is too late to land it in this version?
drivers/media/usb/uvc/uvc_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/media/usb/uvc/uvc_driver.c +1
-2@@ -2740,7 +2740,7 @@ static const struct usb_device_id uvc_ids[] = { .idProduct = 0x4034, .bInterfaceClass = USB_CLASS_VIDEO, .bInterfaceSubClass = 1, - .bInterfaceProtocol = 0, + .bInterfaceProtocol = 1, .driver_info = (kernel_ulong_t)&uvc_ctrl_power_line_limited },/* LogiLink Wireless Webcam */ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE --2.37.1.559.g78731f0fdb-goog
Signature · 1 line
Ricardo Ribalda
Hi Ricardo,
Thank you for the patch.
Quoted 9 lines · Ricardo Ribalda
The device is using a different InterfaceProtocol than the one set in the original quirk.
Fixes 95f03d973478 ("media: uvcvideo: Limit power line control for Quanta cameras")Signed-off-by Ricardo Ribalda <[email protected]>---
This was fixed on the last version of the patchset. Unfortunately I did checked that it was the version merged :(.
Oops :-(
Quoted 1 line
It is too late to land it in this version?
I think it can be considered as a v6.0 fix, yes.
drivers/media/usb/uvc/uvc_driver.c static const struct usb_device_id uvc_ids[] = { · line 2743
Quoted 13 lines
drivers/media/usb/uvc/uvc_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/media/usb/uvc/uvc_driver.c +1
-1@@ -2740,7 +2740,7 @@ static const struct usb_device_id uvc_ids[] = { .idProduct = 0x4034, .bInterfaceClass = USB_CLASS_VIDEO, .bInterfaceSubClass = 1, - .bInterfaceProtocol = 0, + .bInterfaceProtocol = 1,
Should we use UVC_PC_PROTOCOL_15 here ?
Quoted 3 lines
drivers/media/usb/uvc/uvc_driver.c +0
-0.driver_info = (kernel_ulong_t)&uvc_ctrl_power_line_limited },/* LogiLink Wireless Webcam */ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
Signature · 3 lines
Regards, Laurent Pinchart
Laurent Pinchart
maintainerQuoted 7 lines · Laurent Pinchart
Hi Ricardo,
Thank you for the patch.
Quoted 2 lines · Ricardo Ribalda
The device is using a different InterfaceProtocol than the one set in the original quirk.
Also, I would mention that the device implements UVC 1.5:
The Quanta 0408:4034 camera implements UVC 1.5, and thus sets bInterfaceProtocol to UVC_PC_PROTOCOL_15. Commit 95f03d973478 ("media:
uvcvideo: Limit power line control for Quanta cameras") added a quirk for the device that incorrectly specified the UVC 1.0 protocol, rendering the quirk inoperative. Fix it.
As this is a v6.0 fix, would you mind submitting a v2 with these changes ? Mauro could then pick it up directly.
Quoted 34 lines
Quoted 6 lines
Fixes 95f03d973478 ("media: uvcvideo: Limit power line control for Quanta cameras")Signed-off-by Ricardo Ribalda <[email protected]>---
This was fixed on the last version of the patchset. Unfortunately I did checked that it was the version merged :(.
Oops :-(
Quoted 1 line
It is too late to land it in this version?
I think it can be considered as a v6.0 fix, yes.
drivers/media/usb/uvc/uvc_driver.c static const struct usb_device_id uvc_ids[] = { · line 2743
Quoted 13 lines
drivers/media/usb/uvc/uvc_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/media/usb/uvc/uvc_driver.c +1
-1@@ -2740,7 +2740,7 @@ static const struct usb_device_id uvc_ids[] = { .idProduct = 0x4034, .bInterfaceClass = USB_CLASS_VIDEO, .bInterfaceSubClass = 1, - .bInterfaceProtocol = 0, + .bInterfaceProtocol = 1,Should we use
UVC_PC_PROTOCOL_15here ?Reviewed-by Laurent Pinchart <[email protected]>Quoted 3 lines
drivers/media/usb/uvc/uvc_driver.c +0
-0.driver_info = (kernel_ulong_t)&uvc_ctrl_power_line_limited },/* LogiLink Wireless Webcam */ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
Signature · 3 lines
Regards, Laurent Pinchart
Quoted 3 lines · Laurent Pinchart
As this is a v6.0 fix, would you mind submitting a v2 with these changes ? Mauro could then pick it up directly.
Done. https://lore.kernel.org/linux-media/[email protected]/T/#u
Thanks :)
Signature · 1 line
Ricardo Ribalda