I’m having trouble getting HDMI audio to work. I’ve followed the steps above, including installing the package linked by @RadxaYuntian. I see the “Analog Mono Output” under pavucontrol “Output Devices”, and when I try a test like “aplay test.wav”, I see an active sound bar in the window.
dmesg shows the following errors, however, and I don’t hear any sound:
Playing WAVE ‘audiocheck.net_whitenoisegaussian.wav’ : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
[ 1686.032097] hdmi-audio-codec hdmi-audio-codec.4.auto: Not able to map channels to speakers (-22)
[ 1686.035232] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22
[ 1686.044946] axg-sound-card sound: ASoC: PRE_PMU: be.dai-link-4-playback event failed: -22
I’m using this display with built-in speaker, and have tested that the speaker works when HDMI is plugged into my laptop.
aplay devices show the following:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: RADXAZERO [RADXA-ZERO], device 0: fe.dai-link-0 () []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: RADXAZERO [RADXA-ZERO], device 1: fe.dai-link-1 () []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: RADXAZERO [RADXA-ZERO], device 2: fe.dai-link-2 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
And I am running this release:
$ uname -r
5.10.69-12-amlogic-g98700611d064
Any suggestions?