[Plugin] DVB-Driver


ich777

299 posts in this topic Last Reply

Recommended Posts

@ich777

this is the lsmod result after 'modprobe cx23885':

Module                  Size  Used by
si2157                 20480  4
lgdt3306a              28672  4
cx25840                57344  2
cx23885               163840  0
altera_ci              16384  1 cx23885
tda18271               49152  1 cx23885
altera_stapl           28672  1 cx23885
m88ds3103              24576  1 cx23885
videobuf2_dvb          16384  1 cx23885
snd_pcm                90112  1 cx23885
snd_timer              32768  1 snd_pcm
snd                    53248  3 snd_timer,cx23885,snd_pcm
soundcore              16384  1 snd
videobuf2_dma_sg       16384  1 cx23885
tveeprom               24576  1 cx23885
i2c_mux                16384  2 lgdt3306a,m88ds3103
cx2341x                24576  1 cx23885
dvb_core               98304  4 m88ds3103,altera_ci,cx23885,videobuf2_dvb
regmap_i2c             16384  1 m88ds3103
videobuf2_memops       16384  1 videobuf2_dma_sg
videobuf2_v4l2         24576  1 cx23885
videobuf2_common       45056  3 videobuf2_v4l2,cx23885,videobuf2_dvb
videodev              188416  5 cx2341x,videobuf2_v4l2,videobuf2_common,cx23885,cx25840
mc                     32768  6 videodev,si2157,videobuf2_v4l2,dvb_core,videobuf2_common,cx25840
xt_CHECKSUM            16384  1
ipt_REJECT             16384  2
ip6table_mangle        16384  1
ip6table_nat           16384  1
iptable_mangle         16384  1
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_MASQUERADE          16384  4
iptable_nat            16384  1
nf_nat                 36864  3 ip6table_nat,iptable_nat,xt_MASQUERADE
xfs                   671744  4
dm_crypt               40960  2
dm_mod                102400  5 dm_crypt
dax                    36864  1 dm_mod
md_mod                 45056  3
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
mlx4_en               110592  0
mlx4_core             270336  1 mlx4_en
igb                   176128  0
i2c_algo_bit           16384  1 igb
ipmi_ssif              28672  0
sb_edac                24576  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             212992  5
kvm                   421888  1 kvm_intel
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
crc32c_intel           24576  3
ghash_clmulni_intel    16384  0
aesni_intel           364544  4
crypto_simd            16384  1 aesni_intel
cryptd                 16384  4 crypto_simd,ghash_clmulni_intel
glue_helper            16384  1 aesni_intel
rapl                   16384  0
intel_cstate           16384  0
i2c_i801               24576  0
i2c_smbus              16384  1 i2c_i801
input_leds             16384  0
intel_uncore          131072  0
i2c_core               45056  16 tda18271,videodev,si2157,lgdt3306a,i2c_mux,i2c_algo_bit,igb,m88ds3103,tveeprom,i2c_smbus,dvb_core,i2c_i801,cx23885,cx25840,regmap_i2c,ipmi_ssif
led_class              16384  1 input_leds
ahci                   40960  7
libahci                28672  1 ahci
wmi                    24576  0
acpi_ipmi              16384  0
ipmi_si                49152  1
acpi_power_meter       20480  0
button                 16384  0
acpi_pad               24576  0

 

Link to post
  • Replies 298
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

DVB-Driver (only Unraid 6.9.0beta35 and up) This Plugin will add DVB Drivers to Unraid. Please note that this Plugin is community driven and if a newer version of Unraid is released the driv

Keep in mind he's probably sleeping.  

it shouldnt matter, plugin runs anytime, docker runs only when docker engine is running (array is up)   descrambling is working nice on both so you rather should take a look at your setup(s)

Posted Images

37 minutes ago, mhweb said:

this is the lsmod result after 'modprobe cx23885':

Are the tuners now showing up after the modprobe?

Can you also give me the output of 'ls -la /dev/dvb'?

