Jump to content
XPEnology Community

TBS DVB DRIVERS


JMRR

Recommended Posts

For information, I have installed the DVBLogic package and now my Elgato dongle is well recognized (after unplug/plug) in dmesg.

I have installed the last TVHeadend testing version and now all is working fine.

 

I wonder if it would be possible to extract the drivers from the DVBLogic package in order to make a lighter package that contain only the drivers.

 

By chance, anyone have an idea?

Link to comment
Share on other sites

  • 2 weeks later...

Hi JMRR,

 

i have a sat card TBS 6920... this drivers are ok for me??

 

i have reading the first post but i dont know where is the wiki page for i look for the modules for my card. Can you help me?

 

What do I have to do to make your drivers good for DSM 5.2-5644 Update 3 ??

 

i see that you have a version for DSM 6 .... what version is supported?? it's very possible that i will formatted my xpenology for other things

 

kind regards

 

P.D: google translator :razz:

Link to comment
Share on other sites

i have compiled for dsm 5.2 and for dsm 6.0, you have to use the one you have instaled.

 

for that card i dont know all modules you need, so lets make some tests.

 

this card need Firmware

Copy dvb-fe-cx24116.fw to /lib/firmware

 

the modules you need are in folder DSM 5.2,v4l_tbs_closedSource_22092016_dvb-t_s.

 

copy this modules for your nas and insmod them on this order( copy them to any folder on your nas just for test, dont copy to /lib/modules/backports_dvb):

 

dvb-core.ko

videobuf-core.ko

videobuf-dma-sg.ko

rc-core.ko

cx2341x.ko

v4l2-common.ko

videodev.ko

tveeprom.ko

videobuf-dvb.ko

btcx-risc.ko

cx23885.ko

cx24116.ko

 

and check your dmesg to outpu some error, i think some modules are missing but dmesg will tell them.

Link to comment
Share on other sites

hi JMRR, the log say this:

 

[ 18.980045] TBS version 160405

[ 19.040277] cx2341x: Unknown symbol v4l2_ctrl_grab (err 0)

[ 19.040292] cx2341x: Unknown symbol v4l2_ctrl_query_fill (err 0)

[ 19.040305] cx2341x: Unknown symbol v4l2_ctrl_handler_setup (err 0)

[ 19.040317] cx2341x: Unknown symbol v4l2_ctrl_new_custom (err 0)

[ 19.040330] cx2341x: Unknown symbol v4l2_ctrl_check (err 0)

[ 19.040345] cx2341x: Unknown symbol v4l2_ctrl_new_std_menu (err 0)

[ 19.040357] cx2341x: Unknown symbol v4l2_ctrl_get_menu (err 0)

[ 19.040370] cx2341x: Unknown symbol v4l2_ctrl_activate (err 0)

[ 19.040382] cx2341x: Unknown symbol v4l2_ctrl_handler_init (err 0)

[ 19.040394] cx2341x: Unknown symbol v4l2_ctrl_new_std (err 0)

[ 19.040406] cx2341x: Unknown symbol v4l2_ctrl_g_ctrl (err 0)

[ 19.040418] cx2341x: Unknown symbol v4l2_ctrl_handler_free (err 0)

[ 19.040431] cx2341x: Unknown symbol v4l2_ctrl_cluster (err 0)

[ 19.061086] v4l2_common: Unknown symbol v4l2_subdev_init (err 0)

[ 19.061099] v4l2_common: Unknown symbol v4l2_device_register_subdev (err 0)

[ 19.061114] v4l2_common: Unknown symbol v4l2_ctrl_get_menu (err 0)

[ 19.061125] v4l2_common: Unknown symbol v4l2_ctrl_fill (err 0)

[ 19.120506] videodev: Unknown symbol v4l2_compat_ioctl32 (err 0)

[ 19.215349] cx23885: Unknown symbol v4l2_norm_to_name (err 0)

[ 19.215362] cx23885: Unknown symbol video_ioctl2 (err 0)

[ 19.215390] cx23885: Unknown symbol cx2341x_ext_ctrls (err 0)

