All of lore.kernel.org
 help / color / mirror / Atom feed
* sof-soundwire: es9356: default the DMIC gain to +12 dB
       [not found] <alsa-project/alsa-ucm-conf/pr/912@alsa-project.org>
@ 2026-11-14 12:54 ` GitHub pull_request - opened
  0 siblings, 0 replies; 3+ messages in thread
From: GitHub pull_request - opened @ 2026-11-14 12:54 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-ucm-conf pull request #912 was opened from kannoy2024:

The internal DMIC capture gain control (FU11) starts at 0 dB, which is too quiet for normal recordings: the four steps are 6 dB apart (0/6/12/18 dB) and 0 dB leaves the voice well below the noise floor, so the internal microphone is unusable until the mixer is adjusted by hand.

Set +12 dB in the EnableSequence of the Mic device, following the pattern used by the other codecs (for example cs42l43-dmic sets its DP1TX inputs in the device EnableSequence).  The value is still applied through the normal mixer control, so it can be changed at runtime.

Tested on a MECHREVO WUJIE 14SAH (AMD ACP6.3, ES9356 on SoundWire link 0): setting the control to 0 dB by hand and then restarting PipeWire results in the device being enabled at +12 dB, and recording from the internal microphone is usable without any manual mixer change.

Request URL   : https://github.com/alsa-project/alsa-ucm-conf/pull/912
Patch URL     : https://github.com/alsa-project/alsa-ucm-conf/pull/912.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf

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

* sof-soundwire: es9356: default the DMIC gain to +12 dB
       [not found] <alsa-project/alsa-ucm-conf/pr/913@alsa-project.org>
@ 2026-11-14 13:03 ` GitHub pull_request - opened
  0 siblings, 0 replies; 3+ messages in thread
From: GitHub pull_request - opened @ 2026-11-14 13:03 UTC (permalink / raw)
  To: alsa-devel

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

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

* sof-soundwire: es9356: default the DMIC gain to +12 dB
       [not found] <alsa-project/alsa-ucm-conf/pr/914@alsa-project.org>
@ 2026-11-14 13:27 ` GitHub pull_request - opened
  0 siblings, 0 replies; 3+ messages in thread
From: GitHub pull_request - opened @ 2026-11-14 13:27 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-ucm-conf pull request #914 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/914
Patch URL     : https://github.com/alsa-project/alsa-ucm-conf/pull/914.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf

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

end of thread, other threads:[~2026-11-14 13:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <alsa-project/alsa-ucm-conf/pr/913@alsa-project.org>
2026-11-14 13:03 ` sof-soundwire: es9356: default the DMIC gain to +12 dB GitHub pull_request - opened
     [not found] <alsa-project/alsa-ucm-conf/pr/914@alsa-project.org>
2026-11-14 13:27 ` GitHub pull_request - opened
     [not found] <alsa-project/alsa-ucm-conf/pr/912@alsa-project.org>
2026-11-14 12:54 ` GitHub pull_request - opened

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.