From: Le Qi Date: Mon, 23 Mar 2026 07:20:24 +0000 (+0800) Subject: ucm2: da7213: Fix mic capture in HeadphoneMic2 use case X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=fe07c17c059654991ddce6a33d3212e3284a9223;p=alsa-ucm-conf.git ucm2: da7213: Fix mic capture in HeadphoneMic2 use case Set Mic 2 Volume to index 4 (+18 dB) and Mixin PGA Volume to index 10 (+10.5 dB) for sufficient microphone capture gain. Remove headphone output controls (Headphone Volume, Headphone Switch, Mixout DAC switches) as these belong to HeadphoneEnableSeq.conf and should not be duplicated in the capture sequence. Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/730 Signed-off-by: Le Qi Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/codecs/da7213/HeadphoneMic2DisableSeq.conf b/ucm2/codecs/da7213/HeadphoneMic2DisableSeq.conf index a9693af..f591045 100644 --- a/ucm2/codecs/da7213/HeadphoneMic2DisableSeq.conf +++ b/ucm2/codecs/da7213/HeadphoneMic2DisableSeq.conf @@ -4,7 +4,4 @@ DisableSequence [ cset "name='Mixin Right Mic 2 Switch' off" cset "name='Mixin PGA Switch' off" cset "name='ADC Switch' off" - cset "name='Headphone Switch' off" - cset "name='Mixout Left DAC Left Switch' off" - cset "name='Mixout Right DAC Right Switch' off" ] diff --git a/ucm2/codecs/da7213/HeadphoneMic2EnableSeq.conf b/ucm2/codecs/da7213/HeadphoneMic2EnableSeq.conf index 42bd9e2..8f7a6d2 100644 --- a/ucm2/codecs/da7213/HeadphoneMic2EnableSeq.conf +++ b/ucm2/codecs/da7213/HeadphoneMic2EnableSeq.conf @@ -6,10 +6,8 @@ EnableSequence [ cset "name='Mixin Right Mic 2 Switch' on" cset "name='Mixin PGA Switch' on" cset "name='ADC Switch' on" + cset "name='Mic 2 Volume' 4" + cset "name='Mixin PGA Volume' 10,10" cset "name='DAI Left Source MUX' ADC Left" cset "name='DAI Right Source MUX' ADC Right" - cset "name='Headphone Volume' 85" - cset "name='Headphone Switch' on" - cset "name='Mixout Left DAC Left Switch' on" - cset "name='Mixout Right DAC Right Switch' on" ]