Link to post
8 minutes ago, mhweb said:

@ich777 yes, the tuner is showing, added to plex. Will rebooting unraid will discomfiture it again? thanks

Yes, but to circumvent this simply add the modprobe command to the end of your 'go' file.

 

If you don't know how to do that please feel free to contact me again.

Link to post
30 minutes ago, mhweb said:

@ich777 I've never edited the go fila before, could you please guide me? Thanks

Do the following:

  1. Open up a web terminal from Unraid with the grafik.png.c812c4b1d209c2b6793110dbdbbd4493.png icon in the upper right corner
  2. Type in 'nano /boot/config/go'
  3. Insert these two lines at the top so that the file looks like the screenshot I posted below (you can navigate with the cursor keys):
    # Enable Hauppauge DVB Card
    modprobe cx23885

     

  4. Press CTRL + X

  5. Press 'y'
  6. Press RETURN
  7. Close the web terminal

 

That's it - please make sure to not change anything after the line where it says '# Start the Management Utility.

(You could also edit the file with the Config Editor Plugin from the CA App, or you could also edit it on your local computer but you have to shutdown the server and put your USB Boot device to your local computer and then edit the 'go' file that is located in the config folder).

 

This is how the file should look like:

grafik.thumb.png.8c095f951ad9845d025334d7dc8ee863.png

 

After you done that the modprobe will be executed every time you boot the server.

 

Link to post

First of all, many thanks to @ich777 for your plugin. Great work!

 

Ich have following problem. After installation, switching to tbos and rebooting everthing works fine, my cards are detected:

Apr  4 21:21:01 Kellerserver root: +==============================================================================
Apr  4 21:21:01 Kellerserver root: | Installing new package /boot/config/plugins/dvb-driver/dvb-driver-2021.03.22.txz
Apr  4 21:21:01 Kellerserver root: +==============================================================================
Apr  4 21:21:01 Kellerserver root: 
Apr  4 21:21:01 Kellerserver root: Verifying package dvb-driver-2021.03.22.txz.
Apr  4 21:21:01 Kellerserver root: Installing package dvb-driver-2021.03.22.txz:
Apr  4 21:21:01 Kellerserver root: PACKAGE DESCRIPTION:
Apr  4 21:21:01 Kellerserver root: Package dvb-driver-2021.03.22.txz installed.
Apr  4 21:21:01 Kellerserver root: plugin: creating: /usr/local/emhttp/plugins/dvb-driver/README.md - from INLINE content
Apr  4 21:21:01 Kellerserver root: plugin: running: anonymous
Apr  4 21:21:02 Kellerserver root: 
Apr  4 21:21:02 Kellerserver root: -----------------Downloading tbsos-DVB-Driver-Package-------------------
Apr  4 21:21:02 Kellerserver root: ---------This could take some time, please don't close this window!---------
Apr  4 21:21:04 Kellerserver root: 
Apr  4 21:21:04 Kellerserver root: -----------Successfully downloaded tbsos-DVB-Driver-Package------------
Apr  4 21:21:07 Kellerserver root: 
Apr  4 21:21:07 Kellerserver root: ---------------Installation of DVB-Driver-Package successful----------------
Apr  4 21:21:07 Kellerserver root: 
Apr  4 21:21:07 Kellerserver root: plugin: dvb-driver.plg installed
Apr  4 21:21:07 Kellerserver kernel: mc: Linux media interface: v0.10
Apr  4 21:21:07 Kellerserver kernel: videodev: Linux video capture interface: v2.00
Apr  4 21:21:07 Kellerserver kernel: videobuf2_vmalloc: loading out-of-tree module taints kernel.
Apr  4 21:21:07 Kellerserver kernel: WARNING: You are using an experimental version of the media stack.
Apr  4 21:21:07 Kellerserver kernel: 	As the driver is backported to an older kernel, it doesn't offer
Apr  4 21:21:07 Kellerserver kernel: 	enough quality for its usage in production.
Apr  4 21:21:07 Kellerserver kernel: 	Use it with care.
Apr  4 21:21:07 Kellerserver kernel: Latest git patches (needed if you report a bug to linux-media@vger.kernel.org):
Apr  4 21:21:07 Kellerserver kernel: 	ab9b5371651d5bdb9ec31df15c44a6a4978912ce add to support TBS6214 ISDB-T
Apr  4 21:21:07 Kellerserver kernel: dvbdev: DVB: registering new adapter (Mantis DVB adapter)
Apr  4 21:21:07 Kellerserver kernel: dvbdev: DVB: registering new adapter (SAA716x dvb adapter)

 

