OSDN Git Service

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

index c1e8a0f..2a54253 100644 (file)
@@ -1,6 +1,17 @@
 # UCM for Intel Kabylake platforms with RT5660
 # For Audio in I2S mode
 
+LibraryConfig.remap.Config {
+
+       ctl.default.remap {
+               "name='IN1 Boost Volume'" "name='IN1 Boost Capture Volume'"
+               "name='IN2 Boost Volume'" "name='IN2 Boost Capture Volume'"
+               "name='IN3 Boost Volume'" "name='IN3 Boost Capture Volume'"
+               "name='STO1 ADC Boost Gain Volume'" "name='STO1 ADC Boost Capture Volume'"
+       }
+
+}
+
 SectionDevice."Line1" {
        Comment "Line playback"
 
index 1cdf917..efcdf30 100644 (file)
@@ -1,4 +1,4 @@
-Syntax 2
+Syntax 4
 
 SectionUseCase."HiFi" {
        File "HiFi.conf"
@@ -14,3 +14,6 @@ SectionUseCase."Hdmi2" {
        File "Hdmi2.conf"
        Comment "Play on Hdmi/DP 2"
 }
+
+Include.card-init.File "/lib/card-init.conf"
+Include.ctl-remap.File "/lib/ctl-remap.conf"