Audio

On this page

Lives in: fp6-mobian-support (UCM, topology, echo-cancel, imsd drop-in), the kernel (catcrafts/ WCD9378 codec patches, sound DT), and droid-juicer (amp config blob). Upstream target: UCM → alsa-ucm-conf; topology source → audioreach-topology; topology binary → linux-firmware; echo-cancel → milos-support or mobian-tweaks.

Signal path

Files

FileOriginLicence
MILOS-Fairphone-Gen6-tplg.binbuilt from source by tools/build-topology.sh: Catcrafts’ audioreach-topology, branch fp6 (commit 76e1078), cmake && make with m4 + alsatplg on Debian forky (tools/Containerfile.tplg), checked against a pinned sha256. Byte-identical to Catcrafts’ shipped binary; not kept in gitBSD-3-Clause
UCM conf.d/milos/MILOS-Fairphone-Gen6.conffp6-img ucm-milos-fp6.conf (commit 41f6fb4), verbatimBSD-3-Clause
UCM Fairphone/fp6/HiFi.conffp6-img HiFi.conf (commit 41f6fb4), verbatimBSD-3-Clause
50-fp6-echo-cancel.conffp6-img 50-echo-cancel.conf (commit 41f6fb4), modifiedBSD-3-Clause
aw88261_acf.binamp tuning, proprietary; extracted by droid-juicer from vendornot distributed

The UCM’s mic section handles two kernel drivers: with the WCD9378 codec driver the codec controls exist and get set; with Catcrafts’ SDCA-class prototype driver the codec powers up by itself and only the TX macro half applies.

Echo cancellation for calls

libpipewire-module-echo-cancel with WebRTC creates ec_sink (call playback; also the AEC reference) and ec_source (mic minus the speaker signal). Changes from Catcrafts’ version:

No WirePlumber fragment: per Catcrafts, api.alsa.use-acp=false breaks node creation, and ACP reads the UCM verbs fine.

Tested

Known issues and open ends