• Darron Broad's avatar
    V4L/DVB (9917): cx24116: change to ALGO_HW · 6639f1e0
    Darron Broad authored
    Slow tuning, EG:
    
    > szap-s2 -r -c 39.FTATV "1=Pgm1;Net1"
    reading channels from file '39.FTATV'
    zapping to 3 '1=Pgm1;Net1':
    delivery DVB-S, modulation QPSK
    sat 0, frequency 11140 MHz V, symbolrate 1425000, coderate 5/6, rolloff 0.35
    vpid 0x0200, apid 0x0300, sid 0x0001
    using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
    status 00 | signal c2c0 | snr 0000 | ber 00012d4a | unc 00000000 |
    status 03 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
    status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
    status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
    status 03 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
    status 03 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
    status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
    status 03 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
    status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
    status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
    status 01 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
    status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
    status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
    status 01 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
    status 03 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
    status 1f | signal c040 | snr bb33 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
    
    Appears to be resolved by dropping zig-zag tuning and relying on
    hardware only:
    
    > szap-s2 -r -c 39.FTATV "1=Pgm1;Net1"
    reading channels from file '39.FTATV'
    zapping to 3 '1=Pgm1;Net1':
    delivery DVB-S, modulation QPSK
    sat 0, frequency 11140 MHz V, symbolrate 1425000, coderate 5/6, rolloff 0.35
    vpid 0x0200, apid 0x0300, sid 0x0001
    using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
    status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
    status 1f | signal ff80 | snr c199 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
    status 1f | signal c040 | snr c199 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
    status 1f | signal ff80 | snr c199 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
    
    Tuning to a weaker channel shows that the hardware recovers sync:
    
    status 1f | signal fe40 | snr 5199 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
    status 03 | signal fd40 | snr 5000 | ber 00000000 | unc 00000000 |
    status 1f | signal fe40 | snr 5000 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
    status 03 | signal fd80 | snr 5000 | ber 00000000 | unc 00000000 |
    status 01 | signal fd80 | snr 4e66 | ber 00000000 | unc 00000000 |
    status 1f | signal fe40 | snr 5000 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
    status 03 | signal fe40 | snr 5000 | ber 00000000 | unc 00000000 |
    status 01 | signal fd80 | snr 0000 | ber 00000000 | unc 00000000 |
    status 1f | signal fe40 | snr 5199 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
    
    Also, tuning, moving the dish and then restoring the dish also retunes.
    Signed-off-by: default avatarDarron Broad <darron@kewl.org>
    Cc: Steven Toth <stoth@hauppauge.com>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    6639f1e0
cx24116.c 39.5 KB