English > {Single, Dual, Quad} Sundtek SkyTV Ultimate

linuxserver/tvheadend + sundtek

(1/5) > >>

tomasl:
Hi, I have issues getting adapter present in tvheadend, I think I did everything as I supposed to and can't figure out with my poor knowledge what's wrong.
I have HC4 with odroid's ubuntu image, docker installed and use the image from linuxserver.io based on alpine linux.
I tried both ./sundtek_netinst.sh and ./sundtek_netinst_testing.sh. in fact I don't know what's the difference, haven't tried to make a diff check.

so, on the host I ran:
cd /var/lib/docker/volumes/tvh/_data/
wget http://sundtek.de/media/sundtek_netinst.sh
chmod 777 sundtek_netinst.sh
./sundtek_netinst.sh –createnodes

inside the docker container I ran:
docker exec -it tvh /bin/bash
cd /config
./sundtek_netinst.sh -docker -use-custom-path=/config

the docker CLI to create container is:
docker create --name=tvh \
-v tvh:/config \
-v tvhpicons:/picons \
-v /drives/data2/REC/:/recordings \
-e PUID=1000 -e PGID=1000 \
-e TZ=CET \
-p 9981:9981 \
-p 9982:9982 \
--device=/dev/dvb:/dev/dvb \
--device=/dev/sundtek:/dev/sundtek \
--device=/dev/bus/usb:/dev/bus/usb \
--restart unless-stopped \
linuxserver/tvheadend

and obviously it is installed inside the docker container as mediaclient shows it:
root@f53cfe724529:/opt/bin# ./mediaclient -e
**** List of Media Hardware Devices ****
device 0: [SkyTV Ultimate 6 2016/Q1]  DVB-S/S2, ANALOG-TV, REMOTE-CONTROL, OSS-AUDIO
  [INFO]:
     STATUS: STANDBY
  [BUS]:
     ID: 1-2.4
  [SERIAL]:
     ID: U171212190229
  [DVB-S/S2]:
     FESTATUS: STANDBY
     LNBVOLTAGE: DISABLED
     LNBSUPPLY: ACADAPTER
     LNBSTATUS: OK
     FRONTEND: /dev/dvb/adapter0/frontend0
     DVR: /dev/dvb/adapter0/dvr0
     DMX: /dev/dvb/adapter0/demux0
  [ANALOG-TV]:
     VIDEO0: /dev/video0
     VBI0: /dev/vbi0
  [REMOTECONTROL]:
     INPUT0: /dev/mediainput0
  [OSS]:
     OSS0: /dev/dsp0

Anything you see I'm not doing or doing wrong?

Sundtek:
Hi,

will check on Monday.
- check which architecture the tvheadend binary and the driver has
./mediaclient --arch

- there needs to be an LD_PRELOAD=/path/to/libmediaclient.so in the tvheadend start script

norbertk:

--- Zitat ---there needs to be an LD_PRELOAD=/path/to/libmediaclient.so in the tvheadend start script

--- Ende Zitat ---

Is this only required for docker ? I have some hard to track down problems with tvheadend too but work under lxc and not docker.

tomasl:
Hi, thank for response. see the answers for your questions.

tvheadend startup script content:
#!/bin/sh
/opt/bin/mediasrv -d --wait-for-devices --pluginpath=/opt/bin
LD_PRELOAD=/opt/lib/libmediaclient.so /usr/bin/tvheadend.bin $@

sundtek driver is arm64:
root@odroid:/opt/bin# ./mediaclient --arch
Architecture: arm64

and I asumed same for tvheadend container as it started just fine without specifically downloading the arm64 image. but just to be sure I explicitly downloaded arm64 image with arm64v8-latest tag and I can see the sundtek adapter finally. thank you.

Sundtek:
Also be sure that the permissions of /dev/dvb and /dev are ok, if you still cannot figure out what's wrong maybe you can set up remote access to that system (eg. Anydesk) so we can have a quick look at it.

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln