-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Lenovo ThinkStation P620 Main Audio
This add support for internal speaker and front headset. We need two separate configs to let PulseAudio understands they are two different profiles, so the headset's port availability won't affect speaker's profile availability.
- Loading branch information
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
SectionDevice."Headphones" { | ||
Comment "Headphones" | ||
|
||
Value { | ||
PlaybackPriority 200 | ||
PlaybackPCM "hw:${CardId},1" | ||
JackControl "Headphone - Output Jack" | ||
} | ||
} | ||
|
||
SectionDevice."Microphone" { | ||
Comment "Microphone" | ||
|
||
Value { | ||
CapturePriority 200 | ||
CapturePCM "hw:${CardId}" | ||
JackControl "Mic - Input Jack" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
SectionDevice."Speaker" { | ||
Comment "Speaker" | ||
|
||
Value { | ||
PlaybackPriority 100 | ||
PlaybackPCM "hw:${CardId}" | ||
JackControl "Speaker - Output Jack" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Syntax 2 | ||
Comment "USB-audio on Lenovo ThinkStation P620 Main Audio" | ||
SectionUseCase."Speaker" { | ||
Comment "Internal Speaker" | ||
File "Lenovo-ThinkStation-P620-Main-Speaker.conf" | ||
} | ||
|
||
SectionUseCase."Headset" { | ||
Comment "Front Headset" | ||
File "Lenovo-ThinkStation-P620-Main-Headset.conf" | ||
} |