diff mbox series

usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable

Message ID 20210210102821.31779-1-stefan.ursella@wolfvision.net
State New
Headers show
Series usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable | expand

Commit Message

Stefan Ursella Feb. 10, 2021, 10:28 a.m. UTC
Without this quirk starting a video capture from the device often fails with

kernel: uvcvideo: Failed to set UVC probe control : -110 (exp. 34).
Signed-off-by: Stefan Ursella <stefan.ursella@wolfvision.net>
---
 drivers/usb/core/quirks.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Johan Hovold Feb. 10, 2021, 11:04 a.m. UTC | #1
On Wed, Feb 10, 2021 at 11:28:20AM +0100, Stefan Ursella wrote:
> Without this quirk starting a video capture from the device often fails with
> 
> kernel: uvcvideo: Failed to set UVC probe control : -110 (exp. 34).
> Signed-off-by: Stefan Ursella <stefan.ursella@wolfvision.net>
> ---
>  drivers/usb/core/quirks.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
> index f232914de5fd..f888deaf7bab 100644
> --- a/drivers/usb/core/quirks.c
> +++ b/drivers/usb/core/quirks.c
> @@ -480,6 +480,9 @@ static const struct usb_device_id usb_quirk_list[] = {
>  	/* novation SoundControl XL */
>  	{ USB_DEVICE(0x1235, 0x0061), .driver_info = USB_QUIRK_RESET_RESUME },
>  
> +	/* ELMO L-12F document camera */
> +	{ USB_DEVICE(0x09a1, 0x0028), .driver_info = USB_QUIRK_DELAY_CTRL_MSG },
> +

Please keep the entries sorted by VID/PID (all but the recently added
last one are).

>  	{ }  /* terminating entry must be last */
>  };

Johan
diff mbox series

Patch

diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index f232914de5fd..f888deaf7bab 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -480,6 +480,9 @@  static const struct usb_device_id usb_quirk_list[] = {
 	/* novation SoundControl XL */
 	{ USB_DEVICE(0x1235, 0x0061), .driver_info = USB_QUIRK_RESET_RESUME },
 
+	/* ELMO L-12F document camera */
+	{ USB_DEVICE(0x09a1, 0x0028), .driver_info = USB_QUIRK_DELAY_CTRL_MSG },
+
 	{ }  /* terminating entry must be last */
 };