[ 19.215412] cx23885: Unknown symbol v4l2_subdev_init (err 0)

[ 19.215427] cx23885: Unknown symbol v4l2_i2c_subdev_addr (err 0)

[ 19.215437] cx23885: Unknown symbol v4l2_device_register_subdev (err 0)

[ 19.215447] cx23885: Unknown symbol cx2341x_ctrl_query (err 0)

[ 19.215457] cx23885: Unknown symbol video_devdata (err 0)

[ 19.215467] cx23885: Unknown symbol v4l_bound_align_image (err 0)

[ 19.215479] cx23885: Unknown symbol v4l2_type_names (err 0)

[ 19.215488] cx23885: Unknown symbol v4l2_device_unregister_subdev (err 0)

[ 19.215498] cx23885: Unknown symbol v4l2_ctrl_next (err 0)

[ 19.215513] cx23885: Unknown symbol v4l2_ctrl_query_menu (err 0)

[ 19.215529] cx23885: Unknown symbol video_unregister_device (err 0)

[ 19.215542] cx23885: Unknown symbol cx2341x_update (err 0)

[ 19.215552] cx23885: Unknown symbol video_device_alloc (err 0)

[ 19.215566] cx23885: Unknown symbol cx2341x_ctrl_get_menu (err 0)

[ 19.215576] cx23885: Unknown symbol v4l2_device_register (err 0)

[ 19.215590] cx23885: Unknown symbol cx2341x_log_status (err 0)

[ 19.215601] cx23885: Unknown symbol cx2341x_fill_defaults (err 0)

[ 19.215614] cx23885: Unknown symbol __video_register_device (err 0)

[ 19.215626] cx23885: Unknown symbol v4l2_i2c_tuner_addrs (err 0)

[ 19.215636] cx23885: Unknown symbol v4l2_device_unregister (err 0)

[ 19.215646] cx23885: Unknown symbol video_device_release (err 0)

[ 19.215656] cx23885: Unknown symbol v4l2_i2c_new_subdev (err 0)

[ 19.215668] cx23885: Unknown symbol cx2341x_mpeg_ctrls (err 0)

 

 

 

Last year I tried to install it, but I could not do cross compilation. I do not know if I put some file where it should not.

 

Thank you

Link to comment
Share on other sites

the modules wore on wrong order and v4l2-compat-ioctl32.ko was missing, insmod them in this order and report back:

 

dvb-core.ko

videobuf-core.ko

videobuf-dma-sg.ko

rc-core.ko

v4l2-compat-ioctl32.ko

videodev.ko

v4l2-common.ko

tveeprom.ko

videobuf-dvb.ko

btcx-risc.ko

cx2341x.ko

cx23885.ko

cx24116.ko

Link to comment
Share on other sites

hi JMRR

 

dmesg say this now:

 

Nas> dmesg | grep cx23885

[ 22.006214] cx23885 driver version 0.0.3 loaded

[ 22.006295] cx23885[0]: Board has no valid PCIe Subsystem ID and can't

[ 22.006295] cx23885[0]: be autodetected. Pass card= insmod option

[ 22.006295] cx23885[0]: to workaround that. Redirect complaints to the

[ 22.006295] cx23885[0]: vendor of the TV card. Best regards,

[ 22.006295] cx23885[0]: -- tux

[ 22.006298] cx23885[0]: Here is a list of valid choices for the card= insmod option:

[ 22.006299] cx23885[0]: card=0 -> UNKNOWN/GENERIC

[ 22.006300] cx23885[0]: card=1 -> Hauppauge WinTV-HVR1800lp

[ 22.006300] cx23885[0]: card=2 -> Hauppauge WinTV-HVR1800

[ 22.006301] cx23885[0]: card=3 -> Hauppauge WinTV-HVR1250

[ 22.006302] cx23885[0]: card=4 -> DViCO FusionHDTV5 Express

[ 22.006303] cx23885[0]: card=5 -> Hauppauge WinTV-HVR1500Q

[ 22.006304] cx23885[0]: card=6 -> Hauppauge WinTV-HVR1500

