[PATCH 1/1] media: uvcvideo: Add quirk to support light switch on Dino-Lite cameras

2017-11-30 Thread Alexandre Macabies
lights from uvcvideo, as the length from GET_LEN is trusted as being the right one. This is to make GET_LEN indicate a length of 3 instead of 1 for this specific device. Signed-off-by: Alexandre Macabies --- drivers/media/usb/uvc/uvc_driver.c | 9 + drivers/media/usb/uvc/uvc_video.c | 10

[PATCH 0/1] Add quirk to support light switch on some cameras

2017-11-30 Thread Alexandre Macabies
issue. It uses a table of local fixups instead of a module quirk. If you prefer this approach, please tell me, so I can rework it a bit and submit it in place of this one. [1] https://patchwork.kernel.org/patch/9764937/ Alexandre Macabies (1): media: uvcvideo: Add quirk to support light switch

Re: [PATCH] uvcvideo: Hardcoded CTRL_QUERY GET_LEN for a lying device

2017-06-14 Thread Alexandre Macabies
On 06/04/2017 03:41 PM, Alexandre Macabies wrote: > Hello, I forgot to Cc: the full list of maintainers for this patch. This follow-up includes them. Sorry for the noise! My original email & patch is quoted below. Best, Alexandre > This thread comes after two others[1][2] about a sim

[PATCH] uvcvideo: Hardcoded CTRL_QUERY GET_LEN for a lying device

2017-06-04 Thread Alexandre Macabies
ttp://elixir.free-electrons.com/linux/v4.11/source/drivers/media/usb/uvc/uvc_ctrl.c#L1593 Signed-off-by: Alexandre Macabies --- drivers/media/usb/uvc/uvc_video.c | 37 + 1 file changed, 37 insertions(+) diff --git a/drivers/media/usb/uvc/uvc_video.c b/dr