Page 2 of 4

Re: TBS Linux driver v130506 availabe

PostPosted: Fri May 10, 2013 2:38 am
by cody

Re: TBS Linux driver v130506 availabe

PostPosted: Fri May 10, 2013 6:34 am
by bolausson
[EDIT]
Ouups your update was faster then expected :-)
Testing your updated package right now.
[/EDIT]

Just one more question:
I wonder which minimum driver config is required to get the TBS 6618 DVB-C card (and IR) running.
Could you post a ".config"?

Again, thanks for the quick 2.9.X fix.

Cheers,
Bjoern

Re: TBS Linux driver v130506 availabe

PostPosted: Fri May 10, 2013 7:25 am
by bolausson
Okay, tested the new driver and it works as long as I do not strip it down to the bare minimum.

If I do that (see attached config), I have to apply my littel patch to
Code: Select All Code
linux-tbs-drivers/v4l/isl6423.h


There is a "," missing after "*config":

Code: Select All Code
static inline struct dvb_frontend *isl6423_attach(struct dvb_frontend *fe,
                                                  struct i2c_adapter *i2c,
                                                  const struct isl6423_config *config
                                                  int nr)


should be:
Code: Select All Code
static inline struct dvb_frontend *isl6423_attach(struct dvb_frontend *fe,
                                                  struct i2c_adapter *i2c,
                                                  const struct isl6423_config *config,
                                                  int nr)


Besides this I seem to miss something important as with the attached config, the card seems not to work.

These drivers get automatically loaded when I do not temper with the .config vie menuconfig:
Code: Select All Code
blub@enterprise $ lsmod
Module                  Size  Used by
nvidia               9369006  30
rc_tbs_nec              1164  0
saa716x_tbs_dvb        46958  2
ir_lirc_codec           4323  0
lirc_dev                8943  1 ir_lirc_codec
ir_mce_kbd_decoder      4190  0
tbs6982fe              13029  1 saa716x_tbs_dvb
tbs6680fe               8697  1 saa716x_tbs_dvb
tbs6923fe              12965  1 saa716x_tbs_dvb
tbs6928se              10777  1 saa716x_tbs_dvb
tbs6991fe              10932  1 saa716x_tbs_dvb
ir_sony_decoder         2003  0
tbs6618fe               8697  1 saa716x_tbs_dvb
saa716x_core           37311  5 saa716x_tbs_dvb
ir_jvc_decoder          2161  0
tbs6922fe              12837  1 saa716x_tbs_dvb
ir_rc6_decoder          2705  0
tbs6928fe              10484  1 saa716x_tbs_dvb
ir_rc5_decoder          2161  0
stv090x                50951  1 saa716x_tbs_dvb
ir_nec_decoder          2513  0
dvb_core               87490  2 saa716x_core,saa716x_tbs_dvb
rc_core                14560  11 ir_lirc_codec,ir_rc5_decoder,ir_nec_decoder,ir_sony_decoder,rc_tbs_nec,saa716x_tbs_dvb,ir_mce_kbd_decoder,ir_jvc_decoder,ir_rc6_decoder


I tired to remove everything except those drivers (well including the unused IR decoders - just keeping MCE and LIRC decoders)

This is what I get:
Module Size Used by
Code: Select All Code
nvidia               9369006  30
rc_tbs_nec              1164  0
ir_lirc_codec           4323  0
lirc_dev                8943  1 ir_lirc_codec
saa716x_tbs_dvb        41568  0
tbs6982fe              13029  1 saa716x_tbs_dvb
ir_mce_kbd_decoder      4190  0
tbs6923fe              12965  1 saa716x_tbs_dvb
tbs6991fe              10932  1 saa716x_tbs_dvb
saa716x_core           37183  1 saa716x_tbs_dvb
dvb_core               87490  2 saa716x_core,saa716x_tbs_dvb
tbs6928fe              10484  1 saa716x_tbs_dvb
rc_core                14400  6 ir_lirc_codec,rc_tbs_nec,saa716x_tbs_dvb,ir_mce_kbd_decoder


This seems not sufficient to get the cards running (at least mythv keeps telling me all decoders are busy)

Cheers,
Bjoern

Re: TBS Linux driver v130506 availabe

PostPosted: Fri May 10, 2013 3:51 pm
by orekhovav
What about multiPLP support? Patch from CrazyCat works for me, but what about official drivers?

