I have been fighting with an otherwise almost impeccable tvheadend for the last weeks, together with the very helpful support of Sundtek.
I couldn't get a useful, complete, scan out of it; tried on different computers, different plugs and cables. The autoscan would always get stuck at a certain percentage, or bring up wrong results (https://support.sundtek.com/index.php?topic=2612.0), while other hardware (TV, cable tuner) and other software (w_scan) would perform okay on the same plug and cable.
Yesterday we found out, that for certain problems (local interference?) the 370 MHz signal is not clean.
In these cases, tvheadend gets stuck, keeps trying for literally hours, until I abort the scan (https://support.sundtek.com/index.php?topic=2603.0).
The log does
SIGNAL: [............................. ] ( 88%) BER: 0 CNR: 33.70 FREQ: 370000000 Hz LOCKED: YES SYM: 6900000 MOD: QAM256
SIGNAL: [............................. ] ( 88%) BER: 8 CNR: 33.70 FREQ: 370000000 Hz LOCKED: YES SYM: 6900000 MOD: QAM256
SIGNAL: [............................. ] ( 88%) BER: 8 CNR: 33.50 FREQ: 370000000 Hz LOCKED: YES SYM: 6900000 MOD: QAM256
SIGNAL: [............................. ] ( 88%) BER: 8 CNR: 33.70 FREQ: 370000000 Hz LOCKED: YES SYM: 6900000 MOD: QAM256
SIGNAL: [............................. ] ( 88%) BER: 6 CNR: 33.50 FREQ: 370000000 Hz LOCKED: YES SYM: 6900000 MOD: QAM256
SIGNAL: [............................. ] ( 88%) BER: 6 CNR: 33.50 FREQ: 370000000 Hz LOCKED: YES SYM: 6900000 MOD: QAM256
SIGNAL: [............................. ] ( 88%) BER: 0 CNR: 33.50 FREQ: 370000000 Hz LOCKED: YES SYM: 6900000 MOD: QAM256
SIGNAL: [............................. ] ( 88%) BER: 0 CNR: 33.70 FREQ: 370000000 Hz LOCKED: YES SYM: 6900000 MOD: QAM256
SIGNAL: [............................. ] ( 88%) BER: 0 CNR: 33.70 FREQ: 370000000 Hz LOCKED: YES SYM: 6900000 MOD: QAM256
for eternity, or until I cancel. Logically, the next muxes will never be touched, and read out. Therefore I end up with a kind of variant number of services, or - worse - even with wrong parameters in the list (see first forum post, where a service in the 370 MHz-band was registered under 170 MHz).
For the time being I ASSUME that the other hard-/software simply skips muxes/services when problems are encountered, and continue with the next one, so that me, the user, gets an eventually not quite complete list, but a completed scan.
I wished that tvheadend could do likewise, and instead of running circles about a mux with eventually distorted response, after some time continue with the next mux/service.
Any further enlightenment, ideas, help respectively a code modification including a timeout will be welcome!