All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nils Radtke <lkml@Think-Future.de>
To: laurent.pinchart@skynet.be
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-usb@vger.kernel.org, Greg Kroah-Hartman <gregkh@suse.de>,
	stable@kernel.org
Subject: [2.6.33.4 PATCH] V4L/uvcvideo: Add support for Suyin Corp. Lenovo Webcam
Date: Wed, 23 Jun 2010 11:23:16 +0200	[thread overview]
Message-ID: <20100623092316.GA13364@localhost> (raw)

From: Nils Radtke <lkml@Think-Future.de>

This patch adds support for the Suyin Corp. Lenovo Webcam.
lsusb: ID 064e:a102 Suyin Corp. Lenovo Webcam

It is available as built-in webcam i.e. in ACER timeline 1810t 
notebooks.

The note in uvc_driver.c about Logitech cameras applies the same 
to the Suyin web cam: it doesn't announce itself as UVC devices 
but is compliant.

Signed-off-by: Nils Radtke <lkml@Think-Future.de>

---

  Thank you,

                    Nils

 uvc_driver.c |    8 ++++++++
  1 file changed, 8 insertions(+)


Index: linux/drivers/media/video/uvc/uvc_driver.c
===================================================================
--- linux.orig/drivers/media/video/uvc/uvc_driver.c	2010-06-23 10:37:03.000000000 +0200
+++ linux/drivers/media/video/uvc/uvc_driver.c	2010-06-23 10:37:07.000000000 +0200
@@ -2153,6 +2153,14 @@
 	  .bInterfaceProtocol	= 0,
 	  .driver_info		= UVC_QUIRK_PROBE_MINMAX
 				| UVC_QUIRK_IGNORE_SELECTOR_UNIT },
+	/* Suyin Corp. Lenovo Webcam */
+	{ .match_flags		= USB_DEVICE_ID_MATCH_DEVICE
+				| USB_DEVICE_ID_MATCH_INT_INFO,
+	  .idVendor		= 0x064e,
+	  .idProduct		= 0xa102,
+	  .bInterfaceClass	= USB_CLASS_VENDOR_SPEC,
+	  .bInterfaceSubClass	= 1,
+	  .bInterfaceProtocol	= 0 },
 	/* Generic USB Video Class */
 	{ USB_INTERFACE_INFO(USB_CLASS_VIDEO, 1, 0) },
 	{}


             reply	other threads:[~2010-06-23  9:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-23  9:23 Nils Radtke [this message]
2010-06-23 12:45 ` [2.6.33.4 PATCH] V4L/uvcvideo: Add support for Suyin Corp. Lenovo Webcam Laurent Pinchart
2010-06-24 18:19   ` Nils Radtke
2010-06-25  7:29     ` Laurent Pinchart
2010-06-26 10:36       ` Nils Radtke
2010-06-26 17:04         ` Greg KH

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=20100623092316.GA13364@localhost \
    --to=lkml@think-future.de \
    --cc=gregkh@suse.de \
    --cc=laurent.pinchart@skynet.be \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stable@kernel.org \
    /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 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.