From: GitHub pull_request - opened <github@alsa-project.org>
To: alsa-devel@alsa-project.org
Subject: ucm2: codecs/wcd939x: disable headphone companders
Date: Fri, 4 Dec 2026 03:49:52 +0100 (CET) [thread overview]
Message-ID: <18eded2985a47f00-webhooks-bot@alsa-project.org> (raw)
In-Reply-To: <alsa-project/alsa-ucm-conf/pr/942@alsa-project.org>
alsa-project/alsa-ucm-conf pull request #942 was opened from transentient:
On WCD939x (tested on WCD9395 / SM8750 on an AYN Odin 3), leaving `HPHL_COMP Switch` and `HPHR_COMP Switch` enabled over the mainline SoundWire simple data-port path (`SDW_DPN_SIMPLE`, without vendor `DPn_OffsetCtrl2 = 0x0b`) misroutes the left-channel compander gain port and attenuates `HPHL` by **1.8–3.2 dB** relative to `HPHR` depending on volume.
This sets both `HPHR_COMP Switch` and `HPHL_COMP Switch` to `0` in `ucm2/codecs/wcd939x/HeadphoneEnableSeq.conf`, matching `ucm2/codecs/wcd938x/HeadphoneEnableSeq.conf` (and providing hardware test confirmation for `wcd939x` noted in #595 / #670).
### Hardware testing (WCD9395 / SM8750, AYN Odin 3)
Analog loopback 1 kHz stereo RMS measurements on the 3.5 mm headphone jack:
- **Before (`HPH*_COMP Switch = 1`):** L channel 1.8–3.2 dB quieter than R channel across volume steps.
- **After (`HPH*_COMP Switch = 0`):** L and R channels match within **< 0.1 dB** across 25%, 50%, 75%, and 100% volume with clean output.
Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/942
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/942.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf
parent reply other threads:[~2026-12-04 2:50 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <alsa-project/alsa-ucm-conf/pr/942@alsa-project.org>]
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=18eded2985a47f00-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.