On the 20.08.2 Buster release (Kernel 5.8.6) the headphone jack is not currently working.
HDMI audio seems to be supported.
aplay -L returns only the HDMI audio interface. (sun50i-a64-hdmi) but is not showing the headphone interface (should additionally show sun50i-a64-audio as in other working builds)
This is also the case with the current development build (Armbian_20.11.0-trunk.32_Lime-a64_buster_current_5.9.7)
A solution has been found at https://forum.armbian.com/topic/15848-pine64-a64-kernel-59x-analog-sound-problem/
The issue apparently is also present on the Pine64.
In the existing device tree, a widget property exists that specifies audio off-codec DAPM (Dynamic Audio Power Management for Portable Devices). This widget property disables analog audio and must be removed, in addition to linking routing properties.
I was able to apply the following overlay:
compatible = "allwinner,sun50i-a64";
Note that headphones and AIF1 DA0 are muted by default, so volume must be set in audio mixer.
Resolution confirmed, a pull request will be created.
What this PR will provided ?
I’ve tried either on Pinbook-a64, Pine64+, OrangepiWin, and although audio_analog is shown in alsamixer, I’ve no output on speaker itself… I’ve probably missed something …
I’ll try and get the pull request in this weekend. It’s my first time submitting one so hopefully it goes OK.
Did you make sure that headphones and AIF1 DA0 are not muted?
This turned out to be the case for me.