@@ -48,6 +48,27 @@ EnableSequence [
cset "name='IN2 Boost' 1"
cset "name='IN3 Boost' 8"
+ # Start with all controls which are used by the individual
+ # input/output Enable/DisableSequences off
+
+ cset "name='RECMIXL BST1 Switch' off"
+ cset "name='RECMIXR BST1 Switch' off"
+ cset "name='RECMIXL BST2 Switch' off"
+ cset "name='RECMIXR BST2 Switch' off"
+ cset "name='RECMIXL BST3 Switch' off"
+ cset "name='RECMIXR BST3 Switch' off"
+
+ cset "name='Stereo ADC MIXL ADC1 Switch' off"
+ cset "name='Stereo ADC MIXR ADC1 Switch' off"
+ cset "name='Stereo ADC MIXL ADC2 Switch' off"
+ cset "name='Stereo ADC MIXR ADC2 Switch' off"
+ cset "name='Mono ADC MIXL ADC1 Switch' off"
+ cset "name='Mono ADC MIXR ADC1 Switch' off"
+ cset "name='Mono ADC MIXL ADC2 Switch' off"
+ cset "name='Mono ADC MIXR ADC2 Switch' off"
+
+ cset "name='Speaker Switch' off"
+ cset "name='Headphone Switch' off"
cset "name='Internal Mic Switch' off"
cset "name='Headset Mic Switch' off"
]
@@ -17,7 +17,6 @@ SectionDevice."Headphones" {
cset "name='HPO MIX HPVOL Switch' on"
cset "name='Headphone Switch' on"
cset "name='HP Channel Switch' on"
- cset "name='Speaker Switch' off"
cset "name='HP L Playback Switch' on"
cset "name='HP R Playback Switch' on"
cset "name='HP Playback Volume' 29"
@@ -10,8 +10,6 @@ SectionDevice."Mic" {
cset "name='RECMIXL BST1 Switch' on"
cset "name='RECMIXR BST1 Switch' on"
- cset "name='RECMIXL BST3 Switch' off"
- cset "name='RECMIXR BST3 Switch' off"
cset "name='Stereo ADC MIXL ADC1 Switch' on"
cset "name='Stereo ADC MIXR ADC1 Switch' on"
@@ -8,8 +8,6 @@ SectionDevice."Mic" {
EnableSequence [
cset "name='Internal Mic Switch' on"
- cset "name='RECMIXL BST1 Switch' off"
- cset "name='RECMIXR BST1 Switch' off"
cset "name='RECMIXL BST3 Switch' on"
cset "name='RECMIXR BST3 Switch' on"
@@ -14,7 +14,6 @@ SectionDevice."Speaker" {
cset "name='SPOL MIX SPKVOL R Switch' on"
cset "name='Speaker Switch' on"
cset "name='Speaker Channel Switch' on"
- cset "name='Headphone Switch' off"
cset "name='Speaker L Playback Switch' on"
cset "name='Speaker R Playback Switch' on"
cset "name='Speaker Playback Volume' 35"
@@ -14,7 +14,6 @@ SectionDevice."Speaker" {
cset "name='SPOL MIX SPKVOL R Switch' off"
cset "name='Speaker Switch' on"
cset "name='Speaker Channel Switch' on"
- cset "name='Headphone Switch' off"
cset "name='Speaker L Playback Switch' on"
cset "name='Speaker R Playback Switch' on"
cset "name='Speaker Playback Volume' 35"
Cleanup: no functional changes intended. Disable all inputs and outputs from the main EnableSequence. This allows removing some weirdness from the individual input/output EnableSequences where they were turning controls for other inputs/outputs then themselves off. Signed-off-by: Hans de Goede <hdegoede@redhat.com> --- ucm2/codecs/rt5640/EnableSeq.conf | 21 +++++++++++++++++++++ ucm2/codecs/rt5640/HeadPhones.conf | 1 - ucm2/codecs/rt5640/IN1-InternalMic.conf | 2 -- ucm2/codecs/rt5640/IN3-InternalMic.conf | 2 -- ucm2/codecs/rt5640/MonoSpeaker.conf | 1 - ucm2/codecs/rt5640/Speaker.conf | 1 - 6 files changed, 21 insertions(+), 7 deletions(-)