From: Jaroslav Kysela Date: Tue, 24 May 2022 14:40:58 +0000 (+0200) Subject: ucm2: put disdevall to HDA/Soundwire configs X-Git-Tag: v1.2.7~16 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=15a12508003c95fd541b62ebb71b87548d2089dc;p=alsa-ucm-conf.git ucm2: put disdevall to HDA/Soundwire configs All device should be set to the sane (off) state when the verb is selected. Link: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1356 Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/HDA/HiFi.conf b/ucm2/HDA/HiFi.conf index 700788e..9e567f6 100644 --- a/ucm2/HDA/HiFi.conf +++ b/ucm2/HDA/HiFi.conf @@ -1,6 +1,10 @@ # Use case Configuration for sof-hda-dsp SectionVerb { + EnableSequence [ + disdevall "" + ] + Value.TQ "HiFi" } diff --git a/ucm2/Intel/sof-essx8336/HiFi.conf b/ucm2/Intel/sof-essx8336/HiFi.conf index fc155f8..974a80a 100644 --- a/ucm2/Intel/sof-essx8336/HiFi.conf +++ b/ucm2/Intel/sof-essx8336/HiFi.conf @@ -1,7 +1,8 @@ SectionVerb { EnableSequence [ + disdevall "" # Disable all inputs / outputs - cset "name='Speaker Switch' off" + # (may be duplicated with disdevall) cset "name='Headphone Switch' off" cset "name='Headset Mic Switch' off" cset "name='Internal Mic Switch' off" diff --git a/ucm2/Intel/sof-hda-dsp/HiFi.conf b/ucm2/Intel/sof-hda-dsp/HiFi.conf index 713fdd9..813cb95 100644 --- a/ucm2/Intel/sof-hda-dsp/HiFi.conf +++ b/ucm2/Intel/sof-hda-dsp/HiFi.conf @@ -1,6 +1,10 @@ # Use case Configuration for sof-hda-dsp SectionVerb { + EnableSequence [ + devdisall "" + ] + Value.TQ "HiFi" } diff --git a/ucm2/sof-soundwire/HiFi.conf b/ucm2/sof-soundwire/HiFi.conf index e780ea4..0b46640 100644 --- a/ucm2/sof-soundwire/HiFi.conf +++ b/ucm2/sof-soundwire/HiFi.conf @@ -1,6 +1,10 @@ # Use case Configuration for sof-soundwire card SectionVerb { + EnableSequence [ + devdisall "" + ] + Value.TQ "HiFi" }