Moderator Control Panel ]

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

News and information about TBS products.

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

Postby imperia » Tue Aug 16, 2016 9:15 pm

I am unable to compile the driver on debian testing with kernel 4.6
This is the error I am getting:
Code: Select All Code
  CC [M]  /usr/local/src/tbsdriver/media_build/v4l/bttv-risc.o
  CC [M]  /usr/local/src/tbsdriver/media_build/v4l/bttv-vbi.o
  CC [M]  /usr/local/src/tbsdriver/media_build/v4l/bttv-i2c.o
In file included from /usr/local/src/tbsdriver/media_build/v4l/../linux/include/media/videobuf2-dvb.h:4:0,
                 from /usr/local/src/tbsdriver/media_build/v4l/cx88.h:34,
                 from /usr/local/src/tbsdriver/media_build/v4l/cx88-dvb.c:32:
/usr/local/src/tbsdriver/media_build/v4l/cx88-dvb.c: In function 'dvb_register':
/usr/local/src/tbsdriver/media_build/v4l/cx88-dvb.c:1565:50: error: passing argument 1 of '__a' from incompatible pointer type [-Werror=incompatible-pointer-types]
   fe0->dvb.frontend = dvb_attach(tas2101_attach, &tbs8922_demod_cfg, &core->i2c_adap);
                                                  ^
/usr/local/src/tbsdriver/media_build/v4l/dvbdev.h:279:22: note: in definition of macro 'dvb_attach'
   __r = (void *) __a(ARGS); \
                      ^
/usr/local/src/tbsdriver/media_build/v4l/cx88-dvb.c:1565:50: note: expected 'const struct tas2101_config *' but argument is of type 'struct tas2101_config (*)[1]'
   fe0->dvb.frontend = dvb_attach(tas2101_attach, &tbs8922_demod_cfg, &core->i2c_adap);
                                                  ^
/usr/local/src/tbsdriver/media_build/v4l/dvbdev.h:279:22: note: in definition of macro 'dvb_attach'
   __r = (void *) __a(ARGS); \
                      ^
  CC [M]  /usr/local/src/tbsdriver/media_build/v4l/bttv-gpio.o
  CC [M]  /usr/local/src/tbsdriver/media_build/v4l/bttv-input.o
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.6.0-1-common/scripts/Makefile.build:302: recipe for target '/usr/local/src/tbsdriver/media_build/v4l/cx88-dvb.o' failed
make[5]: *** [/usr/local/src/tbsdriver/media_build/v4l/cx88-dvb.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  CC [M]  /usr/local/src/tbsdriver/media_build/v4l/bttv-audio-hook.o
/usr/src/linux-headers-4.6.0-1-common/Makefile:1446: recipe for target '_module_/usr/local/src/tbsdriver/media_build/v4l' failed
make[4]: *** [_module_/usr/local/src/tbsdriver/media_build/v4l] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[3]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.6.0-1-amd64'
Makefile:51: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/usr/local/src/tbsdriver/media_build/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2
imperia
 
Posts: 41
Joined: Tue Nov 22, 2011 10:21 pm

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

Postby steven » Wed Aug 17, 2016 11:23 am

Hi imperia

Please update to latest code :
https://github.com/tbsdtv/linux_media/c ... 2f78b99bc2

Thanks

Kind Regards

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

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

Postby Paust55 » Sat Aug 20, 2016 5:55 pm

Could you add driver also for "older" cards, like TBS-6981?

Thanks Paul
Paust55
 
Posts: 29
Joined: Wed Feb 16, 2011 6:54 pm

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

Postby crazycat » Sun Aug 21, 2016 8:34 am

open-source driver for 6980/1 long time present in official V4L DVB, so present in tbsdtv/linux-media
need only install cx24117 firmware
https://github.com/tbsdtv/linux_media/wiki
crazycat
 
Posts: 526
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkov

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

Postby liljim » Sat Aug 27, 2016 4:35 pm

I was able to get the TBS6909 installed on a fresh installation of Ubuntu 16.04, but ONLY after having followed this from CrazyCat's bitbucket README:

NOTE: this document assumes that all prerequisite packages like kerner headers
and build tools are already installed in your Linux system.
----------
For Ubuntu:
sudo apt-get install git build-essential linux-headers-generic \
ncurses-dev libproc-processtable-perl fakeroot\

(https://bitbucket.org/CrazyCat/linux-tbs-drivers)

This information is not in the github documentation. Maybe that's an obvious bit of advice for most users, I don't know - I overlooked it to start with. I feel as if it should be included in the github README regardless.
liljim
 
Posts: 1
Joined: Tue Aug 16, 2016 12:52 am

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

Postby crazycat » Tue Aug 30, 2016 9:34 am

this tips from README linux-tbs-driver tarballs (semi-closed source TBS linux drivers).
crazycat
 
Posts: 526
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkov

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

Postby maximol » Thu Sep 01, 2016 6:14 pm

Hello,

I am trying to get a ubuntu 16.04 machine working with the following cards:

- wintv-pvr-500 for analog channels
- tbs6221 for dvb-c
- tbs8922 for dvb-s

I tried the official drivers first, but for them to work I had to clean out the entire media folder, resulting in working tbs cards, but no support for the pvr-500. So my hope was to use the open-source drivers, and not needing to clean out the media folder to get all three cards working.
The drivers compiled fine, the pvr-500 and tbs6221 are registered as an adapter. The tbs8922 seems to be recognized, but is not registered. The relevant output from dmesg shows the following:

dmesg | egrep -i "cx88|dvb"
[ 9.839478] cx88[0]: subsystem: 8922:8888, board: TBS 8922 DVB-S/S2 [card=91,autodetected], frontend(s): 1
[ 9.888688] DVB: registering new adapter (SAA716x dvb adapter)
[ 9.922708] SAA716x Budget 0000:02:00.0: DVB: registering adapter 0 frontend 0 (TurboSight TBS 6221 DVB-T/T2/C)...
[ 12.660223] input: cx88 IR (TBS 8922 DVB-S/S2) as /devices/pci0000:00/0000:00:14.4/0000:03:06.2/rc/rc0/input5
[ 12.660280] rc rc0: cx88 IR (TBS 8922 DVB-S/S2) as /devices/pci0000:00/0000:00:14.4/0000:03:06.2/rc/rc0
[ 12.660649] cx88[0]/2: cx2388x 8802 Driver Manager
[ 12.660736] cx88[0]/2: found at 0000:03:06.2, rev: 5, irq: 21, latency: 64, mmio: 0xf7000000
[ 12.692505] rc rc0: lirc_dev: driver ir-lirc-codec (cx88xx) registered at minor = 0


Any pointers on how to get this working?

Kind regards
maximol
 
Posts: 1
Joined: Thu Sep 01, 2016 1:49 am

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

Postby klys » Wed Sep 14, 2016 11:25 am

Hi,
After following the recommended steps at the first post of this thread, I have not got the GPL compliant code from github to compile. Here is a paste detailing my build situation: http://pastebin.com/raw/d1h6prca

please check and see if I should be able to do this with linux-4.7.2 or newer.

sincerely,
- Mdasoh Kyaeppd.
klys
 
Posts: 2
Joined: Mon Sep 12, 2016 12:02 pm

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

Postby maspeter » Fri Sep 23, 2016 2:20 am

Hello
I have Matrix ARM mini PC + TBS7220 mini PCIe DVB-C Tuner card.
How could I obtain the driver for this card for ARM?
On the website is only for linux and windows.
Thank you
maspeter
 
Posts: 17
Joined: Mon Jan 18, 2016 6:26 am

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

Postby LubosD » Wed Sep 28, 2016 2:57 am

Thanks a lot, the driver seems to work for me on my 6985.

Could you please add support for SNR reporting? Missing SNR information makes it more difficult to achieve the best dish alignment :-(

UPDATE: I take it back, using "femon" instead of "femon -H" is good enough for me!
LubosD
 
Posts: 13
Joined: Mon Jul 29, 2013 12:32 am

PreviousNext

Return to News

Who is online

Users browsing this forum: No registered users and 5 guests