Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ucm2: acp3xalc5682m98: Add JackControls #357

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions ucm2/AMD/acp3xalc5682m98/HiFi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ SectionDevice."Speaker" {
Comment "Speaker"
Value {
PlaybackPCM "hw:${CardId},1"
PlaybackPriority 200
}
EnableSequence [
cset "name='Spk Switch' on"
Expand All @@ -46,7 +47,9 @@ SectionDevice."Headphones" {
Comment "Headphones"
Value {
PlaybackPCM "hw:${CardId},0"
PlaybackPriority 300
PlaybackMixerElem "DAC1"
JackControl "Headphone Jack"
}
EnableSequence [
cset "name='Headphone Jack Switch' on"
Expand All @@ -73,6 +76,7 @@ If.1mic {
]
Value {
CapturePCM "hw:${CardId},2"
CapturePriority 200
}
EnableSequence [
cset "name='Dmic Mux' Front Mic"
Expand All @@ -86,6 +90,7 @@ If.1mic {
]
Value {
CapturePCM "hw:${CardId},2"
CapturePriority 100
}
EnableSequence [
cset "name='Dmic Mux' Rear Mic"
Expand All @@ -96,7 +101,9 @@ If.1mic {
Comment "Microphone"
Value {
CapturePCM "hw:${CardId},0"
CapturePriority 300
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}
EnableSequence [
cset "name='Headset Mic Switch' on"
Expand All @@ -111,6 +118,7 @@ If.1mic {
Comment "Internal Microphone"
Value {
CapturePCM "hw:${CardId},2"
CapturePriority 200
}
EnableSequence [
cset "name='Dmic Mux' Front Mic"
Expand All @@ -121,7 +129,9 @@ If.1mic {
Comment "Microphone"
Value {
CapturePCM "hw:${CardId},0"
CapturePriority 300
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}
EnableSequence [
cset "name='Headset Mic Switch' on"
Expand Down
Loading