diff mbox

AW: [PATCH] Terratec Cinergy DT XS Diversity new USB ID (0ccd:0081)

Message ID 519879.70208.qm@web90407.mail.mud.yahoo.com (mailing list archive)
State Accepted
Headers show

Commit Message

Nicolas Fournier Jan. 12, 2009, 11:32 p.m. UTC
This time with the patch as attachment:

The following patch adds support for a new version of the
Terratec Cinergy DT USB XS Diversity Dual DVB-T TV tuner stick.
The USB ID of the new stick is 0ccd:0081.
The hardware of the stick has changed, when compared to the first version of
this stick, but it still uses quite standard components, so that only minor
changes are needed to the sources.

The patch has been successfully tested with hotplugging the device and then 
2 x tzap and 2 x mplayer, to watch two different TV programs simultaneously.

The stick works with both, the old and new firmwares:
- dvb-usb-dib0700-1.10.fw and 
- dvb-usb-dib0700-1.20.fw

Priority: normal

Signed-off-by: Nicolas Fournier <nicolasfournier -at- yahoo -dot- com>
diff mbox

Patch

diff -r 0293688d353f linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	Mon Jan 12 09:09:08 2009 -0800
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	Tue Jan 13 00:24:42 2009 +0100
@@ -1394,6 +1394,8 @@  struct usb_device_id dib0700_usb_id_tabl
 /* 40 */{ USB_DEVICE(USB_VID_PINNACLE,  USB_PID_PINNACLE_PCTV801E) },
 	{ USB_DEVICE(USB_VID_PINNACLE,  USB_PID_PINNACLE_PCTV801E_SE) },
 	{ USB_DEVICE(USB_VID_TERRATEC,	USB_PID_TERRATEC_CINERGY_T_EXPRESS) },
+	{ USB_DEVICE(USB_VID_TERRATEC,
+			USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY_2) },
 	{ 0 }		/* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -1659,7 +1661,7 @@  struct dvb_usb_device_properties dib0700
 			}
 		},
 
-		.num_device_descs = 4,
+		.num_device_descs = 5,
 		.devices = {
 			{   "DiBcom STK7070PD reference design",
 				{ &dib0700_usb_id_table[17], NULL },
@@ -1675,6 +1677,10 @@  struct dvb_usb_device_properties dib0700
 			},
 			{   "Hauppauge Nova-TD-500 (84xxx)",
 				{ &dib0700_usb_id_table[36], NULL },
+				{ NULL },
+			},
+			{  "Terratec Cinergy DT USB XS Diversity",
+				{ &dib0700_usb_id_table[43], NULL },
 				{ NULL },
 			}
 		}
diff -r 0293688d353f linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
--- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	Mon Jan 12 09:09:08 2009 -0800
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	Tue Jan 13 00:25:38 2009 +0100
@@ -162,6 +162,7 @@ 
 #define USB_PID_AVERMEDIA_A309				0xa309
 #define USB_PID_TECHNOTREND_CONNECT_S2400               0x3006
 #define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY	0x005a
+#define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY_2	0x0081
 #define USB_PID_TERRATEC_CINERGY_HT_USB_XE		0x0058
 #define USB_PID_TERRATEC_CINERGY_HT_EXPRESS		0x0060
 #define USB_PID_TERRATEC_CINERGY_T_EXPRESS		0x0062