Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: GitHub issues - opened <github@alsa-project.org>
To: alsa-devel@alsa-project.org
Subject: Lenovo Yoga 7i no speaker audio / microphone
Date: Sun, 22 Nov 2026 01:04:10 +0100 (CET)	[thread overview]
Message-ID: <18ea35283c335500-webhooks-bot@alsa-project.org> (raw)
In-Reply-To: <18ea35283c10c700-webhooks-bot@alsa-project.org>

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

           reply	other threads:[~2026-11-22  0:04 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <18ea35283c10c700-webhooks-bot@alsa-project.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18ea35283c335500-webhooks-bot@alsa-project.org \
    --to=github@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox