diff --git a/avs/avs_rt5663/HiFi.conf b/avs/avs_rt5663/HiFi.conf new file mode 100644 index 0000000..dd1a491 --- /dev/null +++ b/avs/avs_rt5663/HiFi.conf @@ -0,0 +1,53 @@ +SectionVerb { + Value { + FullySpecifiedUCM "1" + } + EnableSequence [ + cset "name='Headphone Jack Switch' off" + cset "name='Headset Mic Switch' off" + cset "name='Headphone Playback Volume' 16" + cset "name='ADC Capture Volume' 35" + cset "name='ADDA MIXL ADC L Switch' on" + cset "name='ADDA MIXL DAC L Switch' on" + cset "name='ADDA MIXL DAC R Switch' on" + cset "name='DAC Playback Volume' 60" + cset "name='IN1 Capture Volume' 4" + cset "name='STO1 ADC MIXL ADC1 Switch' on" + cset "name='STO1 ADC MIXL ADC2 Switch' on" + cset "name='STO1 DAC MIXL DAC L Switch' on" + cset "name='STO1 DAC MIXL DAC R Switch' on" + cset "name='DAC L Mux' STO DAC MIXL" + cset "name='DAC R Mux' STO DAC MIXR" + ] +} + +SectionDevice."Headphones" { + Comment "Headphones" + + Value { + PlaybackPCM "hw:${CardId},1" + PlaybackMixerElem "Headphone" + } + EnableSequence [ + cset "name='Headphone Jack Switch' on" + ] + DisableSequence [ + cset "name='Headphone Jack Switch' off" + ] +} + +SectionDevice."Headset" { + Comment "Headset Microphone" + + Value { + CapturePCM "hw:${CardId},1" + CaptureMixerElem "Headset Mic" + } + + EnableSequence [ + cset "name='Headset Mic Switch' on" + ] + DisableSequence [ + cset "name='Headset Mic Switch' off" + ] +} diff --git a/avs/avs_rt5663/avs_rt5663.conf b/avs/avs_rt5663/avs_rt5663.conf new file mode 100644 index 0000000..b171a55 --- /dev/null +++ b/avs/avs_rt5663/avs_rt5663.conf @@ -0,0 +1,7 @@ +Syntax 6 +Comment "RT5663 headphone codec" + +SectionUseCase."HiFi" { + File "HiFi.conf" + Comment "Default" +}