linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Ursella <stefan.ursella@wolfvision.net>
To: unlisted-recipients:; (no To-header on input)
Cc: stefan.ursella@wolfvision.net,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Johan Hovold" <johan@kernel.org>,
	"Kai-Heng Feng" <kai.heng.feng@canonical.com>,
	"Alan Stern" <stern@rowland.harvard.edu>,
	"Kars Mulder" <kerneldev@karsmulder.nl>,
	"Tomasz Meresiński" <tomasz@meresinski.eu>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2] usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable
Date: Wed, 10 Feb 2021 12:51:43 +0100	[thread overview]
Message-ID: <20210210115144.17014-1-stefan.ursella@wolfvision.net> (raw)
In-Reply-To: <20210210102821.31779-1-stefan.ursella@wolfvision.net>

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 84b5da0a26a5..270ad082d3ba 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -381,6 +381,9 @@ static const struct usb_device_id usb_quirk_list[] = {
 	/* X-Rite/Gretag-Macbeth Eye-One Pro display colorimeter */
 	{ USB_DEVICE(0x0971, 0x2000), .driver_info = USB_QUIRK_NO_SET_INTF },
 
+	/* ELMO L-12F document camera */
+	{ USB_DEVICE(0x09a1, 0x0028), .driver_info = USB_QUIRK_DELAY_CTRL_MSG },
+
 	/* Broadcom BCM92035DGROM BT dongle */
 	{ USB_DEVICE(0x0a5c, 0x2021), .driver_info = USB_QUIRK_RESET_RESUME },
 
-- 
2.17.1


  parent reply	other threads:[~2021-02-10 12:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-10 10:28 [PATCH] usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable Stefan Ursella
2021-02-10 11:04 ` Johan Hovold
2021-02-10 11:23 ` Greg Kroah-Hartman
2021-02-10 11:51 ` Stefan Ursella [this message]
2021-02-10 12:11   ` [PATCH v2] " Greg Kroah-Hartman
2021-02-10 14:07 ` Stefan Ursella

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210210115144.17014-1-stefan.ursella@wolfvision.net \
    --to=stefan.ursella@wolfvision.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=johan@kernel.org \
    --cc=kai.heng.feng@canonical.com \
    --cc=kerneldev@karsmulder.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    --cc=tomasz@meresinski.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).