From cd885c085d1e6c025b076c67dde43f94439db036 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 29 Mar 2022 16:48:32 -0300 Subject: [PATCH] ucm2: sof-essx8336: Add a boot sequence Add a boot sequence to place the card on a reliable state. Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/144 Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Jaroslav Kysela --- ucm2/Intel/sof-essx8336/sof-essx8336.conf | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/ucm2/Intel/sof-essx8336/sof-essx8336.conf b/ucm2/Intel/sof-essx8336/sof-essx8336.conf index 02f7fad..91b8400 100644 --- a/ucm2/Intel/sof-essx8336/sof-essx8336.conf +++ b/ucm2/Intel/sof-essx8336/sof-essx8336.conf @@ -1,5 +1,29 @@ Syntax 4 +BootSequence [ + # Setup muxes / switches + cset "name='Left Headphone Mixer Left DAC Switch' on" + cset "name='Right Headphone Mixer Right DAC Switch' on" + # Set digital mix mux to "dmic disable" + # That doesn't affect dmic, but other values mute headset mic + cset "name='Digital Mic Mux' 0" + + # Set HP vol to 0 dB + cset "name='Headphone Playback Volume' 100%" + cset "name='Headphone Mixer Volume' 100%" + + # Set DAC vol + cset "name='DAC Playback Volume' 60%" + # LDATA TO LDAC, RDATA TO RDAC + cset "name='DAC Source Mux' 0" + + # Disable Auto Level Control + cset "name='ALC Capture Switch' off" + + # Set capture vol + cset "name='ADC Capture Volume' 60%" +] + Define.DeviceDmic "" If.devdmic { -- 2.47.1