From patchwork Sun Jun 30 15:57:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Ira Krufky X-Patchwork-Id: 2804531 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 835F2BF4A1 for ; Sun, 30 Jun 2013 15:57:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CB1742010C for ; Sun, 30 Jun 2013 15:57:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 792C32010B for ; Sun, 30 Jun 2013 15:57:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751864Ab3F3P5Y (ORCPT ); Sun, 30 Jun 2013 11:57:24 -0400 Received: from mail-qa0-f47.google.com ([209.85.216.47]:57388 "EHLO mail-qa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751737Ab3F3P5X (ORCPT ); Sun, 30 Jun 2013 11:57:23 -0400 Received: by mail-qa0-f47.google.com with SMTP id i13so1573337qae.20 for ; Sun, 30 Jun 2013 08:57:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:x-mailer:mime-version :content-type; bh=16+FrU+aR+1dkVtfgDMkCkfAs6HBeWewiQnuw9qSaLo=; b=Z2pWuoz3mgTruNFMq2Hl3/9qjIJpNITFcdMymUppRQFeync5l7qH1Y6/+HP19uau2k ALho5P0vP56aArST7GkESJ+3HF3f0ZZQtdDDSjbifAsIFpE+SGrRpFwogabLFUODaNpk Qc7mVmz+qDWBbI9RDu0bGpYzoQre+Y7F78si9nbr25Wir/EA35ZYPR4Mdi4qawANKrHv ialH7yNtzyEDZF5xZH8bJeRAvOXonLSeLaQXofEnKvf5/+DRcX36giLrlxdeoBdIzsMI laLirx+zghYgNl1MEUynvKel+XHyJJA+hgteyB8NwFiKq/XL5BtSorNrHKdjVk960mh+ Eo8A== X-Received: by 10.224.53.200 with SMTP id n8mr15886078qag.88.1372607843120; Sun, 30 Jun 2013 08:57:23 -0700 (PDT) Received: from vujade (207-38-182-96.c3-0.wsd-ubr1.qens-wsd.ny.cable.rcn.com. [207.38.182.96]) by mx.google.com with ESMTPSA id y4sm24633184qai.5.2013.06.30.08.57.22 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sun, 30 Jun 2013 08:57:22 -0700 (PDT) Date: Sun, 30 Jun 2013 11:57:54 -0400 From: Michael Krufky To: linux-media@vger.kernel.org Subject: [PATCH] dib0700: add support for PCTV 2002e & PCTV 2002e SE Message-ID: <20130630115754.5f0e8a8f@vujade> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.17; x86_64-pc-linux-gnu) Mime-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,T_TVD_MIME_EPI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From b5a7481571163fc1c83a12987be8a6ebd88bc91a Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Sun, 30 Jun 2013 11:43:58 -0400 Subject: [PATCH] dib0700: add support for PCTV 2002e & PCTV 2002e SE Signed-off-by: Michael Krufky --- drivers/media/dvb-core/dvb-usb-ids.h | 2 ++ drivers/media/usb/dvb-usb/dib0700_devices.c | 12 +++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb-core/dvb-usb-ids.h b/drivers/media/dvb-core/dvb-usb-ids.h index 886da16..419a2d6 100644 --- a/drivers/media/dvb-core/dvb-usb-ids.h +++ b/drivers/media/dvb-core/dvb-usb-ids.h @@ -369,4 +369,6 @@ #define USB_PID_TECHNISAT_USB2_DVB_S2 0x0500 #define USB_PID_CPYTO_REDI_PC50A 0xa803 #define USB_PID_CTVDIGDUAL_V2 0xe410 +#define USB_PID_PCTV_2002E 0x025c +#define USB_PID_PCTV_2002E_SE 0x025d #endif diff --git a/drivers/media/usb/dvb-usb/dib0700_devices.c b/drivers/media/usb/dvb-usb/dib0700_devices.c index f081360..829323e 100644 --- a/drivers/media/usb/dvb-usb/dib0700_devices.c +++ b/drivers/media/usb/dvb-usb/dib0700_devices.c @@ -3589,6 +3589,8 @@ struct usb_device_id dib0700_usb_id_table[] = { { USB_DEVICE(USB_VID_DIBCOM, USB_PID_DIBCOM_TFE7790P) }, { USB_DEVICE(USB_VID_DIBCOM, USB_PID_DIBCOM_TFE8096P) }, /* 80 */{ USB_DEVICE(USB_VID_ELGATO, USB_PID_ELGATO_EYETV_DTT_2) }, + { USB_DEVICE(USB_VID_PCTV, USB_PID_PCTV_2002E) }, + { USB_DEVICE(USB_VID_PCTV, USB_PID_PCTV_2002E_SE) }, { 0 } /* Terminating entry */ }; MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table); @@ -3993,12 +3995,20 @@ struct dvb_usb_device_properties dib0700_devices[] = { } }, - .num_device_descs = 1, + .num_device_descs = 3, .devices = { { "Hauppauge Nova-TD Stick (52009)", { &dib0700_usb_id_table[35], NULL }, { NULL }, }, + { "PCTV 2002e", + { &dib0700_usb_id_table[81], NULL }, + { NULL }, + }, + { "PCTV 2002e SE", + { &dib0700_usb_id_table[82], NULL }, + { NULL }, + }, }, .rc.core = { -- 1.8.1.2