Moderator Control Panel ]

DVB-S/S2 mode in Linux

DVB-S/S2 mode in Linux

Postby deejayd » Sun Oct 23, 2016 5:20 pm

Hello,
I have just installed the TBS6522, here is my first report:

- on Windows 7, card is well detected , I use the change mode software to set both outputs to DVB-S/S2. Then, I run Crazyscan (latest version). Unfortunately, it keeps saying "RFScan not supported", whatever tuner is selected. Any clue ? Same thing with Dvbdream, tuner cannot start.

- on Linux (Ubuntu 16.04), the card is detected as DVB-T only (adapter0 and 1). How do we change mode in Linux to DVB-S, as I don't see an equivalent "change mode" tool as in Windows ?
deejayd
 
Posts: 20
Joined: Sun Aug 07, 2011 9:32 pm
Location: France

Re: DVB-S/S2 mode in Linux

Postby crazycat » Mon Oct 24, 2016 2:51 am

Please attach streamreader.log after CrazyScan run attempt.

In linux registered two frontends for each adapter - first ter/cable, second satellite.
Read more in TBS 6522 Multi-standard Dual Tuner PCI-e Card Operation Instruction for Linux Users
crazycat
 
Posts: 526
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkov

Re: DVB-S/S2 mode in Linux

Postby deejayd » Mon Oct 24, 2016 6:17 am

I moved the card to a more recent and powerful PC.
On windows:
- Results are better with Crazyscan (latest version + latest streamreader): scan speed is approx 4 times faster than tbs6925 or 5925 :)
- ok also with dvbdream. The DVB-S2X tp on Astra is well received :)

On linux:
- default adapter/dvr/demux are for DVB-T. I applied the instructions for Linux users doc, but I did not yet succeed to scan anything in DVB-S. (adapter0/frontend1/demux1)
Then I came back to Windows (PC restart, not off/on) => the tuner 0 was not anymore workable (RFscan not detected). I had to switch off/on the PC to get it back on Windows.
Will try further tests on monday...
deejayd
 
Posts: 20
Joined: Sun Aug 07, 2011 9:32 pm
Location: France

Re: DVB-S/S2 mode in Linux

Postby deejayd » Wed Oct 26, 2016 12:39 am

I tried again running the DVB-S/S2 tuner on Linux, but still with no success, even if the tuners are well initialized, as per dmesg.
I applied the commands described in the pdf file:
cd /dev/dvb/adapter0
# ln -s demux0 demux1
# ln -s dvr0 dvr1
# ln -s net0 net1

then I tried to run w_scan or vlc, with no luck. Is this because I can specify only adapter and not frontend in these softwares ?
What did I miss ?
deejayd
 
Posts: 20
Joined: Sun Aug 07, 2011 9:32 pm
Location: France

Re: DVB-S/S2 mode in Linux

Postby smile » Thu Nov 03, 2016 11:58 am

hi
Because S_can and vlc just call the "frontend 0" of the adapte. "frontend 0" just support for TER signal, if you want to lock dvbs/s2 signal must using the "frontend 1" .
you can see TBS 6522 Multi-standard Dual Tuner PCI-e Card Operation Instruction for Linux Users
smile
 
Posts: 164
Joined: Sun Oct 09, 2011 9:51 am

Re: DVB-S/S2 mode in Linux

Postby deejayd » Sat Nov 12, 2016 1:59 am

