From 914327e00b7626b1acd176d498f35f7b4e213dd3 Mon Sep 17 00:00:00 2001 From: Hui Wang Date: Tue, 27 Nov 2018 09:36:28 +0800 Subject: [PATCH] conf/ucm: Add a UCM profile for Dell WD19 Dock USB-audio USB-audio device on Dell WD19 docking station provides two individual output PCM streams, one for headphone Jack and another for speaker out Jack. A UCM profile gives the proper roles for these. Signed-off-by: Hui Wang Signed-off-by: Jaroslav Kysela --- ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf | 5 +++++ ucm/Dell-WD19-Dock/HiFi.conf | 26 ++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf create mode 100644 ucm/Dell-WD19-Dock/HiFi.conf diff --git a/ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf b/ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf new file mode 100644 index 0000000..465ff55 --- /dev/null +++ b/ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf @@ -0,0 +1,5 @@ +Comment "USB-audio on Dell WD19 docking station" +SectionUseCase."HiFi" { + File "HiFi.conf" + Comment "Default" +} diff --git a/ucm/Dell-WD19-Dock/HiFi.conf b/ucm/Dell-WD19-Dock/HiFi.conf new file mode 100644 index 0000000..e1427a7 --- /dev/null +++ b/ucm/Dell-WD19-Dock/HiFi.conf @@ -0,0 +1,26 @@ +SectionDevice."Headphone" { + Comment "Headphone" + + Value { + PlaybackChannels "2" + PlaybackPCM "hw:Dock,0" + } +} + +SectionDevice."Speaker" { + Comment "Speaker" + + Value { + PlaybackChannels "2" + PlaybackPCM "hw:Dock,1" + } +} + +SectionDevice."Mic" { + Comment "Microphone" + + Value { + CaptureChannels "2" + CapturePCM "hw:Dock,0" + } +} -- 2.47.1