Commit e7dc6296 authored by Guido Gunther's avatar Guido Gunther Committed by Guido Gunther
Browse files

Add ucm profile from librem5-devkit-tools

parent c1f4ec4e
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"
}
}
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"
]
Supports Markdown
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