But after rebooting again it doesn't work anymore. In the logs you can see, that the plugin is installed successful, but there are no kernel messages of registering the adapters (and no error messages):

Apr  5 11:32:37 Kellerserver root: +==============================================================================
Apr  5 11:32:37 Kellerserver root: | Installing new package /boot/config/plugins/dvb-driver/dvb-driver-2021.03.22.txz
Apr  5 11:32:37 Kellerserver root: +==============================================================================
Apr  5 11:32:37 Kellerserver root: 
Apr  5 11:32:37 Kellerserver root: Verifying package dvb-driver-2021.03.22.txz.
Apr  5 11:32:37 Kellerserver root: Installing package dvb-driver-2021.03.22.txz:
Apr  5 11:32:37 Kellerserver root: PACKAGE DESCRIPTION:
Apr  5 11:32:37 Kellerserver root: Package dvb-driver-2021.03.22.txz installed.
Apr  5 11:32:37 Kellerserver root: plugin: creating: /usr/local/emhttp/plugins/dvb-driver/README.md - from INLINE content
Apr  5 11:32:37 Kellerserver root: plugin: running: anonymous
Apr  5 11:32:37 Kellerserver root: 
Apr  5 11:32:37 Kellerserver root: -----------------tbsos-DVB-Driver-Package found locally-----------------
Apr  5 11:32:40 Kellerserver root: 
Apr  5 11:32:40 Kellerserver root: ---------------Installation of DVB-Driver-Package successful----------------
Apr  5 11:32:40 Kellerserver root: 
Apr  5 11:32:40 Kellerserver root: plugin: dvb-driver.plg installed

 

After deleting the tbos package in the plugins folder and rebooting, it works again:

Apr  5 11:43:01 Kellerserver root: +==============================================================================
Apr  5 11:43:01 Kellerserver root: | Installing new package /boot/config/plugins/dvb-driver/dvb-driver-2021.03.22.txz
Apr  5 11:43:01 Kellerserver root: +==============================================================================
Apr  5 11:43:01 Kellerserver root: 
Apr  5 11:43:01 Kellerserver root: Verifying package dvb-driver-2021.03.22.txz.
Apr  5 11:43:01 Kellerserver root: Installing package dvb-driver-2021.03.22.txz:
Apr  5 11:43:01 Kellerserver root: PACKAGE DESCRIPTION:
Apr  5 11:43:01 Kellerserver root: Package dvb-driver-2021.03.22.txz installed.
Apr  5 11:43:01 Kellerserver root: plugin: creating: /usr/local/emhttp/plugins/dvb-driver/README.md - from INLINE content
Apr  5 11:43:01 Kellerserver root: plugin: running: anonymous
Apr  5 11:43:01 Kellerserver root: 
Apr  5 11:43:01 Kellerserver root: -----------------Downloading tbsos-DVB-Driver-Package-------------------
Apr  5 11:43:01 Kellerserver root: ---------This could take some time, please don't close this window!---------
Apr  5 11:43:03 Kellerserver root: 
Apr  5 11:43:03 Kellerserver root: -----------Successfully downloaded tbsos-DVB-Driver-Package------------
Apr  5 11:43:06 Kellerserver root: 
Apr  5 11:43:06 Kellerserver root: ---------------Installation of DVB-Driver-Package successful----------------
Apr  5 11:43:06 Kellerserver root: 
Apr  5 11:43:06 Kellerserver root: plugin: dvb-driver.plg installed
Apr  5 11:43:06 Kellerserver kernel: mc: Linux media interface: v0.10
Apr  5 11:43:06 Kellerserver kernel: videodev: Linux video capture interface: v2.00
Apr  5 11:43:06 Kellerserver kernel: videobuf2_vmalloc: loading out-of-tree module taints kernel.
Apr  5 11:43:06 Kellerserver kernel: WARNING: You are using an experimental version of the media stack.
Apr  5 11:43:06 Kellerserver kernel: 	As the driver is backported to an older kernel, it doesn't offer
Apr  5 11:43:06 Kellerserver kernel: 	enough quality for its usage in production.
Apr  5 11:43:06 Kellerserver kernel: 	Use it with care.
Apr  5 11:43:06 Kellerserver kernel: Latest git patches (needed if you report a bug to linux-media@vger.kernel.org):
Apr  5 11:43:06 Kellerserver kernel: 	ab9b5371651d5bdb9ec31df15c44a6a4978912ce add to support TBS6214 ISDB-T
Apr  5 11:43:06 Kellerserver kernel: dvbdev: DVB: registering new adapter (Mantis DVB adapter)
Apr  5 11:43:06 Kellerserver kernel: dvbdev: DVB: registering new adapter (SAA716x dvb adapter)

 

