From: Kai-Heng Feng Date: Wed, 9 Sep 2020 09:10:41 +0000 (+0800) Subject: ucm2: USB-Audio: Add support for Lenovo ThinkStation P620 Rear Audio X-Git-Tag: v1.2.4~4 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=4626beb75442e7de81ccb71a8bf34c85976b9dc1;p=alsa-ucm-conf.git ucm2: USB-Audio: Add support for Lenovo ThinkStation P620 Rear Audio Add proper PCM assignment to Lenovo ThinkStation P620 Rear Audio. Signed-off-by: Kai-Heng Feng Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/USB-Audio/Lenovo-ThinkStation-P620-Rear-HiFi.conf b/ucm2/USB-Audio/Lenovo-ThinkStation-P620-Rear-HiFi.conf new file mode 100644 index 0000000..3ea8391 --- /dev/null +++ b/ucm2/USB-Audio/Lenovo-ThinkStation-P620-Rear-HiFi.conf @@ -0,0 +1,29 @@ +SectionDevice."Line" { + Comment "Line In" + + Value { + CapturePriority 100 + CapturePCM "hw:${CardId}" + JackControl "Line - Input Jack" + } +} + +SectionDevice."Mic" { + Comment "Mic" + + Value { + CapturePriority 200 + CapturePCM "hw:${CardId},1" + JackControl "Mic - Input Jack" + } +} + +SectionDevice."Speaker" { + Comment "Speaker" + + Value { + PlaybackPriority 100 + PlaybackPCM "hw:${CardId}" + JackControl "Speaker - Output Jack" + } +} diff --git a/ucm2/USB-Audio/Lenovo-ThinkStation-P620-Rear.conf b/ucm2/USB-Audio/Lenovo-ThinkStation-P620-Rear.conf new file mode 100644 index 0000000..f97efcb --- /dev/null +++ b/ucm2/USB-Audio/Lenovo-ThinkStation-P620-Rear.conf @@ -0,0 +1,6 @@ +Syntax 2 +Comment "USB-audio on Lenovo ThinkStation P620 Rear Audio" +SectionUseCase."HiFi" { + Comment "Default" + File "Lenovo-ThinkStation-P620-Rear-HiFi.conf" +}