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

76 lines
1.3 KiB
Plaintext
Raw Normal View History

2023-05-20 22:06:04 +00:00
SectionVerb {
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
2023-05-26 13:54:55 +00:00
PlaybackPCM "hw:${CardId},0"
2023-05-20 22:06:04 +00:00
}
EnableSequence [
cset "name='Spk Switch' on"
]
DisableSequence [
cset "name='Spk Switch' off"
]
}
SectionDevice."Headphones" {
Comment "Headphones"
Value {
PlaybackPriority 200
2023-05-26 13:54:55 +00:00
PlaybackPCM "hw:${CardId},1"
2023-05-20 22:06:04 +00:00
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
2023-05-26 13:54:55 +00:00
CapturePCM "hw:${CardId},5"
2023-05-20 22:06:04 +00:00
CaptureChannels 4
}
}
SectionDevice."Headset" {
Comment "Headset Microphone"
Value {
CapturePriority 200
2023-05-26 13:54:55 +00:00
CapturePCM "hw:${CardId},1"
2023-05-20 22:06:04 +00:00
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"