From: GitHub pull_request - opened <github@alsa-project.org>
To: alsa-devel@alsa-project.org
Subject: sof-soundwire: es9356: default the DMIC gain to +12 dB
Date: Sat, 14 Nov 2026 14:03:05 +0100 (CET) [thread overview]
Message-ID: <18e7eb04de1d2200-webhooks-bot@alsa-project.org> (raw)
In-Reply-To: <alsa-project/alsa-ucm-conf/pr/913@alsa-project.org>
alsa-project/alsa-ucm-conf pull request #913 was opened from kannoy2024:
Set a usable default for the internal DMIC capture gain.
### Problem
The ES9356 DMIC gain control (`es9356 FU11 Capture Volume`) resets to 0 dB.
The control has four 6 dB steps (0/6/12/18 dB), so 0 dB leaves the recorded
voice well below the noise floor: the internal microphone is unusable until
the mixer is adjusted by hand, and users have no reason to know that the
control exists.
### Change
Add an `EnableSequence` to the `Mic` device in `sof-soundwire/es9356.conf`
that sets the gain to +12 dB. This follows the pattern used by other codecs
(for example `codecs/cs42l43-dmic.conf` configures its inputs in the device
`EnableSequence`). The control is still a normal mixer control, so the level
can be changed at runtime.
| file | change |
|---|---|
| `ucm2/sof-soundwire/es9356.conf` | `Mic`: set `es9356 FU11 Capture Volume` to 2 (+12 dB) in `EnableSequence` |
### Testing
MECHREVO WUJIE 14SAH (AMD ACP6.3, ES9356 on SoundWire link 0). The gain was
set to 0 dB by hand and PipeWire was then restarted:
- `amixer -c 1 cset numid=10 0`
- `systemctl --user restart pipewire pipewire-pulse wireplumber`
- `amixer -c 1 cget numid=10` → `: values=2` (the device came up at +12 dB)
`wpctl status` shows Speaker and Internal Microphone, and recording through
the internal microphone is usable without touching the mixer.
Related: the matching dB scale fix for this control is
https://git.kernel.org/broonie/sound/c/412a061ebf8c
Signed-off-by: Zachary Huang <zuzhenhuang365@gmail.com>
Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/913
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/913.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf
next parent reply other threads:[~2026-11-14 13:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <alsa-project/alsa-ucm-conf/pr/913@alsa-project.org>
2026-11-14 13:03 ` GitHub pull_request - opened [this message]
[not found] <alsa-project/alsa-ucm-conf/pr/914@alsa-project.org>
2026-11-14 13:27 ` sof-soundwire: es9356: default the DMIC gain to +12 dB GitHub pull_request - opened
2026-11-26 14:05 ` GitHub pull_request - edited
[not found] <alsa-project/alsa-ucm-conf/pr/912@alsa-project.org>
2026-11-14 12:54 ` GitHub pull_request - 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=18e7eb04de1d2200-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