Skip to content

Rework UCM profiles

Arnaud Ferraris requested to merge (removed):rework-ucm into master

As discussed in calls!151 (closed), this MR improves UCM profile for the codec by splitting input and output paths (so both devices can be selected individually) and use standard ALSA names.

WIP as it requires additional testing and the following fixes/enhancement:

  • fix microphones enable/disable sequences (currently the internal microphone is always active, and the headset microphone doesn't work)
  • improve switching logic by providing a jack control dedicated to headset microphone detection (implemented in the wm8962 driver, but requires additional kernel logic to be available to userspace)
  • (nice to have, but optional at this stage) rename the sound card to Librem5 https://source.puri.sm/Librem5/linux-next/-/merge_requests/223
  • release the routing daemon

cc @sebastian.krzyszkowiak @guido.gunther

Edited by Arnaud Ferraris

Merge request reports