From ebdf9d1d8ffbf4338320125c223a4182acfd02ed Mon Sep 17 00:00:00 2001 From: Zoran Zhan Date: Fri, 2 Aug 2024 15:08:49 +0800 Subject: [PATCH] ucm2: MediaTek: mt8395-evk: Add headset jack detection Add headphone and headset microphone jack detection support on mt8395-evk. Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/456 Signed-off-by: Zoran Zhan Signed-off-by: Jaroslav Kysela --- ucm2/MediaTek/mt8395-evk/HiFi.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ucm2/MediaTek/mt8395-evk/HiFi.conf b/ucm2/MediaTek/mt8395-evk/HiFi.conf index b9a8a42e..8c325fdb 100644 --- a/ucm2/MediaTek/mt8395-evk/HiFi.conf +++ b/ucm2/MediaTek/mt8395-evk/HiFi.conf @@ -100,6 +100,7 @@ SectionDevice."Headphones" { PlaybackPriority 400 PlaybackChannels 2 PlaybackPCM "hw:${CardId},0" + JackControl "Headphone Jack" } } @@ -118,6 +119,7 @@ SectionDevice."Headset" { CapturePriority 500 CaptureChannels 3 CapturePCM "hw:${CardId},15" + JackControl "Headset Mic Jack" } }