]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
USB-Audio: Dell-WD15-Dock: add jack controls
authorJan Schär <jan@jschaer.ch>
Fri, 8 Jul 2022 08:55:58 +0000 (10:55 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 8 Jul 2022 14:38:04 +0000 (16:38 +0200)
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 <jan@jschaer.ch>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/Dell/WD15-Dock-HiFi.conf

index 04355a7061b597469f03d55696e26271a14448f6..b031a39efcef4f0085f1acd7dd5b6751316412de 100644 (file)
@@ -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 {