From 61747175343afaf0749b91d9f323fa4a0405a901 Mon Sep 17 00:00:00 2001 From: Val Packett Date: Fri, 2 Jan 2026 03:13:59 -0300 Subject: [PATCH] ucm2: codecs: lpass-wsa-macro: disable WSA_COMP The compander does not seem to work correctly on many of the platforms currently in use with upstream software. Particularly some very annoying "boominess on attacks" is heard on X Elite laptops when it's on. Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/670 Signed-off-by: Val Packett Signed-off-by: Jaroslav Kysela --- ucm2/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf | 2 -- ucm2/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf | 2 -- ucm2/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerDisableSeq.conf | 2 -- ucm2/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerEnableSeq.conf | 2 -- ucm2/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerDisableSeq.conf | 2 -- ucm2/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerEnableSeq.conf | 2 -- ucm2/codecs/qcom-lpass/wsa-macro/four-speakers/init.conf | 4 ++++ ucm2/codecs/qcom-lpass/wsa-macro/init.conf | 2 ++ 8 files changed, 6 insertions(+), 12 deletions(-) diff --git a/ucm2/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf b/ucm2/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf index 98cf061..139d67e 100644 --- a/ucm2/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf +++ b/ucm2/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf @@ -1,6 +1,4 @@ DisableSequence [ - cset "name='WSA_COMP1 Switch' 0" - cset "name='WSA_COMP2 Switch' 0" cset "name='WSA_RX0 INP0' ZERO" cset "name='WSA_RX1 INP0' ZERO" cset "name='WSA RX0 MUX' ZERO" diff --git a/ucm2/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf b/ucm2/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf index 488826b..5b5938d 100644 --- a/ucm2/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf +++ b/ucm2/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf @@ -3,6 +3,4 @@ EnableSequence [ cset "name='WSA RX1 MUX' AIF1_PB" cset "name='WSA_RX0 INP0' RX0" cset "name='WSA_RX1 INP0' RX1" - cset "name='WSA_COMP1 Switch' 1" - cset "name='WSA_COMP2 Switch' 1" ] diff --git a/ucm2/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerDisableSeq.conf b/ucm2/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerDisableSeq.conf index c34b50b..a40ac53 100644 --- a/ucm2/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerDisableSeq.conf +++ b/ucm2/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerDisableSeq.conf @@ -1,8 +1,6 @@ DisableSequence [ # cset "name='WSA WSA_RX0 Digital Volume' 0" # cset "name='WSA WSA_RX1 Digital Volume' 0" - cset "name='WSA WSA_COMP1 Switch' 0" - cset "name='WSA WSA_COMP2 Switch' 0" cset "name='WSA WSA_RX0 INP0' ZERO" cset "name='WSA WSA_RX1 INP0' ZERO" cset "name='WSA WSA RX0 MUX' ZERO" diff --git a/ucm2/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerEnableSeq.conf b/ucm2/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerEnableSeq.conf index a619ed6..7c71c3a 100644 --- a/ucm2/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerEnableSeq.conf +++ b/ucm2/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerEnableSeq.conf @@ -3,8 +3,6 @@ EnableSequence [ cset "name='WSA WSA RX1 MUX' AIF1_PB" cset "name='WSA WSA_RX0 INP0' RX0" cset "name='WSA WSA_RX1 INP0' RX1" - cset "name='WSA WSA_COMP1 Switch' 1" - cset "name='WSA WSA_COMP2 Switch' 1" #cset "name='WSA WSA_RX0 Digital Volume' 68" #cset "name='WSA WSA_RX1 Digital Volume' 68" ] diff --git a/ucm2/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerDisableSeq.conf b/ucm2/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerDisableSeq.conf index 2c8dda7..c2bf706 100644 --- a/ucm2/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerDisableSeq.conf +++ b/ucm2/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerDisableSeq.conf @@ -1,8 +1,6 @@ DisableSequence [ # cset "name='WSA2 WSA_RX0 Digital Volume' 0" # cset "name='WSA2 WSA_RX1 Digital Volume' 0" - cset "name='WSA2 WSA_COMP1 Switch' 0" - cset "name='WSA2 WSA_COMP2 Switch' 0" cset "name='WSA2 WSA_RX0 INP0' ZERO" cset "name='WSA2 WSA_RX1 INP0' ZERO" cset "name='WSA2 WSA RX0 MUX' ZERO" diff --git a/ucm2/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerEnableSeq.conf b/ucm2/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerEnableSeq.conf index af1cd66..8f86489 100644 --- a/ucm2/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerEnableSeq.conf +++ b/ucm2/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerEnableSeq.conf @@ -3,8 +3,6 @@ EnableSequence [ cset "name='WSA2 WSA RX1 MUX' AIF1_PB" cset "name='WSA2 WSA_RX0 INP0' RX0" cset "name='WSA2 WSA_RX1 INP0' RX1" - cset "name='WSA2 WSA_COMP1 Switch' 1" - cset "name='WSA2 WSA_COMP2 Switch' 1" #cset "name='WSA2 WSA_RX0 Digital Volume' 68" #cset "name='WSA2 WSA_RX1 Digital Volume' 68" ] diff --git a/ucm2/codecs/qcom-lpass/wsa-macro/four-speakers/init.conf b/ucm2/codecs/qcom-lpass/wsa-macro/four-speakers/init.conf index 3be2407..38bc488 100644 --- a/ucm2/codecs/qcom-lpass/wsa-macro/four-speakers/init.conf +++ b/ucm2/codecs/qcom-lpass/wsa-macro/four-speakers/init.conf @@ -3,6 +3,10 @@ BootSequence [ cset "name='WSA WSA_RX0 Digital Volume' 84" cset "name='WSA WSA_RX1 Digital Volume' 84" + cset "name='WSA WSA_COMP1 Switch' 0" + cset "name='WSA WSA_COMP2 Switch' 0" cset "name='WSA2 WSA_RX0 Digital Volume' 84" cset "name='WSA2 WSA_RX1 Digital Volume' 84" + cset "name='WSA2 WSA_COMP1 Switch' 0" + cset "name='WSA2 WSA_COMP2 Switch' 0" ] diff --git a/ucm2/codecs/qcom-lpass/wsa-macro/init.conf b/ucm2/codecs/qcom-lpass/wsa-macro/init.conf index 29f7c39..c1dedb1 100644 --- a/ucm2/codecs/qcom-lpass/wsa-macro/init.conf +++ b/ucm2/codecs/qcom-lpass/wsa-macro/init.conf @@ -3,4 +3,6 @@ BootSequence [ cset "name='WSA_RX0 Digital Volume' 84" cset "name='WSA_RX1 Digital Volume' 84" + cset "name='WSA_COMP1 Switch' 0" + cset "name='WSA_COMP2 Switch' 0" ] -- 2.52.0