[Plugin] DVB-Driver


ich777

Recommended Posts

2 minutes ago, lord xeon said:

I have a Hauppauge WinTV HVR-950 USB tuner plugged in.

Have you more than one tuners attached?

I have got a few reports with problems related to USB Tuners.

 

The process that you sent the screenshot is started in TVHeadend, can you reach the server if it is locked up already via SSH? If yes, please try to stop the container with: docker stop NAMEOFYOURTVHEADENDCONTAINER

Or you could also try to type in: kill 12600

(12600 is actually the process ID)

Link to comment
2 hours ago, ich777 said:

Have you more than one tuners attached?

I have got a few reports with problems related to USB Tuners.

I have 1 (one) single USB device plugged in that shows up as 2 (two) tunners in TVHeadend:

 

image.png.85349a3ec92ec0adcb03633187b3fc61.png

 

Quote

can you reach the server if it is locked up already via SSH? If yes, please try to stop the container with: docker stop NAMEOFYOURTVHEADENDCONTAINER

Or you could also try to type in: kill 12600

(12600 is actually the process ID)

Most of the time I can yes.  It seems to depend on when I catch it, and how long it's been locked up for.  Right now I rebooted the server because I needed it so it's not locked.  I'll try that in about 5 days when it locks up again.

Link to comment
2 hours ago, Spriggy said:

Is this anything to be worried about?

No, it is all working I think or am I wrong?

This is due to a bug that I can not resolve for now...

 

2 hours ago, lord xeon said:

I'll try that in about 5 days when it locks up again.

Do you have only one tuner? Sorry should learn to read... :D

Eventually try another USB ports.

 

I don't even experience such a problem with my DigitalDevices/TBS/DVBSky PCIe cards.

Eventually you can try to build a Unraid version with the DVB drivers built in.

Please look at my Unraid-Kernel-Helper thread (it's really not that difficult, just select what you want, let it do it's thing and replace the files on your USB Boot device). ;)

 

Link to comment
On 2/17/2021 at 8:28 AM, ich777 said:

The process that you sent the screenshot is started in TVHeadend, can you reach the server if it is locked up already via SSH? If yes, please try to stop the container with: docker stop NAMEOFYOURTVHEADENDCONTAINER

Or you could also try to type in: kill 12600

(12600 is actually the process ID)

 

I can't kill the process (with it's new ID), and I can't run `docker stop` either.  Kill does nothing and docker stop just hangs.

 

running  `dmseg` gives this output:


[259950.359383] rcu: INFO: rcu_sched detected expedited stalls on CPUs/tasks: { 0-... } 19708313 jiffies s: 33861 root: 0x1/.
[259950.359400] rcu: blocking rcu_node structures:
[259950.359406] Task dump for CPU 0:
[259950.359410] task:kdvb-ad-0-fe-0  state:R  running task     stack:    0 pid:14309 ppid:     2 flags:0x00004008
[259950.359420] Call Trace:
[259950.359436]  ? __schedule+0x456/0x494
[259950.359442]  ? usleep_range+0x7a/0x7a
[259950.359448]  ? schedule+0x73/0x99
[259950.359453]  ? schedule_timeout+0xa5/0xde
[259950.359459]  ? __next_timer_interrupt+0xe3/0xe3
[259950.359465]  ? __wait_for_common+0xbb/0x135
[259950.359473]  ? usb_start_wait_urb+0x8c/0xe8
[259950.359479]  ? usb_control_msg+0x55/0x127
[259950.359485]  ? usb_control_msg+0xd9/0x127
[259950.359498]  ? au0828_writereg+0x75/0x9f [au0828]
[259950.359506]  ? au0828_set_frontend+0x3a/0xa6 [au0828]
[259950.359517]  ? dvb_frontend_swzigzag_autotune+0x174/0x1d1 [dvb_core]
[259950.359532]  ? dvb_frontend_swzigzag+0x208/0x28d [dvb_core]
[259950.359540]  ? __accumulate_pelt_segments+0x1d/0x2c
[259950.359546]  ? __update_load_avg_cfs_rq+0xf4/0x18f
[259950.359553]  ? update_cfs_rq_load_avg+0x136/0x13f
[259950.359558]  ? get_sd_balance_interval+0x19/0x3c
[259950.359563]  ? update_next_balance+0xf/0x1e
[259950.359569]  ? __switch_to_xtra+0x46/0x3d0
[259950.359576]  ? __raw_spin_unlock_irq+0xa/0xb
[259950.359581]  ? finish_task_switch+0x125/0x1ee
[259950.359586]  ? arch_local_irq_save+0x11/0x17
[259950.359592]  ? _raw_spin_lock_irqsave+0x7/0x24
[259950.359596]  ? lock_timer_base+0x33/0x56
[259950.359602]  ? _raw_spin_unlock_irqrestore+0xd/0xe
[259950.359606]  ? try_to_del_timer_sync+0x4f/0x6c
[259950.359611]  ? del_timer_sync+0x22/0x2c
[259950.359616]  ? arch_local_irq_save+0x11/0x17
[259950.359621]  ? arch_local_irq_save+0x11/0x17
[259950.359631]  ? dvb_frontend_thread+0x3eb/0x4cf [dvb_core]
[259950.359636]  ? init_wait_entry+0x24/0x24
[259950.359646]  ? dvb_frontend_get_event.isra.0+0x17f/0x17f [dvb_core]
[259950.359652]  ? kthread+0xe5/0xea
[259950.359658]  ? kthread_associate_blkcg+0x96/0x96
[259950.359664]  ? ret_from_fork+0x22/0x30

 

