It seems like enigma2 does tune into the channel after you turn it on but it's kept in locked state after that.
after I turn on the device apparently the channel does send the ts stream but the amdecoder crashes which causes enigma2 to crash
Some logs:
[eDVBServicePlay] eventNewProgramInfo timeshift_enabled=0 timeshift_active=0
[eDVBServicePlay] have 1 video stream(s) (0921), and 1 audio stream(s) (0d07), and the pcr pid is 0921, and the text pid is ffffffff
[eDVBChannel] getDemux cap=01
[eAMLTSMPEGDecoder] SETTING UP DECODER ------------ WETEK
TuxTxt cache cleared
[eAMLTSMPEGDecoder::setVideoPID] vpid=2337, type=1 MPEG4 H264
AM_DEBUG:("linkhal/linkhal.c" 683)aml_change_vpid: vpid = 2337 vtype 2 ########################### isPlay 0
[eAMLTSMPEGDecoder::setAudioPID] apid=3335, type=0 MPEG
[eAMLTSMPEGDecoder::setSyncPCR] pcrpid=2337
[eAMLTSMPEGDecoder::setTextPID] textpid=-1
[eAMLTSMPEGDecoder::osdBlank] cmd=0
[eAMLTSMPEGDecoder::osdBlank] cmd=1
[eAMLTSMPEGDecoder::play] Amlogic CODEC open success apid=3335 vpid=2337!!!!!
[eAMLTSMPEGDecoder::setAvsyncEnable] enable=0
[eAMLTSMPEGDecoder::setAvsyncEnable] enable=1
[gRC] main thread is non-idle! display spinner!
audiodec_init!media.amplayer.audiocodec = ape,flac,dts,ac3,eac3,wma,wmapro,mp3,aac,vorbis,raac,cook,amr,pcm,adpcm,aac_latm,rm, t->type = mp3
set_multichs_prop: aud_cap support channel number: 2 ch
[find_audio_lib 97]audec->format/0 audec->codec_id/0x0
audio_lib_list[i].name libmad_aml.so
f->name libmad_aml.so
f->codec_id 0
Backtrace:
/usr/bin/enigma2(_Z17handleFatalSignaliP9siginfo_tPv) [0x46E5BC]
linux-vdso.so.1(__kernel_rt_sigreturn) [0x7FA43E3510]
/usr/lib/libamavutils.so(itemlist_find_match_item) [0x7FA303A504]
-------FATAL SIGNAL
[gRC] main thread is non-idle! display spinner!
Killed
[eDVBSectionReader] ERROR reading section - Value too large for defined data type
TuxTxt cache cleared
AM_DEBUG:("linkhal/linkhal.c" 683)aml_change_vpid: vpid = 2337 vtype 2 ########################### isPlay 0
audiodec_init!media.amplayer.audiocodec = ape,flac,dts,ac3,eac3,wma,wmapro,mp3,aac,vorbis,raac,cook,amr,pcm,adpcm,aac_latm,rm, t->type = mp3
set_multichs_prop: aud_cap support channel number: 2 ch
[find_audio_lib 97]audec->format/0 audec->codec_id/0x0
audio_lib_list[i].name libmad_aml.so
f->name libmad_aml.so
f->codec_id 0
Backtrace:
/usr/bin/enigma2(_Z17handleFatalSignaliP9siginfo_tPv) [0x46E5BC]
linux-vdso.so.1(__kernel_rt_sigreturn) [0x7F7FDDF510]
/usr/lib/libamavutils.so(itemlist_find_match_item) [0x7F7EA36504]
-------FATAL SIGNAL
Killed
[ 1301.972711@0] codec:vdec_create instance ffffff8003ce5000, total 1
[ 1301.973393@0] codec:set pcrid = 0x921
[ 1301.977177@0] DMX: demux0 smallsec buf disable
[ 1301.981273@0] DMX: demux0 timeout disable
[ 1301.985241@0] DMX: demux0 timeout enable:timeout(9000),ch(0xfffffff8),match(1)
[ 1301.992428@0] DMX: demux1 smallsec buf disable
[ 1301.996796@0] DMX: demux1 timeout disable
[ 1302.000765@0] DMX: demux1 timeout enable:timeout(9000),ch(0xfffffff8),match(1)
[ 1302.007952@0] DMX: demux2 smallsec buf disable
[ 1302.012321@0] DMX: demux2 timeout disable
[ 1302.016290@0] DMX: demux2 timeout enable:timeout(9000),ch(0xfffffff8),match(1)
[ 1302.023682@0] DMX: demux0 smallsec buf disable
[ 1302.027846@0] DMX: demux0 timeout disable
[ 1302.031815@0] DMX: demux0 timeout enable:timeout(9000),ch(0xfffffff8),match(1)
[ 1302.039000@0] DMX: demux1 smallsec buf disable
[ 1302.043371@0] DMX: demux1 timeout disable
[ 1302.047340@0] DMX: demux1 timeout enable:timeout(9000),ch(0xfffffff8),match(1)
[ 1302.054524@0] DMX: demux2 smallsec buf disable
[ 1302.058896@0] DMX: demux2 timeout disable
[ 1302.062865@0] DMX: demux2 timeout enable:timeout(9000),ch(0xfffffff8),match(1)
[ 1302.070256@0] DMX: demux0 smallsec buf disable
[ 1302.074421@0] DMX: demux0 timeout disable
[ 1302.078390@0] DMX: demux0 timeout enable:timeout(9000),ch(0xfffffff8),match(1)
After that If I run enigma2 again I get the previous "timeout reading pat" error and I have to restart the device to be able to tune again.
This is annoyig and makes debugging the amdecoder a pain in the ass.
I think tvheaded works because it doesn't use the hardware demuxer (/dev/dvb/adapter0/demux0) instead it uses some sort of software demuxing.