public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* stb0899/stb6100 tuning problems
@ 2011-04-23 20:55 Issa Gorissen
  2011-04-24  7:44 ` Steffen Barszus
  0 siblings, 1 reply; 5+ messages in thread
From: Issa Gorissen @ 2011-04-23 20:55 UTC (permalink / raw)
  To: linux-media; +Cc: tuxoholic, Manu Abraham

Hi,

Running kernel 2.6.39rc4. I've got trouble with tuning some transponders
on Hotbird 13°E with a TT S2-3200.
The transponders have been emitting DVB-S until end of march when they
now emit DVB-S2 signals. They are:
- 11681.00H 27500 3/4 8psk nid:319 tid:15900 on Hotbird 6
- 12692.00H 27500 3/4 8psk nid:319 tid:9900 on Hotbird 9


[1] https://patchwork.kernel.org/patch/244201/
[2] http://www.mail-archive.com/linuxtv-commits@linuxtv.org/msg09214.html

1) Patch [2] is merged into kernel 2.6.39rc4. Using scan-s2, I get no
service available.

2) I applied patch [1] and still could not get any service with scan-s2
from those transponders.

3) I *reverted* patch[2] and now scan-s2 returns partial results.
scan-s2 can tune onto the transponder on Hotbird 6 really quick and
gives back the full services list.
But I have to run scan-s2 with scan iterations count set to as high as
100 to be able to get results from the transponder on Hotbird 9.

When those transponders were emitting in DVB-S, I had no problem at all.

Can someone try the same thing on those transponders and report please ?

Thx
--
Issa

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: stb0899/stb6100 tuning problems
  2011-04-23 20:55 Issa Gorissen
@ 2011-04-24  7:44 ` Steffen Barszus
  2011-04-24  9:07   ` Issa Gorissen
  0 siblings, 1 reply; 5+ messages in thread
From: Steffen Barszus @ 2011-04-24  7:44 UTC (permalink / raw)
  To: Issa Gorissen; +Cc: linux-media, tuxoholic, Manu Abraham

On Sat, 23 Apr 2011 22:55:27 +0200
Issa Gorissen <flop.m@usa.net> wrote:

> Hi,
> 
> Running kernel 2.6.39rc4. I've got trouble with tuning some
> transponders on Hotbird 13°E with a TT S2-3200.
> The transponders have been emitting DVB-S until end of march when they
> now emit DVB-S2 signals. They are:
> - 11681.00H 27500 3/4 8psk nid:319 tid:15900 on Hotbird 6
> - 12692.00H 27500 3/4 8psk nid:319 tid:9900 on Hotbird 9
> 
> 
> [1] https://patchwork.kernel.org/patch/244201/
> [2]
> http://www.mail-archive.com/linuxtv-commits@linuxtv.org/msg09214.html
> 
> 1) Patch [2] is merged into kernel 2.6.39rc4. Using scan-s2, I get no
> service available.
> 
> 2) I applied patch [1] and still could not get any service with
> scan-s2 from those transponders.
> 
> 3) I *reverted* patch[2] and now scan-s2 returns partial results.
> scan-s2 can tune onto the transponder on Hotbird 6 really quick and
> gives back the full services list.
> But I have to run scan-s2 with scan iterations count set to as high as
> 100 to be able to get results from the transponder on Hotbird 9.
> 
> When those transponders were emitting in DVB-S, I had no problem at
> all.
> 
> Can someone try the same thing on those transponders and report
> please ?

As mentioned before, try to use [1] + [2] + following patch. I would
expect this to be working. Please confirm. 

--- a/linux/drivers/media/dvb/frontends/stb0899_drv.c   2011-02-26 06:44:11.000000000 +0000
+++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c   2011-04-24 07:39:06.000000000 +0000
@@ -1426,9 +1426,9 @@ static void stb0899_set_iterations(struc
        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)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: stb0899/stb6100 tuning problems
  2011-04-24  7:44 ` Steffen Barszus
