From patchwork Wed May 4 11:27:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lutz Sammer X-Patchwork-Id: 753392 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p44BRKCI004883 for ; Wed, 4 May 2011 11:27:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751559Ab1EDL1S (ORCPT ); Wed, 4 May 2011 07:27:18 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:51037 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751212Ab1EDL1S (ORCPT ); Wed, 4 May 2011 07:27:18 -0400 Received: (qmail invoked by alias); 04 May 2011 11:27:15 -0000 Received: from 88.78.broadband14.iol.cz (EHLO [192.168.1.9]) [90.181.78.88] by mail.gmx.net (mp004) with SMTP; 04 May 2011 13:27:15 +0200 X-Authenticated: #350479 X-Provags-ID: V01U2FsdGVkX18Vd8dATsEVZzkb7klet440GbP0KLIKSJlhu3DrET 5mdVUcohMflMmy Message-ID: <4DC13823.7000700@gmx.net> Date: Wed, 04 May 2011 13:27:31 +0200 From: Lutz Sammer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.8.1.23) Gecko/20091030 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: Mauro Carvalho Chehab CC: linux-media@vger.kernel.org, Manu Abraham Subject: Re: TT-budget S2-3200 cannot tune on HB13E DVBS2 transponder References: <4DA63A66.1070300@gmx.net> <4DC08CB8.3020105@redhat.com> In-Reply-To: <4DC08CB8.3020105@redhat.com> X-Y-GMX-Trusted: 0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 04 May 2011 11:27:20 +0000 (UTC) On 05/04/11 01:16, Mauro Carvalho Chehab wrote: > Em 13-04-2011 21:05, Lutz Sammer escreveu: >>> On 05/04/11 21:07, Steffen Barszus wrote: >>>> On Tue, 05 Apr 2011 13:00:14 +0200 >>>> "Issa Gorissen" wrote: >>>> >>>>> Hi, >>>>> >>>>> Eutelsat made a recent migration from DVB-S to DVB-S2 (since >>>>> 31/3/2011) on two transponders on HB13E >>>>> >>>>> - HOT BIRD 6 13° Est TP 159 Freq 11,681 Ghz DVB-S2 FEC 3/4 27500 >>>>> Msymb/s 0.2 Pilot off Polar H >>>>> >>>>> - HOT BIRD 9 13° Est TP 99 Freq 12,692 Ghz DVB-S2 FEC 3/4 27500 >>>>> Msymb/s 0.2 Pilot off Polar H >>>>> >>>>> >>>>> Before those changes, with my TT S2 3200, I was able to watch TV on >>>>> those transponders. Now, I cannot even tune on those transponders. I >>>>> have tried with scan-s2 and w_scan and the latest drivers from git. >>>>> They both find the transponders but cannot tune onto it. >>>>> >>>>> Something noteworthy is that my other card, a DuoFlex S2 can tune >>>>> fine on those transponders. >>>>> >>>>> My question is; can someone try this as well with a TT S2 3200 and >>>>> post the results ? >>>> i read something about it lately here (german!): >>>> http://www.vdr-portal.de/board16-video-disk-recorder/board85-hdtv-dvb-s2/p977938-stb0899-fec-3-4-tester-gesucht/#post977938 >>>> >>>> It says in stb0899_drv.c function: >>>> static void stb0899_set_iterations(struct stb0899_state *state) >>>> >>>> This: >>>> reg = STB0899_READ_S2REG(STB0899_S2DEMOD, MAX_ITER); >>>> STB0899_SETFIELD_VAL(MAX_ITERATIONS, reg, iter_scale); >>>> stb0899_write_s2reg(state, STB0899_S2DEMOD, STB0899_BASE_MAX_ITER, STB0899_OFF0_MAX_ITER, reg); >>>> >>>> should be replaced with this: >>>> >>>> reg = STB0899_READ_S2REG(STB0899_S2FEC, MAX_ITER); >>>> STB0899_SETFIELD_VAL(MAX_ITERATIONS, reg, iter_scale); >>>> stb0899_write_s2reg(state, STB0899_S2FEC, STB0899_BASE_MAX_ITER, STB0899_OFF0_MAX_ITER, reg); >>>> >>>> Basically replace STB0899_S2DEMOD with STB0899_S2FEC in this 2 lines >>>> affected. >>>> >>>> Kind Regards >>>> >>>> Steffen >>> Hi Steffen, >>> >>> Unfortunately, it does not help in my case. Thx anyway. >> >> Try my locking fix. With above patch I can lock the >> channels without problem. > > Can someone confirm that such patch would fix the issue? If so, please > forward it in a way that it could be applied (patch is currently line-wrapped), > and submit with some comments/description and your SOB. > > As the patch is currently broken, I'm just marking it as rejected at patchwork. > > Manu, > > Please take a look on this trouble report. > Sorry, the things are mixed here. My patch (resend and hopefully this time not broken) handles only DVB-S transponders. The FEC fix patch fixed locking on 11,681 Ghz, but not on 12,692 Ghz for me. But I have very weak receiption, Johns diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c index 37a222d..7691282 100644 --- a/drivers/media/dvb/frontends/stb0899_drv.c +++ b/drivers/media/dvb/frontends/stb0899_drv.c @@ -1426,9 +1426,9 @@ static void stb0899_set_iterations(struct stb0899_state *state) if (iter_scale > config->ldpc_max_iter) iter_scale = config->ldpc_max_iter; - reg = STB0899_READ_S2REG(STB0899_S2DEMOD, MAX_ITER); + reg = STB0899_READ_S2REG(STB0899_S2FEC, MAX_ITER); STB0899_SETFIELD_VAL(MAX_ITERATIONS, reg, iter_scale); - stb0899_write_s2reg(state, STB0899_S2DEMOD, STB0899_BASE_MAX_ITER, STB0899_OFF0_MAX_ITER, reg); + stb0899_write_s2reg(state, STB0899_S2FEC, STB0899_BASE_MAX_ITER, STB0899_OFF0_MAX_ITER, reg); } static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvb_frontend_parameters *p)