[Plugin] DVB-Driver


ich777

Recommended Posts

Thank you very much for your work for the community! 

May I ask a question, please? 

 

I am running unraid 6.9.2 and installed today a TBS6903X. 

The card is shown under "System Devices": [544d:6178] 07:00.0 Multimedia controller: TBS Technologies DVB Tuner PCIe Card

But the Plugin doesn't recognized it. 

 

To check, if everything is ok, I passed the controller through to a windows VM in unraid and it works fine. 

 

What can I do to make the Plugin see the Card? 

Any help is highly appreciated.

Link to comment
3 hours ago, Bladeinger said:

TBS6903X

This card is supported from the plugin and should work just fine.

Have you read the first thread how to configure the card?

What have you exactly done by now only installed the plugin? Have you already change the driver to the TBS OS ones and rebooted your Server?

If yes, please post your Diagnostics.

Link to comment
2 hours ago, Bladeinger said:

Yes, I read the first thread before installation, installed the plugin according to the instructions given there and changed the driver to TBS. 

Can you try to select the LibreELEC drivers and reboot?

 

I also see this line in your syslinux.config:

pcie_acs_override=downstream,multifunction

 

2 hours ago, Bladeinger said:

Attached you find the Diagnostics file, as requested.

Otherwise than that I see nothing suspicious in your Diagnostics.

Link to comment

Hi ich777. 

 

Do you see any chance to get this card working? 

I am sure that the card is ok and recognized by the mainboard correctly, as I can pass it through to a Windows VM and there it works fine. 

 

Yesterday i tried to switch the card to another PCIe-Slot. Didn't make any difference. 

 

What about forcing the driver to load via modprobe? 

Unfortunately I couldn't find out on which chip this card is based. 

 

Thank you for your help in advance. 

Link to comment
1 hour ago, Bladeinger said:

Unfortunately I couldn't find out on which chip this card is based. 

That's also my problem, can't find any useful information about this... and without knowing what exact chip is on this card it's really hard to insert a module...

Your syslog also doesn't tell much, from what I see the card is recognized correctly but it doesn't pick up a module after the package is installed like it should do, it should look something like this:

root: -----------------digitaldevices-DVB-Driver-Package found locally-----------------
root: ------------------------Please wait, installing...!-------------------------
kernel: Digital Devices PCIE bridge driver 0.9.38, Copyright (C) 2010-19 Digital Devices GmbH
kernel: ddbridge 0000:07:00.0: device name: Digital Devices DVBCT V6.1 DVB adapter
kernel: ddbridge 0000:07:00.0: HW 0001000d REGMAP 00010004 FW 1.13
kernel: ddbridge 0000:07:00.0: using 2 MSI interrupt(s)
kernel: ddbridge 0000:07:00.0: link 0 vendor dd01 device 0003 subvendor dd01 subdevice 0030
kernel: ddbridge 0000:07:00.0: Port 0: Link 0, Link Port 0 (TAB 1): DUAL DVB-C/T
kernel: ddbridge 0000:07:00.0: XO2 ID 04
kernel: ddbridge 0000:07:00.0: Port 1: Link 0, Link Port 1 (TAB 2): DUAL DVB-C/T/T2
kernel: ddbridge 0000:07:00.0: Port 2: Link 0, Link Port 2 (TAB 3): NO MODULE
kernel: ddbridge 0000:07:00.0: 0 netstream channels
kernel: dvbdev: DVB: registering new adapter (DDBridge)
kernel: dvbdev: DVB: registering new adapter (DDBridge)
kernel: dvbdev: DVB: registering new adapter (DDBridge)
kernel: dvbdev: DVB: registering new adapter (DDBridge)
kernel: stv0367 found
root: ---------------Installation of DVB-Driver-Package successful----------------

 

You can try to do 'modprobe dvb_core' and after that do a 'lsmod' and post the output here, as said above the main issue is that I can't find anything which chip is on the card.

 

It is also really strange to me that the plugin installs and then nothing, no card detected, no firmware missing message, not anything at all.

