Page 1 of 1

TBS6522h missing "Universal LNB" in TVheadend [SOLVED]

PostPosted: Sat Jun 01, 2024 5:45 am
by MerlinElMago
Hello,
I had the card working perfectly, but now the Universal LNB went missing, and I don't know where the problem is.
I guess an update of TVHeadend or Debian is to blame...
I recompiled the drivers right now and installed the latest kernel on my Debian Server:
Code: Select All Code
Linux mediaserver 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux


The script I use to automatically compile the drivers and install them is:
Code: Select All Code
#!/bin/bash

echo "┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┓"
echo "┃ ████████╗██████╗ ███████╗ ┃"
echo "┃ ╚══██╔══╝██╔══██╗██╔════╝ ┃"
echo "┃    ██║   ██████╔╝███████╗ ┃"
echo "┃    ██║   ██╔══██╗╚════██║ ┃"
echo "┃    ██║   ██████╔╝███████║ ┃"
echo "┃    ╚═╝   ╚═════╝ ╚══════╝ ┃"
echo "┡━━━━━━━━━━━━━━━━━━━━━━━━━━━┩"
echo "│  DVB-Card driver install  │"
echo "└───────────┈┈┈┈────────────┘ "

# Please consult https://linuxtv.org/wiki/index.php/TBS_driver_installation for details

# Install utilities and headers correspondig to actual kernel
sudo apt-get install patchutils libproc-processtable-perl linux-headers-$(uname -r)

# Install firmware
wget http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v1.0.tar.bz2
sudo tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware/

# Install TBS' forked media drivers
mkdir tbsdriver
cd tbsdriver
git clone https://github.com/tbsdtv/media_build.git
git clone --depth=1 https://github.com/tbsdtv/linux_media.git -b latest ./media
cd media_build
make dir DIR=../media
make allyesconfig
make -j4
sudo make install

# Reboot to activate the driver
sudo reboot


The TVHeadend version I have installed:
Code: Select All Code
tvheadend: version 4.3-2323~g73a6bd00d


