Page 1 of 1

TBS 6909 linux install / reinstall problem

PostPosted: Thu Mar 02, 2017 4:07 am
by paule3d
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?

Re: TBS 6909 linux install / reinstall problem

PostPosted: Thu Mar 02, 2017 3:09 pm
by steven
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

Re: TBS 6909 linux install / reinstall problem

PostPosted: Thu Mar 02, 2017 3:18 pm
by xiaocao
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

Re: TBS 6909 linux install / reinstall problem

PostPosted: Thu Mar 02, 2017 8:01 pm
by paule3d
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

Re: TBS 6909 linux install / reinstall problem

PostPosted: Sat Dec 08, 2018 2:19 am
by ReidHao
Hi....After a clean reinstall of my Ubuntu the other week I am having trouble installing the TBS6981 drivers.
I have run through the instructions many times in the past (usually after upgrading the kernel) without any issue but this time it doesn't work. The strange thing is that it worked last week and there have been no changes to the kernel since then.

Re: TBS 6909 linux install / reinstall problem

PostPosted: Mon Dec 10, 2018 9:56 am
by steven
ReidHao Wrote:Hi....After a clean reinstall of my Ubuntu the other week I am having trouble installing the TBS6981 drivers.
I have run through the instructions many times in the past (usually after upgrading the kernel) without any issue but this time it doesn't work. The strange thing is that it worked last week and there have been no changes to the kernel since then.

Hi

which kernel you are using ,as for TBS6981 the driver already merged to the kernel .

Thanks

Kind Regards

steven