[ 22.006305] cx23885[0]: card=7 -> Hauppauge WinTV-HVR1200

[ 22.006305] cx23885[0]: card=8 -> Hauppauge WinTV-HVR1700

[ 22.006306] cx23885[0]: card=9 -> Hauppauge WinTV-HVR1400

[ 22.006307] cx23885[0]: card=10 -> DViCO FusionHDTV7 Dual Express

[ 22.006308] cx23885[0]: card=11 -> DViCO FusionHDTV DVB-T Dual Express

[ 22.006309] cx23885[0]: card=12 -> Leadtek Winfast PxDVR3200 H

[ 22.006310] cx23885[0]: card=13 -> Compro VideoMate E650F

[ 22.006311] cx23885[0]: card=14 -> TurboSight TBS 6920

[ 22.006311] cx23885[0]: card=15 -> TeVii S470

[ 22.006312] cx23885[0]: card=16 -> DVBWorld DVB-S2 2005

[ 22.006313] cx23885[0]: card=17 -> NetUP Dual DVB-S2 CI

[ 22.006314] cx23885[0]: card=18 -> Hauppauge WinTV-HVR1270

[ 22.006315] cx23885[0]: card=19 -> Hauppauge WinTV-HVR1275

[ 22.006315] cx23885[0]: card=20 -> Hauppauge WinTV-HVR1255

[ 22.006316] cx23885[0]: card=21 -> Hauppauge WinTV-HVR1210

[ 22.006317] cx23885[0]: card=22 -> Mygica X8506 DMB-TH

[ 22.006318] cx23885[0]: card=23 -> Magic-Pro ProHDTV Extreme 2

[ 22.006319] cx23885[0]: card=24 -> Hauppauge WinTV-HVR1850

[ 22.006320] cx23885[0]: card=25 -> Compro VideoMate E800

[ 22.006321] cx23885[0]: card=26 -> Hauppauge WinTV-HVR1290

[ 22.006321] cx23885[0]: card=27 -> Mygica X8558 PRO DMB-TH

[ 22.006322] cx23885[0]: card=28 -> LEADTEK WinFast PxTV1200

[ 22.006323] cx23885[0]: card=29 -> GoTView X5 3D Hybrid

[ 22.006324] cx23885[0]: card=30 -> NetUP Dual DVB-T/C-CI RF

[ 22.006325] cx23885[0]: card=31 -> Leadtek Winfast PxDVR3200 H XC4000

[ 22.006325] cx23885[0]: card=32 -> TurboSight TBS 6980

[ 22.006326] cx23885[0]: card=33 -> TurboSight TBS 6981

[ 22.006327] cx23885[0]: card=34 -> TurboSight TBS 6921

[ 22.006328] cx23885[0]: card=35 -> TurboSight TBS 6925C

[ 22.006330] cx23885[0]: can't get MMIO memory @ 0x0

[ 22.006331] CORE cx23885[0] No more PCIe resources for subsystem: 0000:0000

[ 22.006335] cx23885: probe of 0000:01:00.0 failed with error -22

 

i have a tbs 6920

 

Now, i´m dont going to touch the NAS more. i have a problem, when i connect by console with the nas, the volume1 fail, i dont know if the problem is a permissions or other thing.

 

i´m going to backup the volume and format, and when i have the nas ok I'll try again if the problem was some faulty system folder or some poltergeist.

 

thank you very much and the next week i hope i can to have the nas ok

Link to comment
Share on other sites

Read the dmesg that module works for several cards, but cant detect on your system what card you have, you have to manually identify the number of your card.

 

Its the number 14, so that module has to be insmoded like yhis:

Insmod cx23885.ko card=14

 

In dsm 6 its the same process but modules have to be recompiled, i only have done for dvbc atm.

Link to comment
Share on other sites

hi JMRR

 

dmesg say this now:

 

[ 19.800078] TBS version 160405

[ 19.889534] Linux video capture interface: v2.00

[ 19.981852] cx23885 driver version 0.0.3 loaded

[ 19.981950] kernel tried to execute NX-protected page - exploit attempt? (uid: 0)

