[media] add Hama Hybrid DVB-T Stick support
authorPiotr Oleszczyk <piotr.oleszczyk@gmail.com>
Wed, 1 Feb 2017 20:26:42 +0000 (18:26 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 8 Feb 2017 12:54:58 +0000 (10:54 -0200)
Adding Hama Hybrid DVB-T Stick support. Technically it's the same
device what Terratec Cinergy HT USB XE is.

Signed-off-by: Piotr Oleszczyk <piotr.oleszczyk@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-core/dvb-usb-ids.h
drivers/media/usb/dvb-usb/dib0700_devices.c

index 55acd11..e200aa6 100644 (file)
@@ -79,6 +79,7 @@
 #define USB_VID_EVOLUTEPC                      0x1e59
 #define USB_VID_AZUREWAVE                      0x13d3
 #define USB_VID_TECHNISAT                      0x14f7
+#define USB_VID_HAMA                           0x147f
 
 /* Product IDs */
 #define USB_PID_ADSTECH_USB2_COLD                      0xa333
 #define USB_PID_SVEON_STV27                             0xd3af
 #define USB_PID_TURBOX_DTT_2000                         0xd3a4
 #define USB_PID_WINTV_SOLOHD                            0x0264
-#define USB_PID_EVOLVEO_XTRATV_STICK                   0xa115
+#define USB_PID_EVOLVEO_XTRATV_STICK                   0xa115
+#define USB_PID_HAMA_DVBT_HYBRID                       0x2758
 #endif
index b29d489..81d7fd4 100644 (file)
@@ -3815,6 +3815,7 @@ struct usb_device_id dib0700_usb_id_table[] = {
        { USB_DEVICE(USB_VID_PCTV,      USB_PID_PCTV_2002E_SE) },
        { USB_DEVICE(USB_VID_PCTV,      USB_PID_DIBCOM_STK8096PVR) },
        { USB_DEVICE(USB_VID_DIBCOM,    USB_PID_DIBCOM_STK8096PVR) },
+       { USB_DEVICE(USB_VID_HAMA,      USB_PID_HAMA_DVBT_HYBRID) },
        { 0 }           /* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -4379,7 +4380,7 @@ struct dvb_usb_device_properties dib0700_devices[] = {
                        },
                },
 
-               .num_device_descs = 9,
+               .num_device_descs = 10,
                .devices = {
                        {   "Terratec Cinergy HT USB XE",
                                { &dib0700_usb_id_table[27], NULL },
@@ -4417,6 +4418,10 @@ struct dvb_usb_device_properties dib0700_devices[] = {
                                { &dib0700_usb_id_table[54], NULL },
                                { NULL },
                        },
+                       {   "Hama DVB=T Hybrid USB Stick",
+                               { &dib0700_usb_id_table[85], NULL },
+                               { NULL },
+                       },
                },
 
                .rc.core = {