Jump to content
XPEnology Community

TBS DVB DRIVERS


JMRR

Recommended Posts

About the open source:

 

Some of those (e.g dvb-core) already exist. Do I overwrite duplicates?

Do I insmod only these in the same order as shown:

 

media.ko

dvb-core.ko

si2157.ko

si2168.ko

cx24117.ko

tas2101.ko

saa716x_core.ko

saa716x_budget.ko int_type=1

 

Also, does it matter that I'm using another usb tuner (I guess this is why dvb-core etc are already loaded)

 

Hmm i've noticed that when i reboot the box it checks the upgrade file and then recopies si2157 & si2168 over it..

 

Noticed some messages in dmesg:

 

[ 96.646010] SAA716x Budget 0000:02:00.0: irq 44 for MSI/MSI-X

[ 96.654167] DVB: registering new adapter (SAA716x dvb adapter)

[ 96.654174] vmalloc: allocation failure: 18446743755033046016 bytes

[ 96.654176] insmod: page allocation failure: order:0, mode:0xd2

 

 

 

Thanks - as you can tell i'm a linux newbie...

Link to comment
Share on other sites

if you are using another usb tunner, maybe you should not overwrite dvb-core, but if it is loaded tbs will not work(maybe not).

So my sugestion is

 

- dont use usb tunner for now, unplug it(just for testing);

- copy the modules to another folder /lib/modules/tbs , so dont overwrite the ones synology has;

- insmod all modules in that order and dont forget int_type=1 on last one, thats important;

