linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hurda <hurda@chello.at>
To: Antti Palosaari <crope@iki.fi>, linux-media@vger.kernel.org
Subject: Re: si2168/dvbsky - blind-scan for DVB-T2 with PLP fails
Date: Tue, 16 Jun 2015 15:17:46 +0200	[thread overview]
Message-ID: <558021FA.5010509@chello.at> (raw)
In-Reply-To: <5573010C.6000402@iki.fi>

(Resending as the first try apparently hasn't made it onto the mailing-list)


On 06.06.2015 16:17, Antti Palosaari wrote:
> On 06/06/2015 05:07 PM, Hurda wrote:
>> Thanks, this worked.
>> The kernel of Ubuntu 15.04 already was compiled with dynamic debug,
>> which saved
>> me a lot of time.
>> The driver is properly setting stream_id to 1 when needed.
>>
>> I tried again with the vanilla source and "cmd.args[2] = 0;".
>> With the vanilla source, it doesn't find any T2-transponders.
>
> You mean with vanilla source, but without that "cmd.args[2] = 0;" hack it does
> not find any transponders?
>

No T2-transponders, no.
With "cmd.args[2] = 0;" the number of found T2-transponders is changing with 
every scan.
Using the dvbsky-driver, the scan always finds all four T2-transponders.

>
>> With the modified source, the number of found transponders changes every
>> time
>
> You mean with source, modified with that "cmd.args[2] = 0;" hack it finds
> transponders, but not always?
>
> If that is difference, then it sounds just like application is requesting some
> PLP, probably 0, and it will not work as your network delivers channels using
> PLP 1.
>
> "cmd.args[2] = 0;" disables PLP filtering - it sets auto mode. Why it likely
> does not find all channels is too short timeout.
>
> Increase timeout value to 3 second, 900 => 3000, in funtion
> si2168_get_tune_settings()

No difference, even with 10000. Tried that timeout with "cmd.args[2] = 0;" and 
"cmd.args[2] = c->stream_id == NO_STREAM_ID_FILTER ? 0 : 1;"

> You didn't provide any debugs to see what PLP ID your application is
> requesting. It is the most important thing I would like to know, as I suspect
> it is wrong.
>
> regards
> Antti
>

Debug-logs:
http://www.mediafire.com/download/8j4s9oytsfv9s40/si2168-dvbsky_debug_logs.zip
Made with the vanilla tree and "cmd.args[2] = 0;", and timeout 900 (default) and 
3000msec.

      reply	other threads:[~2015-06-16 13:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-27 22:27 si2168/dvbsky - blind-scan for DVB-T2 with PLP fails Hurda
2015-05-28  5:26 ` Antti Palosaari
2015-05-28  7:24   ` Hurda
2015-06-04 17:36   ` Hurda
2015-06-04 19:28     ` Antti Palosaari
2015-06-05  7:50       ` Olli Salonen
2015-06-06 14:07       ` Hurda
2015-06-06 14:17         ` Antti Palosaari
2015-06-16 13:17           ` Hurda [this message]

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=558021FA.5010509@chello.at \
    --to=hurda@chello.at \
    --cc=crope@iki.fi \
    --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;
as well as URLs for NNTP newsgroup(s).