OSDN Git Service

ucm2: USB-Audio: Add CaptureMixerElem for Lenovo ThinkStation P620
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Mon, 14 Sep 2020 13:00:36 +0000 (21:00 +0800)
committerJaroslav Kysela <perex@perex.cz>
Tue, 6 Oct 2020 09:07:11 +0000 (11:07 +0200)
The Switch and Volume mixer start to work after device firmware update.
Add MixerElem to support them.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/Lenovo-ThinkStation-P620-Main-HiFi.conf
ucm2/USB-Audio/Lenovo-ThinkStation-P620-Rear-HiFi.conf

index c515d46..695dfba 100644 (file)
@@ -15,6 +15,7 @@ SectionDevice."Mic" {
                CapturePriority 200
                CapturePCM "hw:${CardId}"
                JackControl "Mic - Input Jack"
+               CaptureMixerElem "Mic"
        }
 }
 
index 3ea8391..9777a54 100644 (file)
@@ -5,6 +5,7 @@ SectionDevice."Line" {
                CapturePriority 100
                CapturePCM "hw:${CardId}"
                JackControl "Line - Input Jack"
+               CaptureMixerElem "Line"
        }
 }
 
@@ -15,6 +16,7 @@ SectionDevice."Mic" {
                CapturePriority 200
                CapturePCM "hw:${CardId},1"
                JackControl "Mic - Input Jack"
+               CaptureMixerElem "Mic"
        }
 }