conf/ucm: Add a UCM profile for Dell WD15 Dock USB-audio
PATCH 1/1 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.
---
This is the alsa-lib part to correspond to the recent Dell WD15 dock patchset.
src/conf/ucm/Dell-WD15-Dock/Dell-WD15-Dock.conf | 5 +++++ src/conf/ucm/Dell-WD15-Dock/HiFi.conf | 26 +++++++++++++++++++++++++ src/conf/ucm/Dell-WD15-Dock/Makefile.am | 4 ++++ src/conf/ucm/Makefile.am | 1 + 4 files changed, 36 insertions(+) create mode 100644 src/conf/ucm/Dell-WD15-Dock/Dell-WD15-Dock.conf create mode 100644 src/conf/ucm/Dell-WD15-Dock/HiFi.conf create mode 100644 src/conf/ucm/Dell-WD15-Dock/Makefile.am
src/conf/ucm/Dell-WD15-Dock/Dell-WD15-Dock.conf new file +5 -0
@@ -0,0 +1,5 @@ +Comment "USB-audio on Dell WD15 docking station" +SectionUseCase."HiFi" { + File "HiFi.conf" + Comment "Default" +}
src/conf/ucm/Dell-WD15-Dock/HiFi.conf new file +26 -0
@@ -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" + } +}
src/conf/ucm/Dell-WD15-Dock/Makefile.am new file +4 -0
@@ -0,0 +1,4 @@ +alsaconfigdir = @ALSA_CONFIG_DIR@ +ucmdir = $(alsaconfigdir)/ucm/Dell-WD15-Dock +ucm_DATA = Dell-WD15-Dock.conf HiFi.conf +EXTRA_DIST = $(ucm_DATA)
src/conf/ucm/Makefile.am +1 -0
@@ -7,6 +7,7 @@ chtrt5645 \ chtrt5645-mono-speaker-analog-mic \ DAISY-I2S \ DB410c \ +Dell-WD15-Dock \ GoogleNyan \ gpd-win-pocket-rt5645 \ HDAudio-Gigabyte-ALC1220DualCodecs \
Signature · 1 line
2.16.3
Quoted 6 lines · Takashi Iwai
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 <[email protected]>
The change in configure.ac was missing. Below is the corrected one. Sorry for the mess.
Takashi
-- 8< --
From: Takashi Iwai <[email protected]>
Subject: [PATCH alsa-lib v2] 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.
--- configure.ac | 1 + src/conf/ucm/Dell-WD15-Dock/Dell-WD15-Dock.conf | 5 +++++ src/conf/ucm/Dell-WD15-Dock/HiFi.conf | 26 +++++++++++++++++++++++++ src/conf/ucm/Dell-WD15-Dock/Makefile.am | 4 ++++ src/conf/ucm/Makefile.am | 1 + 5 files changed, 37 insertions(+) create mode 100644 src/conf/ucm/Dell-WD15-Dock/Dell-WD15-Dock.conf create mode 100644 src/conf/ucm/Dell-WD15-Dock/HiFi.conf create mode 100644 src/conf/ucm/Dell-WD15-Dock/Makefile.am
configure.ac +1 -0
@@ -725,6 +725,7 @@ AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \ src/conf/ucm/chtrt5645-mono-speaker-analog-mic/Makefile \ src/conf/ucm/DAISY-I2S/Makefile \ src/conf/ucm/DB410c/Makefile \ + src/conf/ucm/Dell-WD15-Dock/Makefile \ src/conf/ucm/GoogleNyan/Makefile \ src/conf/ucm/gpd-win-pocket-rt5645/Makefile \ src/conf/ucm/HDAudio-Gigabyte-ALC1220DualCodecs/Makefile \
src/conf/ucm/Dell-WD15-Dock/Dell-WD15-Dock.conf new file +5 -0
@@ -0,0 +1,5 @@ +Comment "USB-audio on Dell WD15 docking station" +SectionUseCase."HiFi" { + File "HiFi.conf" + Comment "Default" +}
src/conf/ucm/Dell-WD15-Dock/HiFi.conf new file +26 -0
@@ -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" + } +}
src/conf/ucm/Dell-WD15-Dock/Makefile.am new file +4 -0
@@ -0,0 +1,4 @@ +alsaconfigdir = @ALSA_CONFIG_DIR@ +ucmdir = $(alsaconfigdir)/ucm/Dell-WD15-Dock +ucm_DATA = Dell-WD15-Dock.conf HiFi.conf +EXTRA_DIST = $(ucm_DATA)
src/conf/ucm/Makefile.am +1 -0
@@ -7,6 +7,7 @@ chtrt5645 \ chtrt5645-mono-speaker-analog-mic \ DAISY-I2S \ DB410c \ +Dell-WD15-Dock \ GoogleNyan \ gpd-win-pocket-rt5645 \ HDAudio-Gigabyte-ALC1220DualCodecs \
Signature · 1 line
2.16.3
Quoted 9 lines · Takashi Iwai
Quoted 5 lines · Takashi Iwai
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 <[email protected]>The change in configure.ac was missing. Below is the corrected one. Sorry for the mess.
The V1 patch seems to be merged in the master branch.
I send a patch to fix the build error based on your V2 version patch.
Thanks
Xiuli
Quoted 100 lines
Takashi
-- 8< --
From: Takashi Iwai <[email protected]>
Subject: [PATCH alsa-lib v2] conf/ucm: Add a UCM profile for Dell WD15 Dock USB-audioUSB-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 <[email protected]>--- configure.ac | 1 + src/conf/ucm/Dell-WD15-Dock/Dell-WD15-Dock.conf | 5 +++++ src/conf/ucm/Dell-WD15-Dock/HiFi.conf | 26 +++++++++++++++++++++++++ src/conf/ucm/Dell-WD15-Dock/Makefile.am | 4 ++++ src/conf/ucm/Makefile.am | 1 + 5 files changed, 37 insertions(+)create mode 100644
src/conf/ucm/Dell-WD15-Dock/Dell-WD15-Dock.confcreate mode 100644src/conf/ucm/Dell-WD15-Dock/HiFi.confcreate mode 100644 src/conf/ucm/Dell-WD15-Dock/Makefile.amconfigure.ac +1
-0@@ -725,6 +725,7 @@ AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \ src/conf/ucm/chtrt5645-mono-speaker-analog-mic/Makefile \ src/conf/ucm/DAISY-I2S/Makefile \ src/conf/ucm/DB410c/Makefile \ + src/conf/ucm/Dell-WD15-Dock/Makefile \ src/conf/ucm/GoogleNyan/Makefile \ src/conf/ucm/gpd-win-pocket-rt5645/Makefile \ src/conf/ucm/HDAudio-Gigabyte-ALC1220DualCodecs/Makefile \src/conf/ucm/Dell-WD15-Dock/Dell-WD15-Dock.conf new file +5
-0@@ -0,0 +1,5 @@ +Comment "USB-audio on Dell WD15 docking station" +SectionUseCase."HiFi" { + File "HiFi.conf" + Comment "Default" +}src/conf/ucm/Dell-WD15-Dock/HiFi.conf new file +26
-0@@ -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" + } +}src/conf/ucm/Dell-WD15-Dock/Makefile.am new file +4
-0@@ -0,0 +1,4 @@ +alsaconfigdir = @ALSA_CONFIG_DIR@ +ucmdir = $(alsaconfigdir)/ucm/Dell-WD15-Dock +ucm_DATA = Dell-WD15-Dock.conf HiFi.conf +EXTRA_DIST = $(ucm_DATA)src/conf/ucm/Makefile.am +1
-0@@ -7,6 +7,7 @@ chtrt5645 \ chtrt5645-mono-speaker-analog-mic \ DAISY-I2S \ DB410c \ +Dell-WD15-Dock \ GoogleNyan \ gpd-win-pocket-rt5645 \ HDAudio-Gigabyte-ALC1220DualCodecs \
Quoted 10 lines · Xiuli
Quoted 6 lines · Takashi Iwai
Quoted 4 lines · Takashi Iwai
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.
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Takashi Iwai <[email protected]>The change in configure.ac was missing. Below is the corrected one. Sorry for the mess.
The V1 patch seems to be merged in the master branch.
I send a patch to fix the build error based on your V2 version patch.
I seem to have forgotten to refresh the git repo. Grrr. Since it took too long, I applied the incremental fix commit instead of rebase, exactly same as what you sent.
thanks,
Takashi
Quoted 11 lines · Takashi Iwai
Quoted 9 lines · Xiuli
Quoted 6 lines · Takashi Iwai
Quoted 4 lines · Takashi Iwai
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.
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Takashi Iwai <[email protected]>The change in configure.ac was missing. Below is the corrected one. Sorry for the mess.
The V1 patch seems to be merged in the master branch.
I send a patch to fix the build error based on your V2 version patch.I seem to have forgotten to refresh the git repo. Grrr. Since it took too long, I applied the incremental fix commit instead of rebase, exactly same as what you sent.
Thanks for the fixing.
The master could compile now.
Thanks
Xiuli
Quoted 8 lines
thanks,
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel