]> git.alsa-project.org Git - alsa-lib.git/commitdiff
conf/ucm: rt5651: Mute speakers on boot
authorCarlo Caione <carlo@endlessm.com>
Wed, 8 Nov 2017 12:33:30 +0000 (12:33 +0000)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 Nov 2017 14:10:20 +0000 (15:10 +0100)
The UCM configuration is enabling the speakers in the SectionDefaults.
This is a problem when booting with an headset already connected since
the audio output is routed at the same time both on speakers and
heaphones until the jack is disconnected and reconnected again.

Fix this disabling all the outputs in the default mixer configuration.

Signed-off-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/conf/ucm/bytcr-rt5651/bytcr-rt5651.conf

index 60798ce74f304d45e9b9d6bed7301eecfbfeffee..069427b7155015ba8e134ede9ea3e3f77f65bdc9 100644 (file)
@@ -99,11 +99,11 @@ SectionDefaults [
 
        # default state
        cset "name='ADC Capture Volume' 126"
-       cset "name='HP Playback Volume' 29"
-       cset "name='HPO L Playback Switch' on"
+       cset "name='HP Playback Volume' 0"
+       cset "name='HPO L Playback Switch' off"
        cset "name='HPO MIX DAC1 Switch' on"
        cset "name='HPO MIX HPVOL Switch' on"
-       cset "name='HPO R Playback Switch' on"
+       cset "name='HPO R Playback Switch' off"
        cset "name='HPOVOL L Switch' on"
        cset "name='HPOVOL R Switch' on"
        cset "name='IF1 ASRC Switch' on"
@@ -123,6 +123,8 @@ SectionDefaults [
        cset "name='Stereo2 ADC MIXL ADC2 Switch' on"
        cset "name='Stereo2 ADC MIXR ADC1 Switch' on"
        cset "name='Stereo2 ADC MIXR ADC2 Switch' on"
+       cset "name='Headphone Switch' off"
+       cset "name='Speaker Switch' off"
 
        # input
        cset "name='Stereo1 ADC L1 Mux' ADC"