Any ideas?

Link to post
1 minute ago, hamphh said:

Any ideas?

Can you give me the Diagnostics (Tools -> Diagnostics -> Download -> drop the downloaded zip file here in the text box) after a reboot and also after you installed the DVB Driver?

Link to post

@ich777 It looks like unraid 6.9.2 updated the linux kernel to 5.10.28 and since you do not have a realease for that on your github at https://github.com/ich777/unraid-plugins-repo/releases then when you install the plugin you get:
 

---------------Can't download libreelec-DVB-Driver-Package-----------------

Since it does 

KERNEL_V="$(uname -r)"

in the install script to find the download URL to use.

Can you make a new release for the new kernel?

 

Thanks!

Link to post
1 hour ago, RawrSpace said:

@ich777 It looks like unraid 6.9.2 updated the linux kernel to 5.10.28 and since you do not have a realease for that on your github at https://github.com/ich777/unraid-plugins-repo/releases then when you install the plugin you get:
 


---------------Can't download libreelec-DVB-Driver-Package-----------------

Since it does 


KERNEL_V="$(uname -r)"

in the install script to find the download URL to use.

Can you make a new release for the new kernel?

 

Thanks!

 

Keep in mind he's probably sleeping. ;) 

Link to post
2 hours ago, RawrSpace said:

Can you make a new release for the new kernel?

The packages are all up now, they where built automatically but haven't uploaded automatically, have to investigate why...

 

Please also look at the second post of this thread there will be updates for which version the Drivers are built already. :)

Link to post
  • 2 weeks later...

 Hi, I've found an old TV Tuner and I was curious to see if I could get it to work with my Plex Pass. So far, I haven't had success getting the plugin to detect the card. It is an Asus FM/TV 7134.

 

It appears via lspci. Thusfar I have tried only openELEC and DigitalDevices. My assumption is that it should work with openELEC since it is not an DigitalDevices or TBS card, although I'm happy to be told otherwise. I have attempted `modprobe saa7134` which should be the relevant module according to this but nothing appears on the plugin page.

 

1800177267_Screenshot2021-04-20182909.thumb.png.29c7c0770226bb08a76a52b571ce0ec7.png

 

I'm aware that this is quite a niche case, appreciate any help but also, what can you expect from tech that's been in a box for 10+ years. I'll happily accept advice to spend a bit of money on this before I continue unless there's something you think I can try. Thanks in advance.

dmesg.txt lspci.txt ziptie-diagnostics-20210420-1830.zip