I have 4 Adapters Detected:
Code: Select All Code
[    5.513311] TBSECP3 driver 0000:03:00.0: DVB: registering adapter 0 frontend 0 (TurboSight TBS 6522H Dual DVBS/S2x + Dual DVB-T/T2/)...
[    5.645260] TBSECP3 driver 0000:03:00.0: DVB: registering adapter 1 frontend 0 (TurboSight TBS 6522H Dual DVBS/S2x + Dual DVB-T/T2/)...
[    7.476266] TBSECP3 driver 0000:03:00.0: DVB: registering adapter 2 frontend 0 (TurboSight TBS 6522H Dual DVBS/S2x + Dual DVB-T/T2/)...
[    9.260149] TBSECP3 driver 0000:03:00.0: DVB: registering adapter 3 frontend 0 (TurboSight TBS 6522H Dual DVBS/S2x + Dual DVB-T/T2/)...
(actually 6, because I have an extra 6281SE card installed, but that's not relevant I guess)

But in TVHeadend only 2 of them show up:
Image

What am I doing wrong?

Best regards

Re: TBS6522h missing "Universal LNB" in TVheadend

PostPosted: Sun Jun 02, 2024 12:03 am
by crazycat
please show all kernel log (dmesg)

Re: TBS6522h missing "Universal LNB" in TVheadend

PostPosted: Sun Jun 02, 2024 1:06 am
by MerlinElMago
Yes, sure.

I had to use pastebin, since the log is too big to post here.

https://pastebin.com/J0KuFNVm

Best regards

Re: TBS6522h missing "Universal LNB" in TVheadend

PostPosted: Sun Jun 02, 2024 4:05 am
by crazycat
maybe some tvh 4.3 bug ?

Re: TBS6522h missing "Universal LNB" in TVheadend

PostPosted: Mon Jun 03, 2024 10:41 pm
by MerlinElMago
Is the firmware http://www.tbsdtv.com/download/document ... .0.tar.bz2 still the actual one or is there a newer file available?

Regards

Re: TBS6522h missing "Universal LNB" in TVheadend

PostPosted: Mon Jun 03, 2024 11:36 pm
by crazycat
you have latest firmware for m88rs6060

Re: TBS6522h missing "Universal LNB" in TVheadend

PostPosted: Mon Jun 03, 2024 11:39 pm
by MerlinElMago
I have just used dvb-fe-tool to query the capabilities of the adapters and this is what I get back:

Code: Select All Code
Device TurboSight TBS 6522H Dual DVBS/S2x + Dual DVB-T/T2/ (/dev/dvb/adapter0/frontend0) capabilities:
     CAN_2G_MODULATION
     CAN_FEC_1_2
     CAN_FEC_2_3
     CAN_FEC_3_4
     CAN_FEC_4_5
     CAN_FEC_5_6
     CAN_FEC_7_8
     CAN_FEC_AUTO
     CAN_GUARD_INTERVAL_AUTO
     CAN_INVERSION_AUTO
     CAN_MUTE_TS
     CAN_QAM_16
     CAN_QAM_32
     CAN_QAM_64
     CAN_QAM_128
     CAN_QAM_256
     CAN_QAM_AUTO
     CAN_RECOVER
     CAN_TRANSMISSION_MODE_AUTO
DVB API Version 5.12, Current v5 delivery system: DVBT
Supported delivery systems:
    [DVBT]
     DVBT2
     ISDBT
     DVBC/ANNEX_A
     DVBC/ANNEX_B
     DVBC/ANNEX_C
     ATSC
Frequency range for the current standard:
From:             174 MHz
To:               868 MHz
Step:             250 kHz

Device TurboSight TBS 6522H Dual DVBS/S2x + Dual DVB-T/T2/ (/dev/dvb/adapter1/frontend0) capabilities:
     CAN_2G_MODULATION
     CAN_FEC_1_2
     CAN_FEC_2_3
     CAN_FEC_3_4
     CAN_FEC_4_5
     CAN_FEC_5_6
     CAN_FEC_7_8
     CAN_FEC_AUTO
     CAN_GUARD_INTERVAL_AUTO
     CAN_INVERSION_AUTO
     CAN_MUTE_TS
     CAN_QAM_16
     CAN_QAM_32
     CAN_QAM_64
     CAN_QAM_128
     CAN_QAM_256
     CAN_QAM_AUTO
     CAN_RECOVER
     CAN_TRANSMISSION_MODE_AUTO
DVB API Version 5.12, Current v5 delivery system: DVBT
Supported delivery systems:
    [DVBT]
     DVBT2
     ISDBT
     DVBC/ANNEX_A
     DVBC/ANNEX_B
     DVBC/ANNEX_C
     ATSC
Frequency range for the current standard:
From:             174 MHz
To:               868 MHz
Step:             250 kHz

Device TurboSight TBS 6522H Dual DVBS/S2x + Dual DVB-T/T2/ (/dev/dvb/adapter2/frontend0) capabilities:
     CAN_2G_MODULATION
     CAN_FEC_AUTO
     CAN_INVERSION_AUTO
     CAN_MULTISTREAM
     CAN_QPSK
     CAN_RECOVER
DVB API Version 5.12, Current v5 delivery system: DVBS
Supported delivery systems:
    [DVBS]
     DVBS2
Frequency range for the current standard:
From:             950 MHz
To:              2,15 GHz
Symbol rate ranges for the current standard:
From:            1,00 MBauds
To:              45,0 MBauds
SEC: set voltage to OFF

Device TurboSight TBS 6522H Dual DVBS/S2x + Dual DVB-T/T2/ (/dev/dvb/adapter3/frontend0) capabilities:
     CAN_2G_MODULATION
     CAN_FEC_AUTO
     CAN_INVERSION_AUTO
     CAN_MULTISTREAM
     CAN_QPSK
     CAN_RECOVER
DVB API Version 5.12, Current v5 delivery system: DVBS
Supported delivery systems:
    [DVBS]
     DVBS2
Frequency range for the current standard:
From:             950 MHz
To:              2,15 GHz
Symbol rate ranges for the current standard:
From:            1,00 MBauds
To:              45,0 MBauds
SEC: set voltage to OFF

Device TurboSight TBS 6281SE DVB-T/T2/C  (/dev/dvb/adapter4/frontend0) capabilities:
     CAN_2G_MODULATION
     CAN_FEC_1_2
     CAN_FEC_2_3
     CAN_FEC_3_4
     CAN_FEC_5_6
     CAN_FEC_7_8
     CAN_FEC_AUTO
     CAN_GUARD_INTERVAL_AUTO
     CAN_HIERARCHY_AUTO
     CAN_INVERSION_AUTO
     CAN_MULTISTREAM
     CAN_MUTE_TS
     CAN_QAM_16
     CAN_QAM_32
     CAN_QAM_64
     CAN_QAM_128
     CAN_QAM_256
     CAN_QAM_AUTO
     CAN_QPSK
     CAN_TRANSMISSION_MODE_AUTO
DVB API Version 5.12, Current v5 delivery system: DVBT
Supported delivery systems:
    [DVBT]
     DVBT2
     DVBC/ANNEX_A
     DVBC/ANNEX_B
Frequency range for the current standard:
From:            48,0 MHz
To:               870 MHz
Step:            62,5 kHz
Device TurboSight TBS 6281SE DVB-T/T2/C  (/dev/dvb/adapter5/frontend0) capabilities:
     CAN_2G_MODULATION
     CAN_FEC_1_2
     CAN_FEC_2_3
     CAN_FEC_3_4
     CAN_FEC_5_6
     CAN_FEC_7_8
     CAN_FEC_AUTO
     CAN_GUARD_INTERVAL_AUTO
     CAN_HIERARCHY_AUTO
     CAN_INVERSION_AUTO
     CAN_MULTISTREAM
     CAN_MUTE_TS
     CAN_QAM_16
     CAN_QAM_32
     CAN_QAM_64
     CAN_QAM_128
     CAN_QAM_256
     CAN_QAM_AUTO
     CAN_QPSK
     CAN_TRANSMISSION_MODE_AUTO
DVB API Version 5.12, Current v5 delivery system: DVBT
Supported delivery systems:
    [DVBT]
     DVBT2
     DVBC/ANNEX_A
     DVBC/ANNEX_B
Frequency range for the current standard:
From:            48,0 MHz
To:               870 MHz
Step:            62,5 kHz


So my understanding is that the problem has to be whithin TVHeadend. What do you think?

Regards

Re: TBS6522h missing "Universal LNB" in TVheadend

PostPosted: Wed Jun 05, 2024 3:45 am
by crazycat
see tvh log on startup

Re: TBS6522h missing "Universal LNB" in TVheadend

PostPosted: Thu Jun 06, 2024 4:14 pm
by MerlinElMago
ok, there were no errors in the TVHeadend log.

But I have found out that if I started the TVHeadend service from the command line, the tuners would show up.
Investigating further I found out that TVHeadend was started too early in the boot process and not all the devices were ready at that point. This was why the tuners would show up if I started the service manually.

My ( hacky ) workaround is disabling the service at boot time and starting it from crontab after a 15 second delay.

Best Regards

Re: TBS6522h missing "Universal LNB" in TVheadend [SOLVED]

PostPosted: Fri Jun 07, 2024 5:56 am
by crazycat
or disable tvh service autostart and start from /etc/rc.local script