avs: add rt5663 ucm

pull/1/head
WeirdTreeThing 2023-06-10 20:32:14 -04:00
parent ed9f0d13b0
commit a6103257bc
No known key found for this signature in database
GPG Key ID: 1F56A4B52998B851
2 changed files with 60 additions and 0 deletions

53
avs/avs_rt5663/HiFi.conf Normal file
View File

@ -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"
]
}

View File

@ -0,0 +1,7 @@
Syntax 6
Comment "RT5663 headphone codec"
SectionUseCase."HiFi" {
File "HiFi.conf"
Comment "Default"
}