The source project of this merge request has been removed.
Enable jack detection for 5.6 kernel
This commit enables jack insertion detection so that automatic switching can be executed when plugging/unplugging the headphones/headset.
Please see here for an example of working ucm file (please note the ucm config has been renamed from sun50i-a64-audio
to PinePhone
in the process).
Additionally, pulseaudio needs 2 patches to properly handle port switching on the PinePhone, in order to:
- not switch profile if the active profile has been selected externally (rejected upstream, needs a different approach)
- use the correct port on a profile switch (probably not upstreamable as is)
Edited by Arnaud Ferraris