]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
sof-soundwire: rt711-sdca: set PGA30.0 volume in BootSequence
authorDan Kovacek <dankovacek@gmail.com>
Thu, 9 Apr 2026 01:27:04 +0000 (18:27 -0700)
committerJaroslav Kysela <perex@perex.cz>
Thu, 28 May 2026 14:01:16 +0000 (16:01 +0200)
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 <dankovacek@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/sof-soundwire/sof-soundwire.conf

index 1842e2a7b70d6aa2043aa04ec49870330f34d459..8698819649540f72a68aead8169b2528c7c1f942 100644 (file)
@@ -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