Moderator Control Panel ]

How to install the tbs cards driver for Raspberry Pi

News and information about TBS products.

How to install the tbs cards driver for Raspberry Pi

Postby steven » Fri Apr 26, 2019 5:13 pm

Hi all

Good news that we success compile the latest open source driver for Raspberry Pi
微信图片_20190426172103.jpg
Raspberry Pi 3 Moel B+


here is the detail steps please have a check

1.Download the latest Raspbian Image from the official website:
http://director.downloads.raspberrypi.org/raspbian/images/raspbian-2019-04-09/2019-04-08-raspbian-stretch.zip
detail install steps :
installsystemandlcd.pdf
Raspberry Pi system install
(24.09 KiB) Downloaded 128 times


2.install the driver,the kernel we are using is :
root@raspberrypi:/home/pi# uname -a
Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux

1).download the kernel header file
#apt-get install raspberrypi-kernel-headers
2) download some soft
#apt-get install patchutils
#apt-get install libproc-processtable-perl
3) download offline TBS driver package:
#wget http://www.tbsdtv.com/download/document/linux/media_build-2019-04-15-rpi.tar.bz2
# sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
#tar jxvf media_build-2019-04-15-rpi.tar.bz2
#cd media_build
#./install.sh
#reboot

after reboot it should load the TBS driver.
TBS5927:
rp-5927.png
RP-5927
rp-5927.png (9.59 KiB) Viewed 1980 times

TBS5922SE:
rp-5922se.png
RP-5922SE

TBS5520SE
5520SE.png
rp-5520se


if you have any issue you can leave message here . :)

Thanks

Kind Regards

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

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

Postby drhans » Sun Jul 14, 2019 2:16 am

Unfortunately this does not work. I tried with RPI3 and fresh install of Raspbian stretch. Everything went fine until ./install.sh part. It ended with error and after reboot, TBS tuner (5922SE) was not recognized. Probably something with kernel headers. Either way, this tutorial is not working.

Code: Select all
File not found: /lib/modules/4.14.98-v7+/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.


