[mythtv] [Experimental PATCH] BIG DVB PATCH V3.4 Released

Simon Kenyon simon at koala.ie
Thu Jan 6 06:30:44 EST 2005


On Thursday 06 January 2005 03:48, Taylor Jacob wrote:
> > i see in DVBSIParser::AddPid() an open() call and an ioctl call which if
> > it fails does not close the fd. could this be a problem as i seem to
> > recall the message i got was something about "failing to open section
> > filter".
>
> John caught a nasty bug in DVBSIParser::DelAllPids() that wasn't actually
> closing all the pids but intead constantly closing FD 0.. This is fixed in
> my cvs.. You can try changing
>
>         close(it.data().fd);
>
> to
>
>          close(it.key());
>
> and see if that fixes the issue.  If not let me know.
>
> > sorry for the vagueness, but it is 2am and i wanted to get this out
> > before i crashed.
>
> No was helpful.

thanks for that
now the scan goes all the way through
when i try to use the card i get:

2005-01-06 11:01:18.809 DVB#0 Recorder: Card opened successfully.
2005-01-06 11:01:18.815 DVB#0 WARNING - PID value (0) is outside DVB 
specificati
on.
2005-01-06 11:01:18.840 DVB#0 WARNING - PID value (0) is outside DVB 
specificati
on.
2005-01-06 11:01:20.039 DVB#0 WARNING - No data from card in 1 second.
2005-01-06 11:01:21.040 DVB#0 WARNING - No data from card in 1 second.
2005-01-06 11:01:22.040 DVB#0 WARNING - No data from card in 1 second.
2005-01-06 11:01:23.041 DVB#0 WARNING - No data from card in 1 second.
2005-01-06 11:01:24.042 DVB#0 WARNING - No data from card in 1 second.
2005-01-06 11:01:25.043 DVB#0 WARNING - No data from card in 1 second.
2005-01-06 11:01:26.043 DVB#0 WARNING - No data from card in 1 second.
2005-01-06 11:01:27.044 DVB#0 WARNING - No data from card in 1 second.
2005-01-06 11:01:28.045 DVB#0 WARNING - No data from card in 1 second.
2005-01-06 11:01:29.046 DVB#0 WARNING - No data from card in 1 second.
2005-01-06 11:01:30.046 DVB#0 WARNING - No data from card in 1 second.
2005-01-06 11:01:31.047 DVB#0 WARNING - No data from card in 1 second.
2005-01-06 11:01:32.048 DVB#0 WARNING - No data from card in 1 second.
2005-01-06 11:01:33.049 DVB#0 WARNING - No data from card in 1 second.
2005-01-06 11:01:34.046 Couldn't read data from the capture card in 15 
seconds.
 Game over, man.
2005-01-06 11:01:34.049 DVB#0 WARNING - No data from card in 1 second.

which doesn't look good. in trying to follow the code i got a bit lost. it 
seems to work out the PIDs from data transmitted by the channel.

if i use szap:

zapping to 664 'BBC WORLD':
sat 0, frequency = 12285 MHz V, symbolrate 27500000, vpid = 0x00a7, apid = 
0x006c
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 01 | signal 8836 | snr 7fcb | ber 0000ff00 | unc 00000000 |
status 1f | signal a965 | snr b3eb | ber 00000000 | unc 00000000 | FE_HAS_LOCK

it looks to me like it should have set vpid = 0x00a7, apid = 0x006c

this happens when i hit "y" on the keyboard to channel tuner. maybe i don't 
have the default channel set up correctly and i have read on the list that 
dvb gets a bit confused if you tune to an invalid channel. if mythsetup, what 
is the default channel referring to?

regards
--
simon


More information about the mythtv-dev mailing list