OSDN Git Service

chtrt5645: Enable Internal MIC of ECS EF20EA
authorJian-Hong Pan <jhp@endlessos.org>
Tue, 15 Dec 2020 08:54:03 +0000 (16:54 +0800)
committerJaroslav Kysela <perex@perex.cz>
Sun, 27 Dec 2020 13:32:13 +0000 (14:32 +0100)
The ECS EF20EA uses a digital mic connected to the dmic2 pin, rather
then the default analog mic.

1 [chtrt5645      ]: chtrt5645 - chtrt5645
                     Standard-EF20EA-1.0

Add a card long name match for this, so that the right config is used.

BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/68
Signed-off-by: Jian-Hong Pan <jhp@endlessos.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/chtrt5645/HiFi.conf

index 10b0a1c..30fad50 100644 (file)
@@ -18,7 +18,7 @@ If.cfg-dmic2 {
        Condition {
                Type RegexMatch
                String "${CardLongName}"
-               Regex "(LENOVO.*LenovoMIIX320|MEDION.*Wingman)"
+               Regex "(LENOVO.*LenovoMIIX320|MEDION.*Wingman|Standard-EF20EA-1.0)"
        }
        True {
                Define.AnalogMic ""