Add few recent alsa-ucm-conf commits

Resolves: RHEL-60923

Signed-off-by: Jaroslav Kysela <jkysela@redhat.com>
This commit is contained in:
Jaroslav Kysela 2024-12-16 15:19:30 +01:00
parent 3289e5b222
commit 1fd0be0005
2 changed files with 374 additions and 11 deletions

View File

@ -9,7 +9,7 @@
Summary: The Advanced Linux Sound Architecture (ALSA) library Summary: The Advanced Linux Sound Architecture (ALSA) library
Name: alsa-lib Name: alsa-lib
Version: %{version_alsa_lib} Version: %{version_alsa_lib}
Release: 1%{?prever_dot}%{?dist} Release: 2%{?prever_dot}%{?dist}
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
URL: http://www.alsa-project.org/ URL: http://www.alsa-project.org/
@ -167,7 +167,7 @@ rm %{buildroot}/%{_includedir}/asoundlib.h
%{_datadir}/alsa/topology %{_datadir}/alsa/topology
%changelog %changelog
* Fri Nov 15 2024 Jaroslav Kysela <perex@perex.cz> - 1.2.13-1 * Mon Dec 16 2024 Jaroslav Kysela <perex@perex.cz> - 1.2.13-2
- update to alsa-lib 1.2.13 and alsa-ucm-conf 1.2.13 - update to alsa-lib 1.2.13 and alsa-ucm-conf 1.2.13
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.2.12-3 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.2.12-3

View File