Link to comment

Ok, here we go: 

 

root@UNRAID-Test:~# modprobe dvb_core
root@UNRAID-Test:~# lsmod
Module                  Size  Used by
dvb_core              106496  0
videobuf2_vmalloc      16384  1 dvb_core
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_common       49152  3 videobuf2_vmalloc,dvb_core,videobuf2_memops
videodev              184320  1 videobuf2_common
mc                     32768  3 videodev,dvb_core,videobuf2_common
md4                    16384  0
sha512_ssse3           45056  1
sha512_generic         16384  1 sha512_ssse3
cmac                   16384  1
cifs                  528384  3
libarc4                16384  1 cifs
xt_nat                 16384  6
xt_CHECKSUM            16384  1
ipt_REJECT             16384  2
nf_reject_ipv4         16384  1 ipt_REJECT
veth                   24576  0
xt_tcpudp              16384  27
ip6table_mangle        16384  1
ip6table_nat           16384  1
iptable_mangle         16384  1
nf_tables             180224  0
vhost_net              24576  1
tun                    45056  4 vhost_net
vhost                  28672  1 vhost_net
vhost_iotlb            16384  1 vhost
tap                    24576  1 vhost_net
xt_conntrack           16384  2
xt_MASQUERADE          16384  10
nf_conntrack_netlink    45056  0
nfnetlink              16384  3 nf_conntrack_netlink,nf_tables
xt_addrtype            16384  2
iptable_nat            16384  1
nf_nat                 40960  4 ip6table_nat,xt_nat,iptable_nat,xt_MASQUERADE
nf_conntrack          110592  5 xt_conntrack,nf_nat,xt_nat,nf_conntrack_netlink,xt_MASQUERADE
nf_defrag_ipv6         16384  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
br_netfilter           24576  0
md_mod                 45056  10
nct6775                53248  0
hwmon_vid              16384  1 nct6775
ip6table_filter        16384  1
ip6_tables             28672  3 ip6table_filter,ip6table_nat,ip6table_mangle
iptable_filter         16384  1
ip_tables              28672  3 iptable_filter,iptable_nat,iptable_mangle
x_tables               28672  13 ip6table_filter,xt_conntrack,iptable_filter,xt_tcpudp,xt_addrtype,xt_CHECKSUM,xt_nat,ip6_tables,ipt_REJECT,ip_tables,ip6table_mangle,xt_MASQUERADE,iptable_mangle
atlantic              155648  0
igb                   176128  0
i2c_algo_bit           16384  1 igb
dm_mod                102400  4
dax                    36864  1 dm_mod
edac_mce_amd           32768  0
kvm_amd                90112  6
kvm                   421888  1 kvm_amd
mpt3sas               237568  10
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
crc32c_intel           24576  13
ghash_clmulni_intel    16384  0
aesni_intel           364544  1
crypto_simd            16384  1 aesni_intel
cryptd                 16384  2 crypto_simd,ghash_clmulni_intel
nvme                   36864  2
raid_class             16384  1 mpt3sas
scsi_transport_sas     32768  1 mpt3sas
nvme_core              53248  5 nvme
i2c_piix4              24576  0
mxm_wmi                16384  0
glue_helper            16384  1 aesni_intel
wmi_bmof               16384  0
rapl                   16384  0
ccp                    69632  1 kvm_amd
wmi                    24576  2 wmi_bmof,mxm_wmi
i2c_core               45056  5 videodev,i2c_algo_bit,igb,dvb_core,i2c_piix4
ahci                   40960  4
k10temp                16384  0
libahci                28672  1 ahci
button                 16384  0
acpi_cpufreq           16384  0
root@UNRAID-Test:~# 

Link to comment

I took a look in the uncompiled driver package and found this: 

 

Quote

