Moderator Control Panel ]

fail install linux drivers TBS6909 DVB-S2 8 (solved)

fail install linux drivers TBS6909 DVB-S2 8 (solved)

Postby dishsto » Fri May 05, 2017 4:05 am

Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-32-generic x86_64)

root@6909:~# uname -a
Linux 6909 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

tbs-linux-drivers_v170330.zip

I follow Closed Driver install steps:
viewtopic.php?f=86&t=9875

i delete media folder #sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/

6. when i try compile driver source.
# make && make install

show this fail

CC [M] /root/tbs/linux-tbs-drivers/v4l/sn9c102_pas202bcb.o
CC [M] /root/tbs/linux-tbs-drivers/v4l/sn9c102_tas5110c1b.o
CC [M] /root/tbs/linux-tbs-drivers/v4l/sn9c102_tas5110d.o
CC [M] /root/tbs/linux-tbs-drivers/v4l/sn9c102_tas5130d1b.o
CC [M] /root/tbs/linux-tbs-drivers/v4l/bt87x.o
/root/tbs/linux-tbs-drivers/v4l/bt87x.c: In function 'snd_bt87x_pcm_open':
/root/tbs/linux-tbs-drivers/v4l/bt87x.c:446:2: error: implicit declaration of function 'smp_mb__after_atomic' [-Werror=implicit-function-declaration]
smp_mb__after_atomic();
^
/root/tbs/linux-tbs-drivers/v4l/bt87x.c: In function 'snd_bt87x_probe':
/root/tbs/linux-tbs-drivers/v4l/bt87x.c:898:2: error: implicit declaration of function 'snd_card_new' [-Werror=implicit-function-declaration]
err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE,
^
cc1: some warnings being treated as errors
make[3]: *** [/root/tbs/linux-tbs-drivers/v4l/bt87x.o] Error 1
make[2]: *** [_module_/root/tbs/linux-tbs-drivers/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.13.0-32-generic'
make[1]: *** [default] Error 2
make[1]: se sale del directorio «/root/tbs/linux-tbs-drivers/v4l»
make: *** [all] Error 2


Can somebody guide me to solve it please
dishsto
 
Posts: 3
Joined: Tue Feb 14, 2017 3:48 am

Re: fail install linux drivers TBS6909 DVB-S2 8 Tuner PCIe

Postby dishsto » Fri May 05, 2017 11:46 pm

Please close this post

I solved installing open source linux drivers

thanks
dishsto
 
Posts: 3
Joined: Tue Feb 14, 2017 3:48 am

Re: fail install linux drivers TBS6909 DVB-S2 8 (solved)

Postby dpdpkpcom » Thu Jul 20, 2017 4:33 pm

I think a reply to this from TBS would still be worthwhile - I'm having the same issue and having to revert to Open Source drivers

Thx

dp
dpdpkpcom
 
Posts: 21
Joined: Fri Jan 24, 2014 3:15 pm

Re: fail install linux drivers TBS6909 DVB-S2 8 (solved)

Postby steven » Wed Jul 26, 2017 4:31 pm

dpdpkpcom Wrote:I think a reply to this from TBS would still be worthwhile - I'm having the same issue and having to revert to Open Source drivers

Thx

dp

Hi which kernel you are using ?

Thanks

Kind Regards

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

Re: fail install linux drivers TBS6909 DVB-S2 8 (solved)

Postby mossy » Mon Aug 21, 2017 8:28 pm

Attached is a patch to allow the code to compile with kernel versions before 3.18.

Tested with -
Card: TBS6981
Kernel Version: 3.13
TBS code: tbs-linux-drivers_v170330.zip

Compiles and apparently works (meaning it works for me, but I've no idea if the affected code is normally executed or not on my system).

This problem is caused by two bugs relating to a failure to check for kernel versions, both introduced in v161031. One is caused by a kernel version check that was in the code, but was removed, and another by a change that made that code compatible with 3.16 or later only, without a kernel version check.


Instructions
Unzip the attachment, note the folder where you unzipped the patch (tbs_pre_3.18.patch). That folder is called /path/to below. Replace with the correct path to your copy of tbs_pre_3.18.patch.

When following the Closed Driver install steps, after this:
Code: Select All Code
cd linux-tbs-drivers

... do this:
Code: Select All Code
patch -p1 < /path/to/tbs_pre_3.18.patch

... and then continue as normal.
Attachments
tbs_pre_3.18.patch.zip
linux-tbs-drivers patch for pre-3.18 kernels
(604 Bytes) Downloaded 635 times
mossy
 
Posts: 9
Joined: Thu Dec 08, 2011 9:19 pm

Re: fail install linux drivers TBS6909 DVB-S2 8 (solved)

Postby mossy » Mon Aug 21, 2017 9:11 pm

steven Wrote:Hi which kernel you are using ?


Hi Steven,

Can we get patch into the code at some point?

It looks like the open source drivers also need this patch.
mossy
 
Posts: 9
Joined: Thu Dec 08, 2011 9:19 pm

Re: fail install linux drivers TBS6909 DVB-S2 8 (solved)

Postby steven » Mon Sep 04, 2017 9:54 am

mossy Wrote:
steven Wrote:Hi which kernel you are using ?


Hi Steven,

Can we get patch into the code at some point?

It looks like the open source drivers also need this patch.

Hi

you want to use kernel 3.xx ?

Thanks

Kind Regards

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

Re: fail install linux drivers TBS6909 DVB-S2 8 (solved)

Postby nrm » Thu Nov 23, 2017 8:54 pm

I ran into the same issue. Kernel 3.0.0. The patch on this thread fixed it.
nrm
 
Posts: 34
Joined: Tue Jan 29, 2013 3:39 am


Return to DVB-S2 Octa Tuner PCIe Card TBS6909

Who is online

Users browsing this forum: No registered users and 4 guests