diff options
author | Kai-Heng Feng <kai.heng.feng@canonical.com> | 2020-09-09 17:10:41 +0800 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2020-09-09 11:52:45 +0200 |
commit | 4626beb75442e7de81ccb71a8bf34c85976b9dc1 (patch) | |
tree | 4086de88f5c98b4f320a548cbcdbdbd5923384e2 | |
parent | eda02cf25751cc4792c5b160f42325c695342807 (diff) |
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 <kai.heng.feng@canonical.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r-- | ucm2/USB-Audio/Lenovo-ThinkStation-P620-Rear-HiFi.conf | 29 | ||||
-rw-r--r-- | ucm2/USB-Audio/Lenovo-ThinkStation-P620-Rear.conf | 6 |
2 files changed, 35 insertions, 0 deletions
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" +} |