Link to post
2 hours ago, CyanLyan said:

Asus FM/TV 7134

As far as I can tell this is a card for old analog signals and not for Digital Video Broadcasting, can you still receive analog signals in the area where you live?

From what I've found this is a really old card from 2003 or so I think.

 

This plugin isn't designed to support such old cards and doesn't have all the necessary modules built into it for analog TV.

 

DigitalDevices and TBS Open Source drivers won't work for this card, as you said the only drivers that can work are the LibreELEC ones.

 

EDIT: The best thing would be to get a used TBS or something like a DVBSky card that you can get for really cheap prices these days (I also got a DVBSky DVB-C for my development machine for about Euro 35,- and a TBS DVB-S for about Euro 40,- - both are dual tuner cards).

Link to post
1 minute ago, ich777 said:

As far as I can tell this is a card for old analog signals and not for Digital Video Broadcasting, can you still receive analog signals in the area where you live?

From what I've found this is a really old card from 2003 or so I think.

 

This plugin isn't designed to support such old cards and doesn't have all the necessary modules built into it for analog TV.

Ha, that makes sense as an explanation. I kinda forgot about the switch. That's what I get for looking for a technical solution to a simple problem. Thanks.

Link to post

Hello ich777,

is it possible to build the tbs drivers myself ?

Since the last driver update, with your great tool, my tbs 6509 cards making plenty of problems with firmware download.

When i disable and enable the port in tvheadend firmware download succeeded sometimes and  it will be usable after that.

So it seems for me like a driver bug. When i looked at the tbs source, plenty of updates occured after your d and i will give it a try to see if my problem is fixed.

 

peter 

Link to post
15 minutes ago, pk1057 said:

Hello ich777,

is it possible to build the tbs drivers myself ?

Since the last driver update, with your great tool, my tbs 6509 cards making plenty of problems with firmware download.

When i disable and enable the port in tvheadend firmware download succeeded sometimes and  it will be usable after that.

So it seems for me like a driver bug. When i looked at the tbs source, plenty of updates occured after your d and i will give it a try to see if my problem is fixed.

 

peter 

What problems are you experiencing?

You con build it yourself but only in a custom build with the Unraid-Kernel-Helper.

 

I rebuilded the TBS drivers a few weeks ago on request because someone else needed the latest driver.

 

What do you mean with the firmware download?

 

Do the tuners show up in the Plugin?

 

Would it be enough if I rebuild it from the latest master?

Link to post
1 hour ago, ich777 said:

What problems are you experiencing?

You con build it yourself but only in a custom build with the Unraid-Kernel-Helper.

 

I rebuilded the TBS drivers a few weeks ago on request because someone else needed the latest driver.

 

What do you mean with the firmware download?

 

Do the tuners show up in the Plugin?

 

Would it be enough if I rebuild it from the latest master?

The tuners appear in tvheadend but initialisation fails due to:

[  94.793572] si2157 13-0060: found a 'Silicon Labs Si2158-A20'
[   94.793618] si2157 13-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw'
[   95.848241] si2157 13-0060: firmware download failed -11
And after this failure this tuner is unusable. Which tuners are failing is randomly.

 

When i deactivate and reactivate the tuner in tvheadend it mostly succeed the download, sometimes there are several trys necessary. After success everything is ok.

Here is someone with a the similar problem: https://tvheadend.org/boards/5/topics/44156

 

I hope that it will be sufficient to rebuild the neweset version, there are plenty of fixes since your last version.

Link to post
29 minutes ago, pk1057 said:

I hope that it will be sufficient to rebuild the neweset version, there are plenty of fixes since your last version.

Are you sure that this will be fixed with the new drivers?

 

31 minutes ago, pk1057 said:

When i deactivate and reactivate the tuner in tvheadend it mostly succeed the download

The driver isn't downloaded or better speaking the firmware, the firmware is located in the /lib/firmware directory and is used from there, I only can think of a problem with the drivers itself.

