[mythtv] dvbchannel patch

Kenneth Aafl°y lists at kenneth.aafloy.net
Thu Sep 1 00:15:23 UTC 2005


onsdag 31 august 2005, 17:19, skrev Mark Weaver:
> It got posted to the list a few days ago, I've sent you a copy to save
> you having to dig around.

Thanks!

> > I belive I saw this today too, it refused to read pat/pmt no matter how
> > good the signal was. After starting it up a few times it got it, has
> > anyone checked this with valgrind? Also strangely, while this was going
> > on one of my cams refused to boot.
>
> Hmm, this is suprising -- I would have thought that this couldn't be the
> case as the table monitor is not created until after DVBChannel::Tune()
> has been called.  Given that you are waiting for a lock I can't see how
> you'd get the wrong PAT.  Do you have a -v channel,record,siparser log
> handy so I can see if it looks like the same issue?

It got a lock, it just wouldn't read the damn pat. There are more
issues in the table/section parsing, as when I did a scan of a few
transponders today it managed to flip the names of a few services.
This was on 1W/11278/v/24500 which I know has perfect sections.

Sorry, but I only have -v channel log, will capture a more verbose
log the next time I'm able to reproduce it.

[kenneth at linuxmedia]:~$ /opt/mythtv/bin/mythbackend -v channel
2005-08-31 15:37:24.469 Using runtime prefix = /opt/mythtv
2005-08-31 15:37:24.499 New DB connection, total: 1
Starting up as the master server.
2005-08-31 15:37:24.524 New DB connection, total: 2
2005-08-31 15:37:24.531 DVB#0 Device Name: 'ST STV0299 DVB-S'
2005-08-31 15:37:24.532 DVB#0 Opening DVB channel
2005-08-31 15:37:24.532 DVB#0 Using DVB card 0, with frontend ST STV0299 
DVB-S.
2005-08-31 15:37:24.857 DVB#0 CA: CI handler successfully initialized!
2005-08-31 15:37:24.858 DVB#0 CA: CI handler thread running
2005-08-31 15:37:24.858 DVB#0 Trying to tune to channel 29.
2005-08-31 15:37:24.860 New DB connection, total: 3
2005-08-31 15:37:24.865 DVB#0 Frequency: 10853000 Symbol Rate: 27500000 Pol: 
H/L Inv: Auto
2005-08-31 15:37:25.233 DVB#0 DiSEqC 1.0 Switch - Port 3
2005-08-31 15:37:25.253 DVB#0 DiSEqC Sending 1.0 Command: e0 10 38 fe
2005-08-31 15:37:25.469 DVB#0 Lock 1
2005-08-31 15:37:25.485 DVB#0 Lock 2
2005-08-31 15:37:25.501 DVB#0 Lock 3
2005-08-31 15:37:25.517 DVB#0 Lock 4
2005-08-31 15:37:25.533 DVB#0 Lock 5
2005-08-31 15:37:25.533 DVB#0 Frequency tuning successful.
2005-08-31 15:37:25.533 DVB#0 Tuned to frequency for channel 29.
2005-08-31 15:37:25.533 DVB#0 Opening DVB channel
2005-08-31 15:37:25.749 SM:    AddFlags: Seen() Match() Wait(Sig,SNR,BER,UB,)
2005-08-31 15:37:25.749 DVBSM(0)::constructor(): initial flags 0x7400000
2005-08-31 15:37:25.750 DTVSM(0)::SetProgramNumber(8603):
2005-08-31 15:37:25.750 SM: RemoveFlags: Seen(PMT,) Match(PMT,) Wait()
2005-08-31 15:37:25.750 SM:    AddFlags: Seen() Match() Wait(PMT,)
2005-08-31 15:37:25.752 SM:    AddFlags: Seen() Match() Wait(PAT,PMT,)
2005-08-31 15:37:25.752 SM(0)::Start: begin
2005-08-31 15:37:25.757 SM(0)::Start: end
2005-08-31 15:37:25.757 DTVSM(0)::GetStatusList: WaitForPMT seen(0) 
matching(0)
2005-08-31 15:37:25.962 DVBSM(0)::UpdateValues(): Signal Lock
2005-08-31 15:37:25.969 DVBSM(0)::RunTableMonitor(): begin (# of pids 2)
2005-08-31 15:37:25.969 DVBSM(0)::AddPIDFilter(0x0):
2005-08-31 15:37:25.978 DVBSM(0)::AddPIDFilter(0x1ffb):
2005-08-31 15:37:28.781 SigMon Flags are: Seen() Match() 
Wait(PAT,PMT,Sig,SNR,BER,UB,)
2005-08-31 15:37:28.782 SML[0]: Name(slock) Val(1) thr(>=1) range(0,1) 
timeout(3000 ms) is set. Is good.
2005-08-31 15:37:28.782 SML[1]: Name(signal) Val(32767) thr(>=-32768) 
range(-32768,32767) timeout(3000 ms) is set. Is good.
2005-08-31 15:37:28.782 SML[2]: Name(seen_pat) Val(0) thr(>=1) range(0,1) 
timeout(0 ms) is set. Is NOT good.
2005-08-31 15:37:28.782 SML[3]: Name(matching_pat) Val(0) thr(>=1) range(0,1) 
timeout(0 ms) is set. Is NOT good.
2005-08-31 15:37:28.782 SML[4]: Name(seen_pmt) Val(0) thr(>=1) range(0,1) 
timeout(0 ms) is set. Is NOT good.
2005-08-31 15:37:28.782 SML[5]: Name(matching_pmt) Val(0) thr(>=1) range(0,1) 
timeout(0 ms) is set. Is NOT good.
2005-08-31 15:37:28.782 SML[6]: Name(snr) Val(32767) thr(>=-32768) 
range(-32768,32767) timeout(0 ms) is set. Is good.
2005-08-31 15:37:28.782 SML[7]: Name(ber) Val(0) thr(<=65535) range(0,65535) 
timeout(0 ms) is set. Is good.
2005-08-31 15:37:28.782 SML[8]: Name(ucb) Val(0) thr(<=65535) range(0,65535) 
timeout(0 ms) is set. Is good.
2005-08-31 15:37:28.782 TVRec: Timed out waiting for lock -- aborting 
recording
2005-08-31 15:37:28.782 DVBSM(0)::Stop: begin
2005-08-31 15:37:28.782 SM(0)::Stop: begin
2005-08-31 15:37:28.825 SM(0)::Stop: end
2005-08-31 15:37:28.833 DVBSM(0)::RunTableMonitor(): shutdown
2005-08-31 15:37:28.833 DVBSM(0)::RemovePIDFilter(0x0):
2005-08-31 15:37:28.841 DVBSM(0)::RemovePIDFilter(0x1ffb):
2005-08-31 15:37:28.849 DVBSM(0)::RunTableMonitor(): end
2005-08-31 15:37:28.849 DVBSM(0)::Stop: end
2005-08-31 15:37:28.850 DVBSM(0)::Stop: begin
2005-08-31 15:37:28.850 SM(0)::Stop: begin
2005-08-31 15:37:28.850 SM(0)::Stop: end
2005-08-31 15:37:28.850 DVBSM(0)::Stop: end
2005-08-31 15:37:28.850 SM(0)::Stop: begin
2005-08-31 15:37:28.850 SM(0)::Stop: end


More information about the mythtv-dev mailing list