public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Manu Abraham <abraham.manu@gmail.com>
To: linux-media@vger.kernel.org
Cc: linux-dvb@linuxtv.org, Manu <eallaud@gmail.com>
Subject: Re: [linux-dvb] Re : Technotrend Budget S2-3200 Digital artefacts on HDchannels
Date: Wed, 28 Jan 2009 01:13:13 +0400	[thread overview]
Message-ID: <497F78E9.9090608@gmail.com> (raw)
In-Reply-To: <c74595dc0901271237j7495ddeaif44288ad47416ddd@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1738 bytes --]

Alex Betis wrote:
> On Tue, Jan 27, 2009 at 9:56 PM, Manu Abraham <abraham.manu@gmail.com>wrote:
> 
>>> Hmm OK, but is there by any chance a fix for those issues somewhere or
>>> in the pipe at least? I am willing to test (as I already offered), I
>>> can compile the drivers, spread printk or whatever else is needed to
>>> get useful reports. Let me know if I can help sort this problem. BTW in
>>> my case it is DVB-S2 30000 SR and FEC 5/6.
>> It was quite not appreciable on my part to provide a fix or reply in
>> time nor spend much time on it earlier, but that said i was quite
>> stuck up with some other things.
>>
>> Can you please pull a copy of the multiproto tree
>> http://jusst.de/hg/multiproto or the v4l-dvb tree from
>> http://jusst.de/hg/v4l-dvb
>>
>> and apply the following patch and comment what your result is ?
>> Before applying please do check whether you still have the issues.
> 
> Manu,
> I've tried to increase those timers long ago when played around with my card
> (Twinhan 1041) and scan utility.
> I must say that I've concentrated mostly on DVB-S channels that wasn't
> always locking.
> I didn't notice much improvements. The thing that did help was increasing
> the resolution of scan zigzags.

With regards to the zig-zag, one bug is fixed in the v4l-dvb tree.
Most likely you haven't tried that change.

> I've sent a patch on that ML and people were happy with the results.

I did look at your patch, but that was completely against the tuning
algorithm.

[..]

> I believe DVB-S2 lock suffer from the same problem, but in that case the
> zigzag is done in the chip and not in the driver.

Along with the patch i sent, does the attached patch help you in
anyway (This works out for DVB-S2 only)?



[-- Attachment #2: fix_iterations.patch --]
[-- Type: text/x-patch, Size: 1240 bytes --]

diff -r a4731ed28cac linux/drivers/media/dvb/frontends/stb0899_drv.c
--- a/linux/drivers/media/dvb/frontends/stb0899_drv.c   Tue Jan 27 23:29:44 2009 +0400
+++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c   Wed Jan 28 01:08:25 2009 +0400
@@ -1461,19 +1461,16 @@
        struct stb0899_config *config = state->config;

        s32 iter_scale;
-       u32 reg;

        iter_scale = 17 * (internal->master_clk / 1000);
        iter_scale += 410000;
-       iter_scale /= (internal->srate / 1000000);
-       iter_scale /= 1000;
+       iter_scale /= (internal->srate / 1000);

        if (iter_scale > config->ldpc_max_iter)
                iter_scale = config->ldpc_max_iter;

-       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);
+       stb0899_write_s2reg(state, STB0899_S2DEMOD, STB0899_BASE_MAX_ITER, STB0899_OFF0_MAX_ITER, iter_scale);
+       stb0899_write_s2reg(state, STB0899_S2DEMOD, STB0899_BASE_ITER_SCALE, STB0899_OFF0_ITER_SCALE, iter_scale);
 }

 static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvb_frontend_parameters *p)

  reply	other threads:[~2009-01-27 21:13 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-26 14:40 [linux-dvb] Technotrend Budget S2-3200 Digital artefacts on HDchannels Newsy Paper
2009-01-26 15:39 ` Chris Silva
2009-01-26 15:41   ` Chris Silva
2009-01-26 15:44     ` Alex Betis
2009-01-26 15:51       ` Chris Silva
2009-01-26 16:08         ` Chris Silva
2009-01-26 16:19           ` Alex Betis
2009-01-26 17:50             ` Manu Abraham
2009-01-26 18:18               ` Faruk A
2009-01-26 19:07               ` Alex Betis
2009-01-27 20:14                 ` Manu Abraham
2009-01-27 20:40                   ` Alex Betis
2009-01-27 21:27                     ` Manu Abraham
2009-01-27 21:45                       ` Manu Abraham
2009-01-27 22:02                       ` Alex Betis
2009-01-27 23:02                         ` Manu Abraham
2009-01-28 11:03                           ` n37
2009-01-28 16:19                             ` Re : " Manu
2009-01-28 17:07                               ` crow
2009-01-28 19:48                                 ` Manu Abraham
2009-01-28 18:04                               ` Goga777
2009-01-28 19:52                               ` Manu Abraham
2009-01-28 21:32                                 ` Re : " Manu
2009-01-28 22:43                                 ` Manu
2009-01-26 19:30               ` Manu
2009-01-26 20:12               ` Chris Silva
2009-01-26 20:28                 ` Ales Jurik
2009-01-27 20:05                   ` Manu Abraham
     [not found]               ` <1232998154.24736.2@manu-laptop>
2009-01-27 19:56                 ` [linux-dvb] Re : " Manu Abraham
2009-01-27 20:37                   ` Alex Betis
2009-01-27 21:13                     ` Manu Abraham [this message]
2009-01-27 21:31                       ` Alex Betis
2009-02-02 16:44                       ` Jonas Kvinge
2009-02-02 22:43                       ` Chris Silva
2009-02-02 23:46                         ` Re : " Manu
2009-02-05 13:08                         ` Manu
2009-02-05 23:50                           ` Manu Abraham
2009-02-06 15:22                             ` Re : " Manu
     [not found]                               ` <157f4a8c0902141355w3872bc0eif7796679f7f5323f@mail.gmail.com>
2009-02-14 22:34                                 ` Chris Silva
2009-02-14 22:46                                   ` Chris Silva
  -- strict thread matches above, loose matches on Subject: below --
2009-02-05  9:43 Newsy Paper
2009-02-05  9:45 Newsy Paper
2009-02-05  9:49 Newsy Paper
2009-07-19 11:00 Newsy Paper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=497F78E9.9090608@gmail.com \
    --to=abraham.manu@gmail.com \
    --cc=eallaud@gmail.com \
    --cc=linux-dvb@linuxtv.org \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox