[2.6.33.4 PATCH] V4L/uvcvideo: Add support for Suyin Corp. LenovoWebcam

From: Nils Radtke
Date: Wed Jun 23 2010 - 05:23:27 EST


From: Nils Radtke <lkml@xxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxx>

---

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/