From patchwork Sun Oct 26 11:46:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akihiro TSUKADA X-Patchwork-Id: 5153831 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 E5095C11AC for ; Sun, 26 Oct 2014 11:47:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3004020340 for ; Sun, 26 Oct 2014 11:47:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 57F0520320 for ; Sun, 26 Oct 2014 11:47:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751550AbaJZLrT (ORCPT ); Sun, 26 Oct 2014 07:47:19 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:62373 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751539AbaJZLrT (ORCPT ); Sun, 26 Oct 2014 07:47:19 -0400 Received: by mail-pd0-f180.google.com with SMTP id ft15so2026375pdb.39 for ; Sun, 26 Oct 2014 04:47:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4NIxOWTlYj0Kx2ZmnuMQ7qGnz1GhaEBh1rSnNHyY7nk=; b=x/pnrs1EYeT22keTc/nObrL1Z7S/3TY/Hq9z3xSdiap+6+NmsLRcqtvOeo76QfOQCs U3gG2+e+6Wn0xkSGTQghg98IfhT0Yz51Kbbu8jUTb1BoDmVrhEoVYwbiLgjwhDgAuV0F vjkRNdc5PNlPKFPD0knB9mqHwLWVdhtiQvZeiFd0/ipsk29SSk2gvgYjRpLY7Monhj/x 09Vb0n/TfKZuLt6Yxetz7voTHLh+zz4SVrCIwNcCG073s917+61i3VnfqxpFXWRSoEY/ n0X9lKi22whX5IqKaaek+JhKmFV7poO+CWDa68TXIBR7DMlSWyiWy6FfTXBjhxIwUiBW CtjA== X-Received: by 10.70.118.1 with SMTP id ki1mr17262000pdb.69.1414324038464; Sun, 26 Oct 2014 04:47:18 -0700 (PDT) Received: from seabird.localdomain.localdomain (softbank219203027033.bbtec.net. [219.203.27.33]) by mx.google.com with ESMTPSA id dp4sm8203581pbc.21.2014.10.26.04.47.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 26 Oct 2014 04:47:17 -0700 (PDT) From: tskd08@gmail.com To: linux-media@vger.kernel.org Cc: m.chehab@samsung.com, Akihiro Tsukada Subject: [PATCH v2 2/7] v4l-utils/libdvbv5: add support for ISDB-S tuning Date: Sun, 26 Oct 2014 20:46:18 +0900 Message-Id: <1414323983-15996-3-git-send-email-tskd08@gmail.com> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1414323983-15996-1-git-send-email-tskd08@gmail.com> References: <1414323983-15996-1-git-send-email-tskd08@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable 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: Akihiro Tsukada Added LNB support for Japanese satellites. Currently tested with dvbv5-zap, dvb-fe-tool. At least the charset conversion and the parser of extended event descriptors are not implemented now, as they require some ISDB-S(/T) specific modification. --- lib/libdvbv5/dvb-sat.c | 9 +++++++++ lib/libdvbv5/dvb-v5-std.c | 4 ---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/lib/libdvbv5/dvb-sat.c b/lib/libdvbv5/dvb-sat.c index e8df06b..010aebe 100644 --- a/lib/libdvbv5/dvb-sat.c +++ b/lib/libdvbv5/dvb-sat.c @@ -91,6 +91,13 @@ static const struct dvb_sat_lnb lnb[] = { .freqrange = { { 12200, 12700 } } + }, { + .name = "Japan 110BS/CS LNBf", + .alias = "110BS", + .lowfreq = 10678, + .freqrange = { + { 11710, 12751 } + } }, }; @@ -304,6 +311,8 @@ static int dvbsat_diseqc_set_input(struct dvb_v5_fe_parms_priv *parms, */ pol_v = 0; high_band = 1; + if (parms->p.current_sys == SYS_ISDBS) + vol_high = 1; } else { /* Adjust voltage/tone accordingly */ if (parms->p.sat_number < 2) { diff --git a/lib/libdvbv5/dvb-v5-std.c b/lib/libdvbv5/dvb-v5-std.c index 871de95..50365cb 100644 --- a/lib/libdvbv5/dvb-v5-std.c +++ b/lib/libdvbv5/dvb-v5-std.c @@ -154,11 +154,7 @@ const unsigned int sys_turbo_props[] = { const unsigned int sys_isdbs_props[] = { DTV_FREQUENCY, - DTV_INVERSION, - DTV_SYMBOL_RATE, - DTV_INNER_FEC, DTV_STREAM_ID, - DTV_POLARIZATION, 0 };