aboutsummaryrefslogtreecommitdiff
path: root/configs/wireplumber/50-disable-ucm.conf
blob: 99cf8cb4bc682fda9b671483731bad3813c7ba23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Framework Laptop 13 (AMD Ryzen AI 300 Series): the ACP PDM digital-mic driver
# returns saturated full-scale garbage, a known and still-open kernel bug on
# Strix Point and Krackan Point. Framework community threads:
#   https://community.frame.work/t/81866  (Krackan Point, SOF/ACP timeline)
#   https://community.frame.work/t/75748  (Ryzen AI 340, Fedora 42)
# With UCM on, PipeWire exposes only that broken DMIC as the internal mic. Turning
# UCM off makes the ALC285 codec fall back to its analog-stereo profile, whose
# Internal Microphone pin works. Remove this file and restart wireplumber to revert.
monitor.alsa.properties = {
  alsa.use-ucm = false
}

# The standalone ACP PDM card (the broken digital mic) still appears without UCM;
# disable it so no app or default-selection can pick it. The ~ prefix makes the
# match a regex over the card name rather than one PCI path (pci-0000_c1_00.5 on
# velox), so the same board with a renumbered bus is still caught.
monitor.alsa.rules = [
  {
    matches = [ { device.name = "~alsa_card.pci-.*-platform-acp-pdm-mach" } ]
    actions = { update-props = { device.disabled = true } }
  }
]