]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
alsa-ucm-conf: Remove JackControl from TALOS EVK HiFi config
authorLe Qi <le.qi@oss.qualcomm.com>
Thu, 5 Mar 2026 03:15:18 +0000 (11:15 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Mar 2026 17:29:24 +0000 (17:29 +0000)
The EVK board does not support headset or jack detection.
Keeping JackControl entries prevents PipeWire (wpctl) from
exposing sinks and sources correctly.

Remove JackControl from Headphones and Headset devices so
PipeWire can enumerate playback and capture nodes normally.

link: https://github.com/alsa-project/alsa-ucm-conf/pull/704
Signed-off-by: Le Qi <le.qi@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-multimedia/alsa/alsa-ucm-conf/0001-Qualcomm-qcs615-Remove-JackControl-from-TALOS-EVK-Hi.patch [new file with mode: 0644]
meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.15.3.bb

diff --git a/meta/recipes-multimedia/alsa/alsa-ucm-conf/0001-Qualcomm-qcs615-Remove-JackControl-from-TALOS-EVK-Hi.patch b/meta/recipes-multimedia/alsa/alsa-ucm-conf/0001-Qualcomm-qcs615-Remove-JackControl-from-TALOS-EVK-Hi.patch
new file mode 100644 (file)
index 0000000..ff08ebe
--- /dev/null
@@ -0,0 +1,43 @@
+From 3e414225c90de8a9371076bcdd33693dfe8e54c2 Mon Sep 17 00:00:00 2001
+From: Le Qi <le.qi@oss.qualcomm.com>
+Date: Thu, 12 Feb 2026 15:16:41 +0800
+Subject: [PATCH] Qualcomm: qcs615: Remove JackControl from TALOS EVK HiFi
+ config
+
+The EVK board does not support headset or jack detection.
+Keeping JackControl entries prevents PipeWire (wpctl) from
+exposing sinks and sources correctly.
+
+Remove JackControl from Headphones and Headset devices so
+PipeWire can enumerate playback and capture nodes normally.
+
+Signed-off-by: Le Qi <le.qi@oss.qualcomm.com>
+Signed-off-by: Jaroslav Kysela <perex@perex.cz>
+Upstream-Status: Backport [https://github.com/alsa-project/alsa-ucm-conf/commit/e513b19d223f1559f43579e881ba86c618c142a9]
+---
+ ucm2/Qualcomm/qcs615/HiFi.conf | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/ucm2/Qualcomm/qcs615/HiFi.conf b/ucm2/Qualcomm/qcs615/HiFi.conf
+index 8978b2cb539d..a20fc89fa8f4 100644
+--- a/ucm2/Qualcomm/qcs615/HiFi.conf
++++ b/ucm2/Qualcomm/qcs615/HiFi.conf
+@@ -20,7 +20,6 @@ SectionDevice."Headphones" {
+               PlaybackPCM "hw:${CardId},0"
+               PlaybackMixer "default:${CardId}"
+               PlaybackMixerElem "HP Digital"
+-              JackControl "Headphone Jack"
+       }
+ }
+@@ -33,7 +32,6 @@ SectionDevice."Headset" {
+       Value {
+               CapturePriority 100
+               CapturePCM "hw:${CardId},1"
+-              JackControl "Mic Jack"
+               JackHWMute "Mic"
+       }
+ }
+-- 
+2.34.1
+
index 0ac51b6c5d47314d259037b01bd0e5097197d189..1f27f19aa744ae18ac1da141a63a3edfadcdb081 100644 (file)
@@ -8,6 +8,7 @@ LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=20d74d74db9741697903372ad001d3b4"
 
 SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2"
+SRC_URI += "file://0001-Qualcomm-qcs615-Remove-JackControl-from-TALOS-EVK-Hi.patch"
 SRC_URI[sha256sum] = "9f79e813c08fc86cfa46dd75c4fcda1a4a51b482db2607e1fcfaafb92f588a31"
 # Something went wrong at upstream tarballing