Code: Select all
pi@raspberrypi:~/media_build $ sudo ./install.sh
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/cec/cec-api.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/media-device.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/v4l2-core/v4l2-ioctl.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/platform/s5p-mfc/s5p_mfc_debug.h.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/em28xx/em28xx-dvb.c.rej
Applying patches for kernel 4.14.98-v7+
4 14 98
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/ivtv/ivtvfb.c.rej
23 out of 23 hunks FAILED -- saving rejects to file drivers/media/v4l2-core/v4l2-compat-ioctl32.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/common/videobuf2/videobuf2-dma-contig.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/common/videobuf2/videobuf2-dma-sg.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/common/videobuf2/videobuf2-vmalloc.c.rej
1 out of 1 hunk FAILED -- saving rejects to file include/linux/dma-buf.h.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/v4l2-core/v4l2-fwnode.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/cx231xx/cx231xx-i2c.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/em28xx/em28xx-i2c.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/tm6000/tm6000-i2c.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/saa7164/saa7164-core.c.rej
2 out of 2 hunks FAILED -- saving rejects to file drivers/staging/media/zoran/videocodec.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/i2c/tda1997x.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/common/saa7146/saa7146_vbi.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/tw686x/tw686x-core.c.rej
2 out of 2 hunks FAILED -- saving rejects to file drivers/media/usb/uvc/uvc_driver.c.rej
dvb-demod-avl6882.fw
dvb-demod-drxk-pctv.fw
dvb-demod-gx1503B.fw
dvb-demod-mn88472-02.fw
dvb-demod-mn88473-01.fw
dvb-demod-si2168-01.fw
dvb-demod-si2168-02.fw
dvb-demod-si2168-a20-01.fw
dvb-demod-si2168-a30-01.fw
dvb-demod-si2168-b40-01.fw
dvb-demod-si2183-b60-01.fw
dvb-fe-bcm3510-01.fw
dvb-fe-cx24116.fw
dvb-fe-cx24117.fw
dvb-fe-drxj-mc-1.0.8.fw
dvb-fe-drxj-mc-vsb-1.0.8.fw
dvb-fe-drxj-mc-vsb-qam-1.0.8.fw
dvb-fe-ds3000.fw
dvb-fe-ds300x.fw
dvb-fe-ds3103.fw
dvb-fe-mxl5xx.fw
dvb-fe-or51132-qam.fw
dvb-fe-or51132-vsb.fw
dvb-fe-or51211.fw
dvb-fe-rs6000.fw
dvb-fe-tda10045.fw
dvb-fe-tda10046.fw
dvb-fe-tda10048-1.0.fw
dvb-fe-tda10071.fw
dvb-fe-xc4000-1.4.1.fw
dvb-fe-xc5000-1.6.114.fw
dvb-fe-xc5000c-4.1.30.7.fw
dvb-tuner-si2158-a20-01.fw
dvb-usb-avertv-a800-02.fw
dvb-usb-bluebird-01.fw
dvb-usb-dib0700-1.20.fw
dvb-usb-dibusb-5.0.0.11.fw
dvb-usb-dibusb-6.0.0.8.fw
dvb-usb-dtt200u-01.fw
dvb-usb-dw2101.fw
dvb-usb-dw2102.fw
dvb-usb-dw2104.fw
dvb-usb-dw3101.fw
dvb-usb-id5301.fw
dvb-usb-id5520se.fw
dvb-usb-id5580.fw
dvb-usb-id5590.fw
dvb-usb-it9135-01.fw
dvb-usb-it9135-02.fw
dvb-usb-p1100.fw
dvb-usb-p1100-old.fw
dvb-usb-p7500.fw
dvb-usb-pctv-400e-01.fw
dvb-usb-pctv-450e-01.fw
dvb-usb-pctv-452e-01.fw
dvb-usb-s620.fw
dvb-usb-s630.fw
dvb-usb-s660.fw
dvb-usb-sb340.fw
dvb-usb-SkyStar_USB_HD_FW_v17_63.HEX.fw
dvb-usb-tbs5520-01.fw
dvb-usb-tbsqbox-dvbc.fw
dvb-usb-tbsqbox-id2601.fw
dvb-usb-tbsqbox-id5220.fw
dvb-usb-tbsqbox-id5520.fw
dvb-usb-tbsqbox-id5680.fw
dvb-usb-tbsqbox-id5880.fw
dvb-usb-tbsqbox-id5881.fw
dvb-usb-tbsqbox-id5910.fw
dvb-usb-tbsqbox-id5920.fw
dvb-usb-tbsqbox-id5921.fw
dvb-usb-tbsqbox-id5922.fw
dvb-usb-tbsqbox-id5923.fw
dvb-usb-tbsqbox-id5925.fw
dvb-usb-tbsqbox-id5927.fw
dvb-usb-tbsqbox-id5928.fw
dvb-usb-tbsqbox-id5980.fw
dvb-usb-terratec-h5-drxk.fw
dvb-usb-terratec-h7-az6007.fw
dvb-usb-terratec-h7-drxk.fw
dvb-usb-tt-s2400-01.fw
dvb-usb-umt-010-02.fw
dvb-usb-vp702x-01.fw
dvb-usb-vp7045-01.fw
dvb-usb-wt220u-01.fw
dvb-usb-wt220u-02.fw
sms1xxx-hcw-55xxx-dvbt-02.fw
sms1xxx-hcw-55xxx-isdbt-02.fw
sms1xxx-nova-a-dvbt-01.fw
sms1xxx-nova-b-dvbt-01.fw
sms1xxx-stellar-dvbt-01.fw
v4l-cx231xx-avcore-01.fw
v4l-cx23418-apu.fw
v4l-cx23418-cpu.fw
v4l-cx23418-dig.fw
v4l-cx23885-avcore-01.fw
v4l-cx23885-enc-broken.fw
v4l-cx23885-enc.fw
v4l-cx25840.fw
make -C /home/pi/media_build/v4l distclean
make[1]: Entering directory '/home/pi/media_build/v4l'
rm -f *~ *.o *.ko .*.o.cmd .*.ko.cmd *.mod.c av7110_firm.h fdump \
        config-compat.h Module.symvers Module.markers modules.order \
        *.unsigned .*.ko.unsigned.cmd
make -C firmware clean
make[2]: Entering directory '/home/pi/media_build/v4l/firmware'
make[2]: Nothing to be done for 'clean'.
make[2]: Leaving directory '/home/pi/media_build/v4l/firmware'
rm -f .version .*.o.flags .*.o.d *.mod.gcno Makefile.media \
        Kconfig Kconfig.kern .config .config.cmd .myconfig \
        .kconfig.dep config-mycompat.h
rm -rf .tmp_versions .tmp*.ver .tmp*.o .*.gcno .cache.mk
rm -f scripts/lxdialog scripts/kconfig
make -C firmware distclean
make[2]: Entering directory '/home/pi/media_build/v4l/firmware'
make[2]: Nothing to be done for 'distclean'.
make[2]: Leaving directory '/home/pi/media_build/v4l/firmware'
make[1]: Leaving directory '/home/pi/media_build/v4l'
make -C /home/pi/media_build/v4l stagingconfig
make[1]: Entering directory '/home/pi/media_build/v4l'
No version yet, using 4.14.98-v7+
make[2]: Entering directory '/home/pi/media_build/linux'
Syncing with dir ../../media
Can't find ../../media/Makefile at ./use_dir.pl line 287.
Makefile:132: recipe for target 'apply_patches' failed
make[2]: *** [apply_patches] Error 2
make[2]: Leaving directory '/home/pi/media_build/linux'
Makefile:391: recipe for target 'stagingconfig' failed
make[1]: *** [stagingconfig] Error 2
make[1]: Leaving directory '/home/pi/media_build/v4l'
Makefile:26: recipe for target 'stagingconfig' failed
make: *** [stagingconfig] Error 2
V4L drivers building...
make -C /home/pi/media_build/v4l
make[1]: Entering directory '/home/pi/media_build/v4l'
scripts/make_makefile.pl
Updating/Creating .config
make[2]: Entering directory '/home/pi/media_build/linux'
make[2]: Entering directory '/home/pi/media_build/linux'
Syncing with dir ../../media
Can't find ../../media/Makefile at ./use_dir.pl line 287.
Syncing with dir ../../media
Can't find ../../media/Makefile at ./use_dir.pl line 287.
Makefile:132: recipe for target 'apply_patches' failed
make[2]: *** [apply_patches] Error 2
make[2]: Leaving directory '/home/pi/media_build/linux'
Makefile:132: recipe for target 'apply_patches' failed
make[2]: *** [apply_patches] Error 2
make[2]: Leaving directory '/home/pi/media_build/linux'
Preparing to compile for kernel version 4.14.98
File not found: /lib/modules/4.14.98-v7+/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
Updating/Creating .config
make[2]: Entering directory '/home/pi/media_build/linux'
make[2]: Entering directory '/home/pi/media_build/linux'
Syncing with dir ../../media
Can't find ../../media/Makefile at ./use_dir.pl line 287.
Syncing with dir ../../media
Makefile:132: recipe for target 'apply_patches' failed
make[2]: *** [apply_patches] Error 2
make[2]: Leaving directory '/home/pi/media_build/linux'
Can't find ../../media/Makefile at ./use_dir.pl line 287.
Makefile:132: recipe for target 'apply_patches' failed
make[2]: *** [apply_patches] Error 2
make[2]: Leaving directory '/home/pi/media_build/linux'
Preparing to compile for kernel version 4.14.98
File not found: /lib/modules/4.14.98-v7+/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: *** No rule to make target '.config', needed by '.myconfig'.  Stop.
make[1]: Leaving directory '/home/pi/media_build/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2
V4L drivers installing...
make -C /home/pi/media_build/v4l install
make[1]: Entering directory '/home/pi/media_build/v4l'
Installing kernel modules under /lib/modules/4.14.98-v7+/kernel/drivers/media/:
/sbin/depmod -a 4.14.98-v7+
make -C firmware install
make[2]: Entering directory '/home/pi/media_build/v4l/firmware'
Installing firmwares at /lib/firmware:
make[2]: Leaving directory '/home/pi/media_build/v4l/firmware'
make[1]: Leaving directory '/home/pi/media_build/v4l'
V4L drivers installation done
You need to reboot...
drhans
 
Posts: 2
Joined: Wed Oct 12, 2016 4:39 pm

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

Postby xiaocao » Mon Jul 15, 2019 11:09 am

hi ,
please follow the steps .
1) download the kernel header file
#apt-get install raspberrypi-kernel-headers
2) download some soft
#apt-get install patchutils
#apt-get install libproc-processtable-perl
3) download offline TBS driver package:
#wget http://www.tbsdtv.com/download/document ... pi.tar.bz2
#sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
#tar jxvf media_build-2019-04-15-rpi.tar.bz2
#cd media_build
#./install.sh
#reboot

