* Lenovo Yoga 7i no speaker audio / microphone
[not found] <18ea35283c10c700-webhooks-bot@alsa-project.org>
@ 2026-11-22 0:04 ` GitHub issues - opened
0 siblings, 0 replies; only message in thread
From: GitHub issues - opened @ 2026-11-22 0:04 UTC (permalink / raw)
To: alsa-devel
alsa-project/alsa-ucm-conf issue #920 was opened from byrdie82:
**Summary**
On a Lenovo Yoga 7i 2-in-1 14" (Panther Lake, rt721 headset codec + rt1320 speaker amp over SoundWire), UCM fails to load because `ucm2/codecs/rt721+rt1320/init.conf` does not exist. PipeWire falls back to a generic `stereo-fallback` sink, so the built-in speakers produce no sound, the internal mic doesn't appear, and the mute LED stays on. Headphones work.
The `sof-soundwire/rt721+rt1320.conf` profile exists (added by the "sof-soundwire: add companion amp config with rt721 and rt1320" change), but the matching `codecs/rt721+rt1320/` directory is not in the repo. This is true for v1.2.16.1 and current master. Only `codecs/rt721/` and `codecs/rt1320/` exist.
**Hardware**
- Machine: Lenovo Yoga 7i 2-in-1 14" (`LENOVO-83TC-Yoga72_in_114IPH11-LNVNB161216`)
- CPU: Intel Core Ultra 7 355 (Panther Lake)
- Driver: `sof-audio-pci-intel-ptl`, SoundWire link 3 (rt721 part 0x0721, rt1320 part 0x1320)
- Distro: Ubuntu 26.10 (Kubuntu), alsa-ucm-conf 1.2.16.1-1ubuntu1
- Kernel: [output of `uname -r`]
**Card components**
```
cfg-amp:2 mic:dmic cfg-mics:4 iec61937-pcm:7,6,5 hs:rt721 spk:rt721+rt1320
```
**Error**
```
alsa-lib utils.c:373:(uc_mgr_config_load_into) could not open configuration file /usr/share/alsa/ucm2/codecs/rt721+rt1320/init.conf
alsa-lib parser.c:80:(uc_mgr_config_load_file) failed to open file /usr/share/alsa/ucm2/codecs/rt721+rt1320/init.conf: -2
alsa-lib main.c:1805:(snd_use_case_mgr_open) failed to import hw:0 use case configuration -2
```
Resulting PipeWire sink: `alsa_output.pci-0000_00_1f.3-platform-sof_sdw.stereo-fallback`
**Steps to reproduce**
1. Install a distro with alsa-ucm-conf 1.2.16.x on this hardware.
2. Run `sudo alsactl init` (or check `journalctl -b | grep -iE "ucm|alsa-lib"`).
3. Observe the errors above.
**Workaround**
Add `ucm2/codecs/rt721+rt1320/init.conf` that includes the two existing single-codec init files:
```diff
diff --git a/ucm2/codecs/rt721+rt1320/init.conf b/ucm2/codecs/rt721+rt1320/init.conf
new file mode 100644
--- /dev/null
+++ b/ucm2/codecs/rt721+rt1320/init.conf
@@ -0,0 +1,3 @@
+# Combined init: rt721 headset codec + rt1320 companion speaker amp
+Include.rt721.File "/codecs/rt721/init.conf"
+Include.rt1320.File "/codecs/rt1320/init.conf"
```
**Result with the workaround**
After creating this file at `/usr/share/alsa/ucm2/codecs/rt721+rt1320/init.conf` and running `sudo alsactl init`:
- The `alsa-lib` errors are gone
- Built-in speakers work in stereo
- The mute LED now follows the mute state
- Internal mic: working
Issue URL : https://github.com/alsa-project/alsa-ucm-conf/issues/920
Repository URL: https://github.com/alsa-project/alsa-ucm-conf
^ permalink raw reply [flat|nested] only message in thread