Hello ladies and gentlemen. Thanks for the opportunity to post. Please bear with me as I paste my post to the Kodi forum. I see there was once a response here to this problem but I would be really grateful for the latest news on this topic and any new ideas on a fix or workaround.
The new Pi4 does not play audio (as did the Pi3) through the No. 1 micro HDMI to the home theatre receiver... only video. I see online this is also a problem for people plugging straight into various tvs. And the No.2 port plays neither video or audio.
Someone in a Librelec forum posted this fix, but I haven't tried it. I will paste it below. But I would really like to hear from any forum members who have solved this in some way. And if no one has, well, just don't waste your money on the buggy Pi4 I guess.
Thanks. I have a feeling I will reinstate my Pi3
(and for the fix below, what is going on with the drive 2 setting? What drive?)
Sep 8th 2019
#4
I solved it with hdmi_drive=2
For anyone else who comes across this issue here's how to make the setting change. You need to have ssh enabled, then from another computer ssh to the libreelec box (replace ”libreelec” with the name of your box):
ssh root@libreelec
Then:
mount -o remount,rw /flash
nano /flash/config.txt
And add the line:
hdmi_drive=2
Ctrl+o to save and Ctrl+x to exit nano. Reboot and it should all work. You should also consider adding the line:
hdmi_force_hotplug=1
Which will ensure HDMI is used even if unplugged or the TV is off when the libreelec box is turned on.