Beiträge anzeigen

Diese Sektion erlaubt es ihnen alle Beiträge dieses Mitglieds zu sehen. Beachten sie, dass sie nur solche Beiträge sehen können, zu denen sie auch Zugriffsrechte haben.


Nachrichten - tomasl

Seiten: [1] 2
1
{Single, Dual, Quad} Sundtek SkyTV Ultimate / Re: dual tuner reset/flush
« am: Oktober 23, 2022, 11:26:22 Nachmittag »
Build date is 2021-08-03 07:12:24, so it says. I downloaded driver and installed driver using the instructions in top of the sundtek.com page.

I created the /etc/sundtek.conf, with loglevel=max inside, inside the TVH container.
the file /var/log/mediasrv.log exist inside the container and at the host, but it's empty right now.
do I need to restart the container so the new loglevel setting is applied?

the tuner disconnect happened without my action, it always does. last time I stopped the container and re-plugged dual tuner in the USB port, then started the container and the tuner was again available in TVH.

next time this happens, I'll try to reach you via chat first.
thanks for support.

2
{Single, Dual, Quad} Sundtek SkyTV Ultimate / Re: dual tuner reset/flush
« am: Oktober 15, 2022, 10:19:37 Nachmittag »
Hi, it happened again. attached is the dmesg output.
this time I only stopped the container, replugged the dual tuner and started the container. it fixed the problem.
the tuners are connected to HC4 via powered USB hub. when this happens, the old skytv 6 is ok, but the dual tuner disappears from TVHeadend.

and I'm interested in the voltage regulator, could you tell me more?

3
{Single, Dual, Quad} Sundtek SkyTV Ultimate / Re: dual tuner reset/flush
« am: Oktober 11, 2022, 12:16:42 Nachmittag »
next time it happens I'll try dmesg. thanks for hint.

and I have both tuners plugged to AC mains with the provided adapter as well.
so they are not only powered from USB port, does it still matter what's the system's input power source rating?

I have Odroid HC4 with 4A AC, laptop like, adapter. so I guess it should be enough, even it's running two 3.5" HDDs.

4
{Single, Dual, Quad} Sundtek SkyTV Ultimate / dual tuner reset/flush
« am: Oktober 10, 2022, 09:08:34 Vormittag »
Hi,
I'm running TVHeadend inside Docker container. Dual plus SkyTV 6. everything is working fine.
I learned that sometimes the tuners disappear for some reason from TVHeadend and then I need to recreate the container and reinstall the sundtek drivers inside.

I plan to automate this somehow (I'm not sure how yet, haven't had time to think about it and test, perhaps Docker Compose which would recreate the container once a day).
but, sometimes it happens, that this doesn't help. then only unplugging and plugging tuner back in to the linux box helps. I assume some buffer is filled or somewhere something is stuck.
I haven't yet tried, when it happened, with mediaclient -e if the tuners can be detected, but I'd like to ask if there is some command to avoid re-plugging the tuner. is there a way to perform this re-plugging with some tuner cache flush command (how I imagine it)?

5
{Single, Dual, Quad} Sundtek SkyTV Ultimate / Re: linuxserver/tvheadend + sundtek
« am: Dezember 15, 2021, 10:21:28 Vormittag »
what I noticed is, that the /dev/dvb disappears on the host after ubuntu reboot.
the container then won't start of course.
perhaps that was the reason, that somehow the container lost access to this folder previously and I missed something and just always tried to re-create the container and install drivers inside container and never noticed that there is something wrong with /dev/dvb
so after reboot, when I create the /dev/dvb content with the below commands, the tvh container starts fine and adapter is present in tvh interface. I'll observe further.

mkdir -p /dev/dvb/adapter0
mknod /dev/dvb/adapter0/frontend0 c 212 1
mknod /dev/dvb/adapter0/dvr0 c 212 5
mknod /dev/dvb/adapter0/demux0 c 212 3

6
{Single, Dual, Quad} Sundtek SkyTV Ultimate / Re: linuxserver/tvheadend + sundtek
« am: Dezember 07, 2021, 02:01:24 Nachmittag »
right now it works since yesterday container restart, and I don't want to touch it. if it again stop working I'll try.
but I had it connected directly to the HC4 and it didn't work either. I tried multiple different scenarios.
I suspect something's wrong with the HC4 USB HW/controller. this is my second HC4, first HC4 USB controller died after few weeks  of using it and I returned it under warranty. I liked the idea to have cheapest possible home NAS with TVHeadend server.
I don't think there is a problem with sundtek dongle. it worked for years and is still working on the old box as a backup when it doesn't work with HC4.
what's frustrating is, that I have no idea where is the problem and can't find out with my poor linux knowledge. if it's docker, or tvheadend, or HC4 HW or Odroid HC4 ubuntu image, or something else.

7
{Single, Dual, Quad} Sundtek SkyTV Ultimate / Re: linuxserver/tvheadend + sundtek
« am: Dezember 06, 2021, 05:55:19 Nachmittag »
it seems that this set of messages repeats. I wonder if it's every time the adapter disappears from TVHeadend. those are today's messages, but it's similar from yesterday when I tested plugging and unplugging the tuner from USB hub directly to HC4 port and back again. so perhaps every time the USB hub somehow loses power the adapter disappears from TVHeadend.
[Mon Dec  6 10:11:49 2021] usb 1-2.3: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 64 rq 2 len 1 ret -71
[Mon Dec  6 10:11:49 2021] usb 1-2.3: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 64 rq 2 len 1 ret -71
[Mon Dec  6 10:11:49 2021] usb 1-2.3: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 64 rq 2 len 1 ret -71
[Mon Dec  6 10:11:49 2021] usb 1-2.3: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 64 rq 2 len 1 ret -71
[Mon Dec  6 10:11:49 2021] usb 1-2.3: USB disconnect, device number 55
[Mon Dec  6 10:11:49 2021] usb 1-2.3: new high-speed USB device number 56 using xhci-hcd
[Mon Dec  6 10:11:49 2021] usb 1-2.3: New USB device found, idVendor=2659, idProduct=1502
[Mon Dec  6 10:11:49 2021] usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Mon Dec  6 10:11:49 2021] usb 1-2.3: Product: SkyTV Ultimate 6 2016/Q1
[Mon Dec  6 10:11:49 2021] usb 1-2.3: Manufacturer: Sundtek
[Mon Dec  6 10:11:49 2021] usb 1-2.3: SerialNumber: U171212190229
[Mon Dec  6 10:11:49 2021] usb 1-2.3: Unsupported device
[Mon Dec  6 10:11:49 2021] usb 1-2.3: Unsupported device
[Mon Dec  6 10:11:49 2021] usb 1-2.3: Unsupported device
[Mon Dec  6 10:11:49 2021] usb 1-2.3: Unsupported device
[Mon Dec  6 10:11:49 2021] usb 1-2.3: Unsupported device
[Mon Dec  6 10:11:49 2021] usb 1-2.3: Unsupported device
[Mon Dec  6 10:11:49 2021] usb 1-2.3: Unsupported device
[Mon Dec  6 11:59:11 2021] docker0: port 1(vethd684a46) entered disabled state
[Mon Dec  6 11:59:11 2021] veth1d78fb8: renamed from eth0
[Mon Dec  6 11:59:11 2021] docker0: port 1(vethd684a46) entered disabled state
[Mon Dec  6 11:59:11 2021] device vethd684a46 left promiscuous mode
[Mon Dec  6 11:59:11 2021] docker0: port 1(vethd684a46) entered disabled state
[Mon Dec  6 11:59:11 2021] docker0: port 1(vethfec4937) entered blocking state
[Mon Dec  6 11:59:11 2021] docker0: port 1(vethfec4937) entered disabled state
[Mon Dec  6 11:59:11 2021] device vethfec4937 entered promiscuous mode
[Mon Dec  6 11:59:11 2021] IPv6: ADDRCONF(NETDEV_UP): vethfec4937: link is not ready
[Mon Dec  6 11:59:11 2021] docker0: port 1(vethfec4937) entered blocking state
[Mon Dec  6 11:59:11 2021] docker0: port 1(vethfec4937) entered forwarding state
[Mon Dec  6 11:59:12 2021] eth0: renamed from vetha074485
[Mon Dec  6 11:59:12 2021] IPv6: ADDRCONF(NETDEV_CHANGE): vethfec4937: link becomes ready
[Mon Dec  6 11:59:13 2021] amlogic-pcie-v2 fc000000.pcieA: the device class is not reported correctly from the register
[Mon Dec  6 11:59:16 2021] usb 1-2.3: usbfs: process 103060 (mediasrv) did not claim interface 0 before use
[Mon Dec  6 11:59:30 2021] usb 1-2.3: usbfs: process 103067 (mediasrv) did not claim interface 2 before use

8
{Single, Dual, Quad} Sundtek SkyTV Ultimate / Re: linuxserver/tvheadend + sundtek
« am: Dezember 06, 2021, 02:10:43 Nachmittag »
it again disappeared, but this time it was back again when I restarted container. I don't know why, but I assume because I haven't used the tuner since yesterday. Is there some "keepalive" setting in the driver or tvheadend that would prevent this?

9
{Single, Dual, Quad} Sundtek SkyTV Ultimate / Re: linuxserver/tvheadend + sundtek
« am: Dezember 06, 2021, 01:12:43 Vormittag »
I didn't have chance to contact you. my kid's kindergarten has covid holidays. but I was able to make it work again. so those are steps I took:

1) uninstall sundtek driver
./sundtek_netinst.sh -u

2) delete the /dev/dvb directory

3) I didn't install the driver with the -createnodes parameter but found manual way to do it on your wiki pages for synology
mkdir -p /dev/dvb/adapter0
mknod /dev/dvb/adapter0/frontend0 c 212 1
mknod /dev/dvb/adapter0/dvr0 c 212 5
mknod /dev/dvb/adapter0/demux0 c 212 3

4) created docker container
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/bus/usb:/dev/bus/usb \
--restart always \
linuxserver/tvheadend:arm64v8-latest

5) started and entered the docker container and installed the driver there
./sundtek_netinst.sh -docker -use-custom-path=/config

6) restarted the container and the adapter appeared in the tvheadend web interface and it's working again.

I have no idea what I did wrong before, I tried many times, but I could swear I did it same except the step 3. I hope this time it will work without issues or at least that this is the way how to replicate the successful installation on HC4 with ubuntu and tvheadend docker image.

10
{Single, Dual, Quad} Sundtek SkyTV Ultimate / Re: linuxserver/tvheadend + sundtek
« am: November 30, 2021, 09:35:20 Nachmittag »
nope, I'm waiting for the quad tuner. ;)

I'll try to get to you early in the morning then. in upcoming 3 days.

11
{Single, Dual, Quad} Sundtek SkyTV Ultimate / Re: linuxserver/tvheadend + sundtek
« am: November 30, 2021, 11:54:16 Vormittag »
what do you mean two tuners? both analog and DVB-S2 on SkyTV 6? I don't need that analog one.
HC4 USB port is rated 500mA, so I don't want to take the risk something happens to the USB port or the HW behind that.
do you know of some reliable USB self-powered hub?

I'll try to catch you on the chat one day evening.

12
{Single, Dual, Quad} Sundtek SkyTV Ultimate / Re: linuxserver/tvheadend + sundtek
« am: November 29, 2021, 09:35:38 Nachmittag »
I'll get Anydesk set up and then I'll ping you. please let me know when you're usually available and how I could contact you. it will be difficult to align as with my 3 year old I can't do anything next to him as he wants to do everything with me and instead of me...
btw I'm using HC4 and it has only one USB port and I'm using small powered USB hub. I'm afraid to plug the sundtek dongle directly to the USB port of HC4.

13
{Single, Dual, Quad} Sundtek SkyTV Ultimate / Re: linuxserver/tvheadend + sundtek
« am: November 28, 2021, 10:24:44 Nachmittag »
aaand it doesn't work again...
I haven't touched it. I turned up the TV and HTSP client couldn't connected.
so I restarted TVH container and I got this error:
root@odroid:~# docker start tvh
Error response from daemon: error gathering device information while adding custom device "/dev/dvb": no such file or directory
Error: failed to start containers: tvh

so I checked directory and it's not present...
root@odroid:~# cd /dev/dvb
-bash: cd: /dev/dvb: No such file or directory

I stopped container, ran ./sundtek_netinst.sh –createnodes and started the container and adapter was missing.

so I installed it inside the container again with ./sundtek_netinst.sh -docker -use-custom-path=/config and still nothing.
I removed container, added it again, ran ./sundtek_netinst.sh -u, then ./sundtek_netinst.sh –createnodes again and ./sundtek_netinst.sh -docker -use-custom-path=/config inside the container, restarted the container and nothing.
I checked tvheadend startup script under /usr/bin and LD_PRELOAD is there with correct values, I checked mediaclient -e and it shows the adapter on the host as well as inside docker container. what the...

14
{Single, Dual, Quad} Sundtek SkyTV Ultimate / Re: linuxserver/tvheadend + sundtek
« am: November 22, 2021, 09:45:05 Vormittag »
everything is working alright now, thank you.

15
{Single, Dual, Quad} Sundtek SkyTV Ultimate / Re: linuxserver/tvheadend + sundtek
« am: November 22, 2021, 12:36:38 Vormittag »
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.

Seiten: [1] 2