Hi All,
First of all good news, with kernel 4.15-rc2 and alsa-lib 1.1.5 audio over hdmi works on Cherry Trail devices after selecting the right output profile.
But when unplugging the hdmi cable pa dies. Running pa under gdb says it gets killed with SIGKILL, so I think this is another realtime issue where it gets killed by the kernel for exceeding its CPU budget.
I've a log file of a run which ends with SIGKILL here: https://fedorapeople.org/~jwrdegoede/pulseaudio-cht-hdmi.log
What stands out is a whole lot of errors / underruns after: D: [pulseaudio] module-alsa-card.c: Jack 'HDMI/DP,pcm=1 Jack' is now unplugged D: [pulseaudio] device-port.c: Setting port hdmi-output-1 to status no
So it seems that the problem is that pa still tries to use the device after the unplug, even though it sees the unplug before getting any errors.
Regards,
Hans