Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] DVB TBS 6981 driver failed on Kernel 3.0.x & 3.4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Schnulli
Guru
Guru


Joined: 25 Jun 2010
Posts: 320
Location: Bremen DE

PostPosted: Sun Oct 09, 2011 1:09 am    Post subject: [solved] DVB TBS 6981 driver failed on Kernel 3.0.x & 3. Reply with quote

//edit 01.04.13

Since the new TBS Drivers have been released, it works, at the TBS Forum u can get, if in need, detailed instructions

Cheers




Hi all,
tonight i tryed to get another TBS 6981 on Gentoo working (hardened amd64 multilib intel atom d510)
since Kernel 3.0.x v4l is Masked for reason.
I am lost, (maybe i should get asleep one day ^^) i tryed all howto´s and readme´s i found to figure out, no chance. On kernel 38.x all is working fine with this cards......
Anyone a idea how to get this DVB-S2 Card working on new 3.0.x Kernel´s?? The 3.0.x Kernels are sooo smoothy and fast for Intel Atom´s ;)

Code:

dmesg |grep cx23
cx23885 driver version 0.0.2 loaded
cx23885 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
cx23885[0]: Your board isn't known (yet) to the driver.
cx23885[0]: Try to pick one of the existing card configs via
cx23885[0]: card=<n> insmod option.  Updating to the latest
cx23885[0]: version might help as well.
cx23885[0]: Here is a list of valid choices for the card=<n> insmod option:
cx23885[0]:    card=0 -> UNKNOWN/GENERIC
cx23885[0]:    card=1 -> Hauppauge WinTV-HVR1800lp
cx23885[0]:    card=2 -> Hauppauge WinTV-HVR1800
cx23885[0]:    card=3 -> Hauppauge WinTV-HVR1250
cx23885[0]:    card=4 -> DViCO FusionHDTV5 Express
cx23885[0]:    card=5 -> Hauppauge WinTV-HVR1500Q
cx23885[0]:    card=6 -> Hauppauge WinTV-HVR1500
cx23885[0]:    card=7 -> Hauppauge WinTV-HVR1200
cx23885[0]:    card=8 -> Hauppauge WinTV-HVR1700
cx23885[0]:    card=9 -> Hauppauge WinTV-HVR1400
cx23885[0]:    card=10 -> DViCO FusionHDTV7 Dual Express
cx23885[0]:    card=11 -> DViCO FusionHDTV DVB-T Dual Express
cx23885[0]:    card=12 -> Leadtek Winfast PxDVR3200 H
cx23885[0]:    card=13 -> Compro VideoMate E650F
cx23885[0]:    card=14 -> TurboSight TBS 6920
cx23885[0]:    card=15 -> TeVii S470
cx23885[0]:    card=16 -> DVBWorld DVB-S2 2005
cx23885[0]:    card=17 -> NetUP Dual DVB-S2 CI
cx23885[0]:    card=18 -> Hauppauge WinTV-HVR1270
cx23885[0]:    card=19 -> Hauppauge WinTV-HVR1275
cx23885[0]:    card=20 -> Hauppauge WinTV-HVR1255
cx23885[0]:    card=21 -> Hauppauge WinTV-HVR1210
cx23885[0]:    card=22 -> Mygica X8506 DMB-TH
cx23885[0]:    card=23 -> Magic-Pro ProHDTV Extreme 2
cx23885[0]:    card=24 -> Hauppauge WinTV-HVR1850
cx23885[0]:    card=25 -> Compro VideoMate E800
cx23885[0]:    card=26 -> Hauppauge WinTV-HVR1290
cx23885[0]:    card=27 -> Mygica X8558 PRO DMB-TH
cx23885[0]:    card=28 -> LEADTEK WinFast PxTV1200
cx23885[0]:    card=29 -> GoTView X5 3D Hybrid
cx23885[0]:    card=30 -> NetUP Dual DVB-T/C-CI RF
CORE cx23885[0]: subsystem: 6981:8888, board: UNKNOWN/GENERIC [card=0,autodetected]
i2c i2c-1: adapter [cx23885[0]] registered
i2c i2c-2: adapter [cx23885[0]] registered
i2c i2c-3: adapter [cx23885[0]] registered
cx23885_dev_checkrevision() Hardware revision = 0xa5
cx23885[0]/0: found at 0000:02:00.0, rev: 4, irq: 17, latency: 0, mmio: 0xfe800000
cx23885 0000:02:00.0: setting latency timer to 64


