[linux-dvb] [PATCH]Fix a bug in scan, which outputs the wrong frequency if the current tuned transponder is scanned only

Alex Betis alex.betis at gmail.com
Wed Dec 3 08:23:42 CET 2008

On Wed, Dec 3, 2008 at 12:07 AM, e9hack <e9hack at googlemail.com> wrote:

> Alex Betis schrieb:
> > What driver and scan utility do you use?
> I'm using the current linuxtv.org repository. I'm a DVB-C user. DVB-S2
> isn't important for me.

I have only DVB-S/S2, so I can only guess. Your help will be appreciated in
order to fix DVB-C issues.

> > If you use S2API driver, please try my scan-s2 from here:
> > http://mercurial.intuxication.org/hg/scan-s2/
> If I use 'scan-s2 -c -o vdr', the output is wrong. I get:
> Bayerisches FS Süd;ARD:201:202=deu,203=2ch;206=deu:204:0:28107:41985:1101:0
> I should get:
> Bayerisches FS
> Süd;ARD:346:M256:C:6900:201:202=deu,203=2ch;206=deu:204:0:28107:41985:0:0
> Frequency, modulation, DVB type and symbol rate are still missing.

That's interesting. That means the utility doesn't know what delivery system
is used. Probably because it didn't tune the driver.
I'll check that. It should happen with DVB-S as well.
Can you scan the same channel without "-c" and report if the dump is

> > I did several fixes in that area.
> A fix for the lack ONID I did sent some time ago
> (http://linuxtv.org/pipermail/linux-dvb/2007-April/017266.html). Nobody
> was interested.

That was already fixed few days ago. Take latest version.

> The including of the polarization into the comparison of the transponders
> was also
> discussed in the German vdr portal
> (http://www.vdr-portal.de/board/thread.php?postid=746738#post746738).

That was already fixed few weeks ago.

> I think there is a bug in the DVB-S/DVB-S2 code. If a NIT from a DVB-S
> transponder was
> scanned and a new transponder was found, parse_nit() should create a
> transponder for DVB-S
> and DVB-S2. Currently one new transponder is created and it is first
> initialized for DVB-S
> and some lines later, it is reinitialized for DVB-S2.

You're right, transponder allocation is missing there. Will fix it, thanks.

> -Hartmut
> _______________________________________________
> linux-dvb mailing list
> linux-dvb at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20081203/ce6c63fc/attachment.htm 

More information about the linux-dvb mailing list