alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: GitHub issues - opened <github@alsa-project.org>
To: alsa-devel@alsa-project.org
Subject: Missing UCM matcher for ASUS Zenbook S 14 UX5406SA (cs42l43/cs35l56, Lunar Lake)
Date: Fri, 26 Sep 2025 21:07:29 +0200 (CEST)	[thread overview]
Message-ID: <1868eaa425a88e00-webhooks-bot@alsa-project.org> (raw)
In-Reply-To: <1868eaa425367800-webhooks-bot@alsa-project.org>

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

       reply	other threads:[~2025-09-26 19:08 UTC|newest]

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

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=1868eaa425a88e00-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;
as well as URLs for NNTP newsgroup(s).