Page 1 of 17

Good News,Open source code for TBS Card has been released

PostPosted: Mon Jul 04, 2016 3:15 pm
by steven
Hi All

Thanks to Luis's help, now TBS has the first version of Linux Open Source driver. Welcome you to download for testing. If there is any question, you could post message here. Your comments and advice will be highly appreciated.

The card already added support are :
DVB-S/S2 Cards
PCI-E
TBS6922 ,TBS6922SE ,TBS6902 ,TBS6980 ,TBS6981 ,TBS6982 ,TBS6983 ,TBS6984 ,TBS6985 ,TBS6904
TBS6905 ,TBS6908 ,TBS6909 ,TBS6991SE ,TBS6910
USB
TBS5920 ,TBS5922 ,TBS5922SE ,TBS5925 ,TBS5980 ,TBS5990
PCI
TBS8922
DVB-T/T2/C Cards
PCI-E
TBS6220 ,TBS6221 ,TBS6280 ,TBS6281 ,TBS6281SE ,TBS6284 ,TBS6285 ,TBS6290SE ,TBS6205
USB
TBS5220 ,TBS5880 ,TBS5881 ,TBS5280 ,TBS5281
ATSC Cards
PCI-E
TBS6704
Multi-Standard Cards
PCI-E
TBS6522 ,TBS6528 ,TBS6590

For the other cards will keep update.

https://github.com/tbsdtv/linux_media/wiki

you can get the code here :
https://github.com/tbsdtv/linux_media

How to install :

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 distclean
make -j4
make install
reboot

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


Upgrading sources and re-installing:

~ $ cd media
~/media $ git remote update
~/media $ git pull
~/media $ cd ../media_build
~/media_build $ git remote update
~/media_build $ git pull
~/media_build $ make
~/media_build $ sudo make install
(now you can reboot or unload/reload modules manually:)
~/media_build $ reboot


FAQ:

1./bin/sh: 1: lsdiff: not found
sudo apt-get install patchutils

2.you may need to install the Proc::ProcessTable module
sudo apt-get install libproc-processtable-perl

3.fatal error: drx39xyj/drx39xxj.h: No such file or directory
mkdir -p v4l/drx39xyj
cp v4l/drx39xxj.h v4l/drx39xyj/

4. error: 'USB_SPEED_SUPER_PLUS' undeclared (first use in this function)
If you are using kernel 3.x you can update to kernel 4.x or you can manul change this file :
case USB_SPEED_SUPER_PLUS:
return le16_to_cpu(ep->ss_ep_comp.wBytesPerInterval);
------>
#if defined USB_SPEED_SUPER_PLUS
case USB_SPEED_SUPER_PLUS:
return le16_to_cpu(ep->ss_ep_comp.wBytesPerInterval);
#endif


Thanks

Kind Regards

steven

Re: Good News,Open source code for TBS Card has been release

PostPosted: Tue Jul 05, 2016 4:29 pm
by tako035
Thanks for your efforts. I installed and everything went Ok. But after I reboot my PC my usb TBS5990 is not recognized. What should I do ?

Re: Good News,Open source code for TBS Card has been release

PostPosted: Tue Jul 05, 2016 5:16 pm
by steven
tako035 Wrote:Thanks for your efforts. I installed and everything went Ok. But after I reboot my PC my usb TBS5990 is not recognized. What should I do ?


Hi Tako035

Thanks for your feedback for 5990 we have not added support yet ,we will keep update with this .

Thanks

Kind Regards

steven

Re: Good News,Open source code for TBS Card has been release

PostPosted: Tue Jul 05, 2016 10:55 pm
by Newtman
Hello,
I just installed the drivers, it detect my TBS922SE and work well (better than TBS driver) and my ISDB-Tb dongle correctly but doesn't detect my TBS6221, exactly than crazycat's branch.
Are you planing support TBS6221? I'm DVB-C Annex B (J.83-B) user.
A friend who have got TBS5881 and use for Annex B too was working with crazycat to get the correct support for our standard. I don't know if they found solution yet.

Thanks

Re: Good News,Open source code for TBS Card has been release

PostPosted: Wed Jul 06, 2016 7:37 am
by birry
Hi, just installed latest version on a RPI2 with ubuntu, latest branch compiles, and silabs branch does not

With latest branch, my TBS5881 does not tune, I have SCTE QAM (US DVBC)

For example, scanning 375MHz QAM256 SR5360 in tvheadend I get this output:

2016-07-05 23:30:23.414 opentv-skynz: registering mux 375MHz in New
2016-07-05 23:30:23.901 subscription: 0003: "scan" subscribing to mux "375MHz", weight: 5, adapter: "Silicon Labs Si2168 : DVB-C #0", network: "New", service: "Raw PID Subscription"
2016-07-05 23:30:23.902 linuxdvb: Unable to provide BER value.
2016-07-05 23:30:23.902 linuxdvb: Unable to provide SNR value.
2016-07-05 23:30:23.902 linuxdvb: Unable to provide UNC value.
2016-07-05 23:30:28.898 mpegts: 375MHz in New - scan no data, failed
2016-07-05 23:30:28.899 subscription: 0003: "scan" unsubscribing

With official drivers it works, what could be bad?

Re: Good News,Open source code for TBS Card has been release

PostPosted: Wed Jul 06, 2016 11:44 am
by steven
Hi birry&Newtman

Thanks so much for your feedback ,we will have a check with this ,as this is the first version we will update and add more cards
one by one ,please wait our new udpate .

Thanks

Kind Regards

steven

Re: Good News,Open source code for TBS Card has been release

PostPosted: Wed Jul 06, 2016 8:36 pm
by helmax
i have ubuntu 14.04 with old drivers board 6909 and 6904
i can install this?

Re: Good News,Open source code for TBS Card has been release

PostPosted: Thu Jul 07, 2016 2:46 pm
by steven
helmax Wrote:i have ubuntu 14.04 with old drivers board 6909 and 6904
i can install this?

Hi Helmax

You can use this open source driver for 6909 and 6904 .

Thanks

Kind Regards

steven

Re: Good News,Open source code for TBS Card has been release

PostPosted: Fri Jul 08, 2016 6:40 am
by birry
steven Wrote:Hi birry&Newtman

Thanks so much for your feedback ,we will have a check with this ,as this is the first version we will update and add more cards
one by one ,please wait our new udpate .

Thanks

Kind Regards

steven


thanks!! will wait for 5881 support!

Re: Good News,Open source code for TBS Card has been release

PostPosted: Fri Jul 08, 2016 6:51 pm
by scarfacept
Testing TBS6982. Everything seen to be ok.

With the official drivers I got some issue in ubuntu 16.04 (kernel 4.6) but with this opensource driver everything seen to be ok.

regards