[ 19.981952] BUG: unable to handle kernel paging request at ffff88022536d1c8

[ 19.981954] IP: [] 0xffff88022536d1c7

[ 19.981962] PGD 48c9067 PUD 48cc067 PMD 80000002252001e3

[ 19.981965] Oops: 0011 [#1] SMP

[ 19.981967] Modules linked in: cx23885(O+) cx2341x(O) btcx_risc(O) videobuf_dvb(O) tveeprom(O) v4l2_common(O) videodev(O) v4l2_compat_ioctl32(O) rc_core(O) videobuf_dma_sg(O) videobuf_core(O) dvb_core(O) hid_generic usbhid usblp usb_storage oxu210hp_hcd ath3k hidp rfcomm bluetooth hid bromolow_synobios(PO) btrfs synoacl_vfs(PO) zlib_deflate hfsplus md4 hmac mlx_compat(O) tn40xx(O) fuse vfat fat crc32c_intel aesni_intel glue_helper lrw gf128mul ablk_helper arc4 rng_core cpufreq_conservative cpufreq_powersave cpufreq_performance cpufreq_ondemand acpi_cpufreq mperf cpufreq_stats freq_table crc_itu_t quota_v2 quota_tree psnap p8022 llc sit tunnel4 ip_tunnel zram© r8152 asix ax88179_178a usbnet etxhci_hcd xhci_hcd ehci_pci ehci_hcd uhci_hcd ohci_hcd usbcore usb_common hptiop 3w_sas 3w_9xxx mvsas hpsa arcmsr pm80xx aic94xx aacraid megaraid_sas megaraid_mbox megaraid_mm mptsas mptspi mptscsih mptbase scsi_transport_spi sg sata_uli sata_svw sata_qstor sata_sis pata_sis stex sata_sx4 sata_promise sata_nv sata_via sata_sil pdc_adma pata_via iscsi_tcp libiscsi_tcp libiscsi enic qlge qlcnic qla3xxx netxen_nic mlx4_en mlx4_core cxgb4 cxgb3 cnic ipv6 bnx2x bna be2net sis900 sis190 jme atl1e(O) atl1c atl2(O) atl1(O) alx(O) sky2 skge via_velocity crc_ccitt via_rhine r8101 r8168 r8169 8139too 8139cp tg3 broadcom b44(O) bnx2 ssb(O) uio forcedeth i40e ixgbe ixgb igb ioatdma e1000e e1000 e100 dca pcnet32 amd8111e mdio mii compat(O) cryptd ecryptfs sha512_generic sha256_generic sha1_generic ecb aes_x86_64 authenc des_generic libcrc32c ansi_cprng cts md5 cbc [last unloaded: bromolow_synobios]

[ 19.982046] CPU: 2 PID: 18662 Comm: insmod Tainted: P C O 3.10.35 #1

[ 19.982048] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./FM2A88X-ITX+, BIOS P2.50 11/11/2014

[ 19.982050] task: ffff88022466d740 ti: ffff8802143a4000 task.ti: ffff8802143a4000

[ 19.982051] RIP: 0010:[] [] 0xffff88022536d1c7

[ 19.982056] RSP: 0018:ffff8802143a7b90 EFLAGS: 00010246

[ 19.982057] RAX: ffffffff81364220 RBX: ffff880210d61130 RCX: 0000000000000020

[ 19.982059] RDX: ffff8802143a7ba0 RSI: 0000000000000040 RDI: ffff88022536d098

[ 19.982060] RBP: 0000000000000040 R08: 0000000000000000 R09: ffff88022536d1c8

[ 19.982061] R10: 0000000000000000 R11: dead000000100100 R12: 0000000000000040

[ 19.982062] R13: ffff88022536d000 R14: ffff88022536d098 R15: ffff88021422b340

[ 19.982064] FS: 00007f99dfb33740(0000) GS:ffff88022ed00000(0063) knlGS:00000000f77ebb40

[ 19.982065] CS: 0010 DS: 002b ES: 002b CR0: 000000008005003b

[ 19.982066] CR2: ffff88022536d1c8 CR3: 000000021412d000 CR4: 00000000000407e0

[ 19.982068] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000

[ 19.982069] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400

[ 19.982070] Stack:

[ 19.982071] ffffffffa0c5f61b ffff880210d60000 0000000000000000 ffff880210d60008

[ 19.982074] ffff880210d61130 0000000000130140 0000000000000011 0000000000000000

[ 19.982076] ffffffffa0c71ddd ffff8802143a7c28 ffff880210d60ff8 0000000000000001

[ 19.982078] Call Trace:

[ 19.982081] [] ? btcx_riscmem_alloc+0xfb/0x18c [btcx_risc]

[ 19.982088] [] ? cx23885_risc_stopper+0x2d/0x80 [cx23885]

[ 19.982095] [] ? cx23885_init_tsport+0x1af/0x290 [cx23885]

[ 19.982101] [] ? cx23885_initdev+0xa99/0xe10 [cx23885]

[ 19.982105] [] ? pci_device_probe+0x98/0xe0

[ 19.982108] [] ? driver_probe_device+0x68/0x220

[ 19.982110] [] ? __driver_attach+0x93/0xa0

[ 19.982112] [] ? driver_probe_device+0x220/0x220

[ 19.982115] [] ? bus_for_each_dev+0x4d/0x80

[ 19.982117] [] ? bus_add_driver+0xe5/0x230

[ 19.982121] [] ? 0xffffffffa0c8dfff

[ 19.982123] [] ? driver_register+0x84/0x180

[ 19.982127] [] ? 0xffffffffa0c8dfff

[ 19.982130] [] ? do_one_initcall+0x112/0x170

[ 19.982133] [] ? load_module+0x1784/0x1fc0

[ 19.982135] [] ? free_notes_attrs+0x60/0x60

[ 19.982138] [] ? map_vm_area+0x25/0x40

[ 19.982140] [] ? __vmalloc_node_range+0x117/0x1f0

[ 19.982142] [] ? SyS_init_module+0xb1/0xe0

[ 19.982145] [] ? cstar_dispatch+0x7/0x21

[ 19.982146] Code: 88 ff ff 20 42 36 81 ff ff ff ff 98 d0 36 25 02 88 ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 e0 ff ff ff 0f 00 00 00 d1 36 25 02 88 ff ff c8 d1 36 25 02 88 ff ff d0 46 36 81 ff

[ 19.982165] RIP [] 0xffff88022536d1c7

[ 19.982169] RSP

[ 19.982170] CR2: ffff88022536d1c8

[ 19.982172] ---[ end trace 9a2fee7e10225699 ]---

 

 

its ok??? tvheadend dont see the TBS and I do not know if I just need to configure it.

 

1zprwc7.jpg

 

For DSM 6 I would have to do cross compilation, right?

 

 

Thank you very much.......I'm going to have to invite you to a coffee or beer ...: D

Link to comment
Share on other sites

Everything is as you have ordered: D

 

I am backing up the data and formatting the nas and start again. Possibly have some permissions problem and so I do not let me modify the tvh etc ....

 

I guess for the next weekend I will have everything in order (4x4tb = 4x24 hours formatted) + 48 hours passing data.

 

 

Any web explaining for dummies how to compile the drivers for DSM6? Try cross compilation, but my linux level is "ls and mkdir" and I lost: D

 

 

thank you

Link to comment
Share on other sites

JMRR,

You do drivers do TBS 6981 DVB-S for 6.0

 

EDIT:

It works for DVB-C :smile:

insmod dvb-core.ko
insmod rc-core.ko
insmod tbs6981fe.ko
insmod v4l2-int-device.ko
insmod v4l2-compat-ioctl32.ko
insmod videodev.ko
insmod v4l2-common.ko
insmod tveeprom.ko
insmod cx2341x.ko
insmod videobuf-core.ko
insmod videobuf-dma-contig.ko
insmod videobuf-dma-sg.ko
insmod videobuf-dvb.ko
insmod videobuf-vmalloc.ko
insmod btcx-risc.ko
insmod cx23885.ko

 

Regards,

Unr3al2

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...