I gave this a try
#echo "options cx23885 card=14" >/etc/modprobe.d/cx23885.conf
#update-modules
#reboot

Didnt work :roll:

Code:

# dmesg |grep cx23
cx23885 driver version 0.0.2 loaded
cx23885 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
CORE cx23885[0]: subsystem: 6981:8888, board: TurboSight TBS 6920 [card=14,insmod option]
i2c i2c-1: adapter [cx23885[0]] registered
i2c i2c-2: adapter [cx23885[0]] registered
i2c i2c-3: adapter [cx23885[0]] registered
cx23885_dvb_register() allocating 1 frontend(s)
cx23885[0]: cx23885 based dvb card
cx23885[0]: frontend initialization failed
cx23885_dvb_register() dvb_register failed err = -22
cx23885_dev_setup() Failed to register dvb adapters on VID_B
cx23885_dev_checkrevision() Hardware revision = 0xa5
cx23885[0]/0: found at 0000:02:00.0, rev: 4, irq: 17, latency: 0, mmio: 0xfe800000
cx23885 0000:02:00.0: setting latency timer to 64
localhost ~ # ls /dev/dvb
ls: cannot access /dev/dvb: No such file or directory


Last edited by Schnulli on Mon Apr 01, 2013 1:40 pm; edited 5 times in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Oct 09, 2011 1:24 am    Post subject: Reply with quote

V4Lv1 support was dropped. Lots of software developers got caught with their pants down. To get it working you need V4Lv2 support, what app you are using to watch TV?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Schnulli
Guru
Guru


Joined: 25 Jun 2010
Posts: 320
Location: Bremen DE

PostPosted: Sun Oct 09, 2011 1:27 am    Post subject: Reply with quote

Hi Jaglover
yap, thats true,. my pants are too down... sigh, going to be cold ^^ :lol:

VDR, what else => VLC Streamdev? Well on the other Boxes its running fine, so lets give it a try on new Kernels ^^
Back to top
View user's profile Send private message
Schnulli
Guru
Guru


Joined: 25 Jun 2010
Posts: 320
Location: Bremen DE

PostPosted: Sun Oct 09, 2011 11:29 pm    Post subject: Reply with quote

well, bec the needed drivers for the TBS 6981 HD-S2 are closed Source and they still need v4l .... there is at time no chance to get it working on new 3.0.x Kernel, v4lv2 dosnt help.........

We´r downgrading to 2.6.38-r6, until this problems are solved, sad, bec the 3.0.x Kernel are working pretty fast and smoothy with Intel Atom but what to do, the guys are waiting for their Boxes ^^

Hopefully this Problems are gonna be solved soon. IN the meanwhile we will try to get in touch with TBS , asking for Help ;)
Back to top
View user's profile Send private message
Schnulli
Guru
Guru


Joined: 25 Jun 2010
Posts: 320
Location: Bremen DE

PostPosted: Tue Oct 23, 2012 11:50 pm    Post subject: *pulling up* Reply with quote

Hi,
again a try to get the nice TBS 6981 be working on Gentoo and a 3.4.9 Kernel, but no luck......

i ran the install script inisde the tbs driver package and it seems to build the driver and modules.... seems
now when i try to load i get this err´s

modprobe cx23885
WARNING: Error inserting v4l2_common (/lib/modules/3.4.9-gentoo/kernel/drivers/media/video/v4l2-common.ko): Invalid argument
WARNING: Error inserting videobuf_core (/lib/modules/3.4.9-gentoo/kernel/drivers/media/video/videobuf-core.ko): Invalid argument
WARNING: Error inserting dvb_core (/lib/modules/3.4.9-gentoo/kernel/drivers/media/dvb/dvb-core/dvb-core.ko): Invalid argument
WARNING: Error inserting videobuf_dvb (/lib/modules/3.4.9-gentoo/kernel/drivers/media/video/videobuf-dvb.ko): Invalid argument
WARNING: Error inserting videobuf_dma_sg (/lib/modules/3.4.9-gentoo/kernel/drivers/media/video/videobuf-dma-sg.ko): Invalid argument
WARNING: Error inserting cx2341x (/lib/modules/3.4.9-gentoo/kernel/drivers/media/video/cx2341x.ko): Invalid argument
WARNING: Error inserting rc_core (/lib/modules/3.4.9-gentoo/kernel/drivers/media/rc/rc-core.ko): Invalid argument
FATAL: Error inserting cx23885 (/lib/modules/3.4.9-gentoo/kernel/drivers/media/video/cx23885/cx23885.ko): Invalid argument

# modinfo cx23885
filename: /lib/modules/3.4.9-gentoo/kernel/drivers/media/video/cx23885/cx23885.ko
license: GPL
author: Steven Toth <stoth@linuxtv.org>
description: v4l2 driver module for cx23885 based TV cards
version: 0.0.3
license: GPL
author: Steven Toth <stoth@linuxtv.org>
description: Driver for cx23885 based TV cards
srcversion: 1F27768C68BEE838D207786
alias: pci:v000014F1d00008880sv*sd*bc*sc*i*
alias: pci:v000014F1d00008852sv*sd*bc*sc*i*
depends: videobuf-core,videobuf-dma-sg,rc-core,cx2341x,v4l2-common,videodev,tveeprom,i2c-core,videobuf-dvb,dvb-core,btcx-risc
vermagic: 3.4.9-gentoo SMP mod_unload modversions
parm: ci_dbg:Enable CI debugging (int)
parm: ci_irq_enable:Enable IRQ from CAM (int)
parm: ir_888_debug:enable debug messages [CX23888 IR controller] (int)
parm: mpegbufs:number of mpeg buffers, range 2-32 (int)
parm: mpeglines:number of lines in an MPEG buffer, range 2-32 (int)
parm: mpeglinesize:number of bytes in each line of an MPEG buffer, range 512-1024 (int)
parm: v4l_debug:enable V4L debug messages (int)
parm: alt_tuner:Enable alternate tuner configuration (int)
parm: adapter_nr:DVB adapter numbers (array of short)
parm: i2c_debug:enable debug messages [i2c] (int)
parm: i2c_scan:scan i2c bus at insmod time (int)
parm: debug:enable debug messages (int)
parm: card:card type (array of int)
parm: vbibufs:number of vbi buffers, range 2-32 (int)
parm: vbi_debug:enable debug messages [vbi] (int)
parm: video_nr:video device numbers (array of int)
parm: vbi_nr:vbi device numbers (array of int)
parm: radio_nr:radio device numbers (array of int)
parm: video_debug:enable debug messages [video] (int)
parm: irq_debug:enable debug messages [IRQ handler] (int)
parm: vid_limit:capture memory limit in megabytes (int)
parm: netup_card_rev:NetUP Dual DVB-T/C CI card revision (int)
parm: enable_885_ir:Enable integrated IR controller for supported
CX2388[57] boards that are wired for it:
HVR-1250 (reported safe)
TeVii S470 (reported unsafe)
This can cause an interrupt storm with some cards.
Default: 0 [Disabled] (int)



Anyone with a working TBS 6981 or might can help? Anyone tryed and same problems?
Back to top
View user's profile Send private message
Legodev
n00b
n00b


Joined: 22 Nov 2012
Posts: 3

PostPosted: Thu Nov 22, 2012 5:49 pm    Post subject: Reply with quote

Hi,

because one of my DVB cards is diying i'm looking for an other. So i found the TBS 6981.

After looking for support in current kernel, because the drivers found on http://www.tbsdtv.com are still precompiled, i found your thread.

linuxtv.org writes that you need the following drivers:
RF Tuner: Conexant CX24132
Demodulator: Conexant CX24117
PCIe bridge: Conexant CX23885

Have you selected all these drivers and removed the option in /etc/modprobe.d/cx23885.conf ?
Did you also try the current kernel 3.6.6?

Sorry that i've no helpfull answer, but i'm interested if it maybe works now.

greedings
Back to top
View user's profile Send private message
Schnulli
Guru
Guru


Joined: 25 Jun 2010
Posts: 320
Location: Bremen DE

PostPosted: Thu Nov 22, 2012 6:52 pm    Post subject: Reply with quote

Hi Legodev,
well, as to be honest..... i was feedup figuring out for weeks, so.. i went another way, got it working on Debian Wheezy, Kernel 3.2.x the TBS 6981 and 6984 (thats the same, just 4 Tuners) are working pretty fine, i still have no clu why the heck it didnt work on Gentoo, and i didnt try again.. i used streamdev of my debibox to have on Gentoo cloured Pictures ^^ shame on me... it just works ^^
But, now that you are as well would like to get it working on Gentoo... giving it again a try ? I´ll plug again the test Harddrive with Gentoo....
The Drivers and Firmware are delivered from TBS , they work.... they should work as well on Gentoo. sigh, cant remember in Detail what the err message theese days had been when trying, the problem occoured when running the make of the tbs drivers..... and later when trying to load them, see above, i didnt try 3.6.x....still ;)
And, i am too interested to get it working on Gentoo..... almost better to run vdr etc here ;)

