sof-rt5682: add headset mic support

pull/6/head
SuperZoruaFan 2024-10-20 09:20:39 -07:00
parent 07e492f659
commit 2827bcdc76
2 changed files with 25 additions and 3 deletions

View File

@ -28,3 +28,20 @@ SectionDevice."Headphones" {
] ]
} }
SectionDevice."Headset" {
Comment "Headset Microphone"
Value {
CapturePriority 200
CapturePCM "hw:${CardId},${var:pcm}"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}
EnableSequence [
cset "name='Headset Mic Switch' on"
]
DisableSequence [
cset "name='Headset Mic Switch' off"
]
}

View File

@ -7,8 +7,13 @@ BootSequence [
cset "name='HPOR Playback Switch' off" cset "name='HPOR Playback Switch' off"
cset "name='Stereo1 DAC MIXL DAC L1 Switch' 0" cset "name='Stereo1 DAC MIXL DAC L1 Switch' 0"
cset "name='Stereo1 DAC MIXR DAC R1 Switch' 0" cset "name='Stereo1 DAC MIXR DAC R1 Switch' 0"
cset "name='RECMIX1L CBJ Switch' 0" cset "name='RECMIX1L CBJ Switch' 1"
cset "name='Stereo1 ADC L Mux' 0" cset "name='Stereo1 ADC L Mux' 0"
cset "name='Stereo1 ADC MIXL ADC1 Switch' 0" cset "name='Stereo1 ADC MIXL ADC1 Switch' 1"
cset "name='Stereo1 ADC MIXR ADC1 Switch' 0" cset "name='Stereo1 ADC MIXR ADC1 Switch' 1"
cset "name='CBJ Boost Volume' 3"
cset "name='Stereo1 ADC L1 Mux' 1"
cset "name='Stereo1 ADC R1 Mux' 1"
cset "name='IF1 01 ADC Swap Mux' 2"
cset "name='STO1 ADC Capture Switch' 1"
] ]