From: Amadeusz Sławiński Date: Tue, 18 Jun 2024 10:47:43 +0000 (+0200) Subject: ucm2: Intel: avs: Add UCM files for rt5663 configuration X-Git-Tag: v1.2.13~31 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=00a034293f579d14f339219eb05817e9a3f79ab2;p=alsa-ucm-conf.git ucm2: Intel: avs: Add UCM files for rt5663 configuration Add configs for devices using rt5663 codec. Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/418 Signed-off-by: Amadeusz Sławiński Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/Intel/avs/avs_rt5663/Google-Eve-1.0-HiFi.conf b/ucm2/Intel/avs/avs_rt5663/Google-Eve-1.0-HiFi.conf new file mode 100644 index 0000000..7066603 --- /dev/null +++ b/ucm2/Intel/avs/avs_rt5663/Google-Eve-1.0-HiFi.conf @@ -0,0 +1,31 @@ +SectionDevice."Headphones" { + Comment "Headphones" + + Value { + PlaybackPCM "hw:${CardId},1" + PlaybackMixerElem "DAC" + JackControl "Headphone Jack" + } + EnableSequence [ + cset "name='Headphone Jack Switch' on" + ] + DisableSequence [ + cset "name='Headphone Jack Switch' off" + ] +} + +SectionDevice."Mic" { + Comment "Headset Microphone" + + Value { + CapturePCM "hw:${CardId},1" + CaptureMixerElem "Headset Mic" + JackControl "Headset Mic" + } + EnableSequence [ + cset "name='Headset Mic Switch' on" + ] + DisableSequence [ + cset "name='Headset Mic Switch' off" + ] +} diff --git a/ucm2/Intel/avs/avs_rt5663/Google-Eve-1.0.conf b/ucm2/Intel/avs/avs_rt5663/Google-Eve-1.0.conf new file mode 100644 index 0000000..4bc0c1a --- /dev/null +++ b/ucm2/Intel/avs/avs_rt5663/Google-Eve-1.0.conf @@ -0,0 +1,17 @@ +Syntax 6 + +SectionUseCase."HiFi" { + File "/Intel/avs/avs_rt5663/Google-Eve-1.0-HiFi.conf" + Comment "Play HiFi quality Music" +} + +BootSequence [ + cset "name='Headphone Playback Volume' 16" + cset "name='Headset Mic Switch' off" + cset "name='STO1 ADC MIXL ADC1 Switch' on" + cset "name='ADC Capture Volume' 35" + cset "name='DAC L Mux' STO DAC MIXL" + cset "name='DAC R Mux' STO DAC MIXR" + cset "name='STO1 DAC MIXL DAC L Switch' on" + cset "name='STO1 DAC MIXR DAC R Switch' on" +] diff --git a/ucm2/Intel/avs/avs_rt5663/HP-Soraka-1.0-HiFi.conf b/ucm2/Intel/avs/avs_rt5663/HP-Soraka-1.0-HiFi.conf new file mode 100644 index 0000000..7066603 --- /dev/null +++ b/ucm2/Intel/avs/avs_rt5663/HP-Soraka-1.0-HiFi.conf @@ -0,0 +1,31 @@ +SectionDevice."Headphones" { + Comment "Headphones" + + Value { + PlaybackPCM "hw:${CardId},1" + PlaybackMixerElem "DAC" + JackControl "Headphone Jack" + } + EnableSequence [ + cset "name='Headphone Jack Switch' on" + ] + DisableSequence [ + cset "name='Headphone Jack Switch' off" + ] +} + +SectionDevice."Mic" { + Comment "Headset Microphone" + + Value { + CapturePCM "hw:${CardId},1" + CaptureMixerElem "Headset Mic" + JackControl "Headset Mic" + } + EnableSequence [ + cset "name='Headset Mic Switch' on" + ] + DisableSequence [ + cset "name='Headset Mic Switch' off" + ] +} diff --git a/ucm2/Intel/avs/avs_rt5663/HP-Soraka-1.0.conf b/ucm2/Intel/avs/avs_rt5663/HP-Soraka-1.0.conf new file mode 100644 index 0000000..5d3eada --- /dev/null +++ b/ucm2/Intel/avs/avs_rt5663/HP-Soraka-1.0.conf @@ -0,0 +1,13 @@ +Syntax 6 + +SectionUseCase."HiFi" { + File "/Intel/avs/avs_rt5663/HP-Soraka-1.0-HiFi.conf" + Comment "Play HiFi quality Music" +} + +BootSequence [ + cset "name='Headphone Jack Switch' off" + cset "name='Headset Mic Switch' off" + cset "name='Headphone Playback Volume' 16" + cset "name='STO1 ADC MIXL ADC1 Switch' on" +] diff --git a/ucm2/conf.d/avs_rt5663/Google-Eve-1.0.conf b/ucm2/conf.d/avs_rt5663/Google-Eve-1.0.conf new file mode 120000 index 0000000..8188643 --- /dev/null +++ b/ucm2/conf.d/avs_rt5663/Google-Eve-1.0.conf @@ -0,0 +1 @@ +../../Intel/avs/avs_rt5663/Google-Eve-1.0.conf \ No newline at end of file diff --git a/ucm2/conf.d/avs_rt5663/HP-Soraka-1.0.conf b/ucm2/conf.d/avs_rt5663/HP-Soraka-1.0.conf new file mode 120000 index 0000000..f2c518e --- /dev/null +++ b/ucm2/conf.d/avs_rt5663/HP-Soraka-1.0.conf @@ -0,0 +1 @@ +../../Intel/avs/avs_rt5663/HP-Soraka-1.0.conf \ No newline at end of file