From: guylamar2006 Date: Fri, 29 Dec 2023 01:08:55 +0000 (-0600) Subject: acp5x: add Stream Deck OLED Model X-Git-Tag: v1.2.11~37 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=8376d43a7bb31288289c14a17551ccaf42c28d58;p=alsa-ucm-conf.git acp5x: add Stream Deck OLED Model Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/373 Signed-off-by: guylamar2006 Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/AMD/acp5x/acp5x.conf b/ucm2/AMD/acp5x/acp5x.conf index a594ef3..2e44863 100644 --- a/ucm2/AMD/acp5x/acp5x.conf +++ b/ucm2/AMD/acp5x/acp5x.conf @@ -51,3 +51,42 @@ If.jupiter { Include.ctl-remap.File "/lib/ctl-remap.conf" } } + +# +# Currently restricted to Steam Deck OLED hardware. +# +If.galileo { + Condition { + Type String + String1 "Galileo" + String2 "${sys:devices/virtual/dmi/id/product_name}" + } + True { + SectionUseCase."HiFi" { + If.upstream { + Condition { + Type ControlExists + Control "name='Left Analog PCM Volume'" + } + True.File "HiFi-upstream.conf" + False.File "HiFi.conf" + } + Comment "Default" + } + + BootSequence [ + cset "name='Digital Playback Volume' 252" + cset "name='Left Analog PCM Volume' 17" + cset "name='Right Analog PCM Volume' 17" + cset "name='Left Digital PCM Volume' 870" + cset "name='Right Digital PCM Volume' 870" + cset "name='Headphone Volume' 2" + cset "name='Digital Playback Volume' 192" + cset "name='Mic Volume' 252" + cset "name='Frontend PGA Volume' 27" + ] + + Include.card-init.File "/lib/card-init.conf" + Include.ctl-remap.File "/lib/ctl-remap.conf" + } +}