public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6.33.4 PATCH] V4L/uvcvideo: Add support for Suyin Corp. Lenovo Webcam
@ 2010-06-23  9:23 Nils Radtke
  2010-06-23 12:45 ` Laurent Pinchart
  0 siblings, 1 reply; 6+ messages in thread
From: Nils Radtke @ 2010-06-23  9:23 UTC (permalink / raw)
  To: laurent.pinchart
  Cc: linux-media, linux-kernel, linux-usb, Greg Kroah-Hartman, stable

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) },
 	{}


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-06-26 17:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-23  9:23 [2.6.33.4 PATCH] V4L/uvcvideo: Add support for Suyin Corp. Lenovo Webcam Nils Radtke
2010-06-23 12:45 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox