Hi
I am trying to output audio via HDMI on PRi 5 with latest HAOS (17.0 with core 2026.1.2) but I cannot get it working.
RPi 5 is connected to my Samsung TV via HDMI0 (closest to power input)
I have a fresh install where is added this to config.txt
dtparam=audio=on
hdmi_force_hotplug
hdmi_drive=2
“ha audio info” shows “alsa_output.platform-107c701400.hdmi.hdmi-stereo”, but I cannot select HDMI output in Music Assistant.
I have tried some debugging but I am clearly no expert.
➜ / aplay -l
aplay: device_list:279: no soundcards found...
➜ / ls -l /proc/asound
total 0
➜ / dmesg | grep -i hdmi
[ 1.805983] rc rc0: vc4-hdmi-0 as /devices/platform/soc@107c000000/107c701400.hdmi/rc/rc0
[ 1.806028] input: vc4-hdmi-0 as /devices/platform/soc@107c000000/107c701400.hdmi/rc/rc0/input5
[ 1.809931] input: vc4-hdmi-0 HDMI Jack as /devices/platform/soc@107c000000/107c701400.hdmi/sound/card0/input6
[ 1.810894] vc4-drm axi:gpu: bound 107c701400.hdmi (ops vc4_hdmi_ops [vc4])
[ 1.812227] rc rc1: vc4-hdmi-1 as /devices/platform/soc@107c000000/107c706400.hdmi/rc/rc1
[ 1.812271] input: vc4-hdmi-1 as /devices/platform/soc@107c000000/107c706400.hdmi/rc/rc1/input7
[ 1.813176] input: vc4-hdmi-1 HDMI Jack as /devices/platform/soc@107c000000/107c706400.hdmi/sound/card1/input8
[ 1.814130] vc4-drm axi:gpu: bound 107c706400.hdmi (ops vc4_hdmi_ops [vc4])
➜ / ls -l /sys/class/drm
total 0
lrwxrwxrwx 1 root root 0 Jan 19 19:39 card0 -> ../../devices/platform/axi/1002000000.v3d/drm/card0
lrwxrwxrwx 1 root root 0 Jan 19 19:39 card1 -> ../../devices/platform/axi/axi:gpu/drm/card1
lrwxrwxrwx 1 root root 0 Jan 19 19:39 card1-HDMI-A-1 -> ../../devices/platform/axi/axi:gpu/drm/card1/card1-HDMI-A-1
lrwxrwxrwx 1 root root 0 Jan 19 19:39 card1-HDMI-A-2 -> ../../devices/platform/axi/axi:gpu/drm/card1/card1-HDMI-A-2
lrwxrwxrwx 1 root root 0 Jan 19 19:39 card1-Writeback-1 -> ../../devices/platform/axi/axi:gpu/drm/card1/card1-Writeback-1
lrwxrwxrwx 1 root root 0 Jan 19 19:39 card1-Writeback-2 -> ../../devices/platform/axi/axi:gpu/drm/card1/card1-Writeback-2
lrwxrwxrwx 1 root root 0 Jan 19 19:39 renderD128 -> ../../devices/platform/axi/1002000000.v3d/drm/renderD128
-r--r--r-- 1 root root 4096 Jan 19 19:43 version
➜ / lsmod | grep vc4
vc4 401408 8
drm_display_helper 24576 1 vc4
cec 53248 1 vc4
drm_dma_helper 24576 2 vc4
snd_soc_core 303104 2 vc4,snd_soc_hdmi_codec
drm_kms_helper 229376 3 vc4,drm_dma_helper,drm_shmem_helper
drm 675840 8 vc4,drm_display_helper,drm_dma_helper,v3d,gpu_sched,drm_shmem_helper,drm_kms_helper
PS: a fresh install of PiOS with above changes to config.txt has audio working right away.
Any help is highly appreciated
Karsten