a bunch of times.  Sometimes with more stack trace between each INFO section.

 

I'll try another USB port right now when I reboot.  And perhaps next step will be to build a custom kernel as you pointed to.

Link to comment
6 hours ago, lord xeon said:

And perhaps next step will be to build a custom kernel as you pointed to.

Yes, that would be my next step since this solves the issue for most of the USB DVB Tuner users.

 

EDIT: Please be sure to remove the DVB Plugin first before you build your own custom images.

Link to comment

Does anyone know if this plugin works for the Hauppauge HD-PVR.  I have been using unRAID with the old DVB edition for years. This allowed me to use HD-PVR encoders with the SageTV docker in unRAID. It also added firewire support for channel changes.  Anyone know if this still works in the new plugin?

Link to comment
7 hours ago, wayner said:

Does anyone know if this plugin works for the Hauppauge HD-PVR.  I have been using unRAID with the old DVB edition for years. This allowed me to use HD-PVR encoders with the SageTV docker in unRAID. It also added firewire support for channel changes.  Anyone know if this still works in the new plugin?

I'm not 100% sure but I don't think so that it would work if it's connected over Firewire, I have to look into how to get Firewire to work.

Link to comment

Thanks.  I have neglected my unRAID system in recent years as I am only running 6.4.1 with the DVB edition and I use Firewire as it is often the best option for changing channels if it is supported by your cable box. But now I am scared to do an upgrade as I don't want to break things and it is working fine, except for the odd system crash.

Link to comment
37 minutes ago, wayner said:

I have neglected my unRAID system in recent years as I am only running 6.4.1 with the DVB edition and I use Firewire as it is often the best option for changing channels if it is supported by your cable box.

What you can try is that you backup your bz* files from your USB Boot device to your local computer on a safe place, that's actually the UnraidOS so that you have a backup that you can downgrade to.

Then I would try to download a prebuilt image with the DVB drivers included for Unraid v6.8.3 from here and replace the files on the USB Boot device (first post on the bottom):

 

Then do a reboot and you are actually on 6.8.3 and you can look if the prebuilt images work for you... If not then you can simply restore the old files that you backed up before (at least I hope this is possible from 6.8.3 back to 6.4.1 but I think so).

Link to comment

I'm using a TBS 6981 (twin tuner card) and is working fine with LibreELEC.

Does anyone know if unicable is working with LibreELEC?

With TBS-OpenSource this card isn't recognized.

 

And a second question. What about mixing different TV Cards?

For example TBS (twintuner) + DigitalDevices (twintuner).

What to choose?

Link to comment
9 hours ago, Schicksal said:

Does anyone know if unicable is working with LibreELEC?

With TBS-OpenSource this card isn't recognized.

This card is definetely working because I got one and a buddy of me also got a card and the card works both with the TBS and LibreELEC drivers.

 

Sometimes the cards are stuck or hung up and you have to cold boot the system, please try:

  1. Shutdown the server
  2. Unplug it from the wall
  3. Press a few times the Power and Reset button (to empty the caps) and wait for at least half a minute
  4. Then plug the power back into the wall and turn on the server

 

Sometimes one of my DigitalDevices Dual tuner cards or even both cards dissapear, after I do the above methode everything is working again.

 

9 hours ago, Schicksal said:

For example TBS (twintuner) + DigitalDevices (twintuner).

The LibreELEC drivers because they both support TBS and DigitalDevices cards (but keep in mind this is a older version of the driver).

Link to comment
On 11/16/2020 at 9:26 PM, ich777 said:

Available versions:

  • 2020.03.02: Kernel v5.10.19 -Unraid 6.9.0

  • 2020.12.19: Kernel v5.10.1 - Unraid 6.9.0 RC2

  • 2020.12.10: Kernel v5.9.13 - Unraid 6.9.0 RC1

  • 2020.12.07: Kernel v5.9.12 - Unraid 6.9.0 beta42

  • 2020.11.17: Kernel v5.9.11 - Unraid 6.9.0 beta37

  • 2020.11.14: Kernel v5.8.18 - Unraid 6.9.0 beta35

Upgrade to Unraid 6.9.0 works without any problem 👍

  • Like 1
Link to comment
On 3/2/2021 at 11:31 AM, aronmal said:

Upgrade to Unraid 6.9.0 works without any problem 👍

 

so basically this means i could move from 6.8.3 (with Unraid DVB PlugIn and so the custom kernel) to v6.9 out of the box and use this DVB-Drivers PlugIn (from ich777) and get my Digital Devices card for TVHeadend up-and-running in no time?!

 

just want to be sure to have a fully supported solution.

Link to comment
Just now, wayner said:

Does that mean no?

And if so, are there other similar functionality not currently available?

 

i can't and don't want to say no.

it's only my understanding of drivers for interfaces.

well, someone with more knowledge of available drivers needs to chime in. but firewire is old and since a long time depreciated. i loved it back in the day, but alas not always the best technology wins in the long run.

Link to comment

Very true, FireWire is somewhat obsolete.  But it is still the most dependable way to tune channels on cable boxes that support that functionality. So it is commonly used for DVR software, like SageTV.  Running SageTV in a docker under unRAID is a great solution. But this software is also fading away as linear TV becomes less popular and DVR solutions from cable companies, etc improve as does the amount of content available on-demand. I think I was the one who asked for FireWire support in DVB several years ago.

Link to comment
24 minutes ago, s.Oliver said:

 

so basically this means i could move from 6.8.3 (with Unraid DVB PlugIn and so the custom kernel) to v6.9 out of the box and use this DVB-Drivers PlugIn (from ich777) and get my Digital Devices card for TVHeadend up-and-running in no time?!

 

just want to be sure to have a fully supported solution.

Not sure about 6.8.3, but I upgraded from 6.9 rc2 ro 6.9 stable and everything working just fine with me. BTW I'm using tbs 6909, not Digital Devices.

Link to comment

So I am officially at wits end :/.  I upgraded to 6.9.0 this week and lost the DVB plugin the was working floawlessly for years.  I installed this one and it did not work with the plex docker I had installed.  I then reinstalled plex using the plexinc version and my Hauppauge QuadHD was finally visible (using Librelec).  Unfortunately, I only get a fraction of the channels I used to pick up during initia scan.  While scanning,  the error "cx23885[1]: mpeg risc op code error"  appears in the logs.  The closest I have come to a solution is from this site which says to add "cx23885.debug=8" to the kernel command line.  This is where I am stuck as I do not know where to find the kernel command line.  Thanks in advance for anyones help!

Edited by GitBoxer
Link to comment
25 minutes ago, GitBoxer said:

The closest I have come to a solution is from this site which says to add "cx23885.debug=8" to the kernel command line.

In Unraid go to 'Main' click on 'Flash' (blue text) then append 'cx23885.debug=8' to the green box like:

grafik.thumb.png.dcfc9e97b8f97c844e3da7741c34a799.png

press 'Apply' on the bottom and then reboot.

 

That's it. ;)

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.