if also has issue , please write email to support<support@tbsdtv.com> .

best regards!
xiaocao
 
Posts: 71
Joined: Tue Jun 25, 2013 5:48 pm

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

Postby klosz007 » Wed Aug 14, 2019 5:45 pm

Will this work with new RPi 4B and Raspbian Buster ?
klosz007
 
Posts: 8
Joined: Thu Jun 01, 2017 6:21 pm

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

Postby hagaygo » Fri Oct 04, 2019 4:20 pm

Hi

I did the above instruction, also posted the problem on github page, no response there yet (https://github.com/tbsdtv/linux_media/issues/177)

After the driver install the TBS5522SE seem to work fine.

Because it only works on raspbian stretch release from april 2019 the user needs to first (before any package update/install):

apt-get install raspberrypi-kernel-headers

to get the correct version kernel headers, then to instruct raspbian not to update kernel related stuff :

apt-mark hold raspberrypi-kernel
apt-mark hold linux-image-3.10-3-rpi
apt-mark hold raspberrypi-kernel-headers

only then install the drivers.

My problem now is that after this install my other tuners doesnt work :

[ 140.462636] usb 1-1.5: new high-speed USB device number 6 using dwc_otg
[ 140.597103] usb 1-1.5: New USB device found, idVendor=048d, idProduct=9006
[ 140.597119] usb 1-1.5: New USB device strings: Mfr=1, Product=0, SerialNumber=3
[ 140.597130] usb 1-1.5: Manufacturer: ITE Technologies, Inc.
[ 140.597140] usb 1-1.5: SerialNumber: AF0102020700001
[ 140.610889] input: ITE Technologies, Inc. as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.1/0003:048D:9006.0001/input/input0
[ 140.673532] hid-generic 0003:048D:9006.0001: input,hidraw0: USB HID v1.01 Keyboard [ITE Technologies, Inc.] on usb-3f980000.usb-1.5/input1
[ 140.741998] dvb_usb_af9035: disagrees about version of symbol rc_keydown
[ 140.742023] dvb_usb_af9035: Unknown symbol rc_keydown (err -22)
[ 140.802817] dvb_usb_af9035: disagrees about version of symbol rc_keydown
[ 140.802839] dvb_usb_af9035: Unknown symbol rc_keydown (err -22)

[ 456.619501] usb 1-1.5: new high-speed USB device number 7 using dwc_otg
[ 456.759801] usb 1-1.5: New USB device found, idVendor=15f4, idProduct=0131
[ 456.759819] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 456.759830] usb 1-1.5: Product: dvbt2
[ 456.759840] usb 1-1.5: Manufacturer: astrometadvbt2
[ 456.817634] dvb_usb_rtl28xxu: disagrees about version of symbol ir_raw_event_set_idle
[ 456.817657] dvb_usb_rtl28xxu: Unknown symbol ir_raw_event_set_idle (err -22)
[ 456.817707] dvb_usb_rtl28xxu: disagrees about version of symbol ir_raw_event_handle
[ 456.817716] dvb_usb_rtl28xxu: Unknown symbol ir_raw_event_handle (err -22)
[ 456.817830] dvb_usb_rtl28xxu: disagrees about version of symbol rc_keydown
[ 456.817839] dvb_usb_rtl28xxu: Unknown symbol rc_keydown (err -22)
[ 456.817927] dvb_usb_rtl28xxu: disagrees about version of symbol ir_raw_event_store_with_filter
[ 456.817936] dvb_usb_rtl28xxu: Unknown symbol ir_raw_event_store_with_filter (err -22)
[ 456.879650] dvb_usb_rtl28xxu: disagrees about version of symbol ir_raw_event_set_idle
[ 456.879668] dvb_usb_rtl28xxu: Unknown symbol ir_raw_event_set_idle (err -22)
[ 456.879715] dvb_usb_rtl28xxu: disagrees about version of symbol ir_raw_event_handle
[ 456.879724] dvb_usb_rtl28xxu: Unknown symbol ir_raw_event_handle (err -22)
[ 456.879833] dvb_usb_rtl28xxu: disagrees about version of symbol rc_keydown
[ 456.879842] dvb_usb_rtl28xxu: Unknown symbol rc_keydown (err -22)
[ 456.879926] dvb_usb_rtl28xxu: disagrees about version of symbol ir_raw_event_store_with_filter
[ 456.879937] dvb_usb_rtl28xxu: Unknown symbol ir_raw_event_store_with_filter (err -22)

