We're updating the issue view to help you get more done. 

Olinuxino Lime-A64 Headphone Output Not Detected

Description

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)

Activity

Show:
Adam Fancher
November 19, 2020, 4:42 PM

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:

/dts-v1/;
/plugin/;

/ {
compatible = "allwinner,sun50i-a64";

};

Note that headphones and AIF1 DA0 are muted by default, so volume must be set in audio mixer.

Adam Fancher
November 20, 2020, 4:17 PM

Just wanted to mention that Levent Erenler and guidol were instrumental in leading me to the solution. Thanks guys!

Adam Fancher
November 20, 2020, 4:18 PM

Resolution confirmed, a pull request will be created.

Martin Ayotte
November 20, 2020, 7:17 PM

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 …

Adam Fancher
November 20, 2020, 10:47 PM

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.

Assignee

Unassigned

Reporter

Adam Fancher

Components

Labels

None

Priority

Medium
Configure