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
e7dc6296
Commit
e7dc6296
authored
Feb 15, 2021
by
Guido Gunther
Committed by
Guido Gunther
Mar 09, 2021
Browse files
Add ucm profile from librem5-devkit-tools
parent
c1f4ec4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
default/audio/ucm2/Librem_5_Devkit/VoiceCall
0 → 100644
View file @
e7dc6296
SectionVerb {
EnableSequence [
]
DisableSequence [
]
Value {
TQ "Voice"
}
}
SectionDevice."Handset".0 {
EnableSequence [
cset "name='Lineout Playback Switch' on"
cset "name='Lineout Playback Volume' 18"
cset "name='Mic Volume' 2"
]
DisableSequence [
cset "name='Lineout Playback Switch' off"
cset "name='Mic Volume' 0"
]
Value {
PlaybackPriority "1000"
PlaybackPCM "hw:CARD=sgtl5000"
PlaybackVolume "name='Lineout Playback Volume'"
PlaybackSwitch "name='Lineout Playback Switch'"
CapturePriority "1000"
CapturePCM "hw:CARD=sgtl5000"
}
}
SectionDevice."Headset".0 {
EnableSequence [
cset "name='Headphone Mux' DAC"
cset "name='Headphone Playback Volume' 63"
cset "name='Headphone Playback Switch' on"
]
DisableSequence [
cset "name='Headphone Playback Switch' off"
]
Value {
PlaybackPriority "700"
PlaybackPCM "hw:CARD=sgtl5000"
PlaybackVolume "name='Headphone Playback Volume'"
PlaybackSwitch "name='Headphone Playback Switch'"
CapturePriority "700"
CapturePCM "hw:CARD=sgtl5000"
}
}
default/audio/ucm2/Librem_5_Devkit/sgtl5000.conf
0 → 100644
View file @
e7dc6296
Comment
"SGTL5000 Codec for Librem 5 Developer's Kit"
SectionUseCase
.
"VoiceCall"
{
File
"VoiceCall"
}
ValueDefaults
{
PlaybackPCM
"hw:CARD=sgtl5000"
CapturePCM
"hw:CARD=sgtl5000"
PlaybackCTL
"hw:CARD=sgtl5000"
CaptureCTL
"hw:CARD=sgtl5000"
}
EnableSequence
[
cset
"name='Digital Input Mux' I2S"
cset
"name='PCM Playback Volume' 144"
]
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