[linux-dvb] Problem with scan program, missing output when using -o vdr

Jon Burgess jburgess at uklinux.net
Sat Oct 21 18:17:33 CEST 2006


On Wed, 2006-10-18 at 23:34 +0100, Steve Brokenshire wrote:
> Hi,
> 
> (Before I start, I'm running linuxtv-dvb-apps 1.1.1 with Linux kernel 
> 2.6.17.11 on Debian 3.1, using a Freecom DVB-T USB stick and a Hauppauge 
> PVR-350 card with VDR 1.3.41. I've done a quick skim on the linux-dvb mailing 
> up to April 2006 list to see if this problem has appeared previously in the 
> mailing lists and I can't seem to the find the problem I'm having so I 
> apologise in advance if this problem has been already spotted and fixed in 
> the Mercurial tree).
> 
> The problem I'm having with is that the scan program seems to be hiding 
> channels when I do 'scan -c -o vdr' instead of 'scan -c -o zap'. For example 
> when I do 'scan -c -o zap' (on Mux 1, here in the UK, in the evening) I get 
> returned the following (which is trimmed down):
...
> However, when I do 'scan -c -o vdr' the following is returned:
> 
> using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
> 0x0000 0x1042: pmt_pid 0x1042 BBC -- BBC ONE (???)
> 0x0000 0x1082: pmt_pid 0x1082 BBC -- BBC TWO (???)
> 0x0000 0x10ff: pmt_pid 0x10ff BBC -- BBC THREE (???)
> 0x0000 0x113f: pmt_pid 0x113f BBC -- BBC NEWS 24 (???)
> 0x0000 0x117f: pmt_pid 0x117f BBC -- BBCi (???)
> 0x0000 0x123f: pmt_pid 0x123f BBC -- CBBC Channel (???)
> Network Name 'Redruth'
> dumping lists (6 services)
> BBC THREE:705833:I999B8C34D34M16T2G32Y0:T:27500:620:621,622:0:0:4351:0:0:0
> BBC NEWS 24:705833:I999B8C34D34M16T2G32Y0:T:27500:640:641:0:0:4415:0:0:0
> BBC TWO:705833:I999B8C34D34M16T2G32Y0:T:27500:610:611,612:0:0:4226:0:0:0
> BBC ONE:705833:I999B8C34D34M16T2G32Y0:T:27500:600:601,602:0:0:4162:0:0:0
> Done.
> 
> As you can see there's 4 services despite it saying that it's going to dump 6 
> services, it seems to be only returning 4 services (although only the ones 
> that are on-air and as the scan was done in the evening it doesn't return the 
> CBBC Channel, except BBCi) when I use the vdr output function.

Yes I see the same too. It is because of the following line in
dump-vdr.c which will only output a service if it has a video or audio
PID set. 

	if ((video_pid || audio_pid[0]) && ((ca_select > 0) || ((ca_select ==
0) && (scrambled == 0)))) {

I think we could probably remove the "video_pid || audio_pid[0]" check.
The following line is from my running vdr channels.conf file and it
seems VDR-1.4 is happy to write entries for channels like CBBC which
currently has no audio or video PID set.

CBBC
Channel;BBC:505833330:I0C34D34M16B8T2G32Y0:T:27500:0:0:0:0:4671:9018:4100:0

I wouldn't worry about it too much though, VDR 1.3+ has the facility to
auto-update these entries anyway which is very handy for these channels
which change PID during the day. 

	Jon





More information about the linux-dvb mailing list