On Tuesday 01 Jun 2004 11:48, Hamish Moffatt wrote: > On Tue, Jun 01, 2004 at 10:39:56AM +0200, Johannes Stezenbach wrote: > > Johannes Stezenbach wrote: > > > Hamish Moffatt wrote: > > > > The relock behaviour is more helpful. For reasons I don't understand, > > > > my dpanda card lost lock a couple of times tonight while recording > > > > with MythTV, and unfortunately then I get nothing until the next > > > > channel change (or Myth restart). > > > > > > > > OTOH if user space is meant to monitor and initiate a retune, I'll > > > > work on a patch for Myth... > > > > > > It is not. There must be a bug in dvb_frontend.c or tda1004x.c. > > > > BTW, you didn't say which driver version you use. I hope we are > > not talking about old bugs? > > I hope not. I'm using linux 2.6.4 out of the box.
That will have the old version unfortunately. 2.6.6/CVS have the frontend fixes. > >From cvsweb it looks like tda1004x.c's changes have mostly been related > > to firmware loading since then. (Unfortunately the CVS version number > isn't in the file anywhere.) Same for dvb_frontend.c. > > I'll try to debug it then, sometime soon. A sample run I just did with CVS head on 2.6.6 (tda10045h based). You can probably spot where I unplugged it :) burble:/tmp/dvbtune# ./dvbtune -c 1 -f 634166670 -m Using DVB card "Philips TDA10045H" tuning DVB-T (in United Kingdom) to 634166670 Hz, Bandwidth: 0 polling.... Getting frontend event FE_STATUS: polling.... Getting frontend event FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC Event: Frequency: 634166670 Bit error rate: 0 Signal strength: 52685 SNR: 65278 FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC Signal=52685, Verror=0, SNR=65278dB, BlockErrors=-1, (S|L|C|V|SY|) Signal=52685, Verror=0, SNR=65278dB, BlockErrors=0, (S|L|C|V|SY|) Signal=52428, Verror=0, SNR=65278dB, BlockErrors=0, (S|L|C|V|SY|) Signal=52685, Verror=0, SNR=65278dB, BlockErrors=0, (S|L|C|V|SY|) Signal=52685, Verror=0, SNR=65278dB, BlockErrors=0, (S|L|C|V|SY|) Signal=52685, Verror=0, SNR=65278dB, BlockErrors=0, (S|L|C|V|SY|) Signal=52685, Verror=0, SNR=65278dB, BlockErrors=0, (S|L|C|V|SY|) Signal=52685, Verror=0, SNR=65278dB, BlockErrors=0, (S|L|C|V|SY|) Signal=52685, Verror=0, SNR=65278dB, BlockErrors=0, (S|L|C|V|SY|) Signal=52685, Verror=0, SNR=65278dB, BlockErrors=0, (S|L|C|V|SY|) Signal=43433, Verror=131070, SNR=0dB, BlockErrors=0, () Signal=43947, Verror=131070, SNR=0dB, BlockErrors=0, () Signal=52685, Verror=131070, SNR=32896dB, BlockErrors=0, () Signal=52685, Verror=131070, SNR=45232dB, BlockErrors=0, () Signal=52685, Verror=131070, SNR=45489dB, BlockErrors=0, () Signal=52685, Verror=4, SNR=65278dB, BlockErrors=0, (S|L|C|V|SY|) Signal=52685, Verror=0, SNR=65278dB, BlockErrors=0, (S|L|C|V|SY|) Signal=52685, Verror=2, SNR=65278dB, BlockErrors=0, (S|L|C|V|SY|) Signal=52685, Verror=0, SNR=65278dB, BlockErrors=0, (S|L|C|V|SY|) Signal=52685, Verror=0, SNR=65278dB, BlockErrors=0, (S|L|C|V|SY|) Signal=52685, Verror=2, SNR=65278dB, BlockErrors=0, (S|L|C|V|SY|)
