All of lore.kernel.org
 help / color / mirror / Atom feed
From: GitHub pull_request - edited <github@alsa-project.org>
To: alsa-devel@alsa-project.org
Subject: ucm2/conf.d: add sof_sdw symlink for sof-soundwire driver rename
Date: Mon, 11 May 2026 16:30:24 +0200 (CEST)	[thread overview]
Message-ID: <18ae8942af8dbf00-webhooks-bot@alsa-project.org> (raw)
In-Reply-To: <alsa-project/alsa-ucm-conf/pr/759@alsa-project.org>

alsa-project/alsa-ucm-conf pull request #759 was edited from Pyohwan:

## Summary

The kernel ASoC machine driver for SoundWire-based SOF systems was historically named `sof-soundwire` and is now named `sof_sdw`. UCM lookup uses `\${var:Driver}` from `/sys/class/sound/cardN/device/driver`, so on current kernels the existing `conf.d/sof-soundwire/` directory is never matched and UCM is not loaded.

This adds a symlink under `conf.d/sof_sdw/` pointing at the existing `conf.d/sof-soundwire/sof-soundwire.conf`, mirroring the precedent set by PR #428 for the `apq8096` / `DB820c` rename.

## Why

Without UCM, PipeWire ACP falls back to the `pro-audio` profile which exposes channels as `AUX0`/`AUX1` instead of `FL`/`FR`, so stereo content is downmixed to one speaker and the GNOME Sound panel does not show separate Speaker/Headphones/HDMI options.

With this symlink, UCM detects the `HiFi` profile, alsa-card-profile creates proper sinks/sources, jack auto-routing works, and the GNOME Sound panel exposes the right output choices.

## Affected hardware (verified)

- Lenovo Yoga Slim 7 14ILL10 (cs42l43) — issue #645
- LG Gram Pro 2026 (16Z90U-KU7BK, RT713 + RT1320), Ubuntu 26.04, kernel 7.0.0-15

## Test plan

- [x] `alsaucm -c hw:0 list _verbs` returns `HiFi` (previously empty / no UCM)
- [x] PipeWire HiFi profile auto-activates with proper `front-left,front-right` channel mapping
- [x] Speakers play stereo correctly
- [x] Headphone jack auto-routes on plug
- [x] HDMI / built-in mic / headset mic all expose proper sinks/sources
- [x] No regressions on cards still using `sof-soundwire` driver name (symlink, not rename)

Request URL   : https://github.com/alsa-project/alsa-ucm-conf/pull/759
Patch URL     : https://github.com/alsa-project/alsa-ucm-conf/pull/759.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf

      parent reply	other threads:[~2026-05-11 14:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <alsa-project/alsa-ucm-conf/pr/759@alsa-project.org>
2026-05-09  8:19 ` ucm2/conf.d: add sof_sdw symlink for sof-soundwire driver rename GitHub pull_request - opened
2026-05-11 14:30 ` GitHub pull_request - edited [this message]

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=18ae8942af8dbf00-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.