Project

General

Profile

[SOLVED]TBS5520SE Multi-standard Universal TV Tuner USB Box

Added by Marc Ominus 4 months ago

I was looking to get a DVB-S2X tuner for my streaming box, and TBS5520SE matches what I needed (USB, no external power source and DVB-S2X).

So I have followed, instruction on how to install firmware and drivers for the TV card.
https://github.com/tbsdtv/linux_media/wiki

Installed missing kernel headers/dependencies:
sudo apt install linux-headers-$(uname -r)
sudo apt install libproc-processtable-perl patchutils gcc build-essential git libdigest-sha-perl

cd ~/git; 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 -j8
sudo make install
sudo reboot

But I can not see the tuner and there was no errors when compiling:

$ sudo dmesg | grep frontend
$ sudo dmesg | grep dvb
[ 5.419590] dvb_core: disagrees about version of symbol vb2_vmalloc_memops
[ 5.419592] dvb_core: Unknown symbol vb2_vmalloc_memops (err -22)

$ sudo lsusb -vvv | grep 5521
Bus 004 Device 004: ID 734c:5521 TBS Technologies China
idProduct 0x5521

Can anyone advise please?


Replies (6)

RE: TBS5520SE Multi-standard Universal TV Tuner USB Box - Added by Joe User 4 months ago

Marc Ominus wrote:

[ 5.419590] dvb_core: disagrees about version of symbol vb2_vmalloc_memops
[ 5.419592] dvb_core: Unknown symbol vb2_vmalloc_memops (err -22)

Usually that means that the drivers (modules) were built for a different linux kernel.
Make sure the kernel headers match the kernel version you are using.

uname -a

should tell you what kernel you are using

and

cat media_build/linux/.patches_applied

First line should tell you what version the drivers built against.

What linux version are you using?

RE: TBS5520SE Multi-standard Universal TV Tuner USB Box - Added by Marc Ominus 4 months ago

$ sudo uname -a
Linux Box 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
~/git$ cat media_build/linux/.patches_applied
#4.9.0-8-amd64
v4.9_dvb_net_max_mtu.patch
v4.9_mm_address.patch
v4.10_refcount.patch
v4.10_fault_page.patch
v4.10_sched_signal.patch
v4.12_revert_solo6x10_copykerneluser.patch
v4.13_remove_nospec_h.patch
v4.14_module_param_call.patch
v4.14_saa7146_timer_cast.patch
v4.15_pmdown_time.patch
v4.17_i2c_check_num_msgs.patch
v4.17_proc_create_single.patch
v4.18_fwnode_args_args.patch
drx39xxj.patch
debug.patch
pr_fmt.patch
api_version.patch

RE: TBS5520SE Multi-standard Universal TV Tuner USB Box - Added by Joe User 4 months ago

Do you have more than one kernel installed.
Have you tried building the drivers more than once?

Other possibility:

5. If you find module load errors like "module has wrong symbol version", this means that there still are old modules from your previous Media Tree installation (usually duplicated modules in two different places).

sudo rm -rf /lib/modules/``uname -r``/kernel/drivers/media/*

Then run "sudo make install" again.

[SOLVED] RE: TBS5520SE Multi-standard Universal TV Tuner USB Box - Added by Marc Ominus 4 months ago

You are absolute legend!
Thank you very much.

I got error with this one:

~/git/media_build$ sudo rm -rf /lib/modules/``uname -r``/kernel/drivers/media/*
rm: invalid option -- '/'
Try 'rm --help' for more information.

So deleted it with mc,
then run

sudo make install

and sudo reboot and its now showing up

sudo dmesg | grep frontend
[   16.200158] usb 4-1.1: DVB: registering adapter 0 frontend 0 (TurboSight TBS 5520SE DVB-T/T2/C/C2/ISDB-T)...
[   16.200201] usb 4-1.1: DVB: registering adapter 0 frontend 1 (TurboSight TBS 5520SE DVB-S/S2/S2X)...
[   17.895921] usb 4-1.1: DVB: registering adapter 0 frontend 0 (TurboSight TBS 5520SE DVB-T/T2/C/C2/ISDB-T)...
[   17.896032] usb 4-1.1: DVB: registering adapter 0 frontend 1 (TurboSight TBS 5520SE DVB-S/S2/S2X)...

sudo dmesg | grep dvb
[   15.713067] dvb-usb: found a 'TurboSight TBS 5520SE' in cold state, will try to load a firmware
[   15.722638] usb 4-1.1: firmware: direct-loading firmware dvb-usb-id5520se.fw
[   15.722641] dvb-usb: downloading firmware from file 'dvb-usb-id5520se.fw'
[   15.859076] dvb-usb: found a 'TurboSight TBS 5520SE' in warm state.
[   15.859117] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[   15.863454] dvbdev: DVB: registering new adapter (TurboSight TBS 5520SE)
[   15.871916] dvb-usb: MAC address reading failed.
[   16.200234] dvb-usb: TurboSight TBS 5520SE successfully initialized and connected.
[   16.201649] dvb-usb: TurboSight TBS 5520SE successfully deinitialized and disconnected.
[   17.608051] dvb-usb: found a 'TurboSight TBS 5520SE' in cold state, will try to load a firmware
[   17.608053] dvb-usb: downloading firmware from file 'dvb-usb-id5520se.fw'
[   17.731005] dvb-usb: found a 'TurboSight TBS 5520SE' in warm state.
[   17.731066] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[   17.731189] dvbdev: DVB: registering new adapter (TurboSight TBS 5520SE)
[   17.831388] dvb-usb: MAC address: 00:22:aa:cc:11:11
[   17.896281] dvb-usb: TurboSight TBS 5520SE successfully initialized and connected.

Thank you again.

disagrees about version of symbol = module has wrong symbol version :)

RE: [SOLVED]TBS5520SE Multi-standard Universal TV Tuner USB Box - Added by Georger Geo about 1 month ago

Hi,

For TVH do you reccomend TBS5520SE ?

After testing, is it good choice?

RE: [SOLVED]TBS5520SE Multi-standard Universal TV Tuner USB Box - Added by Marc Ominus about 1 month ago

I have loot of problems with the tuner,
so if you know any other USB DVB-S2X tuner get a different brand :(

    (1-6/6)