@ -1,7 +1,7 @@
From 11b028a9a01e47fc9b48e4a566803752011902e2 Mon Sep 17 00:00:00 2001 From 11b028a9a01e47fc9b48e4a566803752011902e2 Mon Sep 17 00:00:00 2001
From: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com> From: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Date: Wed, 13 Nov 2024 14:48:38 +0200 Date: Wed, 13 Nov 2024 14:48:38 +0200
Subject: [PATCH 1/8] UCM2: Intel: sof-hda-dsp: Fix handling of empty Subject: [PATCH 01/12] UCM2: Intel: sof-hda-dsp: Fix handling of empty
sys_vendor sys_vendor
The mistake in UCM syntax caused in alsaucm start error: The mistake in UCM syntax caused in alsaucm start error:
@ -40,7 +40,7 @@ index fea8159..c755ba2 100644
From 6397c663d7086b87ca5cbba323ea3dcd0ecd3200 Mon Sep 17 00:00:00 2001 From 6397c663d7086b87ca5cbba323ea3dcd0ecd3200 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela <perex@perex.cz> From: Jaroslav Kysela <perex@perex.cz>
Date: Wed, 13 Nov 2024 16:19:15 +0100 Date: Wed, 13 Nov 2024 16:19:15 +0100
Subject: [PATCH 2/8] sof-hda-dsp: Fix the case where sysfs dmi product_name Subject: [PATCH 02/12] sof-hda-dsp: Fix the case where sysfs dmi product_name
attribute is not set attribute is not set
!!DMI Information !!DMI Information
@ -103,7 +103,7 @@ index c755ba2..5fd1843 100644
From 70f5bff86035d454312c9d01e304a95791668ea5 Mon Sep 17 00:00:00 2001 From 70f5bff86035d454312c9d01e304a95791668ea5 Mon Sep 17 00:00:00 2001
From: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> From: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Date: Tue, 19 Nov 2024 11:51:15 +0200 Date: Tue, 19 Nov 2024 11:51:15 +0200
Subject: [PATCH 3/8] sof-soundwire: cs42l43-spk: Correct PlaybackPCM and Subject: [PATCH 03/12] sof-soundwire: cs42l43-spk: Correct PlaybackPCM and
routing routing
For speaker the correct PCM device to use is "hw:${CardId},2", the For speaker the correct PCM device to use is "hw:${CardId},2", the
@ -150,7 +150,7 @@ index 73f1299..693c450 100644
From 02f4fb77d10ab08a2253d77b90942b5ce9a7ed87 Mon Sep 17 00:00:00 2001 From 02f4fb77d10ab08a2253d77b90942b5ce9a7ed87 Mon Sep 17 00:00:00 2001
From: lbilli <lbilli@users.noreply.github.com> From: lbilli <lbilli@users.noreply.github.com>
Date: Thu, 14 Nov 2024 20:06:48 -0500 Date: Thu, 14 Nov 2024 20:06:48 -0500
Subject: [PATCH 4/8] avs_nau8825: Fix JackControl name Subject: [PATCH 04/12] avs_nau8825: Fix JackControl name
This is the name reported by amixer events. This is the name reported by amixer events.
@ -181,7 +181,7 @@ index 3f3e6c9..71f7ed0 100644
From 30989bd0c2aa3f9f4b6f5e393397b39678717f45 Mon Sep 17 00:00:00 2001 From 30989bd0c2aa3f9f4b6f5e393397b39678717f45 Mon Sep 17 00:00:00 2001
From: Charles Keepax <ckeepax@opensource.cirrus.com> From: Charles Keepax <ckeepax@opensource.cirrus.com>
Date: Wed, 20 Nov 2024 10:06:06 +0000 Date: Wed, 20 Nov 2024 10:06:06 +0000
Subject: [PATCH 5/8] sof-soundwire: cs42l43: Correct CapturePCM and routing Subject: [PATCH 05/12] sof-soundwire: cs42l43: Correct CapturePCM and routing
For headset microphone capture the correct PCM device to use is For headset microphone capture the correct PCM device to use is
"hw:${CardId},1", "hw:${CardId},4" is for built in microphone capture. "hw:${CardId},1", "hw:${CardId},4" is for built in microphone capture.
@ -232,7 +232,7 @@ index dc11840..4b4e118 100644
From 62acef2efffdcb75a35f90d266bcad145b4eab35 Mon Sep 17 00:00:00 2001 From 62acef2efffdcb75a35f90d266bcad145b4eab35 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela <perex@perex.cz> From: Jaroslav Kysela <perex@perex.cz>
Date: Fri, 29 Nov 2024 14:04:00 +0100 Date: Fri, 29 Nov 2024 14:04:00 +0100
Subject: [PATCH 6/8] sof-soundwire: whitespace cleanup Subject: [PATCH 06/12] sof-soundwire: whitespace cleanup
Signed-off-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
--- ---
@ -273,7 +273,7 @@ index 34f9661..bb14ef2 100644
From 4a01327cc43a18124c0a4a5bcfb840e6ed1efe0a Mon Sep 17 00:00:00 2001 From 4a01327cc43a18124c0a4a5bcfb840e6ed1efe0a Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela <perex@perex.cz> From: Jaroslav Kysela <perex@perex.cz>
Date: Wed, 4 Dec 2024 10:20:51 +0100 Date: Wed, 4 Dec 2024 10:20:51 +0100
Subject: [PATCH 7/8] sof-hda-dsp: Add back missing .conf suffix for Subject: [PATCH 07/12] sof-hda-dsp: Add back missing .conf suffix for
product/user specific configs product/user specific configs
Fixes: 6397c66 ("sof-hda-dsp: Fix the case where sysfs dmi product_name attribute is not set") Fixes: 6397c66 ("sof-hda-dsp: Fix the case where sysfs dmi product_name attribute is not set")
@ -303,8 +303,8 @@ index 5fd1843..3a4c445 100644
From 0782bf435b8332833e7b3fc91501d78473dd6edf Mon Sep 17 00:00:00 2001 From 0782bf435b8332833e7b3fc91501d78473dd6edf Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela <perex@perex.cz> From: Jaroslav Kysela <perex@perex.cz>
Date: Fri, 29 Nov 2024 14:17:57 +0100 Date: Fri, 29 Nov 2024 14:17:57 +0100
Subject: [PATCH 8/8] amd-soundwire: add support for AMD generic legacy machine Subject: [PATCH 08/12] amd-soundwire: add support for AMD generic legacy
driver machine driver
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/478 Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/478
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/470 Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/470
@ -352,3 +352,366 @@ index a54664e..a4a431b 100644
-- --
2.47.0 2.47.0
From 003201356388692525a60bbd0da359f97aac99f3 Mon Sep 17 00:00:00 2001
From: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Date: Tue, 10 Dec 2024 11:04:31 +0200
Subject: [PATCH 09/12] ucm2: sof-soundwire: Correct FixedBootSequence for dmic
info
Replace the curly brackets with square brackets.
The curly ones break the FixedBootSequence parsing by resetting the
sequence.
If the /var/lib/alsa/card0.conf.d is not present then UCM will fail because
all sequences before the dmic is lost, including the card-init:
# alsactl init
alsa-lib main.c:619:(execute_cfgsave) unable to open file '/var/lib/alsa/card0.conf.d/42-sof-hdmi.conf': No such file or directory
alsa-lib main.c:2456:(set_fixedboot_user) Unable to execute force boot sequence
The full sequence supposed to be:
card-init
ctl-remap
cs42l43
dmic
hdmi
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/485
Fixes: 9fa70add7638 ("sof-hda-dsp,sof-soundwire: add CaptureMicInfoFile fields for dmics")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---
ucm2/sof-soundwire/sof-soundwire.conf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ucm2/sof-soundwire/sof-soundwire.conf b/ucm2/sof-soundwire/sof-soundwire.conf
index bb14ef2..a2f9589 100644
--- a/ucm2/sof-soundwire/sof-soundwire.conf
+++ b/ucm2/sof-soundwire/sof-soundwire.conf
@@ -156,10 +156,10 @@ If.mics-array {
Type String
Empty "${var:Mics1}"
}
- False.FixedBootSequence {
+ False.FixedBootSequence [
# dmic array info
exec "-nhlt-dmic-info -o ${var:LibDir}/dmics-nhlt.json"
- }
+ ]
}
Include.hdmi-pcm.File "/common/pcm/hdmi.conf"
--
2.47.0
From 52c5cd74512c8130bdb6504cdb4859a89154b35d Mon Sep 17 00:00:00 2001
From: Konna1337 <r34p3r666@web.de>
Date: Sun, 24 Nov 2024 04:51:49 +0100
Subject: [PATCH 10/12] Configuration files for Roland Bridge Cast X V2
Added configuration for Roland BridgeCast X. X Version of Bridgecast is wired diferently than the non X Version wich is supported
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/469
Signed-off-by: Konna1337 <r34p3r666@web.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---
ucm2/USB-Audio/Roland/BridgeCastXV2-Hifi.conf | 174 ++++++++++++++++++
ucm2/USB-Audio/Roland/BridgeCastXV2.conf | 6 +
ucm2/USB-Audio/USB-Audio.conf | 9 +
3 files changed, 189 insertions(+)
create mode 100644 ucm2/USB-Audio/Roland/BridgeCastXV2-Hifi.conf
create mode 100644 ucm2/USB-Audio/Roland/BridgeCastXV2.conf
diff --git a/ucm2/USB-Audio/Roland/BridgeCastXV2-Hifi.conf b/ucm2/USB-Audio/Roland/BridgeCastXV2-Hifi.conf
new file mode 100644
index 0000000..426a15a
--- /dev/null
+++ b/ucm2/USB-Audio/Roland/BridgeCastXV2-Hifi.conf
@@ -0,0 +1,174 @@
+Include.pcm_split.File "/common/pcm/split.conf"
+
+Macro [
+ {
+ SplitPCM {
+ Name "bc_stereo_out"
+ Direction Playback
+ Channels 2
+ HWChannels 16
+ HWChannelPos0 FL
+ HWChannelPos1 FR
+ HWChannelPos2 FL
+ HWChannelPos3 FR
+ HWChannelPos4 FL
+ HWChannelPos5 FR
+ HWChannelPos6 FL
+ HWChannelPos7 FR
+ HWChannelPos6 FL
+ HWChannelPos7 FR
+ HWChannelPos8 FL
+ HWChannelPos9 FR
+ HWChannelPos10 FL
+ HWChannelPos11 FR
+ HWChannelPos12 FL
+ HWChannelPos13 FR
+ HWChannelPos14 FL
+ HWChannelPos15 FR
+ }
+ }
+ {
+ SplitPCM {
+ Name "bc_stereo_in"
+ Direction Capture
+ Channels 2
+ HWChannels 6
+ HWChannelPos0 FL
+ HWChannelPos1 FR
+ HWChannelPos2 FL
+ HWChannelPos3 FR
+ HWChannelPos4 FL
+ HWChannelPos5 FR
+ }
+ }
+]
+
+SectionDevice."Line1" {
+ Comment "Chat L/R"
+
+ Value {
+ PlaybackPriority 100
+ }
+
+ Macro.pcm_split.SplitPCMDevice {
+ Name "bc_stereo_out"
+ Direction Playback
+ HWChannels 16
+ Channels 2
+ Channel0 0
+ Channel1 1
+ ChannelPos0 FL
+ ChannelPos1 FR
+ }
+}
+
+SectionDevice."Line2" {
+ Comment "Game L/R"
+
+ Value {
+ PlaybackPriority 200
+ }
+
+ Macro.pcm_split.SplitPCMDevice {
+ Name "bc_stereo_out"
+ Direction Playback
+ HWChannels 16
+ Channels 2
+ Channel0 2
+ Channel1 3
+ ChannelPos0 FL
+ ChannelPos1 FR
+ }
+}
+
+SectionDevice."Line3" {
+ Comment "Music L/R"
+
+ Value {
+ PlaybackPriority 300
+ }
+
+ Macro.pcm_split.SplitPCMDevice {
+ Name "bc_stereo_out"
+ Direction Playback
+ HWChannels 16
+ Channels 2
+ Channel0 12
+ Channel1 13
+ ChannelPos0 FL
+ ChannelPos1 FR
+ }
+}
+
+SectionDevice."Line4" {
+ Comment "System L/R"
+
+ Value {
+ PlaybackPriority 400
+ }
+
+ Macro.pcm_split.SplitPCMDevice {
+ Name "bc_stereo_out"
+ Direction Playback
+ HWChannels 16
+ Channels 2
+ Channel0 10
+ Channel1 11
+ ChannelPos0 FL
+ ChannelPos1 FR
+ }
+}
+
+SectionDevice."Line5" {
+ Comment "StreamMix"
+
+ Value {
+ CapturePriority 300
+ }
+ Macro.pcm_split.SplitPCMDevice {
+ Name "bc_stereo_in"
+ Direction Capture
+ HWChannels 6
+ Channels 2
+ Channel0 0
+ Channel1 1
+ ChannelPos0 FL
+ ChannelPos1 FR
+ }
+}
+
+SectionDevice."Line6" {
+ Comment "Mic"
+
+ Value {
+ CapturePriority 200
+ }
+ Macro.pcm_split.SplitPCMDevice {
+ Name "bc_stereo_in"
+ Direction Capture
+ HWChannels 6
+ Channels 2
+ Channel0 2
+ Channel1 3
+ ChannelPos0 FL
+ ChannelPos1 FR
+ }
+}
+
+SectionDevice."Line7" {
+ Comment "SFX"
+
+ Value {
+ CapturePriority 100
+ }
+ Macro.pcm_split.SplitPCMDevice {
+ Name "bc_stereo_in"
+ Direction Capture
+ HWChannels 6
+ Channels 2
+ Channel0 4
+ Channel1 5
+ ChannelPos0 FL
+ ChannelPos1 FR
+ }
+}
diff --git a/ucm2/USB-Audio/Roland/BridgeCastXV2.conf b/ucm2/USB-Audio/Roland/BridgeCastXV2.conf
new file mode 100644
index 0000000..daf77a1
--- /dev/null
+++ b/ucm2/USB-Audio/Roland/BridgeCastXV2.conf
@@ -0,0 +1,6 @@
+Comment "Roland BridgeCast XV2 Hifi-Mode"
+
+SectionUseCase."HiFi" {
+ Comment "BridgeCast MultiChannel"
+ File "/USB-Audio/Roland/BridgeCastXV2-Hifi.conf"
+}
diff --git a/ucm2/USB-Audio/USB-Audio.conf b/ucm2/USB-Audio/USB-Audio.conf
index 9019fbc..a01241d 100644
--- a/ucm2/USB-Audio/USB-Audio.conf
+++ b/ucm2/USB-Audio/USB-Audio.conf
@@ -182,6 +182,15 @@ If.roland-bridgecastv2 {
True.Define.ProfileName "Roland/BridgeCastV2"
}
+If.roland-bridgecastx {
+ Condition {
+ Type String
+ Haystack "${CardComponents}"
+ Needle "USB0582:0321"
+ }
+ True.Define.ProfileName "Roland/BridgeCastXV2"
+}
+
If.motu-m246 {
Condition {
Type RegexMatch
--
2.47.0
From 77ff0f7edbf48179d5da3fe3e4f1fc6bd96af2f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andrija=20Vu=C4=8Dini=C4=87?= <andrija.vucinic@gmail.com>
Date: Tue, 10 Dec 2024 14:47:28 +0100
Subject: [PATCH 11/12] USB-Audio: ALC4080 - add ASUS ROG STRIX X870E-E GAMING
WIFI (USB 0b05:1b9b)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/486
Signed-off-by: Andrija Vučinić <andrija.vucinic@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---
ucm2/USB-Audio/USB-Audio.conf | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ucm2/USB-Audio/USB-Audio.conf b/ucm2/USB-Audio/USB-Audio.conf
index a01241d..bd1983e 100644
--- a/ucm2/USB-Audio/USB-Audio.conf
+++ b/ucm2/USB-Audio/USB-Audio.conf
@@ -60,6 +60,7 @@ If.realtek-alc4080 {
# 0b05:1a5c ASUS ROG Strix B650E-I Gaming WiFi
# 0b05:1a97 ASUS ROG Maximus Z790 Apex Encore
# 0b05:1af1 ASUS ROG Strix Z790-A Gaming Wifi II
+ # 0b05:1b9b ASUS ROG STRIX X870E-E GAMING WIFI
# 0db0:005a MSI MPG Z690 CARBON WIFI
# 0db0:0b58 MSI MPG X870E CARBON WIFI
# 0db0:124b MSI MEG Z690 ACE
@@ -91,7 +92,7 @@ If.realtek-alc4080 {
# 26ce:0a06 ASRock X670E/Z790 Taichi
# 26ce:0a08 ASRock Z790 PG-ITX/TB4, X870 Steel Legend
# 26ce:0a0b ASRock X870E Taichi
- Regex "USB((0414:a0(0e|1[0124]))|(0b05:(19(84|9[69])|1a(16|2[07]|5[23c]|97|f1)))|(0db0:(005a|0b58|124b|151f|1feb|3130|36e7|4(19c|22d|240|88c)|543d|62a4|6c[0c]9|70d3|7696|82c7|8af7|961e|a(073|228|47c|74b)|b202|cd0e|d1d7|d6e7))|(26ce:0a0[68b]))"
+ Regex "USB((0414:a0(0e|1[0124]))|(0b05:(19(84|9[69])|1a(16|2[07]|5[23c]|97|f1)|1b9b))|(0db0:(005a|0b58|124b|151f|1feb|3130|36e7|4(19c|22d|240|88c)|543d|62a4|6c[0c]9|70d3|7696|82c7|8af7|961e|a(073|228|47c|74b)|b202|cd0e|d1d7|d6e7))|(26ce:0a0[68b]))"
}
True.Define.ProfileName "Realtek/ALC4080"
}
--
2.47.0
From cde064fd3a1a7cd57b56d32d42ae57f7e8b454e7 Mon Sep 17 00:00:00 2001
From: Sergey <myserg@gmail.com>
Date: Mon, 16 Dec 2024 04:29:47 +0300
Subject: [PATCH 12/12] USB-Audio: ALC4080: add support for MSI MEG X670E
GODLIKE (USB 0db0:e1f8)
www.msi.com/Motherboard/MEG-X670E-GODLIKE
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/488
Signed-off-by: Sergey <myserg@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---
ucm2/USB-Audio/USB-Audio.conf | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ucm2/USB-Audio/USB-Audio.conf b/ucm2/USB-Audio/USB-Audio.conf
index bd1983e..d942f0e 100644
--- a/ucm2/USB-Audio/USB-Audio.conf
+++ b/ucm2/USB-Audio/USB-Audio.conf
@@ -89,10 +89,11 @@ If.realtek-alc4080 {
# 0db0:cd0e MSI X870 Tomahawk
# 0db0:d1d7 MSI PRO Z790-A WIFI
# 0db0:d6e7 MSI MPG X670E Carbon Wifi
+ # 0db0:e1f8 MSI MEG X670E Godlike
# 26ce:0a06 ASRock X670E/Z790 Taichi
# 26ce:0a08 ASRock Z790 PG-ITX/TB4, X870 Steel Legend
# 26ce:0a0b ASRock X870E Taichi
- Regex "USB((0414:a0(0e|1[0124]))|(0b05:(19(84|9[69])|1a(16|2[07]|5[23c]|97|f1)|1b9b))|(0db0:(005a|0b58|124b|151f|1feb|3130|36e7|4(19c|22d|240|88c)|543d|62a4|6c[0c]9|70d3|7696|82c7|8af7|961e|a(073|228|47c|74b)|b202|cd0e|d1d7|d6e7))|(26ce:0a0[68b]))"
+ Regex "USB((0414:a0(0e|1[0124]))|(0b05:(19(84|9[69])|1a(16|2[07]|5[23c]|97|f1)|1b9b))|(0db0:(005a|0b58|124b|151f|1feb|3130|36e7|4(19c|22d|240|88c)|543d|62a4|6c[0c]9|70d3|7696|82c7|8af7|961e|a(073|228|47c|74b)|b202|cd0e|d1d7|d6e7|e1f8))|(26ce:0a0[68b]))"
}
True.Define.ProfileName "Realtek/ALC4080"
}
--
2.47.0