From 32c364e3503df1f2278fb6c487fd517fe5f5b986 Mon Sep 17 00:00:00 2001 From: Dan Kovacek Date: Wed, 8 Apr 2026 18:27:04 -0700 Subject: [PATCH] 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 --- ucm2/sof-soundwire/sof-soundwire.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.52.0