alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Missing UCM matcher for ASUS Zenbook S 14 UX5406SA (cs42l43/cs35l56, Lunar Lake)
       [not found] <1868eaa425367800-webhooks-bot@alsa-project.org>
@ 2025-09-26 19:07 ` GitHub issues - opened
  0 siblings, 0 replies; 2+ messages in thread
From: GitHub issues - opened @ 2025-09-26 19:07 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-ucm-conf issue #619 was opened from sjolo312:

This is not a kernel bug but a missing UCM matcher.

Result:
With the matcher below and the latest upstream alsa-ucm-conf files, speakers and microphone work on the ASUS Zenbook S 14 UX5406SA (Lunar Lake, cs42l43 + cs35l56).

Tested on:
- Ubuntu 25.10 beta (up-to-date live session)
- alsa-ucm-conf: upstream master from GitHub (as of 2025-09-26)

CardLongName:
ASUSTeKCOMPUTERINC.-ASUSZenbookS14UX5406SA_UX5406SA-1.0-UX5406SA

Root cause:
Upstream master does not contain a matcher for this CardLongName, so no UCM profile is loaded (-> “Dummy Output”).
Adding the matcher below ensures the existing sof-soundwire profile (which already includes cs42l43/cs35l56 routes) is loaded, and audio works.

Proposed new file:
Path: ucm2/conf.d/sof-soundwire/ASUS-Zenbook-S14-UX5406SA.conf

# ASUS Zenbook S 14 UX5406SA (Lunar Lake)
SectionDefaults."sof-soundwire" {
    Condition {
        Type Regex
        CardLongName "ASUSTeKCOMPUTERINC.-ASUSZenbookS14UX5406SA.*"
    }
    Include.conf "sof-soundwire/sof-soundwire.conf"
}

Verification (files actually loaded):
Gathered with:
strace -f -e trace=%file -o /tmp/ucm.trace \
  alsaucm -c sof-soundwire list _verbs >/dev/null 2>&1
grep -oE '/usr/share/alsa/ucm2/[^"]+' /tmp/ucm.trace | sort -u

Resulting files included:
/usr/share/alsa/ucm2/Intel/sof-hda-dsp/dsp.conf
/usr/share/alsa/ucm2/blobs/sof/product_configs/ASUSTeK COMPUTER INC./ASUS Zenbook S 14 UX5406SA_UX5406SA.conf
/usr/share/alsa/ucm2/blobs/sof/user_configs/ASUSTeK COMPUTER INC./ASUS Zenbook S 14 UX5406SA_UX5406SA.conf
/usr/share/alsa/ucm2/codecs/cs35l56/init.conf
/usr/share/alsa/ucm2/codecs/cs42l43/init.conf
/usr/share/alsa/ucm2/codecs/hda/hdmi.conf
/usr/share/alsa/ucm2/common/ctl/led.conf
/usr/share/alsa/ucm2/common/pcm/hdmi.conf
/usr/share/alsa/ucm2/conf.d/sof-soundwire/ASUSTeKCOMPUTERINC.-ASUSZenbookS14UX5406SA_UX5406SA-1.0-UX5406SA.conf
/usr/share/alsa/ucm2/conf.d/sof-soundwire/sof-soundwire.conf
/usr/share/alsa/ucm2/lib/card-init.conf
/usr/share/alsa/ucm2/lib/ctl-remap.conf
/usr/share/alsa/ucm2/lib/generic.conf
/usr/share/alsa/ucm2/sof-soundwire/Hdmi.conf
/usr/share/alsa/ucm2/sof-soundwire/HiFi.conf
/usr/share/alsa/ucm2/sof-soundwire/cs35l56.conf
/usr/share/alsa/ucm2/sof-soundwire/cs42l43.conf
/usr/share/alsa/ucm2/sof-soundwire/dmic.conf
/usr/share/alsa/ucm2/ucm.conf

Request:
Please add this matcher to alsa-ucm-conf upstream, so that the ASUS Zenbook S 14 UX5406SA works out-of-the-box on all Linux distributions.

Happy to test any proposed patch or provide further logs if needed.

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

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

* Missing UCM matcher for ASUS Zenbook S 14 UX5406SA (cs42l43/cs35l56, Lunar Lake)
       [not found] <1868eaf785730000-webhooks-bot@alsa-project.org>
@ 2025-09-26 19:13 ` GitHub issues - edited
  0 siblings, 0 replies; 2+ messages in thread
From: GitHub issues - edited @ 2025-09-26 19:13 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-ucm-conf issue #619 was edited from sjolo312:

This is not a kernel bug but a missing UCM matcher.

Result:
With the matcher below and the latest upstream alsa-ucm-conf files, speakers and microphone work on the ASUS Zenbook S 14 UX5406SA (Lunar Lake, cs42l43 + cs35l56).

Tested on:
- Ubuntu 25.10 beta (up-to-date live session)
- alsa-ucm-conf: upstream master from GitHub (as of 2025-09-26)

CardLongName:
`ASUSTeKCOMPUTERINC.-ASUSZenbookS14UX5406SA_UX5406SA-1.0-UX5406SA`

Root cause:
Upstream master does not contain a matcher for this CardLongName, so no UCM profile is loaded (-> “Dummy Output”).
Adding the matcher below ensures the existing sof-soundwire profile (which already includes cs42l43/cs35l56 routes) is loaded, and audio works.

Proposed new file:
Path: `ucm2/conf.d/sof-soundwire/ASUS-Zenbook-S14-UX5406SA.conf`




```
# ASUS Zenbook S 14 UX5406SA (Lunar Lake)
SectionDefaults."sof-soundwire" {
    Condition {
        Type Regex
        CardLongName "ASUSTeKCOMPUTERINC.-ASUSZenbookS14UX5406SA.*"
    }
    Include.conf "sof-soundwire/sof-soundwire.conf"
}

```


Verification (files actually loaded):
Gathered with:
`strace -f -e trace=%file -o /tmp/ucm.trace \
  alsaucm -c sof-soundwire list _verbs >/dev/null 2>&1
grep -oE '/usr/share/alsa/ucm2/[^"]+' /tmp/ucm.trace | sort -u
`

Resulting files included:
`
/usr/share/alsa/ucm2/Intel/sof-hda-dsp/dsp.conf
/usr/share/alsa/ucm2/blobs/sof/product_configs/ASUSTeK COMPUTER INC./ASUS Zenbook S 14 UX5406SA_UX5406SA.conf
/usr/share/alsa/ucm2/blobs/sof/user_configs/ASUSTeK COMPUTER INC./ASUS Zenbook S 14 UX5406SA_UX5406SA.conf
/usr/share/alsa/ucm2/codecs/cs35l56/init.conf
/usr/share/alsa/ucm2/codecs/cs42l43/init.conf
/usr/share/alsa/ucm2/codecs/hda/hdmi.conf
/usr/share/alsa/ucm2/common/ctl/led.conf
/usr/share/alsa/ucm2/common/pcm/hdmi.conf
/usr/share/alsa/ucm2/conf.d/sof-soundwire/ASUSTeKCOMPUTERINC.-ASUSZenbookS14UX5406SA_UX5406SA-1.0-UX5406SA.conf
/usr/share/alsa/ucm2/conf.d/sof-soundwire/sof-soundwire.conf
/usr/share/alsa/ucm2/lib/card-init.conf
/usr/share/alsa/ucm2/lib/ctl-remap.conf
/usr/share/alsa/ucm2/lib/generic.conf
/usr/share/alsa/ucm2/sof-soundwire/Hdmi.conf
/usr/share/alsa/ucm2/sof-soundwire/HiFi.conf
/usr/share/alsa/ucm2/sof-soundwire/cs35l56.conf
/usr/share/alsa/ucm2/sof-soundwire/cs42l43.conf
/usr/share/alsa/ucm2/sof-soundwire/dmic.conf
/usr/share/alsa/ucm2/ucm.conf
`


Request:
Please add this matcher to alsa-ucm-conf upstream, so that the ASUS Zenbook S 14 UX5406SA works out-of-the-box on all Linux distributions.

Happy to test any proposed patch or provide further logs if needed.

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

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

end of thread, other threads:[~2025-09-26 19:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1868eaa425367800-webhooks-bot@alsa-project.org>
2025-09-26 19:07 ` Missing UCM matcher for ASUS Zenbook S 14 UX5406SA (cs42l43/cs35l56, Lunar Lake) GitHub issues - opened
     [not found] <1868eaf785730000-webhooks-bot@alsa-project.org>
2025-09-26 19:13 ` GitHub issues - edited

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).