]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
HDA-Intel: add Boost volume control for Headset Mic
authorHui Wang <hui.wang@canonical.com>
Thu, 17 Jun 2021 03:50:53 +0000 (11:50 +0800)
committerJaroslav Kysela <perex@perex.cz>
Mon, 23 Aug 2021 14:12:40 +0000 (16:12 +0200)
Ubuntu Linux users complain even they set the input volume to maximum,
they still can't record sound with a pretty satisfied volume, they
need to run commandline commands to adjust "Mic Boost/Headset Mic
Boost/Headphone Mic boost" value to increase the input volume.

That is because the current ucm only defines "Capture Volume" to
control the input volume. Here we add Boost control, then users could
adjust both "Capture Volume" and "Boost Volume" through Pulseaudio and
Gnome.

BugLink: https://bugs.launchpad.net/bugs/1930188
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/HDA-Intel/HiFi-analog.conf

index 1143a6758f875ee828c8b5f5b499260a9d10c8e5..1de9f9deea9407fab90fe0ba43bf7304bd9cd048 100644 (file)
@@ -101,6 +101,7 @@ If.monomic {
                        Value {
                                CapturePriority 200
                                Include.value.File "/HDA-Intel/HDA-Capture-value.conf"
+                               CaptureMasterElem "Headphone Mic Boost"
                                JackControl "Headphone Mic Jack"
                        }
                }
@@ -115,6 +116,7 @@ If.monomic {
                        Value {
                                CapturePriority 300
                                Include.value.File "/HDA-Intel/HDA-Capture-value.conf"
+                               CaptureMasterElem "Headset Mic Boost"
                                JackControl "Headphone Mic Jack"
                        }
                }
@@ -126,6 +128,7 @@ If.monomic {
                        Value {
                                CapturePriority 200
                                Include.value.File "/HDA-Intel/HDA-Capture-value.conf"
+                               CaptureMasterElem "Mic Boost"
                                JackControl "Mic Jack"
                        }
                }