- copy all firmwares to /lib/modules/firmwares (firmwares are only needed when frontent starts(tvheadend for exemple), so you only will see firmware being loaded in dmesg after tvheadend;

- check you dmesg, and see if any error occours

my gess is you are having problems becouse of shared dvb-core between usb tunner and pcie tunner.

 

if you can what is your usb tunner.

Link to comment
Share on other sites

OK cool have managed to get the drivers working by this method:

 

delete the backports_dvb dir

reboot

recreate the backports_dvb dir

 

copy over the files (using your latest open source).

 

 

Problems remaing to be solved:

 

When I reboot however the files are overwritten due to the upgrade file check - i see the checking/updating going on during the boot.

 

I also need to also get a usb tuner going - An alfatech AF9033 ITE9035.

 

I'm currently trying to sus which modules that uses but i see it uses some duplicate ones - dvb-core for example..

So far:

 

media.ko

si2157.ko

rc-core.ko

dvb-core.ko

dvb_usb_v2.ko

dvb-usb-af9035.ko

af9033.ko

it913x.ko

 

 

Does this mean that it will be impossible with linux? Is it possible to recompile the alfatech af9033 with the same shared source as the tbs drivers to make them compatible?

 

Cheers!

Link to comment
Share on other sites

You dont need to copy modules to /lib/modules/backports_dvb, you cam copy them to any other folder, usually i insmod them from the folder thar i crosscompile.

Put them on any other folder, so dont overwrite any one.

 

I dont know why at reboot your files are overwrited, on my build that doesent happens.

I will have a look on that usb card, just one thing do you know what modules all need to work.

Link to comment
Share on other sites

Hi!

I need to help.

I have a gen7 HP N40L microserver with XPEnology. (DSM 5.2-5592 Update 4)

I'm not too good to Linux. I can copy, and mkdir. That's all. :smile: But I read this tutorial, and I understand it. So if I download and copy the modules to the right library, and I start there ("insmod" command), my card will work. Is it? (Later the automatization.)

So I have a TBS 6984 quad tuner dvbs2 card. I want to use it with TVHeadend, and OSCAM. I searched on wiki, but I not found wich modules are need it to me. 

Maybe I need it: tbs6984fe.ko, tbs_pcie-dvb.ko, saa716x_tbs-dvb.ko, dvb-core.ko, cx24117.ko, media.ko

Could you help me someone wich modules need to me? And please post the download page for it. But if someone write me the step by step install, that will be cool. :wink:

(Sorry for my english, I trying)

Regards, Peter

 

 

Posted via Xpenology.us

Link to comment
Share on other sites

Hi!

I need to help.

I have a gen7 HP N40L microserver with XPEnology. (DSM 5.2-5592 Update 4)

I'm not too good to Linux. I can copy, and mkdir. That's all. :smile: But I read this tutorial, and I understand it. So if I download and copy the modules to the right library, and I start there ("insmod" command), my card will work. Is it? (Later the automatization.)

So I have a TBS 6984 quad tuner dvbs2 card. I want to use it with TVHeadend, and OSCAM. I searched on wiki, but I not found wich modules are need it to me. 

Maybe I need it: tbs6984fe.ko, tbs_pcie-dvb.ko, saa716x_tbs-dvb.ko, dvb-core.ko, cx24117.ko, media.ko

Could you help me someone wich modules need to me? And please post the download page for it. But if someone write me the step by step install, that will be cool. :wink:

(Sorry for my english, I trying)

Regards, Peter

 

 

Posted via Xpenology.us

Link to comment
Share on other sites

Now downgrade DSM 5.2-5592. but same problem.

 

 

 

N54L / DSM 5.2-5967 Update 2

 

https://github.com/andy928/xpenology/bl ... ST.cx23885

10 -> DViCO FusionHDTV7 Dual Express [18ac:d618]

 

CX23885.ko / copy to '/lib/modules/backports_dvb'

https://www.dropbox.com/sh/31nkgy8ybcj8 ... 85.ko?dl=0

 

 

DViCO FusionHDTV7 Dual Express need XC5000 firmware?

https://www.linuxtv.org/wiki/index.php/ ... e_Firmware

 

I don't know install firmware.

 

I didn't have '/etc/rc.local' file. so create '/etc/rc.local' and edit '/sbin/insmod /lib/modules/backports_dvb/CX23885.ko'

Is it correct? I'm not sure.

 

DSM version different of XPE:5592. so not work?

Link to comment
Share on other sites

Hi!

I need to help.

I have a gen7 HP N40L microserver with XPEnology. (DSM 5.2-5592 Update 4)

I'm not too good to Linux. I can copy, and mkdir. That's all. :smile: But I read this tutorial, and I understand it. So if I download and copy the modules to the right library, and I start there ("insmod" command), my card will work. Is it? (Later the automatization.)

So I have a TBS 6984 quad tuner dvbs2 card. I want to use it with TVHeadend, and OSCAM. I searched on wiki, but I not found wich modules are need it to me. 

Maybe I need it: tbs6984fe.ko, tbs_pcie-dvb.ko, saa716x_tbs-dvb.ko, dvb-core.ko, cx24117.ko, media.ko

Could you help me someone wich modules need to me? And please post the download page for it. But if someone write me the step by step install, that will be cool. :wink:

(Sorry for my english, I trying)

Regards, Peter

 

 

Posted via Xpenology.us

 

You english is very good dont wory.:smile:

 

So for that card, i sugest you to use opensource drivers.

 

So start copy thismodules to another folder like /lib/modules/tbs

And insmod them on this orther and like this(pay atention to int type=1)

 

The download lnk is on first page on my dropbox you can get them there use the opensource ones.

 

media.ko

dvb-core.ko

cx24117.ko

cx24132.ko

tas2101.ko

saa716x_core.ko

saa716x_budget.ko int_type=1

 

And copy tbs firmwares to /lib/firmwares

 

wget http://www.tbsdtv.com/download/document ... .0.tar.bz2

tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware/

 

Then run dmesg and see if any error ocourrs.

 

See if you can make it work like this.

Just one note its beter if you update xpenology boot to latest version end dsm to correspondent one lke booter. Dont think it works on that version.

Link to comment
Share on other sites

Iruyanka i think you need more modules for that card, im gona have a look.

 

Ok. need more modules...

 

 

anyway

 

My server doesn't have original rc.local.

So, create /etc/rc.local and in edit 'insmod /lib/firmware/backports_dvb/cx23885.ko'

 

but, cx23885.ko is not in list of lsmod.

 

Is it wrong way? How to load cx23885.ko?

 

Sorry. My English not good.

Link to comment
Share on other sites

Hi

I installed my TBS6984 card. Succes. I followed your instuctions JMRR. Thank you very much.

But I have a little problem. When I search the muxes in tvheadend,, it find lot of muxes, but a few muxes failed. I have a Wetek Play with dual DVB-S2 tuner (I want to change it for the TBS card and NAS) and it's find this muxes. 

I don't know why it doesn't work as same, but but I know, I not loaded one of the missing module (cx24132.ko). Is it possible that's the problem? 

I tried some tvheadend version.

Any idea?

 

 

 

Posted via Xpenology.us

Link to comment
Share on other sites

Hi

I installed my TBS6984 card. Succes. I followed your instuctions JMRR. Thank you very much.

But I have a little problem. When I search the muxes in tvheadend,, it find lot of muxes, but a few muxes failed. I have a Wetek Play with dual DVB-S2 tuner (I want to change it for the TBS card and NAS) and it's find this muxes. 

I don't know why it doesn't work as same, but but I know, I not loaded one of the missing module (cx24132.ko). Is it possible that's the problem? 

I tried some tvheadend version.

Any idea?

 

 

Posted via Xpenology.us

Link to comment
Share on other sites

If need it I can post my dmesg output (only dvb lines).

Here:

[   48.953291] pl2303: version magic '3.10.77 SMP mod_unload ' should be '3.10.3                                                                                        5 SMP mod_unload '

[   60.032135] type=1400 audit(1473021345.367:2): apparmor="DENIED" operation="m                                                                                        kdir" parent=22399 profile="/usr/syno/synoman/webman/index.cgi" name="/usr/syno/                                                                                        synoman/synohdpack/tmp/" pid=22433 comm="mkdir" requested_mask="c" denied_mask="                                                                                        c" fsuid=0 ouid=0

[  137.525934] media: Linux media interface: v0.10

[  151.459306] WARNING: You are using an experimental version of the media stack                                                                                        .

[  151.459306]  As the driver is backported to an older kernel, it doesn't offer

[  151.459306]  enough quality for its usage in production.

[  151.459306]  Use it with care.

[  151.459306] Latest git patches (needed if you report a bug to linux-media@vge                                                                                        r.kernel.org):

[  151.459306]  82a81d9826df96cc90cebec54a00ce008719c411 support cx231xx CI func                                                                                        tion

[  222.423646] SAA716x Budget 0000:02:00.0: irq 44 for MSI/MSI-X

[  222.431701] DVB: registering new adapter (SAA716x dvb adapter)

[  225.500197] cx24117 1-0055: creating new instance

[  225.500207] i2c i2c-1: cx24117: Attaching frontend 0

[  225.501463] DVB: Unable to find symbol isl6422_attach()

[  225.501477] SAA716x Budget 0000:02:00.0: TurboSight TBS 6984  frontend 0 does                                                                                        n't seem to have a isl6422b on the i2c bus.

[  225.501776] SAA716x Budget 0000:02:00.0: TurboSight TBS 6984  MAC=00:22:ab:90                                                                                        :24:e8

[  225.501782] SAA716x Budget 0000:02:00.0: DVB: registering adapter 0 frontend                                                                                         0 (TurboSight TBS 6984 DVB-S/S2)...

[  225.501970] DVB: registering new adapter (SAA716x dvb adapter)

[  225.502860] cx24117 1-0055: attaching existing instance

[  225.502870] i2c i2c-1: cx24117: Attaching frontend 1

[  225.505163] DVB: Unable to find symbol isl6422_attach()

[  225.505173] SAA716x Budget 0000:02:00.0: TurboSight TBS 6984  frontend 1 does                                                                                        n't seem to have a isl6422b on the i2c bus.

[  225.505473] SAA716x Budget 0000:02:00.0: TurboSight TBS 6984  MAC=00:22:ab:90                                                                                        :24:e9

[  225.505479] SAA716x Budget 0000:02:00.0: DVB: registering adapter 1 frontend                                                                                         0 (TurboSight TBS 6984 DVB-S/S2)...

[  225.505663] DVB: registering new adapter (SAA716x dvb adapter)

[  225.506613] cx24117 0-0005: creating new instance

[  225.506622] i2c i2c-0: cx24117: Attaching frontend 0

[  225.508314] DVB: Unable to find symbol isl6422_attach()

[  225.508324] SAA716x Budget 0000:02:00.0: TurboSight TBS 6984  frontend 2 does                                                                                        n't seem to have a isl6422b on the i2c bus.

[  225.508620] SAA716x Budget 0000:02:00.0: TurboSight TBS 6984  MAC=00:22:ab:90                                                                                        :24:ea

[  225.508625] SAA716x Budget 0000:02:00.0: DVB: registering adapter 2 frontend                                                                                         0 (TurboSight TBS 6984 DVB-S/S2)...

[  225.508835] DVB: registering new adapter (SAA716x dvb adapter)

[  225.509745] cx24117 0-0005: attaching existing instance

[  225.509753] i2c i2c-0: cx24117: Attaching frontend 1

[  225.511247] DVB: Unable to find symbol isl6422_attach()

[  225.511259] SAA716x Budget 0000:02:00.0: TurboSight TBS 6984  frontend 3 does                                                                                        n't seem to have a isl6422b on the i2c bus.

[  225.511557] SAA716x Budget 0000:02:00.0: TurboSight TBS 6984  MAC=00:22:ab:90                                                                                        :24:eb

[  225.511562] SAA716x Budget 0000:02:00.0: DVB: registering adapter 3 frontend                                                                                         0 (TurboSight TBS 6984 DVB-S/S2)...

[  233.716157] type=1400 audit(1473021519.000:3): apparmor="DENIED" operation="m                                                                                        kdir" parent=22590 profile="/usr/syno/synoman/webman/index.cgi" name="/usr/syno/                                                                                        synoman/synohdpack/tmp/" pid=22624 comm="mkdir" requested_mask="c" denied_mask="                                                                                        c" fsuid=0 ouid=0

[  248.225096] SAA716x Budget 0000:02:00.0: DVB: adapter 3 frontend 0 frequency                                                                                         0 out of range (950000..2150000)

[  248.310624] SAA716x Budget 0000:02:00.0: DVB: adapter 2 frontend 0 frequency                                                                                         0 out of range (950000..2150000)

[  248.375206] SAA716x Budget 0000:02:00.0: DVB: adapter 1 frontend 0 frequency                                                                                         0 out of range (950000..2150000)

[  248.439065] SAA716x Budget 0000:02:00.0: DVB: adapter 0 frontend 0 frequency                                                                                         0 out of range (950000..2150000)

[  300.217050] SAA716x Budget 0000:02:00.0: DVB: adapter 3 frontend 0 frequency                                                                                         0 out of range (950000..2150000)

[  300.282490] SAA716x Budget 0000:02:00.0: DVB: adapter 2 frontend 0 frequency                                                                                         0 out of range (950000..2150000)

[  300.326451] SAA716x Budget 0000:02:00.0: DVB: adapter 1 frontend 0 frequency                                                                                         0 out of range (950000..2150000)

[  300.412110] SAA716x Budget 0000:02:00.0: DVB: adapter 0 frontend 0 frequency                                                                                         0 out of range (950000..2150000)

NAS

Link to comment
Share on other sites

@Jedie

 

That card needs another modules, that is not dependent from other so i didnt know.

From what i read its a module to manage power to the lnb, so thats why you card works but not find all muxes.

 

ok from scratch you need this modules on this order, and firmwares( you already copy them):

 

media.ko

dvb-core.ko

isl6422.ko

cx24117.ko

tas2101.ko

saa716x_core.ko

saa716x_budget.ko int_type=1

 

on a side note: the module cx24132.ko doesent exist, its integrated in cx24117.ko(i didnt know) so you only need this one.

"Conexant cx24117/cx24132 - Dual DVBS/S2 Satellite demod/tuner driver"

Link to comment
Share on other sites

Now downgrade DSM 5.2-5592. but same problem.

 

 

 

N54L / DSM 5.2-5967 Update 2

 

https://github.com/andy928/xpenology/bl ... ST.cx23885

10 -> DViCO FusionHDTV7 Dual Express [18ac:d618]

 

CX23885.ko / copy to '/lib/modules/backports_dvb'

https://www.dropbox.com/sh/31nkgy8ybcj8 ... 85.ko?dl=0

 

 

DViCO FusionHDTV7 Dual Express need XC5000 firmware?

https://www.linuxtv.org/wiki/index.php/ ... e_Firmware

 

I don't know install firmware.

 

I didn't have '/etc/rc.local' file. so create '/etc/rc.local' and edit '/sbin/insmod /lib/modules/backports_dvb/CX23885.ko'

Is it correct? I'm not sure.

 

DSM version different of XPE:5592. so not work?

 

i didnt find to much info on that card but lets try this load this modules and see what hapens, maybe we can start on that, copy them to other location maybe /lib/modules/dvb_test to test:

 

load them on this order

media.ko

dvb-core.ko

rc-core.ko

videodev.ko

altera-ci.ko

videobuf2-core.ko

videobuf2-dvb.ko

videobuf2-v4l2.ko

v4l2-common.ko

tveeprom.ko

cx2341x.ko

tda18271.ko

altera-stapl.ko

frame_vector.ko

videobuf2-memops.ko

videobuf2-dma-sg.ko

m88ds3103.ko

xc5000.ko

 

-- --

(pay atention on this 4 modules, you only need one, there is no problem to load all but only one is needed, this depends on your card revision, you have to look on your crd chip to see wich on you need, to start load all, later we see wich ones are needed and unload the one not needed).

s5h1409.ko

s5h1411.ko

s5h1420.ko

s5h1432.ko

-- --

cx23885.ko

 

 

and this firmwares in /lib/firmware/

 

firmware: v4l-cx23885-enc.fw

firmware: dvb-demod-m88rs6000.fw

firmware: dvb-demod-m88ds3103.fw

firmware: dvb-fe-xc5000c-4.1.30.7.fw

firmware: dvb-fe-xc5000-1.6.114.fw

 

some of this firmwares you can get here:

wget http://www.tbsdtv.com/download/document ... .0.tar.bz2

tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware/

 

the others you have to find online, maybe you dont need them, you can look for that later, not needed for now.

 

try and see what appens

Link to comment
Share on other sites

I loaded to isl6224.ko module. But the problem is same. Few channels (of course the best channels) not working. :sad:

If I use the wetek play, this chanels are working. Maybe the TBS tuner is worse that Wetek tuner.

Here my dmesg:

[  111.390339] media: Linux media interface: v0.10

[  126.132011] WARNING: You are using an experimental version of the media stack                                                                                        .

[  126.132011]  As the driver is backported to an older kernel, it doesn't offer

[  126.132011]  enough quality for its usage in production.

[  126.132011]  Use it with care.

[  126.132011] Latest git patches (needed if you report a bug to linux-media@vge                                                                                        r.kernel.org):

[  126.132011]  82a81d9826df96cc90cebec54a00ce008719c411 support cx231xx CI func                                                                                        tion

[  303.117444] SAA716x Budget 0000:02:00.0: irq 44 for MSI/MSI-X

[  303.125200] DVB: registering new adapter (SAA716x dvb adapter)

[  306.192354] cx24117 1-0055: creating new instance

[  306.192364] i2c i2c-1: cx24117: Attaching frontend 0

[  306.197338] SAA716x Budget 0000:02:00.0: TurboSight TBS 6984  frontend 0 does                                                                                        n't seem to have a isl6422b on the i2c bus.

[  306.197632] SAA716x Budget 0000:02:00.0: TurboSight TBS 6984  MAC=00:22:ab:90                                                                                        :24:e8

[  306.197637] SAA716x Budget 0000:02:00.0: DVB: registering adapter 0 frontend                                                                                         0 (TurboSight TBS 6984 DVB-S/S2)...

[  306.197828] DVB: registering new adapter (SAA716x dvb adapter)

[  306.198735] cx24117 1-0055: attaching existing instance

[  306.198744] i2c i2c-1: cx24117: Attaching frontend 1

[  306.203685] SAA716x Budget 0000:02:00.0: TurboSight TBS 6984  frontend 1 does                                                                                        n't seem to have a isl6422b on the i2c bus.

[  306.203979] SAA716x Budget 0000:02:00.0: TurboSight TBS 6984  MAC=00:22:ab:90                                                                                        :24:e9

[  306.203984] SAA716x Budget 0000:02:00.0: DVB: registering adapter 1 frontend                                                                                         0 (TurboSight TBS 6984 DVB-S/S2)...

[  306.204147] DVB: registering new adapter (SAA716x dvb adapter)

[  306.204917] cx24117 0-0005: creating new instance

[  306.204923] i2c i2c-0: cx24117: Attaching frontend 0

[  306.209867] SAA716x Budget 0000:02:00.0: TurboSight TBS 6984  frontend 2 does                                                                                        n't seem to have a isl6422b on the i2c bus.

[  306.210160] SAA716x Budget 0000:02:00.0: TurboSight TBS 6984  MAC=00:22:ab:90                                                                                        :24:ea

[  306.210164] SAA716x Budget 0000:02:00.0: DVB: registering adapter 2 frontend                                                                                         0 (TurboSight TBS 6984 DVB-S/S2)...

[  306.210320] DVB: registering new adapter (SAA716x dvb adapter)

[  306.211175] cx24117 0-0005: attaching existing instance

[  306.211179] i2c i2c-0: cx24117: Attaching frontend 1

[  306.216162] SAA716x Budget 0000:02:00.0: TurboSight TBS 6984  frontend 3 does                                                                                        n't seem to have a isl6422b on the i2c bus.

[  306.216458] SAA716x Budget 0000:02:00.0: TurboSight TBS 6984  MAC=00:22:ab:90                                                                                        :24:eb

[  306.216462] SAA716x Budget 0000:02:00.0: DVB: registering adapter 3 frontend                                                                                         0 (TurboSight TBS 6984 DVB-S/S2)...

[  578.203821] type=1400 audit(1473078713.894:3): apparmor="DENIED" operation="m                                                                                        kdir" parent=23629 profile="/usr/syno/synoman/webman/index.cgi" name="/usr/syno/                                                                                        synoman/synohdpack/tmp/" pid=23663 comm="mkdir" requested_mask="c" denied_mask="                                                                                        c" fsuid=0 ouid=0

[  593.187847] SAA716x Budget 0000:02:00.0: DVB: adapter 3 frontend 0 frequency                                                                                         0 out of range (950000..2150000)

[  593.272870] SAA716x Budget 0000:02:00.0: DVB: adapter 2 frontend 0 frequency                                                                                         0 out of range (950000..2150000)

[  593.359476] SAA716x Budget 0000:02:00.0: DVB: adapter 1 frontend 0 frequency                                                                                         0 out of range (950000..2150000)

[  593.528517] SAA716x Budget 0000:02:00.0: DVB: adapter 0 frontend 0 frequency                                                                                         0 out of range (950000..2150000)

[ 3661.180845] type=1400 audit(1473081795.907:4): apparmor="DENIED" operation="m                                                                                        kdir" parent=25709 profile="/usr/syno/synoman/webman/index.cgi" name="/usr/syno/                                                                                        synoman/synohdpack/tmp/" pid=25743 comm="mkdir" requested_mask="c" denied_mask="                                                                                        c" fsuid=0 ouid=0

[ 3664.169337] type=1400 audit(1473081798.895:5): apparmor="DENIED" operation="m                                                                                        kdir" parent=25770 profile="/usr/syno/synoman/webman/index.cgi" name="/usr/syno/                                                                                        synoman/synohdpack/tmp/" pid=25805 comm="mkdir" requested_mask="c" denied_mask="                                                                                        c" fsuid=0 ouid=0

[ 5812.552876] type=1400 audit(1473083946.576:6): apparmor="DENIED" operation="m                                                                                        kdir" parent=30745 profile="/usr/syno/synoman/webman/index.cgi" name="/usr/syno/                                                                                        synoman/synohdpack/tmp/" pid=30779 comm="mkdir" requested_mask="c" denied_mask="                                                                                        c" fsuid=0 ouid=0

 

 

 

Posted via Xpenology.us

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...