diff options
author | Jaroslav Kysela <perex@perex.cz> | 2021-05-18 16:17:12 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2021-05-18 16:30:47 +0200 |
commit | 8988b87b6c6eabc55ae7b6560b43b9451016d0ed (patch) | |
tree | cadf467733b468d063168bd199cca0fe5b2c582a | |
parent | ac5058a53a38a2afe0e6de9f7a0fcf579bc45246 (diff) |
remap mixer controls for rt5660
Suggested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r-- | ucm2/kblrt5660/HiFi.conf | 11 | ||||
-rw-r--r-- | ucm2/kblrt5660/kblrt5660.conf | 5 |
2 files changed, 15 insertions, 1 deletions
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" |