[media] uvcvideo: Detect The Imaging Source CCD cameras by vendor and product ID
authorArne Caspari <arne@unicap-imaging.org>
Sat, 30 Jul 2011 11:29:11 +0000 (08:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 23 Sep 2011 23:06:30 +0000 (20:06 -0300)
The Imaging Source CCD cameras use a vendor specific interface class
even though they are actually UVC compliant.

Signed-off-by: Arne Caspari <arne@unicap-imaging.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_driver.c

index e4100b1f68df993eb622f0940c6feff2decd6d52..a3c24dd875fc8c72b32fadca0af445a8ba362170 100644 (file)
@@ -2331,6 +2331,14 @@ static struct usb_device_id uvc_ids[] = {
          .bInterfaceSubClass   = 1,
          .bInterfaceProtocol   = 0,
          .driver_info          = UVC_QUIRK_PROBE_DEF },
+       /* The Imaging Source USB CCD cameras */
+       { .match_flags          = USB_DEVICE_ID_MATCH_DEVICE
+                               | USB_DEVICE_ID_MATCH_INT_INFO,
+         .idVendor             = 0x199e,
+         .idProduct            = 0x8102,
+         .bInterfaceClass      = USB_CLASS_VENDOR_SPEC,
+         .bInterfaceSubClass   = 1,
+         .bInterfaceProtocol   = 0 },
        /* Bodelin ProScopeHR */
        { .match_flags          = USB_DEVICE_ID_MATCH_DEVICE
                                | USB_DEVICE_ID_MATCH_DEV_HI