Blindscan on linux with tbs cards

deeptho

Member
Joined
Apr 7, 2006
Messages
291
Reaction score
197
Points
43
Age
55
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
Changing .i2c_speed to 3 (instead of the default 9) roughly halves the i2c transfer time from 50ms to
25ms. At first sight no problems occured.
I had to guess the value.

As a result, running two spectral scans on 2 sats (low+high band, Vertical+horizontal) takes 25 seconds.
So now everything seems to run at full speed. This is possible because while one demod is computing the
spectrum, the other one can download a spectrum it computed easier.
 

deeptho

Member
Joined
Apr 7, 2006
Messages
291
Reaction score
197
Points
43
Age
55
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
In the latest version of the driver code, spectrum acquistion is now much faster on tbs6904se:
11 seconds for a complete satellite, including both polarisations and both bands.....
 

deeptho

Member
Joined
Apr 7, 2006
Messages
291
Reaction score
197
Points
43
Age
55
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
Text below edited because I pasted the wrong log file. I had to remove some lines to keep the post small enough

I have been working on changing the kernel code to make better use of the many tuners in stid135 based cards.
The code is not yet uploaded, but a command like this
Code:
stid135-blindscan -cblindscan -a 0 1 2 3 4 5 6 7 -r 0   -U2
will scan one sattelite on uncommitted switch set to port 2 (5.0W in this case), and using RF input 0 in
less than 2 minutes and using 8 tuners. That means that for most (but not all) of the work,
scanning will be done in parallel.

To exploit these changes, you will need the very latest kernel driver (available next week)
and a new command line program called stid135-blindscan. Currently only the 6909x card
is supported. Also the stid135-blindscan program does not wait for service information. So '
it only produces a list of muxes which can be locked. That list is left in
/tmp/blindscan_rf0.dat
and contains entries like
Code:
S2 11015744 H 35293251 2/3 AUTO 8PSK
S2 11461063 H 5779899 3/4 AUTO QPSK
S2 11471283 H 9899754 4/5 AUTO QPSK
S2 11479487 H 3214947 3/4 AUTO 8PSK
S2 11675233 H 35293466 2/3 AUTO 8PSK
S1 11453669 H 542530 1/2 AUTO QPSK
S2 11464938 H 666988 3/5 AUTO 8PSK
Also it shows progress in the terminal (see below)

This required some changes to dvbapi. Existing programs should still be able to work with the
modified drivers, but this has not been tested much. In future versions of neumoDVB all tuners will be
able to reach LNBs on any of the RF inputs, whereas in existing drivers each tuner can only reach one
of the input cables.

Code:
adapter_no=0 1 2 3 4 5 6 7 
rf_in=0
frontend=0
start-freq=-1
end-freq=-1
step-freq=6000
pol=3
pls_codes[5]={ 4202496, 2048, 98139136, 134216704, 80015360, }
diseqc=UC: U=2 C=-1
Blindscan drivers found
=======================================
Blindscan using the following adapters:
    TBS 6909X #0 RF_IN=0
    TBS 6909X #1 RF_IN=0
    TBS 6909X #2 RF_IN=0
    TBS 6909X #3 RF_IN=0
    TBS 6909X #4 RF_IN=0
    TBS 6909X #5 RF_IN=0
    TBS 6909X #6 RF_IN=0
    TBS 6909X #7 RF_IN=0
==========================
Acquiring spectrum on adapter 0
SPECTRUM: 10700.000-11700.000 pol=H
Found 24 peaks
Adap0    Tuning to 10932.900H 62.500kS/s FAILED
Adap3    Tuning to 11114.900H 62.500kS/s FAILED
Adap6    Tuning to 11296.900H 62.500kS/s FAILED
Adap0    Tuning to 11015.800H 36625.000kS/s 
    freq=11015.755H Symrate=35293 Stream=4     pls_mode= 0:16416
    MATYPES: 4: 0xda 5: 0xda 1: 0xda 
    SIG=-45.78dB     SIG= 55% CNR=11.90dB CNR= 59% 
    DVB-S2 QPSK FEC_NONE INV_ON  PIL_OFF ROLL_20
..
Adap4    Tuning to 11461.000H 6312.500kS/s 
    freq=11461.074H Symrate=5779  Stream=-1    pls_mode= 0:    1
    SIG=-53.12dB     SIG= 47% CNR=13.20dB CNR= 66% 
    DVB-S2 QPSK FEC_3_4 INV_ON  PIL_OFF ROLL_20
Adap4    Tuning to 11589.500H 62.500kS/s FAILED
Adap3    Tuning to 11471.250H 10750.000kS/s 
    freq=11471.294H Symrate=9899  Stream=-1    pls_mode= 0:    1
    SIG=-51.01dB     SIG= 49% CNR=13.40dB CNR= 67% 
    DVB-S2 QPSK FEC_4_5 INV_ON  PIL_ON  ROLL_20
Adap7    Tuning to 11479.450H 3625.000kS/s 
    freq=11479.497H Symrate=3214  Stream=-1    pls_mode= 0:    1
    SIG=-52.68dB     SIG= 48% CNR=16.70dB CNR= 83% 
    DVB-S2 8PSK FEC_3_4 INV_ON  PIL_ON  ROLL_35
Adap4    Tuning to 11592.300H 1437.500kS/s 
    timed out
Adap3    Tuning to 11606.350H 2687.500kS/s 
    timed out
Adap6    Tuning to 11581.850H 8500.000kS/s 
    timed out
Adap0    Tuning to 11424.250H 34500.000kS/s 
    timed out
Adap7    Tuning to 11608.250H 1437.500kS/s 
    timed out
Adap1    Tuning to 11586.400H 812.500kS/s 
    timed out
Adap2    Tuning to 11453.650H 625.000kS/s 
    freq=11453.680H Symrate=542   Stream=-1    pls_mode= 0:    1
    SIG=-64.14dB     SIG= 36% CNR=14.30dB CNR= 71% 
    DVB-S  QPSK FEC_1_2 INV_ON  PILAUTO ROLL_35
Adap5    Tuning to 11464.900H 750.000kS/s 
    timed out
Adap4    Tuning to 11675.150H 37750.000kS/s 
    freq=11675.245H Symrate=35293 Stream=1     pls_mode= 0:16416
    MATYPES: 4: 0xc2 3: 0xc2 1: 0xc2 
    SIG=-47.66dB     SIG= 53% CNR=12.00dB CNR= 60% 
    DVB-S2 8PSK FEC_2_3 INV_ON  PIL_ON  ROLL_20
==========================
Acquiring spectrum on adapter 0
SPECTRUM: 11700.000-12750.000 pol=H
Found 25 peaks

Adap2    Tuning to 12581.950H 31375.000kS/s 
    freq=12584.327H Symrate=35499 Stream=11    pls_mode= 0:    8
    MATYPES: 11: 0xda 
    SIG=-47.39dB     SIG= 53% CNR=13.50dB CNR= 67% 
    DVB-S2 8PSK FEC_2_3 INV_ON  PIL_ON  ROLL_20
Adap0    Tuning to 12531.450H 1250.000kS/s 
    timed out
Adap7    Tuning to 12559.400H 1062.500kS/s 
    timed out
Adap6    Tuning to 12554.800H 8875.000kS/s 
    timed out
...
Adap0    Tuning to 12668.050H 35500.000kS/s 
        freq=12668.329H Symrate=35499 Stream=111   pls_mode= 0:    8
    MATYPES: 1: 0xda 111: 0xda 
    SIG=-48.15dB     SIG= 52% CNR=14.10dB CNR= 70% 
    DVB-S2 QPSK FEC_NONE INV_ON  PIL_OFF ROLL_20
Adap7    Tuning to 12703.150H 21500.000kS/s 
    timed out
Adap6    Tuning to 12716.250H 6500.000kS/s 
    timed out
Adap1    Tuning to 12723.550H 9000.000kS/s 
    timed out
==========================
Acquiring spectrum on adapter 0
SPECTRUM: 10700.000-11700.000 pol=V
Found 22 peaks
Adap4    Tuning to 10932.900V 62.500kS/s FAILED
Adap0    Tuning to 10722.250V 32562.500kS/s 
    timed out
Adap0    Tuning to 11114.900V 62.500kS/s FAILED
Adap1    Tuning to 10758.000V 33125.000kS/s 
    timed out
Adap2    Tuning to 10805.650V 32000.000kS/s 
    timed out
Adap3    Tuning to 10841.650V 32562.500kS/s 
    timed out
Adap3    Tuning to 11275.350V 62.500kS/s FAILED
Adap3    Tuning to 11296.900V 62.500kS/s FAILED
Adap3    Tuning to 11447.650V 62.500kS/s FAILED
Adap3    Tuning to 11450.700V 62.500kS/s FAILED
Adap5    Tuning to 10970.900V 32000.000kS/s 
    timed out
Adap4    Tuning to 11012.700V 36125.000kS/s 
    freq=11012.765V Symrate=35293 Stream=3     pls_mode= 0:16416
    MATYPES: 5: 0xd2 3: 0xd2 1: 0xd2 11: 0xd2 
    SIG=-45.98dB     SIG= 55% CNR=12.30dB CNR= 61% 
    DVB-S2 QPSK FEC_NONE INV_ON  PIL_OFF ROLL_20
Adap7    Tuning to 11054.000V 31812.500kS/s 
    timed out
Adap6    Tuning to 11095.850V 32000.000kS/s 
    timed out
Adap0    Tuning to 11136.800V 36500.000kS/s 
    freq=11137.264V Symrate=35293 Stream=51    pls_mode= 0:16416
    MATYPES: 50: 0xc2 51: 0xc2 52: 0xc2 
    SIG=-45.84dB     SIG= 55% CNR=11.30dB CNR= 56% 
    DVB-S2 8PSK FEC_2_3 INV_ON  PIL_ON  ROLL_20
Adap1    Tuning to 11178.250V 35562.500kS/s 
    freq=11178.763V Symrate=35293 Stream=6     pls_mode= 0:16416
    MATYPES: 6: 0xc2 4: 0xc2 5: 0xc2 
    SIG=-46.14dB     SIG= 54% CNR=13.20dB CNR= 66% 
    DVB-S2 8PSK FEC_2_3 INV_ON  PIL_ON  ROLL_20
Adap3    Tuning to 11470.800V 31750.000kS/s 
    timed out
Adap5    Tuning to 11512.000V 31625.000kS/s 
    timed out
Adap4    Tuning to 11553.800V 31937.500kS/s 
    timed out
Adap7    Tuning to 11637.300V 35875.000kS/s 
    freq=11636.755V Symrate=35293 Stream=10    pls_mode= 0:16416
    MATYPES: 7: 0xc2 10: 0xc2 8: 0xc2 1: 0xc2 
    SIG=-47.91dB     SIG= 53% CNR=13.30dB CNR= 66% 
    DVB-S2 8PSK FEC_2_3 INV_ON  PIL_ON  ROLL_20
Adap6    Tuning to 11678.000V 31687.500kS/s 
    timed out
Adap2    Tuning to 11199.450V 125.000kS/s 
    timed out
==========================
Acquiring spectrum on adapter 0
SPECTRUM: 11700.000-12750.000 pol=V
Found 23 peaks
Adap1    Tuning to 11964.900V 62.500kS/s FAILED
Adap0    Tuning to 11782.900V 62.500kS/s FAILED
Adap2    Tuning to 12146.900V 62.500kS/s FAILED
Adap3    Tuning to 12300.700V 62.500kS/s FAILED
Adap1    Tuning to 12505.100V 1812.500kS/s 
    timed out
