From: Dan Kovacek Date: Thu, 9 Apr 2026 01:27:04 +0000 (-0700) Subject: sof-soundwire: rt711-sdca: set PGA30.0 volume in BootSequence X-Git-Tag: v1.2.16~2 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=32c364e3503df1f2278fb6c487fd517fe5f5b986;p=alsa-ucm-conf.git sof-soundwire: rt711-sdca: set PGA30.0 volume in BootSequence No sound from headphone jack on Dell Precision 5480, Ubuntu 24.04.4 LTS kernel version 6.17.0-20-generic The SOF DSP pipeline volume PGA30.0 (pipeline 30, PCM device 0) defaults to 0 at boot, which the dBscale treats as a hardware mute. The DAPM chain is active and audio flows on the SoundWire bus, but the pipeline passes silence into the codec. Set PGA30.0 30 Playback Volume to 32,32 (0 dB) so the pipeline is not muted when headphones are enabled. Software volume is applied on top by PipeWire/PulseAudio independently. Tested on Dell Precision 5480 (Intel Raptor Lake-P, rt711-sdca on SoundWire master-0-2). Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/740 Signed-off-by: D Kovacek Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/sof-soundwire/sof-soundwire.conf b/ucm2/sof-soundwire/sof-soundwire.conf index 1842e2a..8698819 100644 --- a/ucm2/sof-soundwire/sof-soundwire.conf +++ b/ucm2/sof-soundwire/sof-soundwire.conf @@ -171,6 +171,16 @@ If.pga_init_pga5 { ] } +If.pga_init_pga30 { + Condition { + Type ControlExists + Control "name='PGA30.0 30 Playback Volume'" + } + True.BootSequence [ + cset "name='PGA30.0 30 Playback Volume' 32,32" + ] +} + If.mics-array { Condition { Type String