From ff8aacbdec09ddb485cda761ae867f28c7fc843f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Amadeusz=20S=C5=82awi=C5=84ski?= Date: Tue, 18 Jun 2024 12:48:13 +0200 Subject: [PATCH] ucm2: Intel: avs: Add UCM files for ssm4567 configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add configs for devices using ssm4567 codec. Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/418 Signed-off-by: Amadeusz Sławiński Signed-off-by: Jaroslav Kysela --- .../avs_ssm4567/Hewlett_Packard-Chell-1.0-HiFi.conf | 8 ++++++++ .../avs/avs_ssm4567/Hewlett_Packard-Chell-1.0.conf | 11 +++++++++++ .../conf.d/avs_ssm4567/Hewlett_Packard-Chell-1.0.conf | 1 + 3 files changed, 20 insertions(+) create mode 100644 ucm2/Intel/avs/avs_ssm4567/Hewlett_Packard-Chell-1.0-HiFi.conf create mode 100644 ucm2/Intel/avs/avs_ssm4567/Hewlett_Packard-Chell-1.0.conf create mode 120000 ucm2/conf.d/avs_ssm4567/Hewlett_Packard-Chell-1.0.conf diff --git a/ucm2/Intel/avs/avs_ssm4567/Hewlett_Packard-Chell-1.0-HiFi.conf b/ucm2/Intel/avs/avs_ssm4567/Hewlett_Packard-Chell-1.0-HiFi.conf new file mode 100644 index 0000000..613b29e --- /dev/null +++ b/ucm2/Intel/avs/avs_ssm4567/Hewlett_Packard-Chell-1.0-HiFi.conf @@ -0,0 +1,8 @@ +SectionDevice."Speaker" { + Comment "Speakers" + + Value { + PlaybackPCM "hw:${CardId},1" + PlaybackMixerElem "DSP" + } +} diff --git a/ucm2/Intel/avs/avs_ssm4567/Hewlett_Packard-Chell-1.0.conf b/ucm2/Intel/avs/avs_ssm4567/Hewlett_Packard-Chell-1.0.conf new file mode 100644 index 0000000..5fd3edb --- /dev/null +++ b/ucm2/Intel/avs/avs_ssm4567/Hewlett_Packard-Chell-1.0.conf @@ -0,0 +1,11 @@ +Syntax 6 + +SectionUseCase."HiFi" { + File "/Intel/avs/avs_ssm4567/Hewlett_Packard-Chell-1.0-HiFi.conf" + Comment "Play HiFi quality Music" +} + +BootSequence [ + cset "name='Left Master Playback Volume' 255" + cset "name='Right Master Playback Volume' 255" +] diff --git a/ucm2/conf.d/avs_ssm4567/Hewlett_Packard-Chell-1.0.conf b/ucm2/conf.d/avs_ssm4567/Hewlett_Packard-Chell-1.0.conf new file mode 120000 index 0000000..a3c0ee0 --- /dev/null +++ b/ucm2/conf.d/avs_ssm4567/Hewlett_Packard-Chell-1.0.conf @@ -0,0 +1 @@ +../../Intel/avs/avs_ssm4567/Hewlett_Packard-Chell-1.0.conf \ No newline at end of file -- 2.47.1