OSDN Git Service

remap mixer controls for rt5677
authorJaroslav Kysela <perex@perex.cz>
Tue, 18 May 2021 12:02:10 +0000 (14:02 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 18 May 2021 14:30:33 +0000 (16:30 +0200)
Suggested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/bdw-rt5677/HiFi.conf
ucm2/bdw-rt5677/bdw-rt5677.conf

index 8ea5f0b..eba0f23 100644 (file)
@@ -3,6 +3,14 @@
 # alsaucm -c bdw-rt5677  set _verb HiFi
 # alsaucm -c bdw-rt5677  set _verb HiFi set _enadev Headphones
 
+LibraryConfig.remap.Config {
+
+       ctl.default.remap {
+               "name='IN1 Boost'" "name='IN1 Boost Capture Volume'"
+               "name='IN2 Boost'" "name='IN2 Boost Capture Volume'"
+       }
+
+}
 
 SectionVerb {
 
index d672df2..de62299 100644 (file)
@@ -1,6 +1,9 @@
-Syntax 2
+Syntax 4
 
 SectionUseCase."HiFi" {
        File "HiFi.conf"
        Comment "Default"
 }
+
+Include.card-init.File "/lib/card-init.conf"
+Include.ctl-remap.File "/lib/ctl-remap.conf"