From d9bac6cc1505f455b6205620f1dd785c78321178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=A4r?= Date: Fri, 8 Jul 2022 10:55:58 +0200 Subject: [PATCH] USB-Audio: Dell-WD15-Dock: add jack controls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I recently added support for these to Linux, see https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/commit/?id=4b8ea38fabab45ad911a32a336416062553dfe9c Signed-off-by: Jan Schär --- ucm2/USB-Audio/Dell/WD15-Dock-HiFi.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ucm2/USB-Audio/Dell/WD15-Dock-HiFi.conf b/ucm2/USB-Audio/Dell/WD15-Dock-HiFi.conf index 04355a70..b031a39e 100644 --- a/ucm2/USB-Audio/Dell/WD15-Dock-HiFi.conf +++ b/ucm2/USB-Audio/Dell/WD15-Dock-HiFi.conf @@ -4,6 +4,7 @@ SectionDevice."Headphones" { Value { PlaybackPriority 100 PlaybackPCM "hw:${CardId}" + JackControl "Headphone Jack" If.Headphone_ctl { Condition { @@ -25,6 +26,7 @@ SectionDevice."Line" { Value { PlaybackPriority 200 PlaybackPCM "hw:${CardId},1" + JackControl "Line Out Jack" If.Line_ctl { Condition { @@ -40,12 +42,13 @@ SectionDevice."Line" { } } -SectionDevice."Mic" { - Comment "Microphone" +SectionDevice."Headset" { + Comment "Headset Microphone" Value { CapturePriority 100 CapturePCM "hw:${CardId}" + JackControl "Headset Mic Jack" If.Mic_ctl { Condition {