From patchwork Sat Mar 21 20:42:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olli Salonen X-Patchwork-Id: 6064921 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7DAB09F314 for ; Sat, 21 Mar 2015 20:42:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A2187202EC for ; Sat, 21 Mar 2015 20:42:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 712472024F for ; Sat, 21 Mar 2015 20:42:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751303AbbCUUmd (ORCPT ); Sat, 21 Mar 2015 16:42:33 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:36281 "EHLO mail-la0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751147AbbCUUmc (ORCPT ); Sat, 21 Mar 2015 16:42:32 -0400 Received: by labe2 with SMTP id e2so33901351lab.3 for ; Sat, 21 Mar 2015 13:42:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=vpDp+TTDE2rcQtEhh1QA/g8trkkxpftOergHZ1+iNlQ=; b=Z49jTuKGhyfxxdXtvlbpL54nJR3Shh9jTBrxOZGI1HtFxP+W9L1+iLgRvV6oyNSsBY bfaqIjWqDFz6Ku+ecFg+iVx8Mnoh/L/1CsN1UrwLeo6NQF3PKcSBbhPVfwOnKZg7Xe80 PzQUFNTa17FBu36BgVMN/WzYdooJQ/rgsN3XavBCSEl6s/KflvuZeNQ2Ek/4XE9XbC/C 8+dQna3QUs/54pIu0mG5NnuvPN/QZCZNqwGOT4jyOw2MUaORM7e7VmPsSTBbTfhQMIS1 oucKY5VpHZEd0ZdcN7Anp199Oh4bWhk9Sv9e/SaAAW90np0vbNHigteUtNF8iJgJ7oMH 3GVA== X-Gm-Message-State: ALoCoQlI2l77mfVc5T+NsARv1k9LOQ2du+PG2guXKb5E9pql6x36oQ6UloBKLiZI4rwjh1el3/vG X-Received: by 10.152.163.67 with SMTP id yg3mr68076440lab.42.1426970550615; Sat, 21 Mar 2015 13:42:30 -0700 (PDT) Received: from dl160.lan (37-33-50-203.bb.dnainternet.fi. [37.33.50.203]) by mx.google.com with ESMTPSA id lf3sm1679949lbc.2.2015.03.21.13.42.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 21 Mar 2015 13:42:29 -0700 (PDT) From: Olli Salonen To: linux-media@vger.kernel.org Cc: Olli Salonen Subject: [PATCH] dw2102: TeVii S482 support Date: Sat, 21 Mar 2015 22:42:23 +0200 Message-Id: <1426970543-28176-1-git-send-email-olli.salonen@iki.fi> X-Mailer: git-send-email 1.9.1 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.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, 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 TeVii S482 is a PCIe device with two tuners that actually contains two USB devices. The devices are visible in the lsusb printout. Bus 006 Device 002: ID 9022:d483 TeVii Technology Ltd. Bus 007 Device 002: ID 9022:d484 TeVii Technology Ltd. The device itself works exactly with the same settings as TechnoTrend TT-connect S2-4600. Firmware for DS3103 demodulator is required: http://palosaari.fi/linux/v4l-dvb/firmware/M88DS3103/ This patch should be applied on top of the TT S2-4600 patch: https://patchwork.linuxtv.org/patch/28818/ Signed-off-by: Olli Salonen --- drivers/media/usb/dvb-usb/dw2102.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb/dw2102.c b/drivers/media/usb/dvb-usb/dw2102.c index 9dc3619..1ca0e25 100644 --- a/drivers/media/usb/dvb-usb/dw2102.c +++ b/drivers/media/usb/dvb-usb/dw2102.c @@ -1659,6 +1659,8 @@ enum dw2102_table_entry { GOTVIEW_SAT_HD, GENIATECH_T220, TECHNOTREND_S2_4600, + TEVII_S482_1, + TEVII_S482_2, }; static struct usb_device_id dw2102_table[] = { @@ -1684,6 +1686,8 @@ static struct usb_device_id dw2102_table[] = { [GENIATECH_T220] = {USB_DEVICE(0x1f4d, 0xD220)}, [TECHNOTREND_S2_4600] = {USB_DEVICE(USB_VID_TECHNOTREND, USB_PID_TECHNOTREND_CONNECT_S2_4600)}, + [TEVII_S482_1] = {USB_DEVICE(0x9022, 0xd483)}, + [TEVII_S482_2] = {USB_DEVICE(0x9022, 0xd484)}, { } }; @@ -2201,12 +2205,20 @@ static struct dvb_usb_device_properties tt_s2_4600_properties = { } }, } }, - .num_device_descs = 1, + .num_device_descs = 3, .devices = { { "TechnoTrend TT-connect S2-4600", { &dw2102_table[TECHNOTREND_S2_4600], NULL }, { NULL }, }, + { "TeVii S482 (tuner 1)", + { &dw2102_table[TEVII_S482_1], NULL }, + { NULL }, + }, + { "TeVii S482 (tuner 2)", + { &dw2102_table[TEVII_S482_2], NULL }, + { NULL }, + }, } };