Moderator Control Panel ]

TBS6522h missing "Universal LNB" in TVheadend [SOLVED]

TBS6522h missing "Universal LNB" in TVheadend [SOLVED]

Postby MerlinElMago » Sat Jun 01, 2024 5:45 am

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
Last edited by MerlinElMago on Thu Jun 06, 2024 5:13 pm, edited 1 time in total.
MerlinElMago
 
Posts: 5
Joined: Fri Jul 07, 2023 2:58 am

Re: TBS6522h missing "Universal LNB" in TVheadend

Postby crazycat » Sun Jun 02, 2024 12:03 am

please show all kernel log (dmesg)
crazycat
 
Posts: 570
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkiv

Re: TBS6522h missing "Universal LNB" in TVheadend

Postby MerlinElMago » Sun Jun 02, 2024 1:06 am

Yes, sure.

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

https://pastebin.com/J0KuFNVm

Best regards
MerlinElMago
 
Posts: 5
Joined: Fri Jul 07, 2023 2:58 am

Re: TBS6522h missing "Universal LNB" in TVheadend

Postby crazycat » Sun Jun 02, 2024 4:05 am

maybe some tvh 4.3 bug ?
crazycat
 
Posts: 570
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkiv

Re: TBS6522h missing "Universal LNB" in TVheadend

Postby MerlinElMago » Mon Jun 03, 2024 10:41 pm

Is the firmware http://www.tbsdtv.com/download/document ... .0.tar.bz2 still the actual one or is there a newer file available?

Regards
MerlinElMago
 
Posts: 5
Joined: Fri Jul 07, 2023 2:58 am

Re: TBS6522h missing "Universal LNB" in TVheadend

Postby crazycat » Mon Jun 03, 2024 11:36 pm

you have latest firmware for m88rs6060
crazycat
 
Posts: 570
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkiv

Re: TBS6522h missing "Universal LNB" in TVheadend

Postby MerlinElMago » Mon Jun 03, 2024 11:39 pm

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
MerlinElMago
 
Posts: 5
Joined: Fri Jul 07, 2023 2:58 am

Re: TBS6522h missing "Universal LNB" in TVheadend

Postby crazycat » Wed Jun 05, 2024 3:45 am

see tvh log on startup
crazycat
 
Posts: 570
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkiv

Re: TBS6522h missing "Universal LNB" in TVheadend

Postby MerlinElMago » Thu Jun 06, 2024 4:14 pm

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
MerlinElMago
 
Posts: 5
Joined: Fri Jul 07, 2023 2:58 am

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

Postby crazycat » Fri Jun 07, 2024 5:56 am

or disable tvh service autostart and start from /etc/rc.local script
crazycat
 
Posts: 570
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkiv


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

Who is online

Users browsing this forum: No registered users and 2 guests