From: Amadeusz Sławiński Date: Tue, 18 Jun 2024 10:46:46 +0000 (+0200) Subject: ucm2: Intel: avs: Add UCM files for nau8825 configuration X-Git-Tag: v1.2.13~33 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=1892fe49d880f72f17eb0fc955c232a42f3ad71c;p=alsa-ucm-conf.git ucm2: Intel: avs: Add UCM files for nau8825 configuration Add configs for devices using nau8825 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_nau8825/Acer-Lars-1.0-HiFi.conf b/ucm2/Intel/avs/avs_nau8825/Acer-Lars-1.0-HiFi.conf new file mode 100644 index 0000000..3f3e6c9 --- /dev/null +++ b/ucm2/Intel/avs/avs_nau8825/Acer-Lars-1.0-HiFi.conf @@ -0,0 +1,34 @@ +SectionDevice."Headphone" { + Comment "Headphones" + + Value { + PlaybackPCM "hw:${CardId},1" + 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" + CaptureCTL "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_nau8825/Acer-Lars-1.0.conf b/ucm2/Intel/avs/avs_nau8825/Acer-Lars-1.0.conf new file mode 100644 index 0000000..deacaad --- /dev/null +++ b/ucm2/Intel/avs/avs_nau8825/Acer-Lars-1.0.conf @@ -0,0 +1,13 @@ +Syntax 6 + +SectionUseCase."HiFi" { + File "/Intel/avs/avs_nau8825/Acer-Lars-1.0-HiFi.conf" + Comment "Play HiFi quality Music" +} + +BootSequence [ + cset "name='DAC Oversampling Rate' 128" + cset "name='Headset Mic Switch' off" + cset "name='Mic Volume' 255" + cset "name='Frontend PGA Volume' 19" +] diff --git a/ucm2/Intel/avs/avs_nau8825/Google-Cave-1.0-HiFi.conf b/ucm2/Intel/avs/avs_nau8825/Google-Cave-1.0-HiFi.conf new file mode 100644 index 0000000..3f3e6c9 --- /dev/null +++ b/ucm2/Intel/avs/avs_nau8825/Google-Cave-1.0-HiFi.conf @@ -0,0 +1,34 @@ +SectionDevice."Headphone" { + Comment "Headphones" + + Value { + PlaybackPCM "hw:${CardId},1" + 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" + CaptureCTL "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_nau8825/Google-Cave-1.0.conf b/ucm2/Intel/avs/avs_nau8825/Google-Cave-1.0.conf new file mode 100644 index 0000000..e308ac7 --- /dev/null +++ b/ucm2/Intel/avs/avs_nau8825/Google-Cave-1.0.conf @@ -0,0 +1,13 @@ +Syntax 6 + +SectionUseCase."HiFi" { + File "/Intel/avs/avs_nau8825/Google-Cave-1.0-HiFi.conf" + Comment "Play HiFi quality Music" +} + +BootSequence [ + cset "name='DAC Oversampling Rate' 128" + cset "name='Headset Mic Switch' off" + cset "name='Mic Volume' 255" +] + diff --git a/ucm2/Intel/avs/avs_nau8825/Hewlett_Packard-Chell-1.0-HiFi.conf b/ucm2/Intel/avs/avs_nau8825/Hewlett_Packard-Chell-1.0-HiFi.conf new file mode 100644 index 0000000..08e3961 --- /dev/null +++ b/ucm2/Intel/avs/avs_nau8825/Hewlett_Packard-Chell-1.0-HiFi.conf @@ -0,0 +1,37 @@ +SectionDevice."Headphone" { + Comment "Headphones" + + Value { + PlaybackPCM "hw:${CardId},1" + 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" + CaptureCTL "Mic" + JackControl "Headset Mic" + } + + EnableSequence [ + cset "name='Headset Mic Switch' on" + cset "name='BIQ Coefficients' 0,155,0,6,255,102,0,0,255,179,0,0,0,154,0,6,255,179,128,0" + ] + + DisableSequence [ + cset "name='Headset Mic Switch' off" + cset "name='BIQ Coefficients' 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0" + ] +} + diff --git a/ucm2/Intel/avs/avs_nau8825/Hewlett_Packard-Chell-1.0.conf b/ucm2/Intel/avs/avs_nau8825/Hewlett_Packard-Chell-1.0.conf new file mode 100644 index 0000000..4ba0cf4 --- /dev/null +++ b/ucm2/Intel/avs/avs_nau8825/Hewlett_Packard-Chell-1.0.conf @@ -0,0 +1,14 @@ +Syntax 6 + +SectionUseCase."HiFi" { + File "/Intel/avs/avs_nau8825/Hewlett_Packard-Chell-1.0-HiFi.conf" + Comment "Play HiFi quality Music" +} + +BootSequence [ + cset "name='DAC Oversampling Rate' 64" + cset "name='Headset Mic Switch' off" + cset "name='BIQ Path Select' ADC" + cset "name='BIQ Coefficients' 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0" + cset "name='Mic Volume' 255" +] diff --git a/ucm2/conf.d/avs_nau8825/Acer-Lars-1.0.conf b/ucm2/conf.d/avs_nau8825/Acer-Lars-1.0.conf new file mode 120000 index 0000000..f85e705 --- /dev/null +++ b/ucm2/conf.d/avs_nau8825/Acer-Lars-1.0.conf @@ -0,0 +1 @@ +../../Intel/avs/avs_nau8825/Acer-Lars-1.0.conf \ No newline at end of file diff --git a/ucm2/conf.d/avs_nau8825/Google-Cave-1.0.conf b/ucm2/conf.d/avs_nau8825/Google-Cave-1.0.conf new file mode 120000 index 0000000..c1b7ffa --- /dev/null +++ b/ucm2/conf.d/avs_nau8825/Google-Cave-1.0.conf @@ -0,0 +1 @@ +../../Intel/avs/avs_nau8825/Google-Cave-1.0.conf \ No newline at end of file diff --git a/ucm2/conf.d/avs_nau8825/Hewlett_Packard-Chell-1.0.conf b/ucm2/conf.d/avs_nau8825/Hewlett_Packard-Chell-1.0.conf new file mode 120000 index 0000000..134e804 --- /dev/null +++ b/ucm2/conf.d/avs_nau8825/Hewlett_Packard-Chell-1.0.conf @@ -0,0 +1 @@ +../../Intel/avs/avs_nau8825/Hewlett_Packard-Chell-1.0.conf \ No newline at end of file