Moderator Control Panel ]

How to install the tbs cards driver for Raspberry Pi

News and information about TBS products.

Re: How to install the tbs cards driver for Raspberry Pi

Postby hagaygo » Thu Apr 30, 2020 7:24 pm

I can confirm the files for rpi 4 do work on buster release from feb 2020 for my tbs5520se.

I was hoping i could rebuild my "sepcial tbs" system with buster and run it on rpi2/3 also , but it boot just fine on rpi2/3, but can not find the tbs device (shame again TBS) , so it seem this kernel patching works for rpi4 only.
hagaygo
 
Posts: 4
Joined: Thu Oct 03, 2019 2:24 pm

Re: How to install the tbs cards driver for Raspberry Pi

Postby peters77 » Tue Aug 25, 2020 6:26 pm

Hi all,

I successfully installed and compiled the open source drivers for TBS cards
http://www.tbsdtv.com/download/document ... 02.tar.bz2
on my Raspi4 4GB.

I tried to attach 2xTBS 5925 USB interfaces to route EUMETCAST traffic from
EUMETCast 10A VCM:11263:hS1P1O20:0:33000::: and
EUMETCast 10A CCM:11378:hS1P1M5C56O20:0:15000:::

straight to the ethernet interface via SMC route.
But I can't get it to work without trouble.
I endabled logging with

echo 1 > /sys/module/dvb_core/parameters/dvb_demux_tscheck

and got this:

...
Aug 23 12:43:54 rudi kernel: [ 513.172008] dvb_demux: dvb_dmx_swfilter_packet: TEI detected. PID=0x141d data1=0x94
Aug 23 12:43:54 rudi kernel: [ 513.172015] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x1f4 expected 0xf got 0x0
Aug 23 12:43:54 rudi kernel: [ 513.172242] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0xfa0 expected 0x20 got 0xf
Aug 23 12:43:54 rudi kernel: [ 513.172248] dvb_demux: dvb_dmx_swfilter_packet: TEI detected. PID=0x1523 data1=0xb5
Aug 23 12:43:54 rudi kernel: [ 513.172254] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0x4 got 0x7
Aug 23 12:43:59 rudi kernel: [ 517.892430] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0xc got 0xf
Aug 23 12:43:59 rudi kernel: [ 517.892515] dvb_demux: dvb_dmx_swfilter_packet: TEI detected. PID=0x109a data1=0xd0
Aug 23 12:43:59 rudi kernel: [ 517.892523] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x258 expected 0x5 got 0x9
Aug 23 12:44:14 rudi kernel: [ 532.492583] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x1f4 expected 0xa got 0xc
Aug 23 12:44:18 rudi kernel: [ 537.002722] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x259 expected 0x4 got 0x7
Aug 23 12:44:18 rudi kernel: [ 537.002956] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0x9 got 0xb
Aug 23 12:44:35 rudi kernel: [ 553.383517] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0xb got 0xd
Aug 23 12:44:42 rudi kernel: [ 561.163374] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x258 expected 0x9 got 0xd
Aug 23 12:44:45 rudi kernel: [ 564.013449] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0xe got 0x0
Aug 23 12:44:50 rudi kernel: [ 568.443323] dvb_demux: dvb_dmx_swfilter_packet: TEI detected. PID=0x191f data1=0xf9
Aug 23 12:44:50 rudi kernel: [ 568.443332] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x258 expected 0xf got 0x2
Aug 23 12:44:50 rudi kernel: [ 568.843700] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x258 expected 0x2 got 0x5
Aug 23 12:44:51 rudi kernel: [ 569.943515] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0x4 got 0x5
Aug 23 12:44:52 rudi kernel: [ 570.418948] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x259 expected 0x7 got 0x8
Aug 23 12:44:54 rudi kernel: [ 572.940489] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0xc got 0xd
Aug 23 12:44:54 rudi kernel: [ 573.003469] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0xb got 0xc
Aug 23 12:44:56 rudi kernel: [ 574.460893] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0xc got 0xd
Aug 23 12:44:56 rudi kernel: [ 574.460934] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0xa6a expected 0x0 got 0x5
Aug 23 12:44:56 rudi kernel: [ 574.460940] dvb_demux: dvb_dmx_swfilter_packet: TEI detected. PID=0x52d data1=0x85
Aug 23 12:44:56 rudi kernel: [ 574.460946] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x258 expected 0xf got 0x3
Aug 23 12:44:56 rudi kernel: [ 574.462476] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x945 expected 0x0 got 0x5
Aug 23 12:44:56 rudi kernel: [ 574.462482] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0x7 got 0xb
Aug 23 12:45:00 rudi kernel: [ 579.020355] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x1f4 expected 0xb got 0xd
Aug 23 12:45:01 rudi kernel: [ 579.537875] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0x2 got 0x3
Aug 23 12:45:01 rudi kernel: [ 579.538951] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0xa got 0xb
Aug 23 12:45:02 rudi kernel: [ 580.540509] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0xd got 0x0
Aug 23 12:45:02 rudi kernel: [ 580.541146] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x1f4 expected 0x0 got 0x3
Aug 23 12:45:02 rudi kernel: [ 581.065812] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0x4 got 0x7
Aug 23 12:45:08 rudi kernel: [ 587.043852] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0x3 got 0x4
Aug 23 12:45:08 rudi kernel: [ 587.044122] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x259 expected 0xa got 0xc
Aug 23 12:45:08 rudi kernel: [ 587.103998] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x259 expected 0xe got 0x0
Aug 23 12:45:15 rudi kernel: [ 593.703812] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x258 expected 0x5 got 0x6
Aug 23 12:45:19 rudi kernel: [ 598.243931] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0x7 got 0x8
Aug 23 12:45:39 rudi kernel: [ 617.854397] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0x5 got 0x6
Aug 23 12:45:47 rudi kernel: [ 625.384660] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x10a expected 0x61 got 0xa
Aug 23 12:45:47 rudi kernel: [ 625.384668] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0x9 got 0xc
Aug 23 12:45:47 rudi kernel: [ 625.384706] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x1f4 expected 0x3 got 0x5
Aug 23 12:45:51 rudi kernel: [ 629.723354] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x19a3 expected 0xb got 0x4
Aug 23 12:45:51 rudi kernel: [ 629.723362] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0xa got 0xc
Aug 23 12:45:53 rudi kernel: [ 631.684630] dvb_demux: dvb_dmx_swfilter_packet: TEI detected. PID=0x1a24 data1=0xda
Aug 23 12:45:53 rudi kernel: [ 631.684639] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0xa got 0xb
Aug 23 12:46:00 rudi kernel: [ 639.104850] dvb_demux: dvb_dmx_swfilter_packet: TEI detected. PID=0x1f21 data1=0xbf
Aug 23 12:46:00 rudi kernel: [ 639.105211] dvb_demux: dvb_dmx_swfilter_packet: TEI detected. PID=0x1f36 data1=0xff
Aug 23 12:46:00 rudi kernel: [ 639.105217] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0xd got 0x3
Aug 23 12:46:02 rudi kernel: [ 640.615123] dvb_demux: dvb_dmx_swfilter_packet: TEI detected. PID=0xce6 data1=0xcc
Aug 23 12:46:02 rudi kernel: [ 640.615133] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x1448 expected 0x6 got 0xa
Aug 23 12:46:02 rudi kernel: [ 640.615138] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x1359 expected 0x20 got 0x7
Aug 23 12:46:02 rudi kernel: [ 640.615143] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0x9 got 0xe
Aug 23 12:46:02 rudi kernel: [ 640.825188] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x1f4 expected 0xf got 0x0
Aug 23 12:46:10 rudi kernel: [ 648.625005] dvb_demux: dvb_dmx_swfilter_packet: TS packet counter mismatch. PID=0x262 expected 0x3 got 0x4

....

I see lots of recovered packets in my tellicast clients so this errors did break the propper decoding and seems to be genereated in the dvb stack on the RASPI4, but maybe not a problem of the ethernet transmission.

