This hd530c OpenPLi/enigma based setop box has a triple DVB-C tuner (FBC) with for me a still unknown Tuner brand(Broadcom?).
The Mut@nt hd530c currently runs Tvheadend 79ea2a42c477e315ffa2143252273fe2db0c2165 with 3 frontends detected on a single adapter but using its dvb-c adapters directly within Tvheadend causes Tvheadend to crash as soon as a 2nd channel on a different transponder is tuned on a 2nd/3rd tuner. This happens with enigma enabled in background and with runlevel init 4. There has been some Tvheadend optimizations lately(see issues) to improve multiple frontend behaviour on dual tuners but for this FBC dvb-c tuner it did not improve yet. The good news is that scanning for channels works even on 2 tuners also EPG update.
#uname -a
Linux hd530c 4.10.12 #1 SMP Thu May 17 03:59:32 CEST 2018 mips GNU/Linux
#cat /etc/issue
openpli 6.2-release
Cpuinfo
cat /proc/cpuinfo
system type : BCM75845A0 STB platform
machine : Unknown
processor : 0
cpu model : Broadcom BMIPS4380 V6.5 FPU V0.1
BogoMIPS : 741.37
cpu MHz : 742.535
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : no
isa : mips1 mips2 mips32r1
ASEs implemented : mips16
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
processor : 1
cpu model : Broadcom BMIPS4380 V6.5 FPU V0.1
BogoMIPS : 745.47
cpu MHz : 742.535
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : no
isa : mips1 mips2 mips32r1
ASEs implemented : mips16
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
lsusb
lsusb
Bus 003 Device 001: ID 1d6b:0001
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 0bda:8153
Bus 001 Device 002: ID 1a40:0101
Bus 004 Device 001: ID 1d6b:0001
Bus 004 Device 002: ID 04a3:0101
Bus 002 Device 001: ID 1d6b:0002
Bus 001 Device 004: ID 0b95:7720
ls -la /dev/dvb/adapter0
ls -la /dev/dvb/adapter0
drwxr-xr-x 2 root root 640 Jan 1 1970 .
drwxr-xr-x 3 root root 60 Jan 1 1970 ..
crw-rw---- 1 root root 212, 28 Jan 1 1970 audio0
crw-rw---- 1 root root 212, 5 Jan 1 1970 ca0
crw-rw---- 1 root root 212, 8 Jan 1 1970 ca1
crw-rw---- 1 root root 212, 11 Jan 1 1970 ca2
crw-rw---- 1 root root 212, 14 Jan 1 1970 ca3
crw-rw---- 1 root root 212, 17 Jan 1 1970 ca4
crw-rw---- 1 root root 212, 20 Jan 1 1970 ca5
crw-rw---- 1 root root 212, 23 Jan 1 1970 ca6
crw-rw---- 1 root root 212, 26 Jan 1 1970 ca7
crw-rw---- 1 root root 212, 3 Jan 1 1970 demux0
crw-rw---- 1 root root 212, 6 Jan 1 1970 demux1
crw-rw---- 1 root root 212, 9 Jan 1 1970 demux2
crw-rw---- 1 root root 212, 12 Jan 1 1970 demux3
crw-rw---- 1 root root 212, 15 Jan 1 1970 demux4
crw-rw---- 1 root root 212, 18 Jan 1 1970 demux5
crw-rw---- 1 root root 212, 21 Jan 1 1970 demux6
crw-rw---- 1 root root 212, 24 Jan 1 1970 demux7
crw-rw---- 1 root root 212, 4 Jan 1 1970 dvr0
crw-rw---- 1 root root 212, 7 Jan 1 1970 dvr1
crw-rw---- 1 root root 212, 10 Jan 1 1970 dvr2
crw-rw---- 1 root root 212, 13 Jan 1 1970 dvr3
crw-rw---- 1 root root 212, 16 Jan 1 1970 dvr4
crw-rw---- 1 root root 212, 19 Jan 1 1970 dvr5
crw-rw---- 1 root root 212, 22 Jan 1 1970 dvr6
crw-rw---- 1 root root 212, 25 Jan 1 1970 dvr7
crw-rw---- 1 root root 212, 0 Jan 1 1970 frontend0
crw-rw---- 1 root root 212, 1 Jan 1 1970 frontend1
crw-rw---- 1 root root 212, 2 Jan 1 1970 frontend2
crw-rw---- 1 root root 212, 27 Jan 1 1970 video0
crw-rw---- 1 root root 212, 29 Jan 1 1970 video1
That's not the problem but why do you compile tvheadend and don't use tvheadend on enigma as @Peter Bašista did "https://octagon-forum.eu/threads/running-tvheadend-directly-on-sf4008.2236/"?
By the way i am using that same mutant as minisatip server with asix network and pulling streams by http (because of the problem reported on #5428 with wan use!)
That's not the problem but why do you compile tvheadend and don't use tvheadend on enigma as @Peter Bašista did "https://octagon-forum.eu/threads/running-tvheadend-directly-on-sf4008.2236/"?
By the way i am using that same mutant as minisatip server with asix network and pulling streams by http (because of the problem reported on #5428 with wan use!)
@Ricardo Rocha, thanks for pointing out the "chroot" option. But I'm still missing a complete step by step howto, google cache didn't reveal that much info on @Peter Bašista his post and I don't feel like registering on that forum.
Would you like to consider writing a step by step tutorial for chrooting debian on the hd530c at this tvheadend forum?
If you have any hints for building/installing dbg versions on openpli/enigma or other methods to produce usefull debug info with the standard tvheadend package I'm willing to try time
@Ricardo Rocha, thanks for pointing out the "chroot" option. But I'm still missing a complete step by step howto, google cache didn't reveal that much info on @Peter Bašista his post and I don't feel like registering on that forum. Would you like to consider writing a step by step tutorial for chrooting debian on the hd530c at this tvheadend forum?
@Walter av i didn't tried it for my self but it seens after read it a really better way to run it compared with all the workarounds needed to compile it to enigma!
Let's try to bring @Peter Bašista to discussion... i am sure he don't have troubles in explain the process!
Regarding the usage of Debootstrap to bootstrap a Debian base system in a directory and then use it with chroot on your receiver, there are no special requirements that I am aware of. Just follow the guide, mount the directories properly and it should work fine. This part of /etc/fstab may be useful:
I am not using this approach anymore, because for a simple use case like just using Tvheadend and nothing more, it is simpler for me to build it using bitbake. I have posted another answer to Stack Exchange question about how to install Tvheadend on a set-top-box running OpenEmbedded-based Linux, which roughly explains one of the ways to do it.
Walter av wrote:
I'm still having difficulties of running/installing the dbg version of Tvheadend.
When you build it using bitbake, it will generate all the dbg packages as well. If some dependencies of dbg packages are missing, you can simply build them in the same way.
Recompiled Tvheadend 4.3x 7fdc6f0549147ba0c25d652c5efe1bdaed6e7543 with --enable-trace and ran 4 linuxdvb logs. For every log I ran a network tuning scan on each individual tuner separately ending with watching a fta HD channel in the end.
The last log is has tuner 1 and tuner 0 enabled and it locks Tvheadend when starting to watch a service on tuner 1 while a service on tuner 0 was already running.
When tuner0 and tuner1 are both used at the same time when watching a channel a deadlock arise, since the process is still running and OpenPLi is ssh accessable however the process of Tvheadend is unkillable.
Here a crashlog with '--thrdebug 1', still investigating howto compile dbg version.