Adap0    Tuning to 12506.750V 1750.000kS/s 
    timed out
Adap2    Tuning to 12509.900V 1687.500kS/s 
    timed out
Adap3    Tuning to 12511.400V 1562.500kS/s 
    timed out
Adap4    Tuning to 12508.350V 1687.500kS/s 
    timed out
Adap5    Tuning to 12512.900V 1500.000kS/s 
    timed out
Adap7    Tuning to 12515.750V 1562.500kS/s 
    timed out
Adap6    Tuning to 12514.300V 1500.000kS/s 
    timed out
Adap6    Tuning to 12563.350V 36125.000kS/s 
    freq=12563.339V Symrate=34285 Stream=-1    pls_mode= 0:    1
    MATYPES: 0: 0xb3 
    SIG=-54.56dB     SIG= 46% CNR=7.30dB CNR= 36% 
    DVB-S2 QPSK FEC_2_5 INV_ON  PIL_ON  ROLL(6)
Adap0    Tuning to 12646.850V 30250.000kS/s 
    freq=12647.314V Symrate=29499 Stream=2     pls_mode= 1:121212
    MATYPES: 3: 0xda 2: 0xda 1: 0xda 
    SIG=-50.99dB     SIG= 50% CNR=13.10dB CNR= 65% 
    DVB-S2 8PSK FEC_8_9 INV_ON  PIL_ON  ROLL_20
Adap3    Tuning to 12731.200V 29687.500kS/s 
    freq=12731.338V Symrate=29499 Stream=1     pls_mode= 1:50416
    MATYPES: 4: 0xd8 6: 0xd8 1: 0xd8 
    SIG=-51.88dB     SIG= 49% CNR=14.10dB CNR= 70% 
    DVB-S2 8PSK FEC_8_9 INV_ON  PIL_ON  ROLL_35

real    1m58.866s
user    0m0.187s
sys    0m0.032s
 
Last edited:

pk008

Member
Joined
Nov 2, 2021
Messages
26
Reaction score
0
Points
1
Age
28
My Satellite Setup
TBS6908, TBS6903-X
My Location
Asia
Hi, im getting error in installing media build.

CPU: Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHz
OS: Ubuntu 18.04.6 LTS
gcc version 8.4.0

Tried compiling in kernel versions gnulinux-5.10.0-051000-generic, gnulinux-5.9.0-050900-generic, gnulinux-4.15.0-189-generic and gnulinux-4.15.0-156-generic without any luck...

what can be the issue?!

installed these packages:
apt install patchutils apt-get install libcurl4-openssl-dev apt install ncurses-dev apt install bison apt-get install flex apt-get install libproc-processtable-perl

getting this error while ./install.sh
 

deeptho

Member
Joined
Apr 7, 2006
Messages
291
Reaction score
197
Points
43
Age
55
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
Hi, im getting error in installing media build.

CPU: Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHz
OS: Ubuntu 18.04.6 LTS
gcc version 8.4.0

Tried compiling in kernel versions gnulinux-5.10.0-051000-generic, gnulinux-5.9.0-050900-generic, gnulinux-4.15.0-189-generic and gnulinux-4.15.0-156-generic without any luck...

what can be the issue?!

installed these packages:
apt install patchutils apt-get install libcurl4-openssl-dev apt install ncurses-dev apt install bison apt-get install flex apt-get install libproc-processtable-perl

getting this error while ./install.sh
No idea. Typically there is little point in asking these questions without providing details on the problem. Also media_build
is never easy. The results vary according to the version of media_build, the version of media, and the version of the kernel.
 

pk008

Member
Joined
Nov 2, 2021
Messages
26
Reaction score
0
Points
1
Age
28
My Satellite Setup
TBS6908, TBS6903-X
My Location
Asia
Top