Dvb-s2 mode does not work on the tuner tbs 5580

Support forum for minisatip
Post Reply
allexti
Posts: 2
Joined: Mon Apr 08, 2019 6:15 pm

Dvb-s2 mode does not work on the tuner tbs 5580

Post by allexti »

Hello. I apologize in advance, I just recently began to learn minisatip.
I have a usb tuner tbs 5580 universal with dvb-t2, dvb-c, dvb-s2. I compiled a driver for it under ubuntu and set up TVmosaic software. The system is seen as 2 tuners, one with dvb-t / dvb-c, second with dvb-s2, all the necessary frequencies on dvb-s2 are located.
Next, I deleted tvmosaic and put a minisatip on this system.
Then I searched for channels through Synology NAS with the tvmosaic program and it also displayed 2 tuners from minisatip. The problem is that these 2 tuners worked in dvb-t2 / dvb-c mode. Mode dvb-s2 I could not configure.
What could be the problem?
Log from dmesg commands and sudo command ./minisatip -f -v general is attached.

Code: Select all

[  765.910133] si2183 1-0067: firmware version: 6.0.2
[  765.955466] si2157 2-0061: found a 'Silicon Labs Si2157-A30'
[  766.015146] si2157 2-0061: firmware version: 3.0.5
[  969.771730] usb 1-2: USB disconnect, device number 3
[  969.775108] dvb-usb: TBS 5580 CI USB2.0 successfully deinitialized and disconnected.
[  979.999858] usb 1-3: new high-speed USB device number 4 using ehci-pci
[  980.413911] usb 1-3: New USB device found, idVendor=734c, idProduct=5580
[  980.413915] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  980.413917] usb 1-3: Product: TBS 5580
[  980.413919] usb 1-3: Manufacturer: TBS-Tech
[  980.418013] dvb-usb: found a 'TBS 5580 CI USB2.0' in cold state, will try to load a firmware
[  980.418018] dvb-usb: downloading firmware from file 'dvb-usb-id5580.fw'
[  980.418019] tbs5580: start downloading TBS5580 firmware
[  980.571620] dvb-usb: found a 'TBS 5580 CI USB2.0' in warm state.
[  980.571903] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[  980.572207] dvbdev: DVB: registering new adapter (TBS 5580 CI USB2.0)
[  980.926444] dvb-usb: MAC address: 00:22:ab:c0:49:7d
[  980.976191] i2c i2c-1: Added multiplexed i2c bus 2
[  980.976195] si2183 1-0067: Silicon Labs Si2183 successfully attached
[  980.985565] si2157 2-0061: Silicon Labs Si2147/2148/2157/2158 successfully attached
[  980.985654] i2c i2c-2: av201x: Airoha Technology AV201x successfully attached
[  980.987052] tbs5580: CI initialized.
[  980.989799] tbs5580: CI disabled.
[  980.989808] usb 1-3: DVB: registering adapter 0 frontend 0 (TBS 5580 CI USB2.0 DVB-T/T2/C/C2/ISDB-T)...
[  980.989961] usb 1-3: DVB: registering adapter 0 frontend 1 (TBS 5580 CI USB2.0 DVB-S/S2/S2X)...
[  980.992548] dvb-usb: TBS 5580 CI USB2.0 successfully initialized and connected.
alex@alex-Standard-PC-i440FX-PIIX-1996:/opt/minisatip$ cd /opt/minisatip
alex@alex-Standard-PC-i440FX-PIIX-1996:/opt/minisatip$ sudo systemctl stop minisatip
[sudo] пароль для alex:           
alex@alex-Standard-PC-i440FX-PIIX-1996:/opt/minisatip$ sudo ./minisatip -f -v general
[08/04 16:08:28.829 main]: minisatip version 0.7.16, compiled with s2api version: 050A
[08/04 16:08:28.829 main]: Built without dvbcsa
[08/04 16:08:28.829 main]: Built with CI
[08/04 16:08:28.829 main]: Built with dvbapi
[08/04 16:08:28.830 main]: Built without AES (OpenSSL)
[08/04 16:08:28.830 main]: Built with tables processing
[08/04 16:08:28.830 main]: Built with pmt processing
[08/04 16:08:28.830 main]: Built with satip client
[08/04 16:08:28.830 main]: Built with linux dvb client
[08/04 16:08:28.830 main]: Built with backtrace
[08/04 16:08:28.830 main]: Built without netceiver
[08/04 16:08:28.830 main]: Built without ddci
[08/04 16:08:28.830 main]: Built without t2mi
[08/04 16:08:28.831 main]: New UDP socket 3 bound to 0.0.0.0:1900 
[08/04 16:08:28.835 main]: setting multicast for 239.255.255.250
[08/04 16:08:28.835 main]: New UDP socket 4 bound to 239.255.255.250:1900 (mcast:239.255.255.250)
[08/04 16:08:28.835 main]: Mutex init 0x55c5ec55b000
[08/04 16:08:28.835 main]: Mutex init 0x55c5edf0c3d8
[08/04 16:08:28.835 main]: sockets_add: handle 3 (type 0) returning socket sock 0 [0.0.0.0:0] read: 0x55c5ec30cb49
[08/04 16:08:28.835 main]: Mutex init 0x55c5edf0d8a8
[08/04 16:08:28.835 main]: sockets_add: handle 4 (type 0) returning socket sock 1 [0.0.0.0:0] read: 0x55c5ec30cb49
[08/04 16:08:28.835 main]: Mutex init 0x55c5edf0da08
[08/04 16:08:28.835 main]: sockets_add: handle 5 (type 2) returning socket sock 2 [0.0.0.0:0] read: 0x55c5ec30c927
[08/04 16:08:28.836 main]: Mutex init 0x55c5edf0db68
[08/04 16:08:28.836 main]: sockets_add: handle 6 (type 2) returning socket sock 3 [0.0.0.0:0] read: 0x55c5ec30c927
[08/04 16:08:28.836 main]: Mutex init 0x55c5edf0dcc8
[08/04 16:08:28.836 main]: sockets_add: handle -2 (type 0) returning socket sock 4 [0.0.0.0:0] read: 0x55c5ec30cb49
[08/04 16:08:28.836 main]: set_socket_thread: thread 3759f700 for sockets 4
[08/04 16:08:28.836 signal]: Starting select_and_execute on thread ID 3759f700, thread_name signal
[08/04 16:08:28.836 main]: Mutex init 0x55c5edf0df58
[08/04 16:08:28.836 main]: sockets_add: handle -2 (type 0) returning socket sock 5 [0.0.0.0:0] read: 0x55c5ec30cb49
[08/04 16:08:28.836 main]: set_socket_thread: thread 3759f700 for sockets 5
[08/04 16:08:28.837 main]: Mutex init 0x55c5ec5600a0
[08/04 16:08:28.837 main]: Mutex init 0x55c5ec560100
[08/04 16:08:28.837 main]: Mutex init 0x55c5ec56f6a0
[08/04 16:08:28.837 main]: Mutex init 0x55c5edf0e0b8
[08/04 16:08:28.837 main]: sockets_add: handle -2 (type 0) returning socket sock 6 [0.0.0.0:0] read: 0x55c5ec30cb49
[08/04 16:08:28.837 main]: Mutex init 0x55c5ec55e660
[08/04 16:08:28.837 main]: starting init_all_hw 0
[08/04 16:08:28.837 main]: Mutex init 0x55c5ec55bfc0
[08/04 16:08:28.884 main]: Mutex init 0x55c5edf0e218
[08/04 16:08:28.884 main]: trying to open [0] adapter 0 and frontend 0
[08/04 16:08:28.885 main]: opened DVB adapter 0 fe:7 dvr:8
[08/04 16:08:28.885 main]: DVR buffer set to 5775360 bytes
[08/04 16:08:28.885 main]: deleting pids on adapter 0, sid -1, pids=NULL
[08/04 16:08:29.623 main]: Detected adapter 0 handle 7 DVB Card Name: TBS 5580 CI USB2.0 DVB-T/T2/C/C2/ISDB-T
[08/04 16:08:29.623 main]: Detected delivery system for adapter 0: dvbt [3]
[08/04 16:08:29.623 main]: Detected delivery system for adapter 0: dvbt2 [16]
[08/04 16:08:29.623 main]: Detected delivery system for adapter 0: dvbc [1]
[08/04 16:08:29.623 main]: Detected delivery system for adapter 0: isdbt [8]
[08/04 16:08:29.623 main]: Detected delivery system for adapter 0: dvbcb [2]
[08/04 16:08:29.623 main]: Mutex init 0x55c5edf21908
[08/04 16:08:29.623 main]: sockets_add: handle 8 (type 5) returning socket sock 7 [0.0.0.0:0] read: 0x55c5ec30caa0
[08/04 16:08:29.623 main]: set_socket_thread: thread 36d9e700 for sockets 7
[08/04 16:08:29.623 AD0]: Starting select_and_execute on thread ID 36d9e700, thread_name AD0
[08/04 16:08:37.713 main]: CA module not present or not ready
[08/04 16:08:37.713 main]: closing CA device 0, fd -1
[08/04 16:08:37.713 main]: done opening adapter 0 delivery systems: dvbt undefined undefined undefined
[08/04 16:08:37.713 main]: FE 1 mapped to Adapter 0, sys dvbc
[08/04 16:08:37.713 main]: FE 2 mapped to Adapter 0, sys dvbt2
[08/04 16:08:37.713 main]: done init_hw 1
[08/04 16:08:37.713 main]: Initializing with 1 devices
[08/04 16:08:37.713 main]: Starting select_and_execute on thread ID 385edac0, thread_name main
[08/04 16:08:59.682 AD0]: Requested adapter 0 close due to timeout 30 sec, result 1 max_rtime 2847
[08/04 16:08:59.682 AD0]: closing DVR socket 8 pos 7 aid 0
[08/04 16:08:59.682 AD0]: closing adapter 0  -> fe:7 dvr:8, sock:7, fe_sock:-1
[08/04 16:08:59.682 AD0]: adapter.c:1076: get_adapter returns NULL for adapter_id 0
[08/04 16:08:59.682 AD0]: adapter.c:845: get_adapter returns NULL for adapter_id 0
[08/04 16:08:59.682 AD0]: Destroying mutex 0x55c5edf0e218
[08/04 16:08:59.682 AD0]: done closing adapter 0
[08/04 16:08:59.682 AD0]: sockets_del: sock 7 -> handle 8, sid -1, overflow bytes 0, allocated 0, used 0, unsend packets 0
[08/04 16:08:59.683 AD0]: sockets_del: 7 Last open socket is at index 7 current_handle 8
[08/04 16:08:59.683 AD0]: Destroying mutex 0x55c5edf21908
[08/04 16:08:59.783 AD0]: No enabled sockets for Thread ID 7f0236d9e700 name AD0 ... exiting 
[08/04 16:08:59.783 AD0]: Mutex init 0x55c5ec55c5a0
[08/04 16:08:59.783 AD0]: add_join_thread: pthread 36d9e700
^C[08/04 16:12:14.765 main]: select_and_execute: select() error 4: Interrupted system call
[08/04 16:12:14.765 main]: The main loop ended, run_loop = 0
[08/04 16:12:14.765 main]: Destroying mutex 0x55c5ec560100
[08/04 16:12:14.765 main]: Destroying mutex 0x55c5ec5600a0
[08/04 16:12:14.765 main]: sockets_del: sock 6 -> handle -2, sid -1, overflow bytes 0, allocated 0, used 0, unsend packets 0
[08/04 16:12:14.765 main]: sockets_del: 6 Last open socket is at index 6 current_handle -2
[08/04 16:12:14.765 main]: Destroying mutex 0x55c5edf0e0b8
[08/04 16:12:14.765 main]: sockets_del: sock 5 -> handle -2, sid -1, overflow bytes 0, allocated 0, used 0, unsend packets 0
[08/04 16:12:14.765 main]: sockets_del: 5 Last open socket is at index 5 current_handle -2
[08/04 16:12:14.765 main]: Destroying mutex 0x55c5edf0df58
[08/04 16:12:14.765 main]: sockets_del: sock 4 -> handle -2, sid -1, overflow bytes 0, allocated 0, used 0, unsend packets 0
[08/04 16:12:14.765 main]: sockets_del: 4 Last open socket is at index 4 current_handle -2
[08/04 16:12:14.765 main]: Destroying mutex 0x55c5edf0dcc8
[08/04 16:12:14.765 main]: sockets_del: sock 3 -> handle 6, sid -1, overflow bytes 0, allocated 0, used 0, unsend packets 0
[08/04 16:12:14.765 main]: sockets_del: 3 Last open socket is at index 3 current_handle 6
[08/04 16:12:14.765 main]: Destroying mutex 0x55c5edf0db68
[08/04 16:12:14.765 main]: sockets_del: sock 2 -> handle 5, sid -1, overflow bytes 0, allocated 0, used 0, unsend packets 0
[08/04 16:12:14.765 main]: sockets_del: 2 Last open socket is at index 2 current_handle 5
[08/04 16:12:14.765 main]: Destroying mutex 0x55c5edf0da08
[08/04 16:12:14.765 main]: sockets_del: sock 1 -> handle 4, sid -1, overflow bytes 0, allocated 0, used 0, unsend packets 0
[08/04 16:12:14.765 main]: sockets_del: 1 Last open socket is at index 1 current_handle 4
[08/04 16:12:14.765 main]: Destroying mutex 0x55c5edf0d8a8
[08/04 16:12:14.765 main]: Destroying mutex 0x55c5ec55e660
566.jpg
566.jpg (104.89 KiB) Viewed 5840 times
cata
Site Admin
Posts: 768
Joined: Tue May 12, 2015 1:01 am

Re: Dvb-s2 mode does not work on the tuner tbs 5580

Post by cata »

Hi

Can you try adding -y 0:dvbs2

This might make it work but the problem is the kernel does not report the dvbs2 system so it possible you are using a dvb c/t driver rather than dvb s2 one.
9000h
Posts: 89
Joined: Tue May 12, 2015 1:49 pm

Re: Dvb-s2 mode does not work on the tuner tbs 5580

Post by 9000h »

Hi,
multi frontend support is still an issue, but have a look here for a workaround
https://github.com/catalinii/minisatip/issues/399
CU
9000h
allexti
Posts: 2
Joined: Mon Apr 08, 2019 6:15 pm

Re: Dvb-s2 mode does not work on the tuner tbs 5580

Post by allexti »

The system recognizes this tuner normally. The driver collected as written here
https://github.com/tbsdtv/linux_media/wiki
TvMosaic directly works correctly with this tuner.
2019-04-11 21-33-36.jpg
2019-04-11 21-33-36.jpg (179.21 KiB) Viewed 5829 times
2019-04-11 21-33-48.jpg
2019-04-11 21-33-48.jpg (176.57 KiB) Viewed 5829 times
Post Reply