@ 2011-04-24  9:07   ` Issa Gorissen
  0 siblings, 0 replies; 5+ messages in thread
From: Issa Gorissen @ 2011-04-24  9:07 UTC (permalink / raw)
  To: Steffen Barszus; +Cc: linux-media, tuxoholic, Manu Abraham

On 24/04/11 09:44, Steffen Barszus wrote:
> On Sat, 23 Apr 2011 22:55:27 +0200
> Issa Gorissen <flop.m@usa.net> wrote:
>
>> Hi,
>>
>> Running kernel 2.6.39rc4. I've got trouble with tuning some
>> transponders on Hotbird 13°E with a TT S2-3200.
>> The transponders have been emitting DVB-S until end of march when they
>> now emit DVB-S2 signals. They are:
>> - 11681.00H 27500 3/4 8psk nid:319 tid:15900 on Hotbird 6
>> - 12692.00H 27500 3/4 8psk nid:319 tid:9900 on Hotbird 9
>>
>>
>> [1] https://patchwork.kernel.org/patch/244201/
>> [2]
>> http://www.mail-archive.com/linuxtv-commits@linuxtv.org/msg09214.html
>>
>> 1) Patch [2] is merged into kernel 2.6.39rc4. Using scan-s2, I get no
>> service available.
>>
>> 2) I applied patch [1] and still could not get any service with
>> scan-s2 from those transponders.
>>
>> 3) I *reverted* patch[2] and now scan-s2 returns partial results.
>> scan-s2 can tune onto the transponder on Hotbird 6 really quick and
>> gives back the full services list.
>> But I have to run scan-s2 with scan iterations count set to as high as
>> 100 to be able to get results from the transponder on Hotbird 9.
>>
>> When those transponders were emitting in DVB-S, I had no problem at
>> all.
>>
>> Can someone try the same thing on those transponders and report
>> please ?
> As mentioned before, try to use [1] + [2] + following patch. I would
> expect this to be working. Please confirm. 
>
> --- a/linux/drivers/media/dvb/frontends/stb0899_drv.c   2011-02-26 06:44:11.000000000 +0000
> +++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c   2011-04-24 07:39:06.000000000 +0000
> @@ -1426,9 +1426,9 @@ static void stb0899_set_iterations(struc
>         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)

Thx for your reply.

Applied [1] + [2] + your path.

Unfortunately, this does not work for me. scan-s2 can tune only on the
1st of those 3 transponders on HB13E

S1  12654000 H 27500000  3/4
S2 12692000 H 27500000  3/4 35   8PSK
S2 11681000 H 27500000  3/4 35   8PSK

Please note that I can tune quick/fast on those 3 transponders with a
ngene based card. szap will report a signal of 60% and snr of 70% for
them. Problem is the CI support does not work for me.

I am wondering if there is a dvb-s2 card with ci support which
flawlessly works on linux... ?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: stb0899/stb6100 tuning problems
@ 2011-04-24 11:37 Issa Gorissen
  0 siblings, 0 replies; 5+ messages in thread
From: Issa Gorissen @ 2011-04-24 11:37 UTC (permalink / raw)
  To: Steffen Barszus; +Cc: linux-media, tuxoholic, Manu Abraham

On 24/04/11 09:44, Steffen Barszus wrote:
> On Sat, 23 Apr 2011 22:55:27 +0200
> Issa Gorissen <flop.m@usa.net> wrote:
>
>> Hi,
>>
>> Running kernel 2.6.39rc4. I've got trouble with tuning some
>> transponders on Hotbird 13°E with a TT S2-3200.
>> The transponders have been emitting DVB-S until end of march when they
>> now emit DVB-S2 signals. They are:
>> - 11681.00H 27500 3/4 8psk nid:319 tid:15900 on Hotbird 6
>> - 12692.00H 27500 3/4 8psk nid:319 tid:9900 on Hotbird 9
>>
>>
>> [1] https://patchwork.kernel.org/patch/244201/
>> [2]
>> http://www.mail-archive.com/linuxtv-commits@linuxtv.org/msg09214.html
>>
>> 1) Patch [2] is merged into kernel 2.6.39rc4. Using scan-s2, I get no
>> service available.
>>
>> 2) I applied patch [1] and still could not get any service with
>> scan-s2 from those transponders.
>>
>> 3) I *reverted* patch[2] and now scan-s2 returns partial results.
>> scan-s2 can tune onto the transponder on Hotbird 6 really quick and
>> gives back the full services list.
>> But I have to run scan-s2 with scan iterations count set to as high as
>> 100 to be able to get results from the transponder on Hotbird 9.
>>
>> When those transponders were emitting in DVB-S, I had no problem at
>> all.
>>
>> Can someone try the same thing on those transponders and report
>> please ?
> As mentioned before, try to use [1] + [2] + following patch. I would
> expect this to be working. Please confirm. 
>
> --- a/linux/drivers/media/dvb/frontends/stb0899_drv.c   2011-02-26
06:44:11.000000000 +0000
> +++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c   2011-04-24
07:39:06.000000000 +0000
> @@ -1426,9 +1426,9 @@ static void stb0899_set_iterations(struc
>         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)

Thx for your reply.

Applied [1] + [2] + your path.

Unfortunately, this does not work for me. scan-s2 can tune only on the
1st of those 3 transponders on HB13E

S1  12654000 H 27500000  3/4
S2 12692000 H 27500000  3/4 35   8PSK
S2 11681000 H 27500000  3/4 35   8PSK

Please note that I can tune quick/fast on those 3 transponders with a
ngene based card. szap will report a signal of 60% and snr of 70% for
them. Problem is the CI support does not work for me.

I am wondering if there is a dvb-s2 card with ci support which
flawlessly works on linux... ?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: stb0899/stb6100 tuning problems
@ 2011-04-25 13:25 Lutz Sammer
  0 siblings, 0 replies; 5+ messages in thread
From: Lutz Sammer @ 2011-04-25 13:25 UTC (permalink / raw)
  To: Issa Gorissen; +Cc: linux-media

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

Hi,

Have you tried s2-liplianin version of drivers?
http://mercurial.intuxication.org/hg/s2-liplianin/summary

With s2-liplianin + patches I can lock it with the TT-3600-S2

*** Zapping to 1706 '[012e];':
Delivery 6, modulation 8PSK
sat 1, frequency 11681 MHz H, symbolrate 27500000, coderate 3/4, rolloff
0.35
vpid 0x0209, apid 0x020a, sid 0x012e
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 1b | signal 18437 | noise 38026 | ber       0 | unc -2 | tim    0
|FE_HAS_LOCK |  0
status 1b | signal 18437 | noise 37839 | ber 5333333 | unc -2 | tim    0
|FE_HAS_LOCK |  0

On DVB-S2 12692000 H 27500000 3/4 20 8PSK I can't get a lock or scan result.

Johns



[-- Attachment #2: stb0899_fec_fix.diff --]
[-- Type: text/plain, Size: 818 bytes --]

diff -r 7e47ba1d4ae8 linux/drivers/media/dvb/frontends/stb0899_drv.c
--- a/s2-liplianin/linux/drivers/media/dvb/frontends/stb0899_drv.c	Tue Mar 08 13:38:29 2011 +0200
+++ b/s2-liplianin/linux/drivers/media/dvb/frontends/stb0899_drv.c	Mon Apr 25 15:01:55 2011 +0200
@@ -1431,9 +1431,9 @@
 	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 int stb0899_set_property(struct dvb_frontend *fe, struct dtv_property* tvp)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-04-25 13:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-25 13:25 stb0899/stb6100 tuning problems Lutz Sammer
  -- strict thread matches above, loose matches on Subject: below --
2011-04-24 11:37 Issa Gorissen
2011-04-23 20:55 Issa Gorissen
2011-04-24  7:44 ` Steffen Barszus
2011-04-24  9:07   ` Issa Gorissen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox