From bbf4a216285f7944b2865631a5ad96da60955659 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 2 May 2018 16:23:21 +0200 Subject: [PATCH] conf/ucm: Add a UCM profile for Dell WD15 Dock USB-audio USB-audio device on Dell WD15 docking station provides two individual PCM streams, one for headphone and another for line out. A UCM profile gives the proper roles for these. Signed-off-by: Takashi Iwai --- ucm/Dell-WD15-Dock/Dell-WD15-Dock.conf | 5 +++++ ucm/Dell-WD15-Dock/HiFi.conf | 26 ++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 ucm/Dell-WD15-Dock/Dell-WD15-Dock.conf create mode 100644 ucm/Dell-WD15-Dock/HiFi.conf diff --git a/ucm/Dell-WD15-Dock/Dell-WD15-Dock.conf b/ucm/Dell-WD15-Dock/Dell-WD15-Dock.conf new file mode 100644 index 0000000..f4f0a8d --- /dev/null +++ b/ucm/Dell-WD15-Dock/Dell-WD15-Dock.conf @@ -0,0 +1,5 @@ +Comment "USB-audio on Dell WD15 docking station" +SectionUseCase."HiFi" { + File "HiFi.conf" + Comment "Default" +} diff --git a/ucm/Dell-WD15-Dock/HiFi.conf b/ucm/Dell-WD15-Dock/HiFi.conf new file mode 100644 index 0000000..b07f344 --- /dev/null +++ b/ucm/Dell-WD15-Dock/HiFi.conf @@ -0,0 +1,26 @@ +SectionDevice."Headphone" { + Comment "Headphone" + + Value { + PlaybackChannels "2" + PlaybackPCM "hw:WD15Dock,0" + } +} + +SectionDevice."LineOut" { + Comment "Line Out" + + Value { + PlaybackChannels "2" + PlaybackPCM "hw:WD15Dock,1" + } +} + +SectionDevice."Mic" { + Comment "Microphone" + + Value { + CaptureChannels "2" + CapturePCM "hw:WD15Dock,0" + } +} -- 2.47.1