From 15a12508003c95fd541b62ebb71b87548d2089dc Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 24 May 2022 16:40:58 +0200 Subject: [PATCH] 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 --- ucm2/HDA/HiFi.conf | 4 ++++ ucm2/Intel/sof-essx8336/HiFi.conf | 3 ++- ucm2/Intel/sof-hda-dsp/HiFi.conf | 4 ++++ ucm2/sof-soundwire/HiFi.conf | 4 ++++ 4 files changed, 14 insertions(+), 1 deletion(-) 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" } -- 2.47.1