Thank you Smile.
I well understood this point (dvbs tuner = frontend 1), but changing frontend number did not make any difference.
So I tried to uninstall and reinstall the latest open source drver (https://github.com/tbsdtv/linux_media/wiki)
And this is now worse:

dmesg extract:
...
[ 8.781661] dvb_core: module verification failed: signature and/or required key missing - tainting kernel
[ 8.781982] TBS version 160405
...
[ 10.355812] tbsecp3: disagrees about version of symbol dvb_dmxdev_init
[ 10.355815] tbsecp3: Unknown symbol dvb_dmxdev_init (err -22)
[ 10.355828] tbsecp3: disagrees about version of symbol dvb_ca_en50221_init
[ 10.355828] tbsecp3: Unknown symbol dvb_ca_en50221_init (err -22)
[ 10.355849] tbsecp3: disagrees about version of symbol dvb_register_adapter
[ 10.355850] tbsecp3: Unknown symbol dvb_register_adapter (err -22)
[ 10.355858] tbsecp3: disagrees about version of symbol dvb_dmx_swfilter_packets
[ 10.355859] tbsecp3: Unknown symbol dvb_dmx_swfilter_packets (err -22)
[ 10.355872] tbsecp3: disagrees about version of symbol dvb_dmx_release
[ 10.355873] tbsecp3: Unknown symbol dvb_dmx_release (err -22)
[ 10.355879] tbsecp3: disagrees about version of symbol dvb_ca_en50221_release
[ 10.355880] tbsecp3: Unknown symbol dvb_ca_en50221_release (err -22)
[ 10.355887] tbsecp3: disagrees about version of symbol dvb_net_init
[ 10.355888] tbsecp3: Unknown symbol dvb_net_init (err -22)
[ 10.355900] tbsecp3: disagrees about version of symbol dvb_dmxdev_release
[ 10.355901] tbsecp3: Unknown symbol dvb_dmxdev_release (err -22)
[ 10.355906] tbsecp3: disagrees about version of symbol dvb_frontend_detach
[ 10.355907] tbsecp3: Unknown symbol dvb_frontend_detach (err -22)
[ 10.355911] tbsecp3: disagrees about version of symbol dvb_net_release
[ 10.355912] tbsecp3: Unknown symbol dvb_net_release (err -22)
[ 10.355918] tbsecp3: disagrees about version of symbol dvb_unregister_frontend
[ 10.355919] tbsecp3: Unknown symbol dvb_unregister_frontend (err -22)
[ 10.355923] tbsecp3: disagrees about version of symbol dvb_register_frontend
[ 10.355924] tbsecp3: Unknown symbol dvb_register_frontend (err -22)
[ 10.355927] tbsecp3: disagrees about version of symbol dvb_unregister_adapter
[ 10.355928] tbsecp3: Unknown symbol dvb_unregister_adapter (err -22)
[ 10.355932] tbsecp3: disagrees about version of symbol dvb_dmx_init
[ 10.355933] tbsecp3: Unknown symbol dvb_dmx_init (err -22)


I tried to sudo make distclean, move or delete the /lib/modules/$(uname -r)/kernel/drivers/media folder, but it made again no difference.
Any clue ??
deejayd
 
Posts: 20
Joined: Sun Aug 07, 2011 9:32 pm
Location: France

Re: DVB-S/S2 mode in Linux

Postby deejayd » Sun Nov 13, 2016 6:19 am

I'm replying to myself...
Finally I could reinstall the firmware after a linux upgrade.
Dmesg is showing no error, the dvb firmware seems to load.
This is now what I get with lsdvb:

lsdvb: Simple utility to list PCI/PCIe DVB devices
Version: 0.0.4
Copyright (C) Manu Abraham

TBSECP3 driver (544:6178 6522:2) on PCI Domain:0 Bus:4 Device:0 Function:0
DEVICE:0 ADAPTER:0 FRONTEND:0 (Silicon Labs Si2183)
FE_OFDM Fmin=42MHz Fmax=870MHz

TBSECP3 driver (544:6178 6522:2) on PCI Domain:0 Bus:4 Device:0 Function:0
DEVICE:1 ADAPTER:0 ERROR: Open frontend0 failed

DVB-S/S2/S2X tuner does not seem to start. Any clue ?
deejayd
 
Posts: 20
Joined: Sun Aug 07, 2011 9:32 pm
Location: France

Re: DVB-S/S2 mode in Linux

Postby deejayd » Sun Nov 13, 2016 11:58 pm

A more careful reading of dmesg is showing something wrong:

[ 9.354432] media: module verification failed: signature and/or required key missing - tainting kernel
[ 9.354703] media: Linux media interface: v0.10
...
[ 10.119435] WARNING: You are using an experimental version of the media stack.
As the driver is backported to an older kernel, it doesn't offer
enough quality for its usage in production.
Use it with care.
Latest git patches (needed if you report a bug to linux-media@vger.kernel.org):
026a8a36fed7af47bc7acbbebf0f3174024f6ccf stv0910: Fix gate_ctrl exit path on i2c errors

[ 10.133676] usbcore: registered new interface driver btusb
...
[ 11.494841] TBSECP3 driver 0000:04:00.0: enabling device (0000 -> 0002)
[ 11.494888] TBSECP3 driver 0000:04:00.0: TurboSight TBS 6522 (Dual MultiStandard)
[ 11.495183] DVB: registering new adapter (TBSECP3 DVB Adapter)
...
[ 11.613029] TBSECP3 driver 0000:04:00.0: MAC address 00:22:ab:f0:d3:f6
[ 11.641639] i2c i2c-8: Added multiplexed i2c bus 12
[ 11.641642] si2183 8-0067: Silicon Labs Si2183 successfully attached
[ 11.820536] si2157 12-0060: Silicon Labs Si2147/2148/2157/2158 successfully attached
[ 11.894943] i2c i2c-12: av201x: Airoha Technology AV201x successfully attached
[ 11.894946] TBSECP3 driver 0000:04:00.0: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2183)...
[ 11.894984] TBSECP3 driver 0000:04:00.0: DVB: registering adapter 0 frontend 1 (Silicon Labs Si2183)...
[ 11.895008] DVB: registering new adapter (TBSECP3 DVB Adapter)
[ 12.012990] TBSECP3 driver 0000:04:00.0: MAC address 00:22:ab:f0:d3:f7
[ 12.013586] si2183 8-0064: Silicon Labs Si2183 successfully attached
[ 12.018801] si2157 12-0061: Silicon Labs Si2147/2148/2157/2158 successfully attached
[ 12.018806] i2c i2c-12: av201x: Airoha Technology AV201x successfully attached
[ 12.018808] TBSECP3 driver 0000:04:00.0: DVB: registering adapter 1 frontend 0 (Silicon Labs Si2183)...
[ 12.018839] TBSECP3 driver 0000:04:00.0: DVB: registering adapter 1 frontend 1 (Silicon Labs Si2183)...
[ 12.018856] TBSECP3 driver 0000:04:00.0: TurboSight TBS 6522 (Dual MultiStandard): PCI 0000:04:00.0, IRQ 32, MMIO 0xf7c00000
...
[ 77.693762] si2183 8-0067: found a 'Silicon Labs Si2183-B60'
[ 77.716946] si2183 8-0067: downloading firmware from file 'dvb-demod-si2183-b60-01.fw'
[ 78.131828] si2183 8-0067: firmware version: 6.0.2
[ 78.159424] si2157 12-0060: found a 'Silicon Labs Si2157-A30'
[ 922.001148] dvb_net: created network interface dvb1_0
[ 922.001167] dvb1_0: no feed to stop
[ 922.001169] dvb_net: removed network interface dvb1_0
[ 922.027978] dvb_net: created network interface dvb0_0
[ 922.029879] dvb0_0: no feed to stop
[ 922.029881] dvb_net: removed network interface dvb0_0
[ 922.051927] dvb_net: created network interface dvb0_0
[ 922.051942] dvb0_0: no feed to stop
[ 922.051943] dvb_net: removed network interface dvb0_0

Can anyone help me fixing this ?
deejayd
 
Posts: 20
Joined: Sun Aug 07, 2011 9:32 pm
Location: France

Re: DVB-S/S2 mode in Linux

Postby deejayd » Wed Nov 16, 2016 2:12 am

Again replying to myself :)
Finally I can make the DVBS tuner working with Linux...
After several cleanings and reboots.
Most of all, I executed the ./build shell in the tbs open driver/media_build folder (which is not mentioned to do in the driver install page: https://github.com/tbsdtv/linux_media/wiki).
Even if the build shell did not complete successfully, it applied some stuff and I was able to "make" without any problem afterwards.
deejayd
 
Posts: 20
Joined: Sun Aug 07, 2011 9:32 pm
Location: France


Return to TBS6522 Multi-standard Dual Tuner PCI-e Card

Who is online

Users browsing this forum: No registered users and 1 guest