From: Zoran Zhan Date: Fri, 2 Aug 2024 07:08:49 +0000 (+0800) Subject: ucm2: MediaTek: mt8395-evk: Add headset jack detection X-Git-Tag: v1.2.13~6 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=ebdf9d1d8ffbf4338320125c223a4182acfd02ed;p=alsa-ucm-conf.git 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 --- diff --git a/ucm2/MediaTek/mt8395-evk/HiFi.conf b/ucm2/MediaTek/mt8395-evk/HiFi.conf index b9a8a42..8c325fd 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" } }