[media] it913x: add support for Avermedia A835B
authorEddi De Pieri <eddi@depieri.net>
Sat, 22 Dec 2012 12:41:49 +0000 (09:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Dec 2012 21:13:30 +0000 (19:13 -0200)
Add support for Avermedia A835B and variants.

Signed-off-by: Eddi De Pieri <eddi@depieri.net>
Cc: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-core/dvb-usb-ids.h
drivers/media/usb/dvb-usb-v2/it913x.c

index c6720f2991ac438352f63476de41d7701b147c96..7e1597dad56851f456dc0b50a1fb99ff2ee7f79a 100644 (file)
 #define USB_PID_AVERMEDIA_A815M                                0x815a
 #define USB_PID_AVERMEDIA_A835                         0xa835
 #define USB_PID_AVERMEDIA_B835                         0xb835
+#define USB_PID_AVERMEDIA_A835B_1835                   0x1835
+#define USB_PID_AVERMEDIA_A835B_2835                   0x2835
+#define USB_PID_AVERMEDIA_A835B_3835                   0x3835
+#define USB_PID_AVERMEDIA_A835B_4835                   0x4835
 #define USB_PID_AVERMEDIA_1867                         0x1867
 #define USB_PID_AVERMEDIA_A867                         0xa867
 #define USB_PID_AVERMEDIA_TWINSTAR                     0x0825
index fbc0a84465eb9f80f839c188b32020372b14e18d..744c9f9f76803d9eaed643aa5e6e7857f45e7b93 100644 (file)
@@ -780,6 +780,18 @@ static const struct usb_device_id it913x_id_table[] = {
        { DVB_USB_DEVICE(USB_VID_ITETECH, USB_PID_ITETECH_IT9135_9006,
                &it913x_properties, "ITE 9135(9006) Generic",
                        RC_MAP_IT913X_V1) },
+       { DVB_USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A835B_1835,
+               &it913x_properties, "Avermedia A835B(1835)",
+                       RC_MAP_IT913X_V2) },
+       { DVB_USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A835B_2835,
+               &it913x_properties, "Avermedia A835B(2835)",
+                       RC_MAP_IT913X_V2) },
+       { DVB_USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A835B_3835,
+               &it913x_properties, "Avermedia A835B(3835)",
+                       RC_MAP_IT913X_V2) },
+       { DVB_USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A835B_4835,
+               &it913x_properties, "Avermedia A835B(4835)",
+                       RC_MAP_IT913X_V2) },
        {}              /* Terminating entry */
 };