From patchwork Fri Oct 31 13:13:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akihiro TSUKADA X-Patchwork-Id: 5204371 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 1E8BCC11AC for ; Fri, 31 Oct 2014 13:16:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2802820173 for ; Fri, 31 Oct 2014 13:16:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 42D1920158 for ; Fri, 31 Oct 2014 13:16:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932682AbaJaNO1 (ORCPT ); Fri, 31 Oct 2014 09:14:27 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:63876 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932646AbaJaNOZ (ORCPT ); Fri, 31 Oct 2014 09:14:25 -0400 Received: by mail-pa0-f44.google.com with SMTP id bj1so7696916pad.17 for ; Fri, 31 Oct 2014 06:14:24 -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=kRFpOcWP701xL9V0h5VuvEjtnBV0JqeKsEgHYvxuong=; b=jec6F4rm4fj2tX7ye9FIjCjDrCuMA/NfzNpamdRfu+6ehvH8zjd9OvP6RXjlTYwKWh OhDT153/uRf+lDjas1cBIup1fQblKGqZSNoW8ZhYHztDV5AX8GUDUPTFod42p/UeF38K 3befCjev8c1/dj9IpnYO/QOQufjdL/2nMJdQ4ZAWPnghf52zRzL3z3mWZLdZXpxD4+FQ ALmyOlTtrGC5fdZWbd2qMyjFVx4X3jie+DUf+t0QW2+QRMPFYp4tNYutZeXCdvpnpDme 9eUh3G8uc96HBuoSRTtNNtOsqdq9DDL6ZxHEb14m18x+2hh5D19QfENd1AJBFU3c24fj 0Mng== X-Received: by 10.68.246.229 with SMTP id xz5mr24650186pbc.131.1414761264601; Fri, 31 Oct 2014 06:14:24 -0700 (PDT) Received: from seabird.localdomain.localdomain (softbank219203027033.bbtec.net. [219.203.27.33]) by mx.google.com with ESMTPSA id mo1sm9895815pbc.69.2014.10.31.06.14.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 31 Oct 2014 06:14:23 -0700 (PDT) From: tskd08@gmail.com To: linux-media@vger.kernel.org Cc: m.chehab@samsung.com, Akihiro Tsukada Subject: [PATCH v3 4/7] v4l-utils/libdvbv5: add support for ISDB-S tuning Date: Fri, 31 Oct 2014 22:13:41 +0900 Message-Id: <1414761224-32761-5-git-send-email-tskd08@gmail.com> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1414761224-32761-1-git-send-email-tskd08@gmail.com> References: <1414761224-32761-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=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: 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. Signed-off-by: Akihiro Tsukada --- 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 };