[media] rtl28xxu: support Delock USB 2.0 DVB-T
authorThomas Mair <thomas.mair86@googlemail.com>
Fri, 18 May 2012 17:47:43 +0000 (14:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 5 Jul 2012 15:58:50 +0000 (12:58 -0300)
Signed-off-by: Thomas Mair <thomas.mair86@googlemail.com>
Acked-by: Antti Palosaari <crope@iki.fi>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dvb-usb-ids.h
drivers/media/dvb/dvb-usb/rtl28xxu.c

index cd9254cc2721982fdb3ae2c7355279a9df654b28..360f6b7f3f71ba3bc9b7a72872e1cd18b9556830 100644 (file)
 #define USB_PID_CONCEPTRONIC_CTVDIGRCU                 0xe397
 #define USB_PID_CONEXANT_D680_DMB                      0x86d6
 #define USB_PID_CREATIX_CTX1921                                0x1921
+#define USB_PID_DELOCK_USB2_DVBT                       0xb803
 #define USB_PID_DIBCOM_HOOK_DEFAULT                    0x0064
 #define USB_PID_DIBCOM_HOOK_DEFAULT_REENUM             0x0065
 #define USB_PID_DIBCOM_MOD3000_COLD                    0x0bb8
index 2df6e53810dafb966a894a8c706dc30f5b8eca94..c1e1674aa8ba059563afd817de92219dc3a90cf5 100644 (file)
@@ -1155,6 +1155,7 @@ enum rtl28xxu_usb_table_entry {
        RTL2831U_14AA_0160,
        RTL2831U_14AA_0161,
        RTL2832U_0CCD_00A9,
+       RTL2832U_1F4D_B803,
 };
 
 static struct usb_device_id rtl28xxu_table[] = {
@@ -1169,6 +1170,8 @@ static struct usb_device_id rtl28xxu_table[] = {
        /* RTL2832U */
        [RTL2832U_0CCD_00A9] = {
                USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_T_STICK_BLACK_REV1)},
+       [RTL2832U_1F4D_B803] = {
+               USB_DEVICE(USB_VID_GTEK, USB_PID_DELOCK_USB2_DVBT)},
        {} /* terminating entry */
 };
 
@@ -1282,7 +1285,7 @@ static struct dvb_usb_device_properties rtl28xxu_properties[] = {
 
                .i2c_algo = &rtl28xxu_i2c_algo,
 
-               .num_device_descs = 1,
+               .num_device_descs = 2,
                .devices = {
                        {
                                .name = "Terratec Cinergy T Stick Black",
@@ -1290,6 +1293,12 @@ static struct dvb_usb_device_properties rtl28xxu_properties[] = {
                                        &rtl28xxu_table[RTL2832U_0CCD_00A9],
                                },
                        },
+                       {
+                               .name = "G-Tek Electronics Group Lifeview LV5TDLX DVB-T",
+                               .warm_ids = {
+                                       &rtl28xxu_table[RTL2832U_1F4D_B803],
+                               },
+                       },
                }
        },