All of lore.kernel.org
 help / color / mirror / Atom feed
* ucm2/conf.d: add sof_sdw symlink for sof-soundwire driver rename
       [not found] <alsa-project/alsa-ucm-conf/pr/759@alsa-project.org>
@ 2026-05-09  8:19 ` GitHub pull_request - opened
  2026-05-11 14:30 ` GitHub pull_request - edited
  1 sibling, 0 replies; 2+ messages in thread
From: GitHub pull_request - opened @ 2026-05-09  8:19 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-ucm-conf pull request #759 was opened 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* ucm2/conf.d: add sof_sdw symlink for sof-soundwire driver rename
       [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
  1 sibling, 0 replies; 2+ messages in thread
From: GitHub pull_request - edited @ 2026-05-11 14:30 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-11 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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 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.