All of lore.kernel.org
 help / color / mirror / Atom feed
From: GitHub issues - edited <github@alsa-project.org>
To: alsa-devel@alsa-project.org
Subject: sof-soundwire: cs42l43 headphone output is muted due to missing Headphone Switch in UCM
Date: Sun,  5 Jul 2026 12:18:25 +0200 (CEST)	[thread overview]
Message-ID: <18bf5d6dac411300-webhooks-bot@alsa-project.org> (raw)
In-Reply-To: <18bf5d6dac381b00-webhooks-bot@alsa-project.org>

alsa-project/alsa-ucm-conf issue #804 was edited from Natializd:

Hi,
    
    I'm using a Dell Pro Max 16 Plus (Intel 800 Series ACE / cs42l43
    codec via SoundWire) running Ubuntu 26.04 with kernel 7.0.0-27-generic.
    
    When booting up or logging in with headphones plugged in, I get no
    sound output. The desktop environment shows that headphones are
    selected and unmuted, but there is complete silence.
    
    Checking the mixer status using amixer shows that the "Headphone Switch"
    control on card 1 remains off:
    $ amixer -c 1 cget name='Headphone Switch'
    numid=90,iface=MIXER,name='Headphone Switch'
      ; type=BOOLEAN,access=rw------,values=1
      : values=off
    
    If I manually toggle it on, sound starts working immediately:
    $ amixer -c 1 cset name='Headphone Switch' on
    
    The root cause is that `/usr/share/alsa/ucm2/sof-soundwire/cs42l43.conf`
    is missing mappings for the Headphone Switch in both the sequences
    and values.
    
    I manually edited the configuration file under SectionDevice."Headphones"
    from this:
    
    
    EnableSequence [
        cset "name='cs42l43 Headphone L Input 1' 'DP5RX1'"
        cset "name='cs42l43 Headphone R Input 1' 'DP5RX2'"
    ]
    
    DisableSequence [
        cset "name='cs42l43 Headphone L Input 1' 'None'"
        cset "name='cs42l43 Headphone R Input 1' 'None'"
    ]

    Value {
        PlaybackPriority 200
        PlaybackPCM "hw:${CardId},0"
        PlaybackVolume "cs42l43 Headphone Digital Volume"
        JackControl "Headphone Jack"
    }


    To this:


    EnableSequence [
        cset "name='cs42l43 Headphone L Input 1' 'DP5RX1'"
        cset "name='cs42l43 Headphone R Input 1' 'DP5RX2'"
        cset "name='Headphone Switch' on"
    ]

    DisableSequence [
        cset "name='cs42l43 Headphone L Input 1' 'None'"
        cset "name='cs42l43 Headphone R Input 1' 'None'"
        cset "name='Headphone Switch' off"
    ]

    Value {
        PlaybackPriority 200
        PlaybackPCM "hw:${CardId},0"
        PlaybackVolume "cs42l43 Headphone Digital Volume"
        PlaybackSwitch "Headphone Switch"
        JackControl "Headphone Jack"
    }


    After restarting PipeWire/WirePlumber, the operating system now
    correctly manages the hardware switch automatically and the audio
    works on boot/login.

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

       reply	other threads:[~2026-07-05 10:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <18bf5d6dac381b00-webhooks-bot@alsa-project.org>
2026-07-05 10:18 ` GitHub issues - edited [this message]
     [not found] <18bf5d4731a8a700-webhooks-bot@alsa-project.org>
2026-07-05 10:15 ` sof-soundwire: cs42l43 headphone output is muted due to missing Headphone Switch in UCM GitHub issues - opened

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=18bf5d6dac411300-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.