Re: TBS Linux driver v130506 availabe

PostPosted: Fri May 10, 2013 4:03 pm
by cody
@bolausson

if you get the frontend initialized then enough of the drivers are installed and then the problem is somewhere else - you can test your card with 'czap' and 'scan' and then if it works with the simple tools proceed.

Re: TBS Linux driver v130506 availabe

PostPosted: Wed May 15, 2013 1:51 am
by ragamesh
Hi.. I have installed last week Ubuntu 13.04 64bit and my tbs6981 stop to work..
Before I have 12.10 and work fine..
Now with kernel 3.8.0.19 and driver 130506 don't work.

With dmesg | grep frontend I receive this log

dmesg | grep frontend
[ 10.801035] videobuf_dvb: disagrees about version of symbol dvb_frontend_detach
[ 10.801037] videobuf_dvb: Unknown symbol dvb_frontend_detach (err -22)
[ 10.801047] videobuf_dvb: disagrees about version of symbol dvb_unregister_frontend
[ 10.801049] videobuf_dvb: Unknown symbol dvb_unregister_frontend (err -22)
[ 10.801053] videobuf_dvb: disagrees about version of symbol dvb_register_frontend
[ 10.801054] videobuf_dvb: Unknown symbol dvb_register_frontend (err -22)

The make macro and install ends with no errors..

You can help me?
Thank you

Re: TBS Linux driver v130506 availabe

PostPosted: Wed May 15, 2013 5:59 am
by updatelee
ragamesh Wrote:Hi.. I have installed last week Ubuntu 13.04 64bit and my tbs6981 stop to work..
Before I have 12.10 and work fine..
Now with kernel 3.8.0.19 and driver 130506 don't work.

With dmesg | grep frontend I receive this log

dmesg | grep frontend
[ 10.801035] videobuf_dvb: disagrees about version of symbol dvb_frontend_detach
[ 10.801037] videobuf_dvb: Unknown symbol dvb_frontend_detach (err -22)
[ 10.801047] videobuf_dvb: disagrees about version of symbol dvb_unregister_frontend
[ 10.801049] videobuf_dvb: Unknown symbol dvb_unregister_frontend (err -22)
[ 10.801053] videobuf_dvb: disagrees about version of symbol dvb_register_frontend
[ 10.801054] videobuf_dvb: Unknown symbol dvb_register_frontend (err -22)

The make macro and install ends with no errors..

You can help me?
Thank you


Try this,

sudo make rmmod
sudo make rminstall
sudo make install
sudo reboot

disagrees about version of symbol dvb_register_frontend usually means that its still got some of the old drivers in there.

UDL

Re: TBS Linux driver v130506 availabe

PostPosted: Wed May 15, 2013 7:14 pm
by ragamesh
Code: Select All Code
make -C /tbs-linux-drivers_v130506/linux-tbs-drivers/v4l rmmod
make[1]: ingresso nella directory "/tbs-linux-drivers_v130506/linux-tbs-drivers/v4l"
scripts/rmmod.pl unload
found 516 modules
/sbin/rmmod ir_rc5_decoder
Can't locate object method "new" via package "Proc::ProcessTable" (perhaps you forgot to load "Proc::ProcessTable"?) at scripts/rmmod.pl line 175.
make[1]: *** [rmmod] Errore 2
make[1]: uscita dalla directory "/tbs-linux-drivers_v130506/linux-tbs-drivers/v4l"
make: *** [rmmod] Errore 2

When do
sudo make rmmod command
I receive the errors above

I try to execute the other command but after reboot I still have the same problems of the last post..

You can help me again?
Thank

Re: TBS Linux driver v130506 availabe

PostPosted: Wed May 15, 2013 9:08 pm
by updatelee
you have unmet dependencies, mainly the perl module ProcessTable, in ubuntu you type this

sudo apt-get install libproc-processtable-perl

If you dont do alot of compiling you might want to use this,

sudo apt-get install mercurial build-essential linux-headers-generic ncurses-dev libproc-processtable-perl

Just to make sure youve got everything.

UDL

Re: TBS Linux driver v130506 availabe

PostPosted: Thu May 16, 2013 12:58 am
by ragamesh
Hi..

nothing change. I've follow your all instruction.. I've recompile driver too.. but nothing

The same error with dmesg and with make rmmod..

Any ideas?

Thanks