]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
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 8ea5f0b1b89b641fcf04097583c4fad317822378..eba0f23bcf2cb33af35d93a4ae669f5643b4e99f 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 d672df281af826ff5850e6404916a4df308600bd..de62299036a10ae1f7923425f0aefbf2dd611e53 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"