Before driver install :

[ 60.582512] usb 1-1.4.2: new high-speed USB device number 9 using dwc_otg
[ 60.716768] usb 1-1.4.2: New USB device found, idVendor=048d, idProduct=9005, bcdDevice= 2.00
[ 60.716789] usb 1-1.4.2: New USB device strings: Mfr=1, Product=0, SerialNumber=3
[ 60.716801] usb 1-1.4.2: Manufacturer: ITE Technologies, Inc.
[ 60.716813] usb 1-1.4.2: SerialNumber: AF0102020700001
[ 60.720105] dvb_usb_af9035 1-1.4.2:1.0: prechip_version=83 chip_version=01 chip_type=9135
[ 60.729964] usb 1-1.4.2: dvb_usb_v2: found a 'ITE 9135(9005) Generic' in cold state
[ 60.731778] usb 1-1.4.2: dvb_usb_v2: downloading firmware from file 'dvb-usb-it9135-01.fw'
[ 60.869561] dvb_usb_af9035 1-1.4.2:1.0: firmware version=12.54.14.0
[ 60.869611] usb 1-1.4.2: dvb_usb_v2: found a 'ITE 9135(9005) Generic' in warm state
[ 60.869628] dvb_usb_af9035 1-1.4.2:1.0: [0] overriding tuner from 00 to 38
[ 60.870489] usb 1-1.4.2: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[ 60.870637] dvbdev: DVB: registering new adapter (ITE 9135(9005) Generic)
[ 60.909827] af9033 5-001c: firmware version: LINK 12.54.14.0 - OFDM 2.47.14.0
[ 60.909851] af9033 5-001c: Afatech AF9033 successfully attached
[ 60.910036] usb 1-1.4.2: DVB: registering adapter 1 frontend 0 (Afatech AF9033 (DVB-T))...
[ 60.934348] it913x it9133ax-tuner.0.auto: ITE IT913X AX successfully attached
[ 60.947025] Registered IR keymap rc-it913x-v2
[ 60.947374] rc rc1: ITE 9135(9005) Generic as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.2/rc/rc1
[ 60.947711] input: ITE 9135(9005) Generic as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.2/rc/rc1/input2
[ 60.948305] rc rc1: lirc_dev: driver dvb_usb_af9035 registered at minor = 1, scancode receiver, no transmitter

Please help , i need the other tuners to work also , not only TBS tuner.

Thanks in advance.
hagaygo
 
Posts: 3
Joined: Thu Oct 03, 2019 2:24 pm

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

Postby hagaygo » Mon Oct 07, 2019 1:35 pm

Although there is no response yet, i found another problem.

While my TBS 5520SE works with the drivers posted here , the DVBS tuner works fine and also the DVBT/T2 tuner works fine , but not at the same time.

So not only i can not use my other tuners while using this driver , the device which is multi tuner can not also server as 2 tuners.

My current solution is to attach it to a dedicated RPI and using the tuner via SAT>IP , not the most elegant solution , but it seems to be the best with the current driver support :(
hagaygo
 
Posts: 3
Joined: Thu Oct 03, 2019 2:24 pm

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

Postby DVB » Tue Oct 08, 2019 3:11 am

That's a misunderstanding. 5520SE is multistandard tuner, but not dual or not multituner. It has got ONE multistandard tuner, that can be switched between multiple standards, but cannot use multiple standards at the same time, because there is only one tuner there.
I think that all USB multistandard models have got one tuner. Multistandard models for PCI-e have got dual (6590) and quad (6504) versions.
DVB
 
Posts: 85
Joined: Sun Apr 17, 2011 8:02 am

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

Postby hagaygo » Tue Oct 08, 2019 3:44 am

Thanks for the answer and the clear up about the 5520SE model.

Any help/pointers about making TBS driver "co-exists" with other tuners ?

The only reason i even tried the to use the TBS5520 dvb-t tuner is because i can not use my existing dvb-t tuners with it.
hagaygo
 
Posts: 3
Joined: Thu Oct 03, 2019 2:24 pm


Return to News

Who is online

Users browsing this forum: No registered users and 1 guest