I tried on different USB ports, moved interrupt of other devices to differnt CPUs but it didn't cure the problem.
I got no errors if I use only one TBS 5925 USB interface!
Maybe it's a problem of the USB inferface/driver of the RASPI4 but maybe someone has an idea I could try to get it working.

Thanks in advance!

Regards,

Christian
peters77
 
Posts: 1
Joined: Tue Aug 25, 2020 5:28 pm

Re: How to install the tbs cards driver for Raspberry Pi

Postby zhangchao » Wed Aug 26, 2020 2:47 pm

hi ,
please add skype jack_2431 and setup teamviewer or ssh connection . i will check .

best regards!
zhangchao
 
Posts: 44
Joined: Thu Jan 17, 2013 4:59 pm

Re: How to install the tbs cards driver for Raspberry Pi

Postby vdrspy » Fri Sep 04, 2020 11:05 pm

I get the following Error when I try to compile and install the driver.... :-(
My kernel version is "5.4.51-v7+" .

Code: Select All Code
...
...
LD [M]  /home/pi/ent/tbs/media_build/v4l/altera-stapl.o
  Building modules, stage 2.
  MODPOST 656 modules
ERROR: "saa7146_pgtable_free" [/home/pi/ent/tbs/media_build/v4l/saa7146_vv.ko] undefined!
ERROR: "saa7146_pgtable_alloc" [/home/pi/ent/tbs/media_build/v4l/saa7146_vv.ko] undefined!
ERROR: "saa7146_pgtable_build_single" [/home/pi/ent/tbs/media_build/v4l/saa7146_vv.ko] undefined!
make[3]: *** [scripts/Makefile.modpost:94: __modpost] Fehler 1
make[2]: *** [Makefile:1622: modules] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.4.51-v7+'
make[1]: *** [Makefile:52: default] Fehler 2
make[1]: Verzeichnis „/home/pi/ent/tbs/media_build/v4l“ wird verlassen
make: *** [Makefile:26: all] Fehler 2
V4L drivers installing...
make -C /home/pi/ent/tbs/media_build/v4l install
make[1]: Verzeichnis „/home/pi/ent/tbs/media_build/v4l“ wird betreten
Installing kernel modules under /lib/modules/5.4.51-v7+/kernel/drivers/media/:
/sbin/depmod -a 5.4.51-v7+
make -C firmware install
make[2]: Entering directory '/home/pi/ent/tbs/media_build/v4l/firmware'
Installing firmwares at /lib/firmware:
make[2]: Leaving directory '/home/pi/ent/tbs/media_build/v4l/firmware'
make[1]: Verzeichnis „/home/pi/ent/tbs/media_build/v4l“ wird verlassen
V4L drivers installation done
You need to reboot...



Is there any hint?
vdrspy
 
Posts: 1
Joined: Sun Aug 02, 2020 7:24 pm

Re: How to install the tbs cards driver for Raspberry Pi

Postby steven » Mon Sep 07, 2020 9:40 am

Hi

please have a try with this package :
# wget http://www.tbsdtv.com/download/document/linux/media_build-rpi-2020-01-03.tar.bz2
# sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
#tar jxvf media_build-rpi-2020-01-03.tar.bz2
#cd media_build
#./install.sh
#reboot

Thanks

Kind Regards

steven
steven
 
Posts: 2105
Joined: Fri Aug 06, 2010 3:23 pm

Re: How to install the tbs cards driver for Raspberry Pi

Postby hairyman » Thu Sep 17, 2020 9:53 am

This used to work for me, but I have since upgraded to pi4b 8gb and run dualboot raspios64 with kernel 5.4.51-v8+ and libreelec.
Libreelec has tbs drivers built in and works ok.

In RaspiOS64, using latest instructions posted above, the firmware files install to /lib/firmware/ but modules do not install to /lib/modules.

Is this a 64bit problem?

Update- Reverting back to Rasbian32 builds the v4l modules. Maybe I wait for TBS/linuxtv.org/v4l to update to 64bit.
hairyman
 
Posts: 1
Joined: Thu Sep 17, 2020 6:55 am

Previous

Return to News

Who is online

Users browsing this forum: No registered users and 1 guest

cron