[TBSECP3_BOARD_TBS6903X] = {
        .board_id    = TBSECP3_BOARD_TBS6903X,
        .name        = "TurboSight TBS 6903x (Dual DVB-S/S2/S2X)",
        .adapters    = 2,
        .eeprom_i2c    = 0,
        .eeprom_addr    = 0x10,
        .adap_config    = {
            {

 

Could this be the hint we were searching for?

Link to comment

With capital letters, it fails, with lowercase letters it throws no error message, but is still not loading the card: 

Quote

root@UNRAID-Test:~# modprobe TBSECP3
modprobe: FATAL: Module TBSECP3 not found in directory /lib/modules/5.10.28-Unraid
root@UNRAID-Test:~# modprobe tbsecp3
root@UNRAID-Test:~# 

Quote

Module                  Size  Used by
md4                    16384  0
sha512_ssse3           45056  1
sha512_generic         16384  1 sha512_ssse3
cmac                   16384  1
cifs                  528384  3
libarc4                16384  1 cifs
xt_CHECKSUM            16384  1
xt_nat                 16384  6
ipt_REJECT             16384  2
nf_reject_ipv4         16384  1 ipt_REJECT
veth                   24576  0
xt_tcpudp              16384  27
ip6table_mangle        16384  1
ip6table_nat           16384  1
iptable_mangle         16384  1
nf_tables             180224  0
vhost_net              24576  1
tun                    45056  4 vhost_net
vhost                  28672  1 vhost_net
vhost_iotlb            16384  1 vhost
tap                    24576  1 vhost_net
xt_conntrack           16384  2
xt_MASQUERADE          16384  10
nf_conntrack_netlink    45056  0
nfnetlink              16384  3 nf_conntrack_netlink,nf_tables
xt_addrtype            16384  2
iptable_nat            16384  1
nf_nat                 40960  4 ip6table_nat,xt_nat,iptable_nat,xt_MASQUERADE
nf_conntrack          110592  5 xt_conntrack,nf_nat,xt_nat,nf_conntrack_netlink,xt_MASQUERADE
nf_defrag_ipv6         16384  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
br_netfilter           24576  0
md_mod                 45056  10
tbsecp3                40960  0
gx1133                 20480  1 tbsecp3
tas2101                16384  1 tbsecp3
i2c_mux                16384  1 gx1133
dvb_core              106496  1 tbsecp3
videobuf2_vmalloc      16384  1 dvb_core
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_common       49152  3 videobuf2_vmalloc,dvb_core,videobuf2_memops
videodev              184320  1 videobuf2_common
mc                     32768  3 videodev,dvb_core,videobuf2_common
nct6775                53248  0
hwmon_vid              16384  1 nct6775
ip6table_filter        16384  1
ip6_tables             28672  3 ip6table_filter,ip6table_nat,ip6table_mangle
iptable_filter         16384  1
ip_tables              28672  3 iptable_filter,iptable_nat,iptable_mangle
x_tables               28672  13 ip6table_filter,xt_conntrack,iptable_filter,xt_tcpudp,xt_addrtype,xt_CHECKSUM,xt_nat,ip6_tables,ipt_REJECT,ip_tables,ip6table_mangle,xt_MASQUERADE,iptable_mangle
atlantic              155648  0
igb                   176128  0
i2c_algo_bit           16384  1 igb
dm_mod                102400  4
dax                    36864  1 dm_mod
edac_mce_amd           32768  0
kvm_amd                90112  6
kvm                   421888  1 kvm_amd
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
wmi_bmof               16384  0
crc32c_intel           24576  13
mxm_wmi                16384  0
ghash_clmulni_intel    16384  0
mpt3sas               237568  10
aesni_intel           364544  1
crypto_simd            16384  1 aesni_intel
cryptd                 16384  2 crypto_simd,ghash_clmulni_intel
i2c_piix4              24576  0
raid_class             16384  1 mpt3sas
nvme                   36864  2
nvme_core              53248  5 nvme
ccp                    69632  1 kvm_amd
i2c_core               45056  9 videodev,i2c_mux,gx1133,i2c_algo_bit,tbsecp3,igb,tas2101,dvb_core,i2c_piix4
wmi                    24576  2 wmi_bmof,mxm_wmi
scsi_transport_sas     32768  1 mpt3sas
glue_helper            16384  1 aesni_intel
ahci                   40960  4
k10temp                16384  0
rapl                   16384  0
libahci                28672  1 ahci
button                 16384  0
acpi_cpufreq           16384  0
root@UNRAID-Test:~# 

Quote

image.thumb.png.5440a00aaaa3d4f01f78802cc799d42b.png

 

Link to comment
6 minutes ago, Bladeinger said:

modprobe: INFO: context 0x427500 released

From what I see the tuners aren't loaded but I really can't tell why.

May I ask if you can reboot and try to 'modprobe -vvv tbsecp3' again?

 

If this also doesn't work we will have to create a Github issue.

Link to comment

As requested: 

 

root@UNRAID-Test:~# modprobe -vvv tbsecp3
modprobe: INFO: custom logging function 0x40be50 registered
insmod /lib/modules/5.10.28-Unraid/kernel/drivers/media/mc/mc.ko.xz 
insmod /lib/modules/5.10.28-Unraid/kernel/drivers/media/v4l2-core/videodev.ko.xz 
insmod /lib/modules/5.10.28-Unraid/kernel/drivers/media/common/videobuf2/videobuf2-common.ko.xz 
insmod /lib/modules/5.10.28-Unraid/kernel/drivers/media/common/videobuf2/videobuf2-memops.ko.xz 
insmod /lib/modules/5.10.28-Unraid/kernel/drivers/media/common/videobuf2/videobuf2-vmalloc.ko.xz 
insmod /lib/modules/5.10.28-Unraid/kernel/drivers/media/dvb-core/dvb-core.ko.xz 
insmod /lib/modules/5.10.28-Unraid/kernel/drivers/i2c/i2c-mux.ko.xz 
insmod /lib/modules/5.10.28-Unraid/kernel/drivers/media/dvb-frontends/tas2101.ko.xz 
insmod /lib/modules/5.10.28-Unraid/kernel/drivers/media/dvb-frontends/gx1133.ko.xz 
insmod /lib/modules/5.10.28-Unraid/kernel/drivers/media/pci/tbsecp3/tbsecp3.ko.xz 
modprobe: INFO: context 0x427500 released
root@UNRAID-Test:~#

Link to comment
10 hours ago, Bladeinger said:

Thank you very much for your effords and your patience. 

Will definitely buy you some beers... 

This is a special modified driver for you and will only work on unRAID v6.9.2

To install it please do the following:

  1. Make sure you've selected the TBS-OS driver package on the plugin page
  2. Copy the attached file over to your USB Key in the following directory (and replace the old one) depending on how you do it here are the different directories:
    SMB: /flash/config/plugins/dvb-driver/packages/5.10.28/
    WinSCP: /boot/config/plugins/dvb-driver/packages/5.10.28/
    USB Stick direct on your local computer: /config/plugins/dvb-driver/packages/5.10.28/
  3. Reboot your server

After unRAID is started please pull a fresh copy from your Diagnostics and post it here and also the output from 'ls /dev/dvb'

 

Hopefully this will work.

 

Can you also please tell me which version the card is? A sticker on the back of the card should say what type and version it is.

tbsos-plugin-5.10.28-Unraid-1.txz

Link to comment
48 minutes ago, Bladeinger said:

And thanks again!

Thank you!

Am I allowed to post the submitted picture on Github, of course with the serial numbers removed?

Posted it already with the serial numbers removed.

 

Keep in mind it will only work with this package for the time...

Do you had to take any additional steps or did it just work right after you rebooted?

 

48 minutes ago, Bladeinger said:

And everytime a new unraid vewrsion comes out, the driver file would have to be modified again?

Keep an eye on the Github issue, I've try to get the subsystem PCI ID in the repo, if he is not adding it I can patch the file when compiling the drivers. ;)

As said above, for now this is the only package that will work with your card.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.