chromebook-ucm-conf/jsl/sof-cs42l42/HiFi.conf

79 lines
1.4 KiB
Plaintext

SectionVerb {
Value {
FullySpecifiedUCM "1"
}
EnableSequence [
cset "name='Headphone Jack Switch' off"
cset "name='Headset Mic Switch' off"
cset "name='ADC Volume' 109"
cset "name='ADC Boost Switch' on"
]
DisableSequence [
]
}
SectionDevice."Speaker" {
Comment "Speaker"
Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId},0"
}
EnableSequence [
cset "name='Spk Switch' on"
]
DisableSequence [
cset "name='Spk Switch' off"
]
}
SectionDevice."Headphones" {
Comment "Headphones"
Value {
PlaybackPriority 200
PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Mixer"
JackControl "Headphone Jack"
}
EnableSequence [
cset "name='Headphone Jack Switch' on"
cset "name='DAC HPF Switch' on"
]
DisableSequence [
cset "name='Headphone Jack Switch' off"
cset "name='DAC HPF Switch' off"
]
}
SectionDevice."Mic" {
Comment "Internal Microphone"
Value {
CapturePriority 100
CapturePCM "hw:${CardId},5"
CaptureChannels 4
}
}
SectionDevice."Headset" {
Comment "Headset Microphone"
Value {
CapturePriority 200
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackDev "sof-cs42l42 Headset Jack"
}
EnableSequence [
cset "name='Headset Mic Switch' on"
cset "name='ADC HPF Switch' on"
]
DisableSequence [
cset "name='Headset Mic Switch' off"
cset "name='ADC HPF Switch' off"
]
}
Include.hdmi.File "/conf.d/hdmi-common/hdmi234.conf"