From patchwork Sat Jan 10 00:57:00 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Fournier X-Patchwork-Id: 1672 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 n0A105g7030377 for ; Fri, 9 Jan 2009 17:00:06 -0800 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755434AbZAJBDm (ORCPT ); Fri, 9 Jan 2009 20:03:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755043AbZAJBDm (ORCPT ); Fri, 9 Jan 2009 20:03:42 -0500 Received: from web90402.mail.mud.yahoo.com ([216.252.100.154]:41584 "HELO web90402.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752572AbZAJBDl convert rfc822-to-8bit (ORCPT ); Fri, 9 Jan 2009 20:03:41 -0500 X-Greylist: delayed 400 seconds by postgrey-1.27 at vger.kernel.org; Fri, 09 Jan 2009 20:03:41 EST Received: (qmail 45275 invoked by uid 60001); 10 Jan 2009 00:57:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=RWMqb8haL+ChG+8ixXHNQyhm14/bJ3LrzhSVjJv/xTtKV5aXEAqgH2pbwSnQbV4T79cvP8JDOimqrbK88bbAWwmCHrs0s9316lXClmFw6/MeGGYcg7SwAX1y48vRwp1PTlMNpafjngjWN4eQMvvLTzEh81KNm4zBRPzPoEs7pQI=; X-YMail-OSG: r0QMEskVM1mrFEEjS0T0dHQpmapAEZ5xatvtf15akhxuYUs32maj1gm99hRxJLnAhJMVtgbj.QueT803ZWiuYvyRZEc9uZGOdXaZVxruBbYcBMkNw_RRdMnbnhB4iBmIgUdsKjsaRyKsVxWCvp_ceXAdcWaa7A7Iz5pmUuzfk1WVqV6qVna.1ODzsOrFxTKgwHM2QnNg53NfQLZ2klfDNtBViA-- Received: from [82.135.86.79] by web90402.mail.mud.yahoo.com via HTTP; Fri, 09 Jan 2009 16:57:00 PST X-Mailer: YahooMailRC/1155.45 YahooMailWebService/0.7.260.1 Date: Fri, 9 Jan 2009 16:57:00 -0800 (PST) From: Nicolas Fournier Subject: [PATCH] Terratec Cinergy DT XS Diversity new USB ID (0ccd:0081) To: linux-media@vger.kernel.org Cc: mchehab@redhat.com MIME-Version: 1.0 Message-ID: <896541.44891.qm@web90402.mail.mud.yahoo.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff -r 985ecd81d993 linux/drivers/media/dvb/dvb-usb/dib0700_devices.c --- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c Fri Jan 09 10:07:07 2009 -0200 +++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c Sat Jan 10 01:50:34 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 985ecd81d993 linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h --- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h Fri Jan 09 10:07:07 2009 -0200 +++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h Sat Jan 10 01:38:32 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