From: Jan Schär Date: Fri, 8 Jul 2022 08:55:58 +0000 (+0200) Subject: USB-Audio: Dell-WD15-Dock: add jack controls X-Git-Tag: v1.2.7.2~10 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=178694338e10646f8a844507c3bb45fd6e4ba3a5;p=alsa-ucm-conf.git USB-Audio: Dell-WD15-Dock: add jack controls I recently added support for these to Linux, see https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/commit/?id=4b8ea38fabab45ad911a32a336416062553dfe9c Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/185 Signed-off-by: Jan Schär Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/USB-Audio/Dell/WD15-Dock-HiFi.conf b/ucm2/USB-Audio/Dell/WD15-Dock-HiFi.conf index 04355a7..b031a39 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 {