From: Zoran Zhan Date: Fri, 2 Aug 2024 07:07:57 +0000 (+0800) Subject: ucm2: MediaTek: mt8390-evk: Add headset jack detection X-Git-Tag: v1.2.13~7 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=3b81e602e22263f59afb7d2621a5d128d1b839bf;p=alsa-ucm-conf.git ucm2: MediaTek: mt8390-evk: Add headset jack detection Add headphone and headset microphone jack detection support on mt8390-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/mt8390-evk/HiFi.conf b/ucm2/MediaTek/mt8390-evk/HiFi.conf index 65f8304..a94adb0 100644 --- a/ucm2/MediaTek/mt8390-evk/HiFi.conf +++ b/ucm2/MediaTek/mt8390-evk/HiFi.conf @@ -91,6 +91,7 @@ SectionDevice."Headphones" { PlaybackPriority 500 PlaybackChannels 2 PlaybackPCM "hw:${CardId},0" + JackControl "Headphone Jack" } } @@ -109,6 +110,7 @@ SectionDevice."Headset" { CapturePriority 500 CaptureChannels 1 CapturePCM "hw:${CardId},10" + JackControl "Headset Mic Jack" } }