regards, lets keep in touch till it works i bet we are not the only who would like to have it working ;)

Legodev wrote:
Hi,

because one of my DVB cards is diying i'm looking for an other. So i found the TBS 6981.

After looking for support in current kernel, because the drivers found on http://www.tbsdtv.com are still precompiled, i found your thread.

linuxtv.org writes that you need the following drivers:
RF Tuner: Conexant CX24132
Demodulator: Conexant CX24117
PCIe bridge: Conexant CX23885

Have you selected all these drivers and removed the option in /etc/modprobe.d/cx23885.conf ?
Did you also try the current kernel 3.6.6?

Sorry that i've no helpfull answer, but i'm interested if it maybe works now.

greedings
Back to top
View user's profile Send private message
Legodev
n00b
n00b


Joined: 22 Nov 2012
Posts: 3

PostPosted: Thu Nov 22, 2012 7:25 pm    Post subject: Reply with quote

Hi :)

Would be nice if you give it a try with the kernel build in drivers or maybe media-tv/v4l-dvb-hg.

Thanks for spending your time and powering the gentoo up again. :)

a bit offtopic:

I own two other dvb-s2 cards, which also use the same drivers,
because of this i don't want to depent on the delivered drivers,
maybe the patches destroy the support for the other cards.

If the drivers where open source, there would be no problem...

Well you are right the vdr support on gentoo ist amazing, the only
problem is the Missing livebuffer plugin, because of this im stuck on
vdr 1.7.0. There are patches which add this feature to recent versions,
but there are some bug with other patches... but well enough offtopic. :)
Back to top
View user's profile Send private message
Schnulli
Guru
Guru


Joined: 25 Jun 2010
Posts: 320
Location: Bremen DE

PostPosted: Thu Nov 22, 2012 10:13 pm    Post subject: Reply with quote

calm down, no need to thank me in any way...... boring is when all works or a Distri out of the box.... well...... ;) works.. but is it this we need??
on the other hand.. now is winter time, time for non-boring stuff who stimulate this grey rusty cells up there ;)

vdr ... well i am on vdr since the good old 1.4 and i loooved it realy, now when i look around whats going on with the actual versions.. well.. well... maybe it´s a good thing to keep on working with 1.7.0.. still clean and just working, my beloved vdr-s* does it greatly on 1.7.0 so why to change then? as to be honest, the new isnt this i like, just to much missing, just to much weird.....

exactly, would the driver be open source , all would be fine..... sigh, i tryed a few ago to deal with TBS abt this topic, no chance in any way....

OK.. here we go, lets give it a try, i think i´ll start over at the weekend and maybe a reason to screw a new comp.... the new Intel Atom isnt bad and gcc 4.6 support´s "make opts native" now nicely ;)

by the way.. Lego-Dev... does it have a deeper meaning if you allow me to ask?

forgotten to ask.. is there still a dvb loopback patch for Kernel 3.6.x?
dvb Loopback means you can leach down a whole transponder with one tuner, in our case... LNB 1 = Tuner 1(card1), LNB 2 = Tuner 2 .... or more ;) this would be again really amazing and livebuffer would be... yee-haa;)
Back to top
View user's profile Send private message
delta_42
n00b
n00b


Joined: 26 May 2013
Posts: 5
Location: Rossendale, Lancashire

PostPosted: Sun May 26, 2013 9:21 pm    Post subject: Reply with quote

Schnulli wrote:
Hi Legodev,
well, as to be honest..... i was feedup figuring out for weeks, so.. i went another way, got it working on Debian Wheezy, Kernel 3.2.x the TBS 6981


Sorry for dredging this thread up, I've been really struggling to get this card working on Debian. I'm a total Linux noob, so I'm just following the instructions in the driver docs without really knowing what's going on. I got everything working on Ubuntu without any problems, but I really want to use OpenMediaVault on Debian. When I try to run the 'make' command during the driver installation I get all sorts of problems. Searching Google seems to suggest I'm not alone in that, so I'm wondering if you had to do anything special to get the drivers to install in Debian.

Many Thanks
Back to top
View user's profile Send private message
Schnulli
Guru
Guru


