Running the official Debian CLI image on Rock 5B, I am unable to get the audio working on the 3.5mm headphone jack.
$ uname -a
Linux rock-5b 5.10.110-15-rockchip #a2d3d7e5d SMP Mon Sep 4 11:55:03 UTC 2023 aarch64 GNU/Linux
aplay -l
shows;
**** List of PLAYBACK Hardware Devices ****
card 0: rockchiphdmi0 [rockchip-hdmi0], device 0: rockchip-hdmi0 i2s-hifi-0 [rockchip-hdmi0 i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: rockchiphdmi1 [rockchip-hdmi1], device 0: rockchip-hdmi1 i2s-hifi-0 [rockchip-hdmi1 i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: rockchiphdmi2 [rockchip-hdmi2], device 0: rockchip-hdmi2 spdif-hifi-0 [rockchip-hdmi2 spdif-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: rockchipes8316 [rockchip-es8316], device 0: dailink-multicodecs es8316.7-0011-0 [dailink-multicodecs es8316.7-0011-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
However running the following command works successfully but produces no audio.
speaker-test -Dhw:3,0 -c2 -t wav -w /usr/share/sounds/alsa/Front_Center.wav
Is there something extra needed in setup to get audio working via the headphone jack?