]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
remap mixer controls for rt5682
authorJaroslav Kysela <perex@perex.cz>
Tue, 18 May 2021 14:25:17 +0000 (16:25 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 18 May 2021 14:31:02 +0000 (16:31 +0200)
Suggested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/codecs/rt5682/init.conf
ucm2/sof-soundwire/sof-soundwire.conf

index 11ce9dbf0c17996eac577d0cab2004216c529ffb..fb88a7dc18d731844be2a1e911507a43f6f201ea 100644 (file)
@@ -1,5 +1,13 @@
 # RT5682 specific volume control settings
 
+LibraryConfig.remap.Config {
+
+       ctl.default.remap {
+               "name='STO1 ADC Boost Gain Volume'" "name='STO1 ADC Boost Capture Volume'"
+       }
+
+}
+
 BootSequence [
        cset "name='rt5682 Stereo1 DAC MIXL DAC L1 Switch' 1"
        cset "name='rt5682 Stereo1 DAC MIXR DAC R1 Switch' 1"
index 8c2187f9c20cbbd8a6838613bf3774914e0658d7..1040c9341243ead03d097e284704d17ff5cc0e84 100644 (file)
@@ -5,6 +5,9 @@ SectionUseCase."HiFi" {
        Comment "Play HiFi quality Music"
 }
 
+Include.card-init.File "/lib/card-init.conf"
+Include.ctl-remap.File "/lib/ctl-remap.conf"
+
 Define {
        SpeakerCodec1 ""
        SpeakerChannels1 "2"