diff options
author | Kai-Heng Feng <kai.heng.feng@canonical.com> | 2020-08-20 22:12:02 +0800 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2020-09-07 13:08:40 +0200 |
commit | ce06a252d60e41fc41134a6ea7914e7645029ab2 (patch) | |
tree | b1603e4e8b907eb5dbfc46c61db528367515a7ed | |
parent | 4c703a5504deb1772cadfdc783257d9a927b422b (diff) |
Add support for Lenovo ThinkStation P620 Main Audio
This add support for its internal speaker and front headset.
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-Main-HiFi.conf | 29 | ||||
-rw-r--r-- | ucm2/USB-Audio/Lenovo-ThinkStation-P620-Main.conf | 6 |
2 files changed, 35 insertions, 0 deletions
diff --git a/ucm2/USB-Audio/Lenovo-ThinkStation-P620-Main-HiFi.conf b/ucm2/USB-Audio/Lenovo-ThinkStation-P620-Main-HiFi.conf new file mode 100644 index 0000000..c515d46 --- /dev/null +++ b/ucm2/USB-Audio/Lenovo-ThinkStation-P620-Main-HiFi.conf @@ -0,0 +1,29 @@ +SectionDevice."Headphones" { + Comment "Headphones" + + Value { + PlaybackPriority 200 + PlaybackPCM "hw:${CardId},1" + JackControl "Headphone - Output Jack" + } +} + +SectionDevice."Mic" { + Comment "Mic" + + Value { + CapturePriority 200 + CapturePCM "hw:${CardId}" + 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-Main.conf b/ucm2/USB-Audio/Lenovo-ThinkStation-P620-Main.conf new file mode 100644 index 0000000..53ef729 --- /dev/null +++ b/ucm2/USB-Audio/Lenovo-ThinkStation-P620-Main.conf @@ -0,0 +1,6 @@ +Syntax 2 +Comment "USB-audio on Lenovo ThinkStation P620 Main Audio" +SectionUseCase."HiFi" { + Comment "Default" + File "Lenovo-ThinkStation-P620-Main-HiFi.conf" +} |