diff mbox series

alsa-ucm-conf: Remove JackControl from TALOS EVK HiFi config

Message ID 20260305031518.4120410-1-le.qi@oss.qualcomm.com
State Under Review
Headers show
Series alsa-ucm-conf: Remove JackControl from TALOS EVK HiFi config | expand

Commit Message

Le Qi March 5, 2026, 3:15 a.m. UTC
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>
---
 ...Remove-JackControl-from-TALOS-EVK-Hi.patch | 43 +++++++++++++++++++
 .../alsa/alsa-ucm-conf_1.2.15.3.bb            |  1 +
 2 files changed, 44 insertions(+)
 create mode 100644 meta/recipes-multimedia/alsa/alsa-ucm-conf/0001-Qualcomm-qcs615-Remove-JackControl-from-TALOS-EVK-Hi.patch
diff mbox series

Patch

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
index 000000000000..ff08ebe6f704
--- /dev/null
+++ b/meta/recipes-multimedia/alsa/alsa-ucm-conf/0001-Qualcomm-qcs615-Remove-JackControl-from-TALOS-EVK-Hi.patch
@@ -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
+
diff --git a/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.15.3.bb b/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.15.3.bb
index 0ac51b6c5d47..1f27f19aa744 100644
--- a/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.15.3.bb
+++ b/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.15.3.bb
@@ -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