Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Request] dreamcat4/tvheadend

Featured Replies

ls -la /dev/dvb

total 0
drwxrwxrwx  5 nobody users  100 Aug 29 21:03 ./
drwxr-xr-x 17 root   root  4000 Aug 29 21:03 ../
drwxr-xr-x  2 nobody users  120 Aug 29 20:50 adapter0/
drwxr-xr-x  2 nobody users  120 Aug 29 20:50 adapter1/
drwxrwxrwx  2 root   root   100 Aug 29 21:03 adapter2/

 

The problem is that you don't have the right permissions on the adapter2.

Do the below and restart tvheadend.

 

chown -R nobody:users /dev/dvb/adapter2

 

The problem you have now, is that every time you restart unraid you have to install the drivers and do the chmod again.

If it's just a matter of that script I wonder if it could be added to the go file.

 

Sent from my LG-H815 using Tapatalk

 

 

Or, one other thought, could automate it using the user scripts plugin to install drivers, change permissions and start tvh docker.  Would still need manual intervention but would be a one click solution if the go script was a no win.

 

Sent from my LG-H815 using Tapatalk

 

 

If it's just a matter of that script I wonder if it could be added to the go file.

 

Sent from my LG-H815 using Tapatalk

If there is no questions needing answers at install, it should work.

Even if there are questions, the script could be edited I'm sure.

 

Sent from my LG-H815 using Tapatalk

 

 

Even if there are questions, the script could be edited I'm sure.

 

Sent from my LG-H815 using Tapatalk

Everything is possible  :)

  • Author

did run

chown -R nobody:users /dev/dvb/adapter2

 

now getting the following  :

Aug 29 21:08:32 NAS01 tvheadend[19]: linuxdvb: unable to open /dev/dvb/adapter2/frontend0
Aug 29 21:08:32 NAS01 tvheadend[19]: linuxdvb: adapter added /dev/dvb/adapter1
Aug 29 21:08:33 NAS01 tvheadend[19]: linuxdvb: adapter added /dev/dvb/adapter0
Aug 29 21:08:33 NAS01 tvheadend[19]: dvr: Creating new configuration ''

  • Author

On my working config rasberry/debian i get the following :

 

Aug 30 08:27:52 localhost tvheadend[31704]: linuxdvb: adapter added /dev/dvb/adapter0
Aug 30 08:27:52 localhost tvheadend[31704]: linuxdvb: adapter 0 setting exlusive flag
Aug 30 08:27:52 localhost tvheadend[31704]: dvr: Creating new configuration ''

did run

chown -R nobody:users /dev/dvb/adapter2

 

now getting the following  :

Aug 29 21:08:32 NAS01 tvheadend[19]: linuxdvb: unable to open /dev/dvb/adapter2/frontend0
Aug 29 21:08:32 NAS01 tvheadend[19]: linuxdvb: adapter added /dev/dvb/adapter1
Aug 29 21:08:33 NAS01 tvheadend[19]: linuxdvb: adapter added /dev/dvb/adapter0
Aug 29 21:08:33 NAS01 tvheadend[19]: dvr: Creating new configuration ''

Then do the below also.

 

chmod -R 755 /dev/dvb/adapter2

 

Restart tvheadend container and see if that works.

  • Author

Sorry to inform you ssaarg, but stil the same error after :

 

chmod -R 755 /dev/dvb/adapter2

chown -R nobody:users /dev/dvb/adapter2

 

and restarted the tvheadend

2016-08-30 19:04:52.307 [ ERROR] linuxdvb: unable to open /dev/dvb/adapter2/frontend0

Sorry to inform you ssaarg, but stil the same error after :

 

chmod -R 755 /dev/dvb/adapter2

chown -R nobody:users /dev/dvb/adapter2

 

and restarted the tvheadend

2016-08-30 19:04:52.307 [ ERROR] linuxdvb: unable to open /dev/dvb/adapter2/frontend0

 

Then I have no more suggestions.

And is it an option to implement it in the docker like mentioned in https://github.com/dreamcat4/docker-images/issues/15 ?

I'm not adding it to the tvheadend container. You already have a fork of tvheadend with a working device don't you? Looks that way when I read the github link you posted.

 

If you don't have it working cause you can't pass through the USB, do the below and change the last two numbers according to the Bus (013)/device(003) the sundtek stick has.

--device=/dev/bus/usb/013/003

 

And I have no idea if this works either. Never tried...

That just doesn't make any sense, how can you pass through a device to the container when it doesn't have drivers?  Is this documented anywhere?  Because it goes against everything I thought I knew about docker.  If it were a virtual machine then it would make sense, but it's not.  I do wonder whether that's where this advice has stemmed from.

 

Sent from my LG-H815 using Tapatalk

 

 

That just doesn't make any sense, how can you pass through a device to the container when it doesn't have drivers?  Is this documented anywhere?  Because it goes against everything I thought I knew about docker.  If it were a virtual machine then it would make sense, but it's not.  I do wonder whether that's where this advice has stemmed from.

 

Sent from my LG-H815 using Tapatalk

 

The whole sundtek driver thing is a bit of a hack I start to think. I don't think it even needs the media build, so they probably do something that breaks the normal dvb standard. On their site it shows streaming to all kinds of media players, but no tvheadend, myth or other dvb app mentioned.

 

One thing to try, would be to use the TVH plugin rather than docker.  That would remove the issue of how Sundtek interacts with the OS/container interface.

 

 

 

Sent from my LG-H815 using Tapatalk

 

 

One thing to try, would be to use the TVH plugin rather than docker.  That would remove the issue of how Sundtek interacts with the OS/container interface.

 

 

 

Sent from my LG-H815 using Tapatalk

That one I completely forgot about. Good suggestion.

  • Author

One thing to try, would be to use the TVH plugin rather than docker.  That would remove the issue of how Sundtek interacts with the OS/container interface.

 

 

 

Sent from my LG-H815 using Tapatalk

 

Yeah, the plugin reconized the sundtek dongle, thank saarg and CHBMB for your time!!

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.