I will try to rebuild them ASAP amd report back.

Link to post
1 hour ago, pk1057 said:

And after this failure this tuner is unusable. Which tuners are failing is randomly.

What you can also try is to modprobe the module in your go file so it get's loaded a second time (some tuners are not recognized correctly).

 

Anyways, the TBS-OS drivers are now rebuilt and uploaded (for Unraid 6.8.2, make sure that you are on that version) to upgrade do the following:

  1. Uninstall the DVB Plugin
  2. Reboot your Server
  3. Pull a fresh copy from the DVB Plugin from the CA App
  4. Eventually reboot again
Link to post

Hi i would say im new to this only got into unraid in the last 8 months. I have a DVBsky card thats been working great but want 2 more tuners. I had an old TBS card 6982 i think its in the box so cant remember. I installed 6.9.2 and installed these drivers. I used openelec first and it finds the dvbsky card great but tvheadend is only showing this not the tbs card too. I installed the TBS drivers and it appears that both are showing but when i split the lunbs accross both cards to test the first channel streams ont he TBS card. I go to stream another channel it tries on the TBS gets -90+ db, fails stops retries and then fails to tune. Its not trying the sky card?

 

Im pretty techy but like i say only dabbled with unraid and dvb for the last 8 months and pretty green any help would be greatly appreciated.

 

Link to post
7 hours ago, LeeK said:

I used openelec first and it finds the dvbsky card great but tvheadend is only showing this not the tbs card too.

The LibreELEC drivers should just work fine with both cards, can you give me the full output from 'lspci -v' and paste it here as a text document after a fresh restart and the plugin installed?

 

7 hours ago, LeeK said:

I installed the TBS drivers and it appears that both are showing but when i split the lunbs accross both cards to test the first channel streams ont he TBS card. I go to stream another channel it tries on the TBS gets -90+ db, fails stops retries and then fails to tune. Its not trying the sky card?

I never designed this plugin to support multiple cards from different vendors at the same time, as said above the LibreELEC drivers should get you covered and support both cards.

 

Eventually in addition to the output form the command above please post your Diagnostics here (Tools -> Diagnostics -> Download -> drop the downloaded file here in the text box), eventually also a few screenshots from your tuner configuration from TVHeadend.

Link to post
12 hours ago, ich777 said:

What you can also try is to modprobe the module in your go file so it get's loaded a second time (some tuners are not recognized correctly).

 

Anyways, the TBS-OS drivers are now rebuilt and uploaded (for Unraid 6.8.2, make sure that you are on that version) to upgrade do the following:

Ok,

I'm on Unraid 6.9.2.

At first i tried a remove and reinstall of the package to follow your first suggestion.

But now i run into  a new problem modprobe tbsecp3 throws an error and fails:

videobuf2_vmalloc: Unknown symbol media_frame_vector_to_pages (err -2)
videobuf2_vmalloc: Unknown symbol media_frame_vector_to_pfns (err -2)
 

I'm not sure if this has something to do with your rebuild, if not i will first try to go the way with the custom mode image.

Link to post
25 minutes ago, pk1057 said:

But now i run into  a new problem modprobe tbsecp3 throws an error and fails

What modprobe is this?

 

Please do the following, reboot (with the plugin installed) and after the reboot open up a terminal and enter: 'lspci -v' and post the output here as a text file and also post your Diagnostics after you rebooted (Tools -> Diagnostics -> Download -> drop the downloaded zip file here in the text box).

 

29 minutes ago, pk1057 said:

I'm not sure if this has something to do with your rebuild, if not i will first try to go the way with the custom mode image.

I think this is because of the new build that I made but nothing I can do about that since I'm building the drivers from the latest master on Github.

 

29 minutes ago, pk1057 said:

videobuf2_vmalloc: Unknown symbol media_frame_vector_to_pages (err -2)
videobuf2_vmalloc: Unknown symbol media_frame_vector_to_pfns (err -2)

Is something not working now?

Link to post

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.