Moderator Control Panel ]

TBS 6909 linux install / reinstall problem

TBS 6909 linux install / reinstall problem

Postby paule3d » Thu Mar 02, 2017 4:07 am

I had this working a few months ago.
THen I havent used it.

Today the card drivers are not loaded. /dev/dvb/ does not exist.
lspci shows 6909

I try to reinstall following instructions http://www.tbsiptv.com/download/tbs6909 ... _guide.pdf

on step "make", this is output (I even tried sudo make):

make[2]: Entering directory '/usr/src/linux-headers-4.4.0-45-generic'
CC [M] /home/user/tbsdriver/media_build/v4l/cxd2820r_core.o
/home/user/tbsdriver/media_build/v4l/cxd2820r_core.c: In function 'cxd2820r_gpio_direction_output':
/home/user/tbsdriver/media_build/v4l/cxd2820r_core.c:447:31: error: implicit declaration of function 'gpiochip_get_data' [-Werror=implicit-function-declaration]
struct cxd2820r_priv *priv = gpiochip_get_data(chip);
^
/home/user/tbsdriver/media_build/v4l/cxd2820r_core.c:447:31: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
/home/user/tbsdriver/media_build/v4l/cxd2820r_core.c: In function 'cxd2820r_gpio_set':
/home/user/tbsdriver/media_build/v4l/cxd2820r_core.c:461:31: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
struct cxd2820r_priv *priv = gpiochip_get_data(chip);
^
/home/user/tbsdriver/media_build/v4l/cxd2820r_core.c: In function 'cxd2820r_gpio_get':
/home/user/tbsdriver/media_build/v4l/cxd2820r_core.c:477:31: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
struct cxd2820r_priv *priv = gpiochip_get_data(chip);
^
/home/user/tbsdriver/media_build/v4l/cxd2820r_core.c: In function 'cxd2820r_probe':
/home/user/tbsdriver/media_build/v4l/cxd2820r_core.c:685:9: error: implicit declaration of function 'gpiochip_add_data' [-Werror=implicit-function-declaration]
ret = gpiochip_add_data(&priv->gpio_chip, priv);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/home/user/tbsdriver/media_build/v4l/cxd2820r_core.o' failed
make[3]: *** [/home/user/tbsdriver/media_build/v4l/cxd2820r_core.o] Error 1
Makefile:1403: recipe for target '_module_/home/user/tbsdriver/media_build/v4l' failed
make[2]: *** [_module_/home/user/tbsdriver/media_build/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.4.0-45-generic'
Makefile:51: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/home/user/tbsdriver/media_build/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2


any help please?
paule3d
 
Posts: 9
Joined: Sun Sep 25, 2016 10:49 pm

Re: TBS 6909 linux install / reinstall problem

Postby steven » Thu Mar 02, 2017 3:09 pm

Hi

Please contact our support and you can set a SSH remote we will have a check with this
and you can have a try with this package too :
#wget http://www.tbsdtv.com/download/document/linux/media_build-0119.tar.bz2
# sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
#tar jxvf media_build-0119.tar.bz2
#cd media_build
#./install.sh
#reboot


Thanks

Kind Regards

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

Re: TBS 6909 linux install / reinstall problem

Postby xiaocao » Thu Mar 02, 2017 3:18 pm

Hi

Please contact our support and you can set a SSH remote we will have a check with this
and you can have a try with this package too :

1.Firmware

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

2.Downloading and building

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



Thanks

Kind Regards
xiaocao
 
Posts: 37
Joined: Tue Jun 25, 2013 5:48 pm

Re: TBS 6909 linux install / reinstall problem

Postby paule3d » Thu Mar 02, 2017 8:01 pm

Hello guys. I think I have got it working before I saw your reply -

I don't know what fixed it as I did a lot of things:

sudo apt-get update
sudo apt-get upgrade

Then I see somebody else having similar problems installing pci card on linux and he says this command fixed things for him, so I tried this:
sudo apt-get install linux-headers-`uname -r` build-essential subversion mercurial openssl gettext libssl-dev screen libv4l-dev

full driver install
reboot

Now I have 8 adapters in /dev/dvb

Hopefully this will help somebody else who has same problem and find this page on google.

Regards
paule3d
 
Posts: 9
Joined: Sun Sep 25, 2016 10:49 pm


Return to DVB-S2 Octa Tuner PCIe Card TBS6909

Who is online

Users browsing this forum: No registered users and 1 guest

cron