From patchwork Mon Jan 12 23:32:21 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Fournier X-Patchwork-Id: 2019 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n0CNSOXf005920 for ; Mon, 12 Jan 2009 15:28:26 -0800 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751746AbZALXcW (ORCPT ); Mon, 12 Jan 2009 18:32:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752103AbZALXcW (ORCPT ); Mon, 12 Jan 2009 18:32:22 -0500 Received: from web90407.mail.mud.yahoo.com ([216.252.100.159]:23295 "HELO web90407.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751746AbZALXcW (ORCPT ); Mon, 12 Jan 2009 18:32:22 -0500 Received: (qmail 70240 invoked by uid 60001); 12 Jan 2009 23:32:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=Kedm8P+PPY/MArbqzTMsM5bBbLo2oCHtrZ4OCF3tiNMjzQBkyJQtDoPJfDOEMaGjV866NLzkIHIWuShYL0IYJdD7ueG4rHY1t8J8p78VNTdwDUF1xv884rnRJegRdCMJPe1vlqdt1bmkZn4zA6LIq7D5hZeyHsm2lmnHvQScX5Q=; X-YMail-OSG: _0yFS.QVM1kvs2981MniunLpQp5Rvnfmjz220X2Cw7k6IuHpd563PZLa3_PrRgSGsc.aNDDSL1UE6c_VVwH8CjuwFXWLT62p5xZY3oel3iOlJHjXSxWi7z4Za8cEwxpBXTuPK1UKzM96z7315iRIkb90dBgAzZDKuWS7f9MybsD9lPBTv.0sEsArV9vUFa1BBeKtXzvKYSH58ALjVPnPWTRpcg-- Received: from [82.135.74.102] by web90407.mail.mud.yahoo.com via HTTP; Mon, 12 Jan 2009 15:32:21 PST X-Mailer: YahooMailRC/1155.45 YahooMailWebService/0.7.260.1 References: <209163.20581.qm@web90406.mail.mud.yahoo.com> Date: Mon, 12 Jan 2009 15:32:21 -0800 (PST) From: Nicolas Fournier Subject: AW: [PATCH] Terratec Cinergy DT XS Diversity new USB ID (0ccd:0081) To: Patrick Boettcher Cc: linux-media@vger.kernel.org MIME-Version: 1.0 Message-ID: <519879.70208.qm@web90407.mail.mud.yahoo.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 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