Commit 8bc00fc0 authored by Guido Gunther's avatar Guido Gunther

ucm2: Improve devkit config

Use the mux to switch mics and properly configure defaults and
detect headphone jack.
parent cb0a9da4
Pipeline #64592 passed with stages
in 6 minutes and 20 seconds
......@@ -2,9 +2,18 @@ SectionVerb {
EnableSequence [
cset "name='Digital Input Mux' I2S"
cset "name='PCM Playback Volume' 144"
cset "name='AVC Switch' off"
cset "name='Headphone Playback ZC Switch' off"
cset "name='Capture Attenuate Switch (-6dB)' off"
cset "name='Capture Mux' MIX_IN"
cset "name='Capture ZC Switch' off"
cset "name='Capture Switch' On"
cset "name='Capture Volume' 15,15"
]
DisableSequence [
cset "name='Digital Playback Volume' 0"
cset "name='PCM Playback Volume' 0"
]
Value {
}
......@@ -18,6 +27,7 @@ SectionDevice."Handset".0 {
]
EnableSequence [
cset "name='Mic Mux MUX' Input 2"
cset "name='Lineout Playback Switch' on"
cset "name='Lineout Playback Volume' 18"
cset "name='Mic Volume' 2"
......@@ -44,6 +54,7 @@ SectionDevice."Headset".0 {
]
EnableSequence [
cset "name='Mic Mux MUX' Input 1"
cset "name='Headphone Mux' DAC"
cset "name='Headphone Playback Volume' 63"
cset "name='Headphone Playback Switch' on"
......@@ -58,5 +69,6 @@ SectionDevice."Headset".0 {
PlaybackSwitch "name='Headphone Playback Switch'"
CapturePriority "700"
CapturePCM "hw:${CardId},0"
JackControl "Headphones Jack"
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment