Page 1 of 2

Need Help with TBS6985 Driver Only

PostPosted: Mon Jan 06, 2014 4:36 pm
by Cpoc
Hello I have purchased a new TBS6985 quad DVB-S card from you guys and installed the driver like the README says but it was a mess. I am running Debian Wheezy latest version and had already installed HDHomerun and and old Hauppage PVR 500 card. Both were working perfectly BEFORE I installed you drivers. I did not know that it would install every single driver in the driver pack and now my whole OS is corrupted. My HDHomerun does not work anymore and my Hauppage card is not even listed. I am using TVHeadend as my PVR back-end server. Everything was working perfectly BEFORE I installed your drivers and now nothing works. I backed up my old config of TVheadend and I have already installed a new Debian OS and reinstalled tvheadend and I am back to the same place I was BEFORE your drivers messed up my entire OS. All I want to do is either have precompiled drivers and firmware for a 64bit system or compile the drivers ONLY for the TBS6985 card and not the entire product line against MY KERNEL like it did for HDHomerun. I have noticed that the drivers for this card are listed as tbs6985fe_driver.o and tbs6985se_driver.o and I believe the firmware is v4l-cx23885-avcore-01.fw however I'm not sure on the firmware part. I need a simple detailed howto compile against my own kernel so that it will not mess up my OS again or precompliled drivers that I can download. I have seen this howto but it does not apply to the TBS6985 https://shop.tbsdtv.com/blog/how-to-insta ... 11-04.html

Please help as I cannot use this product without messing up my current config.

Re: Need Help with TBS6985 Driver Only

PostPosted: Thu Jan 09, 2014 12:46 am
by Cpoc
Can somebody help me.

Re: Need Help with TBS6985 Driver Only

PostPosted: Thu Jan 09, 2014 2:43 am
by updatelee
You cant just install the drivers for your 6985 and leave all the other drivers as old drivers. You must install all new ones from the TBS media tree.

do a make menuconfig, confirm your drivers are selected then do a make and sudo make install. If things still arent working check the kern.log file for more info as to why

UDL

Re: Need Help with TBS6985 Driver Only

PostPosted: Fri Jan 10, 2014 4:37 am
by Cpoc
I will give this another try. I hope it does not messup my dvbhdhomerun setup and my itv pvr500 drivers. I will make a clone image before I try to compile/install again. I will post my results.

Re: Need Help with TBS6985 Driver Only

PostPosted: Sun Jan 12, 2014 7:12 am
by Cpoc
Make menuconfig won't work. This is what I got

root@tvheadend:/opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers# make menuconfig make -C /opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers/v4l menuconfig
make[1]: Entering directory `/opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers/v4l'
make -C /lib/modules/3.2.0-4-amd64/build -f /opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers/v4l/Makefile.kernel config-targets=1 mixed-targets=0 dot-config=0 SRCDIR=/lib/modules/3.2.0-4-amd64/build v4l-mconf
make: Entering an unknown directory
make: *** /lib/modules/3.2.0-4-amd64/build: No such file or directory. Stop.
make: Leaving an unknown directory
make[1]: *** [/lib/modules/3.2.0-4-amd64/build/scripts/kconfig/mconf] Error 2
make[1]: Leaving directory `/opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers/v4l'
make: *** [menuconfig] Error 2
root@tvheadend:/opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers#

What I don't understand is am I compiling it against my kernel or what is provider by the driver pack.

Please explain.

Re: Need Help with TBS6985 Driver Only

PostPosted: Sun Jan 12, 2014 7:16 am
by Cpoc
After installing apt-get install linux-headers-`uname -r` linux-source-3.2

I still get

root@tvheadend:/opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers# make menuconfig make -C /opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers/v4l menuconfig
make[1]: Entering directory `/opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers/v4l'
make -C /lib/modules/3.2.0-4-amd64/build -f /opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers/v4l/Makefile.kernel config-targets=1 mixed-targets=0 dot-config=0 SRCDIR=/lib/modules/3.2.0-4-amd64/source v4l-mconf
make[2]: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
/lib/modules/3.2.0-4-amd64/source/scripts/Makefile.build:44: /lib/modules/3.2.0-4-amd64/source/scripts/basic/Makefile: No such file or directory
make[3]: *** No rule to make target `/lib/modules/3.2.0-4-amd64/source/scripts/basic/Makefile'. Stop.
make[2]: *** [scripts_basic] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
make[1]: *** [/lib/modules/3.2.0-4-amd64/build/scripts/kconfig/mconf] Error 2
make[1]: Leaving directory `/opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers/v4l'
make: *** [menuconfig] Error 2
root@tvheadend:/opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers#

Any ideas

Re: Need Help with TBS6985 Driver Only

PostPosted: Sun Jan 12, 2014 11:09 am
by Cpoc
It seems I was missing this apt-get install ncurses-dev
However if I go to my linux source make menuconfig works but in the tbs driver tree it does not work and gives me this

root@tvheadend:/opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers# make menuconfig
make -C /opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers/v4l menuconfig
make[1]: Entering directory `/opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers/v4l'
make -C /lib/modules/3.2.0-4-amd64/build -f /opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers/v4l/Makefile.kernel config-targets=1 mixed-targets=0 dot-config=0 SRCDIR=/lib/modules/3.2.0-4-amd64/source v4l-mconf
make[2]: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
/lib/modules/3.2.0-4-amd64/source/scripts/Makefile.build:44: /lib/modules/3.2.0-4-amd64/source/scripts/basic/Makefile: No such file or directory
make[3]: *** No rule to make target `/lib/modules/3.2.0-4-amd64/source/scripts/basic/Makefile'. Stop.
make[2]: *** [scripts_basic] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
make[1]: *** [/lib/modules/3.2.0-4-amd64/build/scripts/kconfig/mconf] Error 2
make[1]: Leaving directory `/opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers/v4l'
make: *** [menuconfig] Error 2
root@tvheadend:/opt/tbs-linux-drivers_v130927/linux-tbs-drivers/linux-tbs-drivers#

Re: Need Help with TBS6985 Driver Only

PostPosted: Sun Jan 12, 2014 11:20 am
by Cpoc
Make config works but make menuconfig does not.

Re: Need Help with TBS6985 Driver Only

PostPosted: Sun Jan 12, 2014 11:37 am
by Cpoc
What I did was this but then again it installed all the drivers in the tree. That's not want I want. I ONLY want the drivers that is NEEDED for this card to function not every single driver from the TBS product line. There has to be a better way than the way below.

tar xjvf linux-tbs-drivers.tar.bz2


cd linux-tbs-drivers



./v4l/tbs-x86_64.sh


make && make install

Re: Need Help with TBS6985 Driver Only

PostPosted: Sun Jan 12, 2014 12:03 pm
by Cpoc
Now here is the problem when I try to compile dvbhdhomerun and try to insert the module it gives me this

root@tvheadend:/usr/src/dvbhdhomerun-0.0.15/kernel# modprobe dvb_hdhomerun
ERROR: could not insert 'dvb_hdhomerun': Invalid argument

Without installing the TBS drivers it works fine. I can compile dvbhdhomerun with no problems. Now with the TBS drivers installed the dvbhdhomerun module won't work.

Any ideas.....