I want to be able to quickly scan for changes/new channels on DVB-C/S/S2/T2
using the CLI over SSH and "DVBlast and w_scan tools" or others
rather that going through the MENU on the TV, since I have quite few tuners always available.
I have 3 cards for Cable, Sat and Terrestrial.
Tuner A Vuplus DVB-C NIM(BCM3148) (DVB-C) Tuner B Vuplus DVB-C NIM(BCM3148) (DVB-C) Tuner C Vuplus DVB-C NIM(BCM3148) (DVB-C) Tuner D Vuplus DVB-C NIM(BCM3148) (DVB-C) Tuner E Vuplus DVB-C NIM(BCM3148) (DVB-C) Tuner F Vuplus DVB-C NIM(BCM3148) (DVB-C) Tuner G Vuplus DVB-C NIM(BCM3148) (DVB-C) Tuner H Vuplus DVB-C NIM(BCM3148) (DVB-C) Tuner I Vuplus DVB-S NIM(45208 FBC) (DVB-S2) Tuner J Vuplus DVB-S NIM(45208 FBC) (DVB-S2) Tuner K Vuplus DVB-S NIM(45208 FBC) (DVB-S2) Tuner L Vuplus DVB-S NIM(45208 FBC) (DVB-S2) Tuner M Vuplus DVB-S NIM(45208 FBC) (DVB-S2) Tuner N Vuplus DVB-S NIM(45208 FBC) (DVB-S2) Tuner O Vuplus DVB-S NIM(45208 FBC) (DVB-S2) Tuner P Vuplus DVB-S NIM(45208 FBC) (DVB-S2) Tuner Q Vuplus DVB-T NIM(TT3L10) (MultiType DVB-C/T2) Tuner R Vuplus DVB-C NIM(TT3L10) (MultiType DVB-C/T2)
Is it safe to assume that the tuners are as follows?
ls -ilha /dev/dvb/adapter0/frontend* 1894 crw-rw---- 1 root video 212, 72 Jan 1 1970 /dev/dvb/adapter0/frontend0 (A) 1895 crw-rw---- 1 root video 212, 73 Jan 1 1970 /dev/dvb/adapter0/frontend1 1897 crw-rw---- 1 root video 212, 74 Jan 1 1970 /dev/dvb/adapter0/frontend2 1899 crw-rw---- 1 root video 212, 75 Jan 1 1970 /dev/dvb/adapter0/frontend3 1901 crw-rw---- 1 root video 212, 76 Jan 1 1970 /dev/dvb/adapter0/frontend4 1903 crw-rw---- 1 root video 212, 77 Jan 1 1970 /dev/dvb/adapter0/frontend5 1905 crw-rw---- 1 root video 212, 78 Jan 1 1970 /dev/dvb/adapter0/frontend6 (H) 1907 crw-rw---- 1 root video 212, 79 Jan 1 1970 /dev/dvb/adapter0/frontend7 (I) 1909 crw-rw---- 1 root video 212, 80 Jan 1 1970 /dev/dvb/adapter0/frontend8 1911 crw-rw---- 1 root video 212, 81 Jan 1 1970 /dev/dvb/adapter0/frontend9 1912 crw-rw---- 1 root video 212, 82 Jan 1 1970 /dev/dvb/adapter0/frontend10 1913 crw-rw---- 1 root video 212, 83 Jan 1 1970 /dev/dvb/adapter0/frontend11 1914 crw-rw---- 1 root video 212, 84 Jan 1 1970 /dev/dvb/adapter0/frontend12 1915 crw-rw---- 1 root video 212, 85 Jan 1 1970 /dev/dvb/adapter0/frontend13 1916 crw-rw---- 1 root video 212, 86 Jan 1 1970 /dev/dvb/adapter0/frontend14 1917 crw-rw---- 1 root video 212, 87 Jan 1 1970 /dev/dvb/adapter0/frontend15 (P) 5235 crw-rw---- 1 root video 212, 88 Jan 1 1970 /dev/dvb/adapter0/frontend16 (Q) 32109 crw-rw---- 1 root video 212, 89 Sep 8 14:21 /dev/dvb/adapter0/frontend17 (R)
Version of DVBlast on the Vu+ box is 3.4 (git-3.4-14-g4270dca-dirty).
Version of w_scan is 20170107.
I know that the Cable opp is using the following:
Symbol rate: 6900
DVB-C
QAM256
-------
#w_scan
-------
Checking on the manual:
https://manpages.ubu...1/w_scan.1.html
I try following:
w_scan -fc -c XX -R 1 -T 1 -O 1 -E 1 -a /dev/dvb/adapter0/frontend6 -t 3 -i 2 -Q 1 e 1 -S 0 -vvvvvv -f TYPE Frontend type, "c" = DVB-C, -c COUNTRY_ID Mandatory argument for ATSC scans, cable scans and terrestrian scans, see option -f. Specifies the country where you try to scan for channels as uppercase two letter identifier, e.g. DE = Germany, .................Services................ -R N, --radio-services N 1 = search radio channels [default] -T N, --tv-services N 1 = search TV channels[default] -O N, --other-services N 1 = search other services -E N, --encrypted-services (Conditional Access) N=1 search also encrypted channels [default] .................Device.................. -a N, --adapter N use device /dev/dvb/adapterN/ [default: auto detect] (also allowed: -a /dev/dvb/adapterN/frontendM) -t N, --lock-timeout N tuning timeout 1 = fastest [default] 2 = medium 3 = slowest .................DVB-C................... -i N, --inversion N spectral inversion setting for cable TV (0: off, 1: on, 2: auto [default]) -Q N, --dvbc-modulation N set DVB-C modulation, see table: 0 = QAM64 1 = QAM256 2 = QAM128 NOTE: for experienced users only!! -e N,--dvbc-extflags N extended scan flags (DVB-C only), Any combination of these flags: 1 = use extended symbolrate list enables scan of symbolrates 6111, 6250, 6790, 6811, 5900, 5000, 3450, 4000, 6950, 7000, 6952, 6956, 6956.5, 5217 2 = extended QAM scan (enable QAM128) recommended for Nethterlands and Finland NOTE: extended scan will be *slow* -S N, dvbc-symbolrate N set DVB-C symbol rate, see table: 0 = 6.9000 MSymbol/s 1 = 6.8750 MSymbol/s 2 = 6.9565 MSymbol/s 3 = 6.9560 MSymbol/s 4 = 6.9520 MSymbol/s 5 = 6.9500 MSymbol/s 6 = 6.7900 MSymbol/s 7 = 6.8110 MSymbol/s 8 = 6.2500 MSymbol/s 9 = 6.1110 MSymbol/s 10 = 6.0860 MSymbol/s 11 = 5.9000 MSymbol/s 12 = 5.4830 MSymbol/s 13 = 5.2170 MSymbol/s 14 = 5.1560 MSymbol/s 15 = 5.0000 MSymbol/s 16 = 4.0000 MSymbol/s 17 = 3.4500 MSymbol/s NOTE: for experienced users only!!
But the scan finds nothing:
w_scan version 20170107 (compiled for DVB API 5.11) using settings for XXXXXXXXXX DVB cable DVB-C FI scan type CABLE, channellist 8 output format vdr-2.0 WARNING: could not guess your codepage. Falling back to 'UTF-8' output charset 'UTF-8', use -C <charset> to override -_-_-_-_ Getting frontend capabilities-_-_-_-_ Using DVB API 5.10 frontend 'Vuplus FE' supports INVERSION_AUTO QAM_AUTO not supported, trying QAM_256. FEC_AUTO FREQ (47.00MHz ... 862.00MHz) SRATE (0.870MSym/s ... 11.700MSym/s) -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ check Vuplus FE: DVB-C ann.C DVB-C ann.A searching QAM256... 146000: sr6900 (time: 00:00.002) 154000: sr6900 (time: 00:00.208) .................. 50000: sr6900 (time: 00:21.081) 858000: sr6900 (time: 00:21.322) ERROR: Sorry - i couldn't get any working frequency/transponder Nothing to scan!!
So I know working multiplexes and trying DVBlast to see if I can see anything on specific mux in SDT and run following command:
dvblast -f 498000000 -s 6900000 -a 0 -n 6 -5 dvbc_annex_a -m qam_256 -f --frequency frontend frequency -s --symbol-rate -a --adapter read packets from a Linux-DVB adapter (typically 0-n) -n --frontend-number <frontend number> -5 --delsys delivery system DVBS|DVBS2|DVBC_ANNEX_A|DVBT|DVBT2|ATSC|ISDBT|DVBC_ANNEX_B(ATSC-C/QAMB) (default guessed) -m --modulation Modulation type
But it would lock/scan the "last tuned" multiplex rather then 498MHz ....
Anyone any idea, where I am going wrong?