Skip to contentSkip to conversation

sofhdadsp: missing conf.d symlink causes DMIC invisible on Raptor Lake SOF HDA DSP laptops

DISCUSSION GitHub issues - opened 1 participant 1 message Mar 5 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

alsa-project/alsa-ucm-conf issue #714 was opened from bunaen:

## Hardware
- Lenovo ThinkPad X1 Carbon Gen 11 (21HM002CUS)
- Kernel: 6.19.5-1-default (openSUSE Tumbleweed)
- SOF driver: sof-audio-pci-intel-tgl
- SOF firmware: intel/sof/sof-rpl.ri, version 2:2:0-57864
- alsa-ucm-conf: 1.2.15.3

## Problem
Internal DMIC is completely invisible to PipeWire/WirePlumber. No microphone input appears in sound settings.

The DMIC hardware is present and functional at the raw ALSA level:

    $ arecord -l
    card 0: sofhdadsp [sof-hda-dsp], device 6: DMIC (*) []
    card 0: sofhdadsp [sof-hda-dsp], device 7: DMIC16kHz (*) []

But wpctl status showed no digital microphone source at all.

## Root Cause
The card reports its ALSA ID without hyphens:

    $ cat /proc/asound/card0/id
    sofhdadsp

UCM2 conf.d lookup is an exact string match on card ID. The repo ships conf.d/sof-hda-dsp/ (with hyphens) but there is no conf.d/sofhdadsp/ (without hyphens) entry. The lookup silently fails, WirePlumber loads no UCM profile, and the DMIC is never activated.

## Fix

    sudo ln -s /usr/share/alsa/ucm2/conf.d/sof-hda-dsp \
               /usr/share/alsa/ucm2/conf.d/sofhdadsp
    systemctl --user restart wireplumber

After this, wpctl status correctly shows:
- Raptor Lake-P/U/H cAVS Digital Microphone ✓
- Raptor Lake-P/U/H cAVS Stereo Microphone ✓

## Suggested Fix
Add to the repo:

    ucm2/conf.d/sofhdadsp -> sof-hda-dsp/

This likely affects all Raptor Lake laptops where the kernel reports the card ID as sofhdadsp rather than sof-hda-dsp.

Issue URL : https://github.com/alsa-project/alsa-ucm-conf/issues/714
Repository URL: https://github.com/alsa-project/alsa-ucm-conf