V4L/DVB (8184): spca508: Add Clone Digital Webcam 11043
authorDouglas Schilling Landgraf <dougsland@gmail.com>
Fri, 4 Jul 2008 07:40:28 +0000 (04:40 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:16:10 +0000 (07:16 -0300)
Added ID vendor/product for Clone Digital Webcam 11043.
Thanks to Ivan Brasil Fuzzer <ivan@fuzzer.com.br> for testing and data collection.

Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Documentation/video4linux/gspca.txt
drivers/media/video/gspca/spca508.c

index 37996e59d516d92ae8f0d4b7451c564f1c2da330..6e68cdeb29d36f8b5e71e2a7f33813a4aa186996 100644 (file)
@@ -144,6 +144,7 @@ spca500             06be:0800       Optimedia
 sunplus                06d6:0031       Trust 610 LCD PowerC@m Zoom
 spca506                06e1:a190       ADS Instant VCD
 spca508                0733:0110       ViewQuest VQ110
+spca508                0130:0130       Clone Digital Webcam 11043
 spca501                0733:0401       Intel Create and Share
 spca501                0733:0402       ViewQuest M318B
 spca505                0733:0430       Intel PC Camera Pro
index 566adf41f59f6f823bc30835152bbcbab97a463a..2ccd877b998d144ec0562aa2270ad8d2bb79ff51 100644 (file)
@@ -1490,8 +1490,10 @@ static int sd_config(struct gspca_dev *gspca_dev,
 /*                     break; */
 /*             } */
                break;
+       case 0x0130:            /* Clone webcam */
        case 0x0af9:            /* Hama cameras */
                switch (product) {
+               case 0x0130:
                case 0x0010:
                        sd->subtype = HamaUSBSightcam;
                        break;
@@ -1737,6 +1739,8 @@ static __devinitdata struct usb_device_id device_table[] = {
        {USB_DEVICE(0x0af9, 0x0010), DVNM("Hama USB Sightcam 100")},
        {USB_DEVICE(0x0af9, 0x0011), DVNM("Hama USB Sightcam 100")},
        {USB_DEVICE(0x8086, 0x0110), DVNM("Intel Easy PC Camera")},
+       {USB_DEVICE(0x0130, 0x0130),
+               DVNM("Clone Digital Webcam 11043 (spca508a)")},
        {}
 };
 MODULE_DEVICE_TABLE(usb, device_table);