Hi!
Unless mistaken, I believe audio is missing from 3.5mm jack on the RockPi4b. To enable it, I had:
- To update the dts by adding definitions close to the RockPro64 (some available starting in mainline 5.6)
- Change them to use I2S0 instead of I2S1
- Enable audio-graph-card in kernel config (I also removed some audio modules which issued warnings/errors during boot)
- Patch es8316.c to prevent a kernel panic during boot (found in Ayufan's latest mainline kernel for RockPro64)
yannick@rockpi-4b:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: rockchiprk3399 [rockchip,rk3399], device 0: ff880000.i2s-ES8316 HiFi ES8316 HiFi-0 [ff880000.i2s-ES8316 HiFi ES8316 HiFi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: hdmisound [hdmi-sound], device 0: ff8a0000.i2s-i2s-hifi i2s-hifi-0 [ff8a0000.i2s-i2s-hifi i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
And finally, activate the proper DACs with amixer:
amixer set 'Right Headphone Mixer Right DAC' on
amixer set 'Left Headphone Mixer Left DAC' on
Would you like a PR for this?
Cheers, and thanks for your work on Armbian!