From: Kai-Heng Feng Date: Thu, 27 Aug 2020 13:18:13 +0000 (+0800) Subject: HDA-Intel/HiFi-dual: Add EnableSequence and DisableSequence for Speaker and Headphones X-Git-Tag: v1.2.5~71 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=5405544752c18153acc310ee7e4a4bacda040dca;p=alsa-ucm-conf.git HDA-Intel/HiFi-dual: Add EnableSequence and DisableSequence for Speaker and Headphones BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/48 Signed-off-by: Kai-Heng Feng Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/HDA-Intel/HiFi-dual.conf b/ucm2/HDA-Intel/HiFi-dual.conf index cff948e..bacfd80 100644 --- a/ucm2/HDA-Intel/HiFi-dual.conf +++ b/ucm2/HDA-Intel/HiFi-dual.conf @@ -27,6 +27,14 @@ SectionDevice."Speaker" { PlaybackMixerElem "Speaker" } + EnableSequence [ + cset "name='Speaker Playback Switch' on" + ] + + DisableSequence [ + cset "name='Speaker Playback Switch' off" + ] + ConflictingDevice [ "Headphones" ] @@ -54,6 +62,14 @@ SectionDevice."Headphones" { JackHWMute "Speaker" } + EnableSequence [ + cset "name='Headphone Playback Switch' on" + ] + + DisableSequence [ + cset "name='Headphone Playback Switch' off" + ] + ConflictingDevice [ "Speaker" ]