From: Jaroslav Kysela Date: Tue, 18 May 2021 14:17:12 +0000 (+0200) Subject: remap mixer controls for rt5660 X-Git-Tag: v1.2.5~18 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=8988b87b6c6eabc55ae7b6560b43b9451016d0ed;p=alsa-ucm-conf.git remap mixer controls for rt5660 Suggested-by: Hans de Goede Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/kblrt5660/HiFi.conf b/ucm2/kblrt5660/HiFi.conf index c1e8a0f..2a54253 100644 --- a/ucm2/kblrt5660/HiFi.conf +++ b/ucm2/kblrt5660/HiFi.conf @@ -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" diff --git a/ucm2/kblrt5660/kblrt5660.conf b/ucm2/kblrt5660/kblrt5660.conf index 1cdf917..efcdf30 100644 --- a/ucm2/kblrt5660/kblrt5660.conf +++ b/ucm2/kblrt5660/kblrt5660.conf @@ -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"