]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
HDA-Intel: HiFi-dual: Fix the Rear Mic's Jack name
authorHui Wang <hui.wang@canonical.com>
Mon, 17 Aug 2020 03:28:04 +0000 (11:28 +0800)
committerJaroslav Kysela <perex@perex.cz>
Tue, 18 Aug 2020 15:28:49 +0000 (17:28 +0200)
On the LENOVO P520 (dual codecs machine), the Jack name of Rear Mic is
"Rear Mic Jack" instead of "Mic Jack".

Below is picked from alsa-info.txt on the LENOVO p520 machine:
control.18 {
iface CARD
name 'Rear Mic Jack'
value true
comment {
access read
type BOOLEAN
count 1
}
}

Signed-off-by: Hui Wang <hui.wang@canonical.com>
BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/46
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/HDA-Intel/HiFi-dual.conf

index 2eb74ee7a0c73402d8fb001b388767edf99c5749..cff948efee9122804472369ba9d8dc940a4009e0 100644 (file)
@@ -96,7 +96,7 @@ SectionDevice."Mic2" {
                CapturePriority 300
                CapturePCM "hw:${CardId}"
                JackHWMute "Line2"
-               JackControl "Mic Jack"
+               JackControl "Rear Mic Jack"
        }
 
        ConflictingDevice [