* [PATCH v1 0/1] media: uvcvideo: Limit PLC for Acer Easycam
@ 2022-11-01 5:28 Ricardo Ribalda
2022-11-01 5:28 ` [PATCH v1 1/1] media: uvcvideo: Limit power line control for Acer EasyCamera Ricardo Ribalda
0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Ribalda @ 2022-11-01 5:28 UTC (permalink / raw)
To: Mauro Carvalho Chehab, Laurent Pinchart
Cc: linux-media, linux-kernel, Ricardo Ribalda
Another Easycam with invalid PLC control.
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-media@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
Ricardo Ribalda (1):
media: uvcvideo: Limit power line control for Acer EasyCamera
drivers/media/usb/uvc/uvc_driver.c | 9 +++++++++
1 file changed, 9 insertions(+)
---
base-commit: 23758867219c8d84c8363316e6dd2f9fd7ae3049
change-id: 20221101-easycam-8f1ab598b12f
Best regards,
--
Ricardo Ribalda <ribalda@chromium.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v1 1/1] media: uvcvideo: Limit power line control for Acer EasyCamera
2022-11-01 5:28 [PATCH v1 0/1] media: uvcvideo: Limit PLC for Acer Easycam Ricardo Ribalda
@ 2022-11-01 5:28 ` Ricardo Ribalda
2022-11-02 5:44 ` Sergey Senozhatsky
0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Ribalda @ 2022-11-01 5:28 UTC (permalink / raw)
To: Mauro Carvalho Chehab, Laurent Pinchart
Cc: linux-media, linux-kernel, Ricardo Ribalda
The device does not implement the power line control correctly. Add a
corresponding control mapping override.
Bus 003 Device 002: ID 5986:1180 Acer, Inc EasyCamera
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x5986 Acer, Inc
idProduct 0x1180
bcdDevice 56.04
iManufacturer 3 Bison
iProduct 1 EasyCamera
iSerial 2
bNumConfigurations 1
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
index 215fb483efb0..cca3012c8912 100644
--- a/drivers/media/usb/uvc/uvc_driver.c
+++ b/drivers/media/usb/uvc/uvc_driver.c
@@ -2994,6 +2994,15 @@ static const struct usb_device_id uvc_ids[] = {
.bInterfaceSubClass = 1,
.bInterfaceProtocol = 0,
.driver_info = (kernel_ulong_t)&uvc_ctrl_power_line_limited },
+ /* Acer EasyCamera */
+ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
+ | USB_DEVICE_ID_MATCH_INT_INFO,
+ .idVendor = 0x5986,
+ .idProduct = 0x1180,
+ .bInterfaceClass = USB_CLASS_VIDEO,
+ .bInterfaceSubClass = 1,
+ .bInterfaceProtocol = 0,
+ .driver_info = (kernel_ulong_t)&uvc_ctrl_power_line_limited },
/* Intel RealSense D4M */
{ .match_flags = USB_DEVICE_ID_MATCH_DEVICE
| USB_DEVICE_ID_MATCH_INT_INFO,
--
b4 0.11.0-dev-d93f8
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] media: uvcvideo: Limit power line control for Acer EasyCamera
2022-11-01 5:28 ` [PATCH v1 1/1] media: uvcvideo: Limit power line control for Acer EasyCamera Ricardo Ribalda
@ 2022-11-02 5:44 ` Sergey Senozhatsky
0 siblings, 0 replies; 3+ messages in thread
From: Sergey Senozhatsky @ 2022-11-02 5:44 UTC (permalink / raw)
To: Ricardo Ribalda
Cc: Mauro Carvalho Chehab, Laurent Pinchart, linux-media,
linux-kernel
On (22/11/01 06:28), Ricardo Ribalda wrote:
> The device does not implement the power line control correctly. Add a
> corresponding control mapping override.
>
> Bus 003 Device 002: ID 5986:1180 Acer, Inc EasyCamera
> Device Descriptor:
> bLength 18
> bDescriptorType 1
> bcdUSB 2.00
> bDeviceClass 239 Miscellaneous Device
> bDeviceSubClass 2
> bDeviceProtocol 1 Interface Association
> bMaxPacketSize0 64
> idVendor 0x5986 Acer, Inc
> idProduct 0x1180
> bcdDevice 56.04
> iManufacturer 3 Bison
> iProduct 1 EasyCamera
> iSerial 2
> bNumConfigurations 1
>
> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-02 5:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-01 5:28 [PATCH v1 0/1] media: uvcvideo: Limit PLC for Acer Easycam Ricardo Ribalda
2022-11-01 5:28 ` [PATCH v1 1/1] media: uvcvideo: Limit power line control for Acer EasyCamera Ricardo Ribalda
2022-11-02 5:44 ` Sergey Senozhatsky
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.