Joined: 25 Jun 2010
Posts: 320
Location: Bremen DE

PostPosted: Mon May 27, 2013 8:48 am    Post subject: Reply with quote

Hi Delta, can u pls post the log of ur errors when trying to build the drivers on debian?
usually, building this drivers on Deb isnt a huge problem.

regards
Back to top
View user's profile Send private message
delta_42
n00b
n00b


Joined: 26 May 2013
Posts: 5
Location: Rossendale, Lancashire

PostPosted: Mon May 27, 2013 4:28 pm    Post subject: Reply with quote

Here's what happens when I try to run 'make' after following the instructions for installing the driver. I've tried both the x86 and x64 versions and trying the straight version of Debian Wheezy as well as using OpenMediaVault.

root@TVRevolution:~/tbs/linux-tbs-drivers# uname -a
Linux TVRevolution 2.6.32-5-486 #1 Sun Sep 23 09:17:35 UTC 2012 i686 GNU/Linux
root@TVRevolution:~/tbs/linux-tbs-drivers# ./v4l/tbs-x86.sh
TBS drivers configured for x86 platform.
root@TVRevolution:~/tbs/linux-tbs-drivers# make && make install
make -C /root/tbs/linux-tbs-drivers/v4l
make[1]: Entering directory `/root/tbs/linux-tbs-drivers/v4l'
No version yet, using 2.6.32-5-486
make[1]: Leaving directory `/root/tbs/linux-tbs-drivers/v4l'
make[1]: Entering directory `/root/tbs/linux-tbs-drivers/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 2.6.32
File not found: /lib/modules/2.6.32-5-486/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: Leaving directory `/root/tbs/linux-tbs-drivers/v4l'
make[1]: Entering directory `/root/tbs/linux-tbs-drivers/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.32
File not found: /lib/modules/2.6.32-5-486/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'. Stop.
make[1]: Leaving directory `/root/tbs/linux-tbs-drivers/v4l'
make: *** [all] Error 2
root@TVRevolution:~/tbs/linux-tbs-drivers#

Any enlightenment would be greatly appreciated!
Back to top
View user's profile Send private message
Schnulli
Guru
Guru


Joined: 25 Jun 2010
Posts: 320
Location: Bremen DE

PostPosted: Mon May 27, 2013 4:51 pm    Post subject: Reply with quote

Hi Dellta, what Debian Release you use? an old one?

have you prepared ur sys to be able building a new kernel? means installed all needed dependencies for an build enviroment?
Back to top
View user's profile Send private message
delta_42
n00b
n00b


Joined: 26 May 2013
Posts: 5
Location: Rossendale, Lancashire

PostPosted: Mon May 27, 2013 6:25 pm    Post subject: Reply with quote

I'm using the debian release that underpins Openmediavault 0.4, which is a variant of squeeze. I also tried this on the latest release of Debian and had the same issue. I'm guessing it could be something to do with the fact that Debian already seems to include a driver of sorts for the card chipset, but doesn't recognise the card.
Back to top
View user's profile Send private message
Schnulli
Guru
Guru


Joined: 25 Jun 2010
Posts: 320
Location: Bremen DE

PostPosted: Mon May 27, 2013 9:07 pm    Post subject: Reply with quote

thats true on Wheezy, but when u run the make of the TBS driver u replace the old ;)
so, let me ask again, did u prepare ur sys for compiling kernel etc?
Back to top
View user's profile Send private message
delta_42
n00b
n00b


Joined: 26 May 2013
Posts: 5
Location: Rossendale, Lancashire

PostPosted: Mon May 27, 2013 10:08 pm    Post subject: Reply with quote

You'll have to forgive me as I'm new to the world of Linux. I installed a ton of packages, anything that looked like it might be relevant to compiling the kernel. This time the make and make install seemed to go through fine with no error messages. However when I do dmesg | grep frontend as per the docs I don't see any entries, so whilst I'm somewhat further on, I'm still lost!
Back to top
View user's profile Send private message
delta_42
n00b
n00b


Joined: 26 May 2013
Posts: 5
Location: Rossendale, Lancashire

PostPosted: Tue May 28, 2013 8:14 pm    Post subject: Reply with quote

I got the drivers installed on Debian squeeze, tried exactly the same on Wheezy and I still run into the same problem. Everything seems to go through OK, but on reboot the driver just doesn't seem to be working. Going to try again with the 32 bit version of Wheezy. Unfortunately, TVHeadend on Debian only seems to be for Wheezy.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum