Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
librem5-base
Commits
bc6c646f
Commit
bc6c646f
authored
Feb 18, 2021
by
Guido Gunther
Committed by
Guido Gunther
Mar 09, 2021
Browse files
ucm2: Improve devkit config
Use the mux to switch mics and properly configure defaults and detect headphone jack.
parent
2ccdf642
Pipeline
#65205
passed with stages
in 4 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
default/audio/ucm2/Librem_5_Devkit/HiFi.conf
View file @
bc6c646f
...
...
@@ -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"
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment