diff --git a/buildroot-external/board/ovos/raspberrypi/rootfs-overlay/usr/share/alsa/ucm2/conf.d/RPi-simple/sndxvf3510.conf b/buildroot-external/board/ovos/raspberrypi/rootfs-overlay/usr/share/alsa/ucm2/conf.d/RPi-simple/sndxvf3510.conf index cb103d92..b6fa6c2a 120000 --- a/buildroot-external/board/ovos/raspberrypi/rootfs-overlay/usr/share/alsa/ucm2/conf.d/RPi-simple/sndxvf3510.conf +++ b/buildroot-external/board/ovos/raspberrypi/rootfs-overlay/usr/share/alsa/ucm2/conf.d/RPi-simple/sndxvf3510.conf @@ -1 +1 @@ -../../XMOS/sndxvf3510/sndxvf3510.conf \ No newline at end of file +../../RaspberryPi/XMOS/sndxvf3510/sndxvf3510.conf \ No newline at end of file diff --git a/buildroot-external/configs/rpi4_64_defconfig b/buildroot-external/configs/rpi4_64_defconfig index 65b61788..0bc96f5d 100644 --- a/buildroot-external/configs/rpi4_64_defconfig +++ b/buildroot-external/configs/rpi4_64_defconfig @@ -109,8 +109,6 @@ BR2_PACKAGE_EROFS_UTILS_LZMA=y BR2_PACKAGE_EROFS_UTILS_EROFSFUSE=y BR2_PACKAGE_FUSE_OVERLAYFS=y BR2_PACKAGE_NTFS_3G=y -BR2_PACKAGE_GLMARK2=y -BR2_PACKAGE_KMSCUBE=y BR2_PACKAGE_MESA3D=y BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D=y BR2_PACKAGE_MESA3D_OPENGL_ES=y @@ -162,6 +160,8 @@ BR2_PACKAGE_LIBNFS=y BR2_PACKAGE_LIBSYSFS=y BR2_PACKAGE_LOCKDEV=y BR2_PACKAGE_PHYSFS=y +BR2_PACKAGE_JPEG=y +BR2_PACKAGE_LIBPNG=y BR2_PACKAGE_JITTERENTROPY_LIBRARY=y BR2_PACKAGE_LIBAIO=y BR2_PACKAGE_LIBGPIOD2=y @@ -251,6 +251,7 @@ BR2_PACKAGE_HTOP=y BR2_PACKAGE_IOTOP=y BR2_PACKAGE_NUMACTL=y BR2_PACKAGE_PODMAN=y +BR2_PACKAGE_PROCPS_NG=y BR2_PACKAGE_SHADOW=y BR2_PACKAGE_SHADOW_SHADOWGRP=y BR2_PACKAGE_SHADOW_ACCOUNT_TOOLS_SETUID=y diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm/README.md b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm/README.md deleted file mode 100644 index 2cbbfd18..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm/README.md +++ /dev/null @@ -1,5 +0,0 @@ -Use Case Configuration files v1 syntax --------------------------------------- - -This directory holds old UCM configuration files. The new -configuration files should be created in the ucm2 tree only. diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp3x-es83xx/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp3x-es83xx/HiFi.conf deleted file mode 100644 index 79179645..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp3x-es83xx/HiFi.conf +++ /dev/null @@ -1,88 +0,0 @@ -SectionVerb { - EnableSequence [ - disdevall "" - ] -} - -If.dmic { - Condition { - Type String - Empty "${var:DeviceDmic}" - } - False.SectionDevice."Mic" { - Comment "Digital Microphone" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},${var:DeviceDmic}" - CaptureChannels 2 - } - } -} - -SectionDevice."Speaker" { - Comment "Speakers" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Speaker Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Switch' off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - # The es8316 only has a HP-amp which is muxed to the speaker - # or to the headpones output - PlaybackMixerElem "Headphone Mixer" - PlaybackMasterElem "DAC" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "Headphone Mixer" - PlaybackMasterElem "DAC" - JackControl "Headphone Jack" - JackHWMute "Speaker" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - EnableSequence [ - cset "name='Differential Mux' lin1-rin1" - cset "name='Headset Mic Switch' on" - cset "name='Digital Mic Mux' 'dmic disable'" - cset "name='Internal Mic Switch' on" - ] - - DisableSequence [ - cset "name='Headset Mic Switch' on" - cset "name='Internal Mic Switch' off" - ] - - Value { - CapturePriority 300 - CapturePCM "hw:${CardId}" - CaptureMixerElem "ADC PGA Gain" - CaptureMasterElem "ADC" - JackControl "Headset Mic Jack" - } -} - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp3x-es83xx/acp3x-es83xx.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp3x-es83xx/acp3x-es83xx.conf deleted file mode 100644 index d5645d20..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp3x-es83xx/acp3x-es83xx.conf +++ /dev/null @@ -1,33 +0,0 @@ -Syntax 6 - -Define.DeviceDmic "$${find-device:type=pcm,stream=capture,field=id,regex='dmic'}" - -BootSequence [ - # Setup muxes / switches - cset "name='Left Headphone Mixer Left DAC Switch' on" - cset "name='Right Headphone Mixer Right DAC Switch' on" - # Set digital mix mux to "dmic disable" - # That doesn't affect dmic, but other values mute headset mic - cset "name='Digital Mic Mux' 0" - - # Set HP vol to 0 dB - cset "name='Headphone Playback Volume' 100%" - cset "name='Headphone Mixer Volume' 100%" - - # Set DAC vol - cset "name='DAC Playback Volume' 70%" - # LDATA TO LDAC, RDATA TO RDAC - cset "name='DAC Source Mux' 0" - - # Disable Auto Level Control - cset "name='ALC Capture Switch' off" - - # Set capture vol - cset "name='ADC Capture Volume' 70%" -] - -SectionUseCase."HiFi" { - File "/AMD/acp3x-es83xx/HiFi.conf" - Comment "Play and record HiFi quality Music" -} - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp3xalc5682m98/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp3xalc5682m98/HiFi.conf deleted file mode 100644 index 915d0203..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp3xalc5682m98/HiFi.conf +++ /dev/null @@ -1,144 +0,0 @@ -If.jelboz { - Condition { - Type RegexMatch - Regex "^(Jelboz|Jelboz360|Shuboz)$" - String "${sys:devices/virtual/dmi/id/product_name}" - } - True.Define.volume 3 - False.Define.volume 2 -} - -SectionVerb { - EnableSequence [ - cset "name='Headphone Jack Switch' off" - cset "name='HPOL Playback Switch' off" - cset "name='HPOR Playback Switch' off" - cset "name='Stereo1 DAC MIXL DAC L1 Switch' 0" - cset "name='Stereo1 DAC MIXR DAC R1 Switch' 0" - cset "name='Stereo1 ADC L Mux' 0" - cset "name='STO1 ADC Capture Switch' on" - cset "name='RECMIX1L CBJ Switch' 1" - cset "name='IF1 01 ADC Swap Mux' 2" - cset "name='CBJ Boost Volume' ${var:volume}" - cset "name='Stereo1 ADC L1 Mux' 1" - cset "name='Stereo1 ADC R1 Mux' 1" - cset "name='Stereo1 ADC MIXL ADC2 Switch' 0" - cset "name='Stereo1 ADC MIXR ADC2 Switch' 0" - cset "name='Stereo1 ADC MIXL ADC1 Switch' 1" - cset "name='Stereo1 ADC MIXR ADC1 Switch' 1" - ] -} - -SectionDevice."Speaker" { - Comment "Speaker" - Value { - PlaybackPCM "hw:${CardId},1" - PlaybackPriority 200 - } - EnableSequence [ - cset "name='Spk Switch' on" - ] - DisableSequence [ - cset "name='Spk Switch' off" - ] -} - -SectionDevice."Headphones" { - Comment "Headphones" - Value { - PlaybackPCM "hw:${CardId},0" - PlaybackPriority 300 - PlaybackMixerElem "DAC1" - JackControl "Headphone Jack" - } - EnableSequence [ - cset "name='Headphone Jack Switch' on" - cset "name='HPOL Playback Switch' 1" - cset "name='HPOR Playback Switch' 1" - ] - DisableSequence [ - cset "name='Headphone Jack Switch' off" - cset "name='HPOL Playback Switch' 0" - cset "name='HPOR Playback Switch' 0" - ] -} - -If.1mic { - Condition { - Type String - Empty "${var:1mic}" - } - True { - SectionDevice."Mic1" { - Comment "Front Microphone" - ConflictingDevice [ - "Mic2" - ] - Value { - CapturePCM "hw:${CardId},2" - CapturePriority 200 - } - EnableSequence [ - cset "name='Dmic Mux' Front Mic" - ] - } - - SectionDevice."Mic2" { - Comment "Rear Microphone" - ConflictingDevice [ - "Mic1" - ] - Value { - CapturePCM "hw:${CardId},2" - CapturePriority 100 - } - EnableSequence [ - cset "name='Dmic Mux' Rear Mic" - ] - } - - SectionDevice."Mic3" { - Comment "Microphone" - Value { - CapturePCM "hw:${CardId},0" - CapturePriority 300 - CaptureMixerElem "Headset Mic" - JackControl "Headset Mic Jack" - } - EnableSequence [ - cset "name='Headset Mic Switch' on" - ] - DisableSequence [ - cset "name='Headset Mic Switch' off" - ] - } - } - False { - SectionDevice."Mic1" { - Comment "Internal Microphone" - Value { - CapturePCM "hw:${CardId},2" - CapturePriority 200 - } - EnableSequence [ - cset "name='Dmic Mux' Front Mic" - ] - } - - SectionDevice."Mic2" { - Comment "Microphone" - Value { - CapturePCM "hw:${CardId},0" - CapturePriority 300 - CaptureMixerElem "Headset Mic" - JackControl "Headset Mic Jack" - } - EnableSequence [ - cset "name='Headset Mic Switch' on" - ] - DisableSequence [ - cset "name='Headset Mic Switch' off" - ] - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp3xalc5682m98/acp3xalc5682m98.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp3xalc5682m98/acp3xalc5682m98.conf deleted file mode 100644 index e1f1c9e2..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp3xalc5682m98/acp3xalc5682m98.conf +++ /dev/null @@ -1,72 +0,0 @@ -# Based on: -# https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/ad560b208139b80e97a7c2d39c7bfea1dcc29da9/overlay-zork/chromeos-base/chromeos-bsp-zork/files/ -# https://chromium.googlesource.com/chromiumos/project/+/f1387fd5f4effe236dd2a8e6e2b8e665eb2a6cfb/zork/ - -Syntax 4 - -Define { Found="" 1mic="" } - -If.zork { - Condition { - Type String - String1 "Google_Zork" - String2 "${sys:devices/virtual/dmi/id/product_family}" - } - True { - If.1mic { - Condition { - Type RegexMatch - Regex "^(Berknip|Dirinboz|Gumboz|Jelboz|Trembyle|Woomax)$" - String "${sys:devices/virtual/dmi/id/product_name}" - } - True.Define { Found=y 1mic=y } - } - - If.2mic { - Condition { - Type RegexMatch - Regex "^(Dalboz|Ezkinil|Jelboz360|Morphius)$" - String "${sys:devices/virtual/dmi/id/product_name}" - } - True.Define.Found y - } - - If.shuboz { - Condition { - Type String - String1 "Shuboz" - String2 "${sys:devices/virtual/dmi/id/product_name}" - } - True { - If.shuboz_jelboz { - Condition { - Type RegexMatch - Regex "^sku(1518731265|1518731266|1518731267|1518731268|1518731269|1518731270|1518731271|1518731272|1518731273|1518731274|1518731275|1518731276|1518731277|1518731278|2147483647)$" - String "${sys:devices/virtual/dmi/id/product_sku}" - } - True.Define { Found=y 1mic=y } - } - - If.shuboz_jelboz360 { - Condition { - Type RegexMatch - Regex "^sku(1518862337|1518862338|1518862339|1518862340)$" - String "${sys:devices/virtual/dmi/id/product_sku}" - } - True.Define.Found y - } - } - } - } -} - -If.found { - Condition { - Type String - Empty "${var:Found}" - } - False.SectionUseCase."HiFi" { - File "/AMD/acp3xalc5682m98/HiFi.conf" - Comment "Default" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp5x/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp5x/HiFi.conf deleted file mode 100644 index 13d40410..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp5x/HiFi.conf +++ /dev/null @@ -1,136 +0,0 @@ -Macro.apcmremap.CtlRemapMonoToStereoVolSw { - Type Volume - Stereo "Analog PCM" - MonoL "Left Analog PCM" - MonoR "Right Analog PCM" -} - -Macro.dpcmremap.CtlRemapMonoToStereoVolSw { - Type Volume - Stereo "Digital PCM" - MonoL "Left Digital PCM" - MonoR "Right Digital PCM" -} - -SectionVerb { - EnableSequence [ - disdevall "" - cset "name='ADC Phase Switch' 1" - cset "name='BIQ Coefficients' 0x03,0x5a,0x00,0x06,0xfc,0xac,0x00,0x00,0xfe,0x58,0x00,0x00,0x03,0x50,0x00,0x06,0xfe,0x58,0x00,0x08" - cset "name='Left PCM Source' DSP" - cset "name='Right PCM Source' DSP" - ] - - Value { - TQ "HiFi" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='Headphone Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Switch' off" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},0" - JackControl "Headphone Jack" - PlaybackMixerElem "Headphone" - PlaybackMasterElem "Digital Playback" - } -} - -SectionDevice."Speaker" { - Comment "Speaker" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Left DSP RX1 Source' ASPRX1" - cset "name='Right DSP RX1 Source' ASPRX2" - cset "name='Left DSP RX2 Source' ASPRX1" - cset "name='Right DSP RX2 Source' ASPRX2" - cset "name='Left DSP1 Preload Switch' 1" - cset "name='Right DSP1 Preload Switch' 1" - ] - - DisableSequence [ - cset "name='Left DSP RX1 Source' Zero" - cset "name='Right DSP RX1 Source' Zero" - cset "name='Left DSP RX2 Source' Zero" - cset "name='Right DSP RX2 Source' Zero" - cset "name='Left DSP1 Preload Switch' 0" - cset "name='Right DSP1 Preload Switch' 0" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},1" - PlaybackMixerElem "Digital PCM" - PlaybackMasterElem "Analog PCM" - PlaybackVolume "Digital PCM Volume" - } -} - -SectionDevice."Mic" { - Comment "Internal Microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='Int Mic Switch' on" - cset "name='DMIC Enable Switch' on" - ] - - DisableSequence [ - cset "name='Int Mic Switch' off" - cset "name='DMIC Enable Switch' off" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},0" - CaptureMixerElem "Int Mic" - CaptureVolume "Mic Volume" - CaptureSwitch "Int Mic Switch" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='Headset Mic Switch' on" - ] - - DisableSequence [ - cset "name='Headset Mic Switch' off" - ] - - Value { - CapturePriority 300 - CapturePCM "hw:${CardId},0" - CaptureMixerElem "Headset Mic" - CaptureVolume "Mic Volume" - CaptureSwitch "Headset Mic Switch" - JackControl "Headset Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp5x/acp5x.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp5x/acp5x.conf deleted file mode 100644 index 2e448636..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acp5x/acp5x.conf +++ /dev/null @@ -1,92 +0,0 @@ -Syntax 6 - -Comment "Vangogh internal card" - -# -# Macro CtlRemapMonoToStereoVolSw - join two mono controls into one stereo -# -# Arguments: -# Type - Volume or Switch -# Stereo - Name of the stereo control to be created -# MonoL - Name of the mono control to be used as Left channel -# MonoR - Name of the mono control to be used as Right channel -# -DefineMacro.CtlRemapMonoToStereoVolSw { - LibraryConfig.remap.Config { - ctl.default.map."name='${var:__Stereo} ${var:__Type}'" { - "name='${var:__MonoL} ${var:__Type}'".vindex.0 0 - "name='${var:__MonoR} ${var:__Type}'".vindex.1 0 - } - } -} - -# -# Currently restricted to Steam Deck hardware. -# -If.jupiter { - Condition { - Type String - String1 "Jupiter" - String2 "${sys:devices/virtual/dmi/id/product_name}" - } - True { - SectionUseCase."HiFi" { - File "/AMD/acp5x/HiFi.conf" - Comment "Default" - } - - BootSequence [ - cset "name='Digital Playback Volume' 252" - cset "name='Left Analog PCM Volume' 17" - cset "name='Right Analog PCM Volume' 17" - cset "name='Left Digital PCM Volume' 870" - cset "name='Right Digital PCM Volume' 870" - cset "name='Headphone Volume' 2" - cset "name='Digital Playback Volume' 192" - cset "name='Mic Volume' 252" - cset "name='Frontend PGA Volume' 27" - ] - - Include.card-init.File "/lib/card-init.conf" - Include.ctl-remap.File "/lib/ctl-remap.conf" - } -} - -# -# Currently restricted to Steam Deck OLED hardware. -# -If.galileo { - Condition { - Type String - String1 "Galileo" - String2 "${sys:devices/virtual/dmi/id/product_name}" - } - True { - SectionUseCase."HiFi" { - If.upstream { - Condition { - Type ControlExists - Control "name='Left Analog PCM Volume'" - } - True.File "HiFi-upstream.conf" - False.File "HiFi.conf" - } - Comment "Default" - } - - BootSequence [ - cset "name='Digital Playback Volume' 252" - cset "name='Left Analog PCM Volume' 17" - cset "name='Right Analog PCM Volume' 17" - cset "name='Left Digital PCM Volume' 870" - cset "name='Right Digital PCM Volume' 870" - cset "name='Headphone Volume' 2" - cset "name='Digital Playback Volume' 192" - cset "name='Mic Volume' 252" - cset "name='Frontend PGA Volume' 27" - ] - - Include.card-init.File "/lib/card-init.conf" - Include.ctl-remap.File "/lib/ctl-remap.conf" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acpd7219m98357/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acpd7219m98357/HiFi.conf deleted file mode 100644 index 8b2985d7..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acpd7219m98357/HiFi.conf +++ /dev/null @@ -1,53 +0,0 @@ -SectionDevice."Speaker" { - Comment "Speaker" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},2" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},0" - PlaybackMixerElem "Headphone" - JackControl "Headphone Jack" - } - EnableSequence [ - cset "name='Headphone Switch' on" - ] - DisableSequence [ - cset "name='Headphone Switch' off" - ] -} - -SectionDevice."Mic" { - Comment "Internal Microphone" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},4" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},1" - CaptureMixerElem "Headset Mic" - JackControl "Headset Mic Jack" - } - EnableSequence [ - cset "name='Headset Mic Switch' on" - cset "name='Mic Switch' on" - ] - DisableSequence [ - cset "name='Headset Mic Switch' off" - cset "name='Mic Switch' off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acpd7219m98357/acpd7219m98357.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acpd7219m98357/acpd7219m98357.conf deleted file mode 100644 index 14126dd6..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/AMD/acpd7219m98357/acpd7219m98357.conf +++ /dev/null @@ -1,8 +0,0 @@ -Syntax 6 - -SectionUseCase."HiFi" { - File "HiFi.conf" - Comment "Default" -} - -Include.codec-init.File "/codecs/da7219/init.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Allwinner/A64/PinePhone/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Allwinner/A64/PinePhone/HiFi.conf deleted file mode 100644 index 83c5c430..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Allwinner/A64/PinePhone/HiFi.conf +++ /dev/null @@ -1,109 +0,0 @@ -SectionVerb { - EnableSequence [ - cset "name='AIF2 Digital DAC Playback Switch' off" - cset "name='AIF2 ADC Mixer ADC Capture Switch' off" - ] -} - -SectionDevice."Speaker" { - Comment "Internal speaker" - EnableSequence [ - cset "name='Line Out Playback Switch' on" - ] - - DisableSequence [ - cset "name='Line Out Playback Switch' off" - ] - - Value { - PlaybackMixerElem "Line Out" - PlaybackPriority 300 - PlaybackPCM "hw:${CardId},0" - } -} - -SectionDevice."Earpiece" { - Comment "Internal Earpiece" - - EnableSequence [ - cset "name='AIF1 DA0 Stereo Playback Route' Mix Mono" - cset "name='Earpiece Playback Switch' on" - ] - - DisableSequence [ - cset "name='Earpiece Playback Switch' off" - cset "name='AIF1 DA0 Stereo Playback Route' Stereo" - ] - - Value { - PlaybackMixerElem "Earpiece" - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},0" - } -} - -SectionDevice."Mic" { - Comment "Internal Microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='Mic1 Capture Switch' on" - ] - - DisableSequence [ - cset "name='Mic1 Capture Switch' off" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},0" - CaptureVolume "ADC Capture Volume" - CaptureSwitch "Mic1 Capture Switch" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='Mic2 Capture Switch' on" - ] - - DisableSequence [ - cset "name='Mic2 Capture Switch' off" - ] - - Value { - CapturePriority 500 - CapturePCM "hw:${CardId},0" - CaptureVolume "ADC Capture Volume" - CaptureSwitch "Mic2 Capture Switch" - JackControl "Headset Microphone Jack" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - EnableSequence [ - cset "name='Headphone Playback Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Playback Switch' off" - ] - - Value { - PlaybackMixerElem "Headphone" - PlaybackPriority 500 - PlaybackPCM "hw:${CardId},0" - JackControl "Headphone Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Allwinner/A64/PinePhone/PinePhone.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Allwinner/A64/PinePhone/PinePhone.conf deleted file mode 100644 index d2967180..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Allwinner/A64/PinePhone/PinePhone.conf +++ /dev/null @@ -1,74 +0,0 @@ -Syntax 2 - -# To understand (or propose bug reports) for the different -# parts of these configuration files, see: -# https://www.alsa-project.org/alsa-doc/alsa-lib/group__ucm__conf.html - -# PinePhone-specific audio card structure help: -# https://files.pine64.org/doc/PinePhone/PinePhone%20v1.2%20Released%20Schematic.pdf -# https://xnux.eu/devices/feature/audio-pp.html - -# General PinePhone help: -# https://wiki.pine64.org/index.php/PinePhone - -SectionUseCase."HiFi" { - File "/Allwinner/A64/PinePhone/HiFi.conf" - Comment "Play HiFi quality music" -} - -SectionUseCase."Voice Call" { - File "/Allwinner/A64/PinePhone/VoiceCall.conf" - Comment "Make a phone call" -} - -FixedBootSequence [ - # Routing. - cset "name='ADC Digital DAC Playback Switch' off" - cset "name='AIF1 DA0 Stereo Playback Route' Stereo" - cset "name='AIF1 Data Digital ADC Capture Switch' on" - cset "name='AIF1 Slot 0 Digital DAC Playback Switch' on" - cset "name='AIF2 DAC Source Playback Route' AIF2" - # AIF2 (Modem) is mono. - cset "name='AIF2 DAC Stereo Playback Route' Mix Mono" - cset "name='AIF3 ADC Source Capture Route' None" - cset "name='DAC Playback Switch' on" - # Routes DACR->MIXL and DACL->MIXR => MIXL are MIXR are identical mono-mix of the DAC. - cset "name='DAC Reversed Playback Switch' on" - cset "name='Earpiece Source Playback Route' Left Mixer" - cset "name='Headphone Source Playback Route' DAC" - # The Pinephone speaker is mono. - cset "name='Line Out Source Playback Route' Mono Differential" -] - -BootSequence [ - # Playback volumes. - cset "name='AIF1 DA0 Playback Volume' 160" - cset "name='AIF2 DAC Playback Volume' 160" - cset "name='DAC Playback Volume' 160" - cset "name='Earpiece Playback Volume' 100%" - cset "name='Headphone Playback Volume' 70%" - cset "name='Line Out Playback Volume' 100%" - cset "name='Mic2 Boost Volume' 1" - - # Capture volumes. - cset "name='ADC Capture Volume' 160" - cset "name='AIF1 AD0 Capture Volume' 160" - cset "name='AIF2 ADC Capture Volume' 160" -] - -SectionDefaults [ - # Switch playback off. - cset "name='Earpiece Playback Switch' off" - cset "name='Headphone Playback Switch' off" - cset "name='Line In Playback Switch' off" - cset "name='Line Out Playback Switch' off" - cset "name='Mic1 Playback Switch' off" - cset "name='Mic2 Playback Switch' off" - - # Switch capture off. - cset "name='Line In Capture Switch' off" - cset "name='Mic1 Capture Switch' off" - cset "name='Mic2 Capture Switch' off" - cset "name='Mixer Capture Switch' off" - cset "name='Mixer Reversed Capture Switch' off" -] \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Allwinner/A64/PinePhone/VoiceCall.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Allwinner/A64/PinePhone/VoiceCall.conf deleted file mode 100644 index 2b6f50d5..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Allwinner/A64/PinePhone/VoiceCall.conf +++ /dev/null @@ -1,115 +0,0 @@ -SectionVerb { - EnableSequence [ - cset "name='AIF2 Digital DAC Playback Switch' on" - cset "name='AIF2 ADC Mixer ADC Capture Switch' on" - cset "name='AIF2 ADC Stereo Capture Route' Mix Mono" - ] - - Value { - PlaybackRate 8000 - } -} - -SectionDevice."Speaker" { - Comment "Internal speaker" - - EnableSequence [ - cset "name='Line Out Playback Switch' on" - ] - - DisableSequence [ - cset "name='Line Out Playback Switch' off" - ] - - Value { - PlaybackMixerElem "Line Out" - PlaybackPriority 300 - PlaybackPCM "hw:${CardId},0" - } -} - -SectionDevice."Earpiece" { - Comment "Internal Earpiece" - - EnableSequence [ - cset "name='AIF1 DA0 Stereo Playback Route' Mix Mono" - cset "name='Earpiece Playback Switch' on" - ] - - DisableSequence [ - cset "name='Earpiece Playback Switch' off" - cset "name='AIF1 DA0 Stereo Playback Route' Stereo" - ] - - Value { - PlaybackMixerElem "Earpiece" - PlaybackPriority 500 - PlaybackPCM "hw:${CardId},0" - } -} - -SectionDevice."Mic" { - Comment "Internal Microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='Mic1 Capture Switch' on" - ] - - DisableSequence [ - cset "name='Mic1 Capture Switch' off" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},0" - CaptureVolume "ADC Capture Volume" - CaptureSwitch "Mic1 Capture Switch" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='Mic2 Capture Switch' on" - ] - - DisableSequence [ - cset "name='Mic2 Capture Switch' off" - ] - - Value { - CapturePriority 500 - CapturePCM "hw:${CardId},0" - CaptureVolume "ADC Capture Volume" - CaptureSwitch "Mic2 Capture Switch" - JackControl "Headset Microphone Jack" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - EnableSequence [ - cset "name='Headphone Playback Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Playback Switch' off" - ] - - Value { - PlaybackMixerElem "Headphone" - PlaybackPriority 500 - PlaybackPCM "hw:${CardId},0" - JackControl "Headphone Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Amlogic/p241/p241-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Amlogic/p241/p241-HiFi.conf deleted file mode 100644 index 056116ee..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Amlogic/p241/p241-HiFi.conf +++ /dev/null @@ -1,40 +0,0 @@ -SectionDevice."Line" { - Comment "Analog Lineout" - - EnableSequence [ - cset "name='AIU ACODEC SRC' I2S" - cset "name='AIU ACODEC OUT EN Switch' 1" - cset "name='ACODEC Playback Switch' 1" - ] - - DisableSequence [ - cset "name='ACODEC Playback Switch' 0" - cset "name='AIU ACODEC OUT EN Switch' 0" - cset "name='AIU ACODEC SRC' DISABLED" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},0" - PlaybackChannels 2 - PlaybackVolume "ACODEC Playback Volume" - PlaybackMixerElem "ACODEC" - } -} - -SectionDevice."HDMI" { - Comment "HDMI" - - EnableSequence [ - cset "name='AIU HDMI CTRL SRC' I2S" - ] - - DisableSequence [ - cset "name='AIU HDMI CTRL SRC' DISABLED" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},0" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Amlogic/p241/p241.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Amlogic/p241/p241.conf deleted file mode 100644 index b6f4010e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Amlogic/p241/p241.conf +++ /dev/null @@ -1,31 +0,0 @@ -# Use case for the p241 Amlogic s805x reference design - -Syntax 3 - -SectionUseCase."HiFi" { - File "/Amlogic/p241/p241-HiFi.conf" - Comment "Play HiFi quality Music" -} - -FixedBootSequence [ - cset "name='AIU SPDIF SRC SEL' SPDIF" -] - -BootSequence [ - cset "name='AIU ACODEC I2S Lane Select' 0" - cset "name='ACODEC Playback Channel Mode' Stereo" - cset "name='ACODEC Playback Volume' 80%" - cset "name='ACODEC Ramp Rate' Fast" - cset "name='ACODEC Volume Ramp Switch' on" - cset "name='ACODEC Mute Ramp Switch' on" - cset "name='ACODEC Unmute Ramp Switch' on" - cset "name='ACODEC Right DAC Sel' Right" - cset "name='ACODEC Left DAC Sel' Left" -] - -SectionDefaults [ - cset "name='ACODEC Playback Switch' off" - cset "name='AIU ACODEC OUT EN Switch' off" - cset "name='AIU ACODEC SRC' DISABLED" - cset "name='AIU HDMI CTRL SRC' DISABLED" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/DEBUG.md b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/DEBUG.md deleted file mode 100644 index 662b46fa..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/DEBUG.md +++ /dev/null @@ -1,121 +0,0 @@ -Overview --------- - -UCM works on top of the standard ALSA subsystem. If there is something -missing or non-working, it usually means that UCM describes the devices -and required control sequences in an incomplete or a wrong way. - -It is not required to be a developer to test your hardware. - -Use latest UCM configuration ----------------------------- - -The archive can be obtained from -https://github.com/alsa-project/alsa-ucm-conf/archive/refs/heads/master.tar.gz -or fetched from github https://github.com/alsa-project/alsa-ucm-conf . - -The default path for ucm2 configuration is `/usr/share/alsa/ucm2`. This -path may be redirected temporary to the latest configuration tree like: - -```` -mv /usr/share/alsa/ucm2 /usr/share/alsa/ucm2.distro -ln -s /NEW/UCM2/TREE/PATH /usr/share/alsa/ucm2 -```` - -It is necessary to restart pulseaudio or pipewire to use the new ucm2 -configuration. - -The configuration revert is simple: - -```` -rm /usr/share/alsa/ucm2 -mv /usr/share/alsa/ucm2.distro /usr/share/alsa/ucm2 -```` - -Useful commands and tools -------------------------- - -```` -alsa-info.sh --no-upload # dump the system / ALSA state information -aplay -l # dump playback ALSA cards and PCM devices -arecord -l # dump capture ALSA cards and PCM devices -amixer -c 0 contents # dump all controls for the ALSA card (zero = card number) -amixer -c 0 events # dump events for controls (zero = card number) - # useful for Jack detection -amixer -c 0 scontents # dump simple mixer controls for the ALSA card (zero = card number) -alsamixer -c 0 # set native ALSA mixer (zero = card number) -speaker-test -c hw:CARD=0,DEV=0 # playback test -arecord -D hw:CARD=0,DEV=0 -f dat -vvv a.wav # capture test -alsaucm -c hw:0 dump text # dump the UCM configuration (zero = card number) -spa-acp-tool -vvv -c 0 # pipewire audio profile test tool (zero = card number) -```` - -The components for the UCM device ---------------------------------- - -1) ALSA PCM device -2) ALSA Jack control name (optional, if available - for the presence detection) -3) Simple mixer control name (optional, if available - for the hardware volume control) - -Example of the UCM configuration: - -```` -Value { - PlaybackPCM "hw:${CardId},0" # equivalent to hw:0,0 (for the first sound card) - JackControl "Speakers Jack" # should be in 'amixer -c 0 contents' dump - PlaybackMixerElem "Speaker" # Speaker bar should be in 'alsamixer -c 0' -} -```` - -Checking of the corresponding ALSA PCM device ---------------------------------------------- - -Use `aplay -l` or `capture -l` to list the PCM devices in the system. Pick -the device numbers for the tested ALSA soundcard and substitute those values -for the playback test (`speaker-test -c hw:CARD=0,DEV=0`) and capture test -(`arecord -D hw:CARD=0,DEV=0 -f dat -vvv a.wav`) commands. - -Note: If a sound server is running, it should be suspended (see -`man pasuspender` for an example or manage appropriate services or -sockets using systemd - systemctl). - -Checking of the corresponding ALSA Jack control ------------------------------------------------ - -Use `amixer -c 0 events` (replace zero with the corresponding ALSA card -number) command and watch '??? Jack' control changes when you plug and -unplug the correspoding sound equipment to the tested physical jack. - -Checking of the corresponding simple mixer name ------------------------------------------------ - -Use `alsamixer -c 0` (replace zero with the corresponding ALSA card -number) command and try to find the corresponding bar which controls the -volume when the PCM device is active. It is recommended to open the -alsamixer tool in a separate terminal window and do the PCM tests in -another. - -Testing changes in the UCM configuration ----------------------------------------- - -The sound server must be restarted to reload the UCM configuration. For -PipeWire, the command `systemctl --user restart wireplumber` is sufficient. - -To check the configuration syntax, use `alsaucm -c hw:0 dump text` command -(replace zero with the corresponding ALSA card number). This command should -not return an error. - -Notes ------ - -Some special hardware (mostly from the ASoC /ALSA SoC/ tree) may require -special ALSA control initialization sequences. In this case, the driver -developers should provide the hints. - -The `_ucmXXXX.` prefixes in the UCM dumps are referring the private -ALSA device names - to test those devices, just remove this prefix. It -will not work for special devices defined only in UCM configuration files. -If you like to test this special alsa-lib configuration, you may dump the -alsa-lib configuration using `alsaucm -c hw:0 get _alibcfg` and put the -configuration to `~/.asoundrc` for example. - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/DualCodecs/DualCodecs.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/DualCodecs/DualCodecs.conf deleted file mode 100644 index fb2bdd1b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/DualCodecs/DualCodecs.conf +++ /dev/null @@ -1,15 +0,0 @@ -Comment "HDAudio with dual HD-audio codecs" -SectionUseCase."HiFi" { - File "/HDA/DualCodecs/HiFi.conf" - Comment "Default" -} - -Include.init1.File "/HDA/init.conf" - -BootSequence [ - cset "name='Front Playback Volume' 100%" - cset "name='Front Playback Switch' on" - cset "name='Rear-Panel Capture Volume' 100%" - cset "name='Rear-Panel Capture Switch' on" - cset "name='Input Source' 'Rear Mic'" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/DualCodecs/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/DualCodecs/HiFi.conf deleted file mode 100644 index 8c0f403b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/DualCodecs/HiFi.conf +++ /dev/null @@ -1,160 +0,0 @@ -SectionVerb { - Value { - TQ "HiFi" - } - - EnableSequence [ - cset "name='Front Playback Switch' off" - cset "name='Rear-Panel Capture Switch' off" - cset "name='Headphone Playback Switch' off" - ] - - DisableSequence [ - cset "name='Front Playback Switch' off" - cset "name='Front-Panel Capture Switch' off" - cset "name='Rear-Panel Capture Switch' off" - ] -} - -If.speaker { - Condition { - Type ControlExists - Control "name='Speaker Playback Switch'" - } - True { - SectionVerb { - EnableSequence [ - cset "name='Speaker Playback Switch' on" - ] - DisableSequence [ - cset "name='Speaker Playback Switch' off" - ] - } - - SectionDevice."Speaker" { - Comment "Speaker" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},4" - PlaybackMixerElem "Speaker" - } - - DisableSequence [ - cset "name='Speaker Playback Switch' off" - ] - - ConflictingDevice [ - "Headphones" - ] - } - } -} - -SectionDevice."Line1" { - Comment "Line Out" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - } - - If.0 { - Condition { - Type ControlExists - Control "name='Front Playback Switch'" - } - True.Value.PlaybackMixerElem "Front" - } - # make S/PDIF output working when no analog jacks are connected - If.speaker { - Condition { - Type ControlExists - Control "name='Speaker Playback Switch'" - } - True.If.1 { - Condition { - Type ControlExists - Control "iface=CARD,name='Line Out Front Jack'" - } - True.Value.JackControl "Line Out Front Jack" - False.Value.JackControl "Line Out Jack" - } - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - EnableSequence [ - cset "name='Headphone Playback Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Playback Switch' off" - ] - - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId},4" - PlaybackMixerElem "Headphone" - JackControl "Front Headphone Jack" - } - - If.speaker { - Condition { - Type ControlExists - Control "name='Speaker Playback Switch'" - } - True.Value.JackHWMute "Speaker" - } -} - -SectionDevice."Line2" { - Comment "Rear Line In" - - ConflictingDevice [ - "Mic2" - ] - - EnableSequence [ - cset "name='Input Source' Line" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - CaptureMixerElem "Rear-Panel" - CaptureMasterElem "Line Boost" - JackControl "Line Jack" - } -} - -SectionDevice."Mic2" { - Comment "Rear Microphone" - - Value { - CapturePriority 300 - CapturePCM "hw:${CardId}" - CaptureMixerElem "Rear-Panel" - CaptureMasterElem "Rear Mic Boost" - JackHWMute "Line2" - JackControl "Rear Mic Jack" - } - - EnableSequence [ - cset "name='Input Source' 'Rear Mic'" - ] -} - -SectionDevice."Mic1" { - Comment "Front Microphone" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},4" - CaptureMixerElem "Front-Panel" - CaptureMasterElem "Front Mic Boost" - JackControl "Front Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/HDA-Capture-value.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/HDA-Capture-value.conf deleted file mode 100644 index 2f1316ab..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/HDA-Capture-value.conf +++ /dev/null @@ -1,4 +0,0 @@ -CapturePCM "hw:${CardId}" -CaptureMixerElem "Capture" -CaptureVolume "Capture Volume" -CaptureSwitch "Capture Switch" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/HDA.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/HDA.conf deleted file mode 100644 index 83f3db22..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/HDA.conf +++ /dev/null @@ -1,71 +0,0 @@ -Syntax 6 - -Define.Use "" # a non-empty string to use UCM configuration for HDA devices -Define.Done "" # a non-empty string to skip the end error - -Define.AcpCardId "$${find-card:field=name,return=id,regex='^acp(|6[23x])$'}" -Define.DeviceMic "Mic" - -If.dualcodec { - Condition { - Type String - Haystack "${CardLongName}" - Needle "DualCodecs" - } - True { - Define.Done y - Define.AcpCardId "" - Include.dual.File "/HDA/DualCodecs/DualCodecs.conf" - } -} - -If.acp { - Condition { - Type String - Empty "${var:AcpCardId}" - } - False { - Define.Use y - Define.DeviceMic "Mic2" - } -} - -If.use { - Condition { - Type String - Empty "${var:Use}" - } - False { - Define.Done y - - SectionUseCase."HiFi" { - File "/HDA/HiFi.conf" - Comment "Play HiFi quality Music" - } - - If.analog { - Condition { - Type ControlExists - Control "name='Master Playback Switch'" - } - True { - Include.init.File "/HDA/init.conf" - - FixedBootSequence [ - cset-new "name='Mic ACP LED Capture Switch' type=bool,count=1 off" - exec "-/sbin/modprobe snd_ctl_led" - sysw "-/class/sound/ctl-led/mic/card${CardNumber}/attach:Mic ACP LED Capture Switch" - sysw "-/class/sound/ctl-led/mic/card${CardNumber}/detach:Capture Switch" - ] - } - } - } -} - -If.err { - Condition { - Type String - Empty "${var:Done}" - } - True.Error "UCM is not supported for this HDA model (${CardLongName})" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/Hdmi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/Hdmi.conf deleted file mode 100644 index e24c3c56..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/Hdmi.conf +++ /dev/null @@ -1,57 +0,0 @@ -# HDA HDMI devices - -Include.hdmi.File "/codecs/hda/hdmi.conf" - -If.hdmi1 { - Condition { Type AlwaysTrue } - True.Macro.hdmi1.HDMI { - Number 1 - Device 3 - Priority 1100 - } -} - -If.hdmi2 { - Condition { Type AlwaysTrue } - True.Macro.hdmi2.HDMI { - Number 2 - Device 7 - Priority 1200 - } -} - -If.hdmi3 { - Condition { Type AlwaysTrue } - True.Macro.hdmi3.HDMI { - Number 3 - Device 8 - Priority 1300 - } -} - -If.hdmi4 { - Condition { Type AlwaysTrue } - True.Macro.hdmi4.HDMI { - Number 4 - Device 9 - Priority 1400 - } -} - -If.hdmi5 { - Condition { Type AlwaysTrue } - True.Macro.hdmi5.HDMI { - Number 5 - Device 10 - Priority 1500 - } -} - -If.hdmi6 { - Condition { Type AlwaysTrue } - True.Macro.hdmi5.HDMI { - Number 6 - Device 11 - Priority 1600 - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/HiFi-acp.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/HiFi-acp.conf deleted file mode 100644 index a650f5cf..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/HiFi-acp.conf +++ /dev/null @@ -1,10 +0,0 @@ -SectionDevice."Mic1" { - Comment "Digital Microphone" - - Value { - CapturePriority 100 - CapturePCM "hw:${var:AcpCardId}" - CaptureMixerElem "Mic ACP LED" - CaptureSwitch "Mic ACP LED Capture Switch" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/HiFi-analog.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/HiFi-analog.conf deleted file mode 100644 index 3c96f5d7..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/HiFi-analog.conf +++ /dev/null @@ -1,327 +0,0 @@ -# Generic HDA devices for analog I/O - -Define.FrontMicName "" -Define.FrontMicJack "" -Define.DeviceFrontMic "" -Define.LineDevice "" -Define.hpvol "Headphone" -Define.hpjack "Headphone Jack" -Define.loctl "Line" -Define.lovol "Line" - -If.imicname { - Condition { - Type ControlExists - Control "name='Internal Mic Boost Volume'" - } - True.Define { - FrontMicName "Internal" - } -} - -If.fmicname { - Condition { - Type ControlExists - Control "name='Front Mic Playback Switch'" - } - True.Define { - FrontMicName "Front" - FrontMicJack "Front Mic Jack" - } -} - -If.fmic { - Condition { - Type String - Empty "${var:FrontMicName}" - } - False { - If.mic2 { - Condition { - Type String - String1 "${var:DeviceMic}" - String2 "Mic2" - } - True.Define { - DeviceFrontMic "Mic3" - } - False.Define { - DeviceMic "Mic1" - DeviceFrontMic "Mic2" - } - } - } -} - -If.lineout { - Condition { - Type ControlExists - Control "name='Line Out Playback Volume'" - } - True.Define { - loctl "Line Out" - lovol "Line Out" - } -} - -If.linefront { - Condition { - Type ControlExists - Control "name='Front Playback Volume'" - } - True.Define { - LineDevice "1" - } -} - -If.hplo { - Condition { - Type ControlExists - Control "name='Headphone+LO Playback Volume'" - } - True.Define { - hpvol "Headphone+LO" - lovol "Headphone+LO" - } -} - -If.hpjack { - Condition { - Type ControlExists - Control "iface=CARD,name='Headphone Mic Jack'" - } - True.Define.hpjack "Headphone Mic Jack" - False.If.front { - Condition { - Type ControlExists - Control "iface=CARD,name='Front Headphone Jack'" - } - True.Define.hpjack "Front Headphone Jack" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - If.headphone_switch { - Condition { - Type ControlExists - Control "name='Headphone Playback Switch'" - } - True { - EnableSequence [ - cset "name='Headphone Playback Switch' on" - ] - DisableSequence [ - cset "name='Headphone Playback Switch' off" - ] - } - } - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "${var:hpvol}" - PlaybackMasterElem "Master" - PlaybackVolume "${var:hpvol} Playback Volume" - PlaybackSwitch "Headphone Playback Switch" - JackControl "${var:hpjack}" - } -} - -If.spk { - Condition { - Type ControlExists - Control "name='Speaker Playback Switch'" - } - True.SectionDevice."Speaker" { - Comment "Speaker" - - If.seq { - Condition { - Type ControlExists - Control "name='Bass Speaker Playback Switch'" - } - True { - EnableSequence [ - cset "name='Speaker Playback Switch' on" - cset "name='Bass Speaker Playback Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Playback Switch' off" - cset "name='Bass Speaker Playback Switch' off" - ] - } - False { - EnableSequence [ - cset "name='Speaker Playback Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Playback Switch' off" - ] - } - } - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "Speaker" - PlaybackMasterElem "Master" - PlaybackVolume "Speaker Playback Volume" - PlaybackSwitch "Speaker Playback Switch" - } - } -} - -If.monomic { - Condition { - Type ControlExists - Control "name='Input Source'" - ControlEnum "Headphone Mic" - } - True { - SectionDevice."${var:DeviceMic}" { - Comment "Headphones Stereo Microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='Input Source' 'Headphone Mic'" - ] - - Value { - CapturePriority 200 - Include.value.File "/HDA/HDA-Capture-value.conf" - CaptureMasterElem "Headphone Mic Boost" - JackControl "Headphone Mic Jack" - } - } - - SectionDevice."Headset" { - Comment "Headset Mono Microphone" - - EnableSequence [ - cset "name='Input Source' 'Headset Mic'" - ] - - Value { - CapturePriority 300 - Include.value.File "/HDA/HDA-Capture-value.conf" - CaptureMasterElem "Headset Mic Boost" - JackControl "Headphone Mic Jack" - } - } - } - False { - SectionDevice."${var:DeviceMic}" { - Comment "Headphones Stereo Microphone" - - Value { - CapturePriority 200 - Include.value.File "/HDA/HDA-Capture-value.conf" - CaptureMasterElem "Mic Boost" - JackControl "Mic Jack" - } - } - } -} - -If.frontmic { - Condition { - Type String - Empty "${var:DeviceFrontMic}" - } - False.SectionDevice."${var:DeviceFrontMic}" { - Comment "${var:FrontMicName} Stereo Microphone" - - ConflictingDevice [ - "${var:DeviceMic}" - ] - - Value { - CapturePriority 400 - Include.value.File "/HDA/HDA-Capture-value.conf" - CaptureMasterElem "${var:FrontMicName} Mic Boost" - } - If.jack { - Condition { - Type String - Empty "${var:FrontMicJack}" - } - False.Value.JackControl "${var:FrontMicJack}" - } - } -} - -If.line { - Condition { - Type ControlExists - Control "name='${var:loctl} Playback Switch'" - } - True.SectionDevice."Line${var:LineDevice}" { - Comment "Line Output" - - If.conflict { - Condition { - Type String - String1 "${var:lovol}" - String2 "Headphone+LO" - } - True.ConflictingDevice [ - "Headphones" - ] - } - - EnableSequence [ - cset "name='${var:loctl} Playback Switch' on" - ] - DisableSequence [ - cset "name='${var:loctl} Playback Switch' off" - ] - - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "${var:lovol}" - PlaybackMasterElem "Master" - PlaybackVolume "${var:lovol} Playback Volume" - PlaybackSwitch "${var:loctl} Playback Switch" - JackControl "${var:loctl} Jack" - } - } -} - -If.linefront { - Condition { - Type ControlExists - Control "name='Front Playback Switch'" - } - True.SectionDevice."Line2" { - Comment "Second Line Output" - - ConflictingDevice [ - "Line${var:LineDevice}" - ] - - EnableSequence [ - cset "name='Front Playback Switch' on" - ] - DisableSequence [ - cset "name='Front Playback Switch' off" - ] - - Value { - PlaybackPriority 250 - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "Front" - PlaybackMasterElem "Master" - PlaybackVolume "Front Playback Volume" - PlaybackSwitch "Front Playback Switch" - JackControl "Line Out Front Jack" - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/HiFi.conf deleted file mode 100644 index 9e567f69..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/HiFi.conf +++ /dev/null @@ -1,34 +0,0 @@ -# Use case Configuration for sof-hda-dsp - -SectionVerb { - EnableSequence [ - disdevall "" - ] - - Value.TQ "HiFi" -} - -If.analog { - Condition { - Type ControlExists - Control "name='Master Playback Switch'" - } - True { - If.acp { - Condition { - Type String - Empty "${var:AcpCardId}" - } - True.Include.analog.File "/HDA/HiFi-analog.conf" - False.Include { - acp.File "/HDA/HiFi-acp.conf" - analog.File "/HDA/HiFi-analog.conf" - } - } - } -} - -If.hdmi { - Condition { Type String Empty "" } - True.Include.hdmi.File "/HDA/Hdmi.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/init.conf deleted file mode 100644 index a190e981..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/HDA/init.conf +++ /dev/null @@ -1,52 +0,0 @@ -If.amute { - Condition { - Type ControlExists - Control "name='Auto-Mute Mode'" - } - True.BootSequence [ - cset "name='Auto-Mute Mode' off" - ] -} - -If.master { - Condition { - Type ControlExists - Control "name='Master Playback Volume'" - } - True.BootSequence [ - cset "name='Master Playback Volume' 60%" - cset "name='Master Playback Switch' on" - ] -} - -If.speaker { - Condition { - Type ControlExists - Control "name='Speaker Playback Volume'" - } - True.BootSequence [ - cset "name='Speaker Playback Volume' 60%" - cset "name='Speaker Playback Switch' off" - ] -} - -If.headphone { - Condition { - Type ControlExists - Control "name='Headphone Playback Volume'" - } - True.BootSequence [ - cset "name='Headphone Playback Volume' 60%" - cset "name='Headphone Playback Switch' off" - ] -} - -If.capture { - Condition { - Type ControlExists - Control "name='Capture Volume'" - } - True.BootSequence [ - cset "name='Capture Volume' 60%" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/SOF/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/SOF/HiFi.conf deleted file mode 100644 index f43906d8..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/SOF/HiFi.conf +++ /dev/null @@ -1,116 +0,0 @@ -If.bytcht_rt5640 { - Condition { - Type String - Haystack "${CardName}" - Needle "bytcht rt5640" - } - True { - Include.init.File "/codecs/rt5640/init.conf" - Include.main.File "/Intel/bytcr-rt5640/HiFi.conf" - } -} - -If.bytcht_rt5651 { - Condition { - Type String - Haystack "${CardName}" - Needle "bytcht rt5651" - } - True { - Include.init.File "/codecs/rt5651/init.conf" - Include.main.File "/Intel/bytcr-rt5651/HiFi.conf" - } -} - -If.bytcht_cx2072x { - Condition { - Type String - Haystack "${CardName}" - Needle "bytcht cx2072x" - } - True.Include.main.File "/Intel/bytcht-cx2072x/HiFi.conf" -} - -If.bytcht_es8316 { - Condition { - Type String - Haystack "${CardName}" - Needle "bytcht es8316" - } - True.Include.main.File "/Intel/bytcht-es8316/HiFi.conf" -} - -If.bytcht_rt5672 { - Condition { - Type String - Haystack "${CardName}" - Needle "bytcht rt5672" - } - True.Include.main.File "/Intel/cht-bsw-rt5672/HiFi.conf" -} - -If.bytcht_nau8824 { - Condition { - Type String - Haystack "${CardName}" - Needle "bytcht nau8824" - } - True.Include.main.File "/Intel/chtnau8824/HiFi.conf" -} - -If.bytcht_rt5645 { - Condition { - Type String - Haystack "${CardName}" - Needle "bytcht rt5645" - } - True { - Include.init.File "/codecs/rt5645/init.conf" - Include.main.File "/Intel/chtrt5645/HiFi.conf" - } -} - -If.bytcht_rt5650 { - Condition { - Type String - Haystack "${CardName}" - Needle "bytcht rt5650" - } - True.Include.main.File "/Intel/chtrt5650/HiFi.conf" -} - -If.bytcht_max98090 { - Condition { - Type String - Haystack "${CardName}" - Needle "bytcht max98090" - } - True.Include.main.File "/Intel/chtmax98090/HiFi.conf" -} - -If.bytcht_wm5102 { - Condition { - Type String - Haystack "${CardName}" - Needle "bytcht wm5102" - } - True.Include.main.File "/Intel/bytcr-wm5102/HiFi.conf" -} - -If.bdw_rt286 { - Condition { - Type String - Haystack "${CardName}" - Needle "bdw rt286" - } - True.Include.main.File "/Intel/broadwell-rt286/HiFi.conf" -} - -If.bdw_rt5677 { - Condition { - Type String - Haystack "${CardName}" - Needle "bdw rt5677" - } - True.Include.main.File "/Intel/bdw-rt5677/HiFi.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/SOF/SOF.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/SOF/SOF.conf deleted file mode 100644 index 4e976f47..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/SOF/SOF.conf +++ /dev/null @@ -1,9 +0,0 @@ -Syntax 4 - -SectionUseCase."HiFi" { - File "/Intel/SOF/HiFi.conf" - Comment "Play HiFi quality Music" -} - -Include.card-init.File "/lib/card-init.conf" -Include.ctl-remap.File "/lib/ctl-remap.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bdw-rt5677/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bdw-rt5677/HiFi.conf deleted file mode 100644 index eba0f23b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bdw-rt5677/HiFi.conf +++ /dev/null @@ -1,187 +0,0 @@ -# Use case Configuration for bdw-rt5677 -# command-line sequence to switch playback/capture -# alsaucm -c bdw-rt5677 set _verb HiFi -# alsaucm -c bdw-rt5677 set _verb HiFi set _enadev Headphones - -LibraryConfig.remap.Config { - - ctl.default.remap { - "name='IN1 Boost'" "name='IN1 Boost Capture Volume'" - "name='IN2 Boost'" "name='IN2 Boost Capture Volume'" - } - -} - -SectionVerb { - - EnableSequence [ - - cset "name='PDM1 L Mux' STO1 DAC MIX" - cset "name='PDM1 R Mux' STO1 DAC MIX" - - # Adjust Master Playback volume if needed - # cset "name='Master Playback Volume' 30" - - cset "name='OUT1 Playback Switch' off" - cset "name='OUT2 Playback Switch' off" - - cset "name='DAC1 Playback Volume' 175" - cset "name='DAC2 Playback Volume' 175" - cset "name='DAC12 SRC Mux' STO1 DAC MIX" - - cset "name='Stereo DAC MIXL ST L Switch' off" - cset "name='Stereo DAC MIXL DAC1 L Switch' off" - cset "name='Stereo DAC MIXL DAC2 L Switch' off" - cset "name='Stereo DAC MIXL DAC1 R Switch' on" - - cset "name='Stereo DAC MIXR ST R Switch' off" - cset "name='Stereo DAC MIXR DAC1 R Switch' off" - cset "name='Stereo DAC MIXR DAC2 R Switch' off" - cset "name='Stereo DAC MIXR DAC1 L Switch' on" - - cset "name='DAC1 MIXL Stereo ADC Switch' off" - cset "name='DAC1 MIXL DAC1 Switch' on" - - cset "name='DAC1 MIXR Stereo ADC Switch' off" - cset "name='DAC1 MIXR DAC1 Switch' on" - - cset "name='DAC1 Mux' IF1 DAC 01" - - cset "name='Stereo1 DMIC Mux' DMIC1" - cset "name='Stereo1 ADC2 Mux' DMIC" - cset "name='Stereo1 ADC1 Mux' ADC1/2" - - cset "name='Sto1 ADC MIXL ADC1 Switch' off" - cset "name='Sto1 ADC MIXL ADC2 Switch' off" - cset "name='Sto1 ADC MIXL ADC2 Switch' on" - - cset "name='Sto1 ADC MIXR ADC1 Switch' off" - cset "name='Sto1 ADC MIXR ADC2 Switch' off" - cset "name='Sto1 ADC MIXR ADC2 Switch' on" - - cset "name='IF1 ADC1 Mux' STO1 ADC MIX" - cset "name='IF1 ADC1 Swap Mux' L/R" - - # Adjust Mic Capture Volume if needed - # cset "name='Mic Capture Volume' 30" - - cset "name='ADC1 Capture Switch' on" - cset "name='ADC1 Capture Volume' 31" - cset "name='STO1 ADC Boost Volume' 2" - - cset "name='Headphone Switch' off" - cset "name='Speaker Switch' on" - - cset "name='Remote DMICs Switch' on" - cset "name='Mono DMIC L Mux' DMIC1" - cset "name='Mono ADC2 L Mux' DMIC" - cset "name='Mono ADC MIXL ADC1 Switch' off" - cset "name='Mono ADC MIXL ADC2 Switch' on" - cset "name='VAD ADC Mux' MONO ADC MIX L" - cset "name='IB01 Mux' VAD ADC/DAC1 FS" - cset "name='IB01 Bypass Mux' Bypass" - cset "name='Mono ADC Boost Volume' 2" - ] -} - -SectionDevice."Speaker" { - Comment "Speakers" - - ConflictingDevice [ - "Headphones" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } -} - - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='Speaker Switch' off" - cset "name='Stereo DAC MIXL DAC1 R Switch' off" - cset "name='Stereo DAC MIXR DAC1 L Switch' off" - cset "name='Stereo DAC MIXL DAC1 L Switch' on" - cset "name='Stereo DAC MIXR DAC1 R Switch' on" - cset "name='OUT1 Playback Switch' on" - cset "name='OUT2 Playback Switch' on" - cset "name='Headphone Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Switch' off" - cset "name='OUT1 Playback Switch' off" - cset "name='OUT2 Playback Switch' off" - cset "name='Stereo DAC MIXL DAC1 L Switch' off" - cset "name='Stereo DAC MIXR DAC1 R Switch' off" - cset "name='Stereo DAC MIXL DAC1 R Switch' on" - cset "name='Stereo DAC MIXR DAC1 L Switch' on" - cset "name='Speaker Switch' on" - ] - - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - JackHWMute "Speaker" - } -} - -SectionDevice."Mic" { - Comment "Internal Microphone" - - ConflictingDevice [ - "Headset" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='Sto1 ADC MIXL ADC2 Switch' off" - cset "name='Sto1 ADC MIXR ADC2 Switch' off" - cset "name='Local DMICs Switch' off" - - cset "name='IF1 ADC1 Swap Mux' L/L" - - cset "name='Sto1 ADC MIXL ADC1 Switch' on" - cset "name='Sto1 ADC MIXR ADC1 Switch' on" - cset "name='Headset Mic Switch' on" - ] - - DisableSequence [ - cset "name='Sto1 ADC MIXL ADC1 Switch' off" - cset "name='Sto1 ADC MIXR ADC1 Switch' off" - cset "name='Headset Mic Switch' off" - - cset "name='IF1 ADC1 Swap Mux' L/R" - - cset "name='Sto1 ADC MIXL ADC2 Switch' on" - cset "name='Sto1 ADC MIXR ADC2 Switch' on" - cset "name='Local DMICs Switch' on" - ] - - Value { - CapturePriority 300 - CapturePCM "hw:${CardId}" - JackControl "Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bdw-rt5677/bdw-rt5677.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bdw-rt5677/bdw-rt5677.conf deleted file mode 100644 index be63db23..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bdw-rt5677/bdw-rt5677.conf +++ /dev/null @@ -1,9 +0,0 @@ -Syntax 4 - -SectionUseCase."HiFi" { - File "/Intel/bdw-rt5677/HiFi.conf" - Comment "Default" -} - -Include.card-init.File "/lib/card-init.conf" -Include.ctl-remap.File "/lib/ctl-remap.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/broadwell-rt286/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/broadwell-rt286/HiFi.conf deleted file mode 100644 index 1da92110..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/broadwell-rt286/HiFi.conf +++ /dev/null @@ -1,102 +0,0 @@ -# Use case Configuration for broadwell-rt286 - -SectionDevice."Speaker" { - Comment "Speakers" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='SPO Switch' on" - cset "name='Speaker Playback Switch' on" - cset "name='Speaker Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Switch' off" - cset "name='Speaker Playback Switch' off" - cset "name='SPO Switch' off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "DAC0" - PlaybackMasterElem "Master" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='HPO L Switch' on" - cset "name='HPO R Switch' on" - cset "name='Headphone Jack Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Jack Switch' off" - cset "name='HPO L Switch' off" - cset "name='HPO R Switch' off" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "DAC0" - PlaybackMasterElem "Master" - JackDev "rt286-jack" - JackControl "Headphone Jack" - } -} - -SectionDevice."Mic" { - Comment "Internal Microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='ADC 0 Mux' 2" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - CaptureMixerElem "ADC0" - CaptureMasterElem "Mic" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='ADC 0 Mux' 0" - cset "name='AMIC Volume' 3" - ] - - DisableSequence [ - cset "name='AMIC Volume' 0" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - CaptureMixerElem "ADC0" - CaptureMasterElem "Mic" - JackDev "rt286-jack" - JackControl "Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/broadwell-rt286/broadwell-rt286.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/broadwell-rt286/broadwell-rt286.conf deleted file mode 100644 index 34676cbf..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/broadwell-rt286/broadwell-rt286.conf +++ /dev/null @@ -1,6 +0,0 @@ -Syntax 2 - -SectionUseCase."HiFi" { - File "/Intel/broadwell-rt286/HiFi.conf" - Comment "Play HiFi quality Music" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/broxton-rt298/Hdmi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/broxton-rt298/Hdmi.conf deleted file mode 100644 index fc64fe77..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/broxton-rt298/Hdmi.conf +++ /dev/null @@ -1,43 +0,0 @@ -# Usecase for device HDMI1/Display Port stereo playback on Intel SKYLAKE/KABYLAKE platforms - -SectionDevice."HDMI1" { - Comment "HDMI/Display Port 1 Stereo" - - Value { - PlaybackPCM "hw:${CardId},4" - PlaybackPriority 500 - If.1 { - Condition { - Type ControlExists - Control "iface=CARD,name='HDMI/DP,pcm=4 Jack'" - } - True { - JackControl "HDMI/DP,pcm=4 Jack" - } - False { - JackControl "HDMI/DP, pcm=4 Jack" - } - } - } -} - -SectionDevice."HDMI2" { - Comment "HDMI/Display Port 2 Stereo" - - Value { - PlaybackPCM "hw:${CardId},5" - PlaybackPriority 600 - If.1 { - Condition { - Type ControlExists - Control "iface=CARD,name='HDMI/DP,pcm=5 Jack'" - } - True { - JackControl "HDMI/DP,pcm=5 Jack" - } - False { - JackControl "HDMI/DP, pcm=5 Jack" - } - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/broxton-rt298/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/broxton-rt298/HiFi.conf deleted file mode 100644 index d858637f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/broxton-rt298/HiFi.conf +++ /dev/null @@ -1,112 +0,0 @@ -# Usecase for stereo playback Speaker and Headset, Recording on DMIC and Headset MIC. -# For Audio in I2S mode on Intel Broxton platforms - -SectionVerb { - - EnableSequence [ - cset "name='media0_out mo dmic01_hifi_in mi Switch' 1" - ] - - Value { - TQ "HiFi" - } -} - -SectionDevice."Speaker" { - Comment "Speaker" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='SPO Switch' 1" - cset "name='Speaker Playback Switch' 1,1" - cset "name='Speaker Switch' 1" - cset "name='HPO L Switch' 0" - cset "name='HPO R Switch' 0" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='HPO L Switch' 1" - cset "name='HPO R Switch' 1" - cset "name='Headphone Jack Switch' 1" - cset "name='Speaker Playback Switch' 0,0" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - JackHWMute "Speaker" - } -} - -SectionDevice."Mic" { - Comment "Digital Microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='media0_out mo dmic01_hifi_in mi Switch' 1" - cset "name='media0_out mo codec0_in mi Switch' 0" - cset "name='Mic Jack Switch' 0" - - ] - - DisableSequence [ - cset "name='media0_out mo codec0_in mi Switch' 1" - cset "name='media0_out mo dmic01_hifi_in mi Switch' 0" - cset "name='Mic Jack Switch' 1" - cset "name='ADC 0 Mux' 0" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},1" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='media0_out mo codec0_in mi Switch' 1" - cset "name='ADC0 Capture Volume' 105,105" - cset "name='ADC 0 Mux' 0" - cset "name='Mic Jack Switch' 1" - cset "name='media0_out mo dmic01_hifi_in mi Switch' 0" - ] - - DisableSequence [ - cset "name='media0_out mo dmic01_hifi_in mi Switch' 1" - cset "name='media0_out mo codec0_in mi Switch' 0" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},1" - JackControl "Mic Jack" - } -} - -Include.hdmi.File "/Intel/broxton-rt298/Hdmi.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/broxton-rt298/broxton-rt298.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/broxton-rt298/broxton-rt298.conf deleted file mode 100644 index 0d73bc5e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/broxton-rt298/broxton-rt298.conf +++ /dev/null @@ -1,41 +0,0 @@ -# UCM for Intel Broxton platforms -# For Audio in I2S mode - -Syntax 3 - -SectionUseCase."HiFi" { - File "/Intel/broxton-rt298/HiFi.conf" - Comment "Play and record HiFi quality Music" -} - -SectionDefaults [ - cset "name='Headphone Jack Switch' 1" - cset "name='Speaker Switch' 1" - cset "name='Speaker Playback Switch' 0,0" - cset "name='Front DAC Switch' 1" - cset "name='Front RECMIX Switch' 0" - cset "name='Mic Jack Switch' 1" - cset "name='ADC 0 Mux' 2" - cset "name='ADC 1 Mux' 0" - cset "name='DAC0 Playback Volume' 100,100" - cset "name='HPO L Switch' 0" - cset "name='HPO Mux' 0" - cset "name='HPO R Switch' 0" - cset "name='Pin 5 Mux' 1" - cset "name='Pin 6 Mux' 2" - cset "name='Pin 7 Mux' 3" - cset "name='RECMIX Beep Switch' 0" - cset "name='RECMIX Line1 Switch' 0" - cset "name='RECMIX Mic1 Switch' 0" - cset "name='SPK Mux' 0" - cset "name='SPO Switch' 1" - cset "name='codec0_out mo codec0_in mi Switch' 0" - cset "name='codec0_out mo dmic01_hifi_in mi Switch' 0" - cset "name='codec0_out mo media0_in mi Switch' 1" - cset "name='codec1_out mo codec0_in mi Switch' 0" - cset "name='codec1_out mo dmic01_hifi_in mi Switch' 0" - cset "name='codec1_out mo media0_in mi Switch' 0" - cset "name='media0_out mo codec0_in mi Switch' 1" - cset "name='media0_out mo dmic01_hifi_in mi Switch' 1" - cset "name='media0_out mo media0_in mi Switch' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-cx2072x/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-cx2072x/HiFi.conf deleted file mode 100644 index bf4ed117..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-cx2072x/HiFi.conf +++ /dev/null @@ -1,23 +0,0 @@ -SectionVerb { - - Include.e.File "/codecs/cx2072x/EnableSeq.conf" - Include.d.File "/codecs/cx2072x/DisableSeq.conf" - - If.Controls { - Condition { - Type ControlExists - Control "name='media0_in Gain 0 Switch'" - } - Before.EnableSequence "0" - True { - Include.pe.File "/platforms/bytcr/PlatformEnableSeq.conf" - Include.pd.File "/platforms/bytcr/PlatformDisableSeq.conf" - } - } -} - -Include.spk.File "/codecs/cx2072x/Speaker.conf" -Include.hp.File "/codecs/cx2072x/HeadPhones.conf" - -Include.imic.File "/codecs/cx2072x/InternalMic.conf" -Include.hsmic.File "/codecs/cx2072x/HeadsetMic.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-cx2072x/bytcht-cx2072x.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-cx2072x/bytcht-cx2072x.conf deleted file mode 100644 index e4b05c93..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-cx2072x/bytcht-cx2072x.conf +++ /dev/null @@ -1,6 +0,0 @@ -Syntax 3 - -SectionUseCase."HiFi" { - File "/Intel/bytcht-cx2072x/HiFi.conf" - Comment "Play HiFi quality Music" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-es8316/HiFi-Components.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-es8316/HiFi-Components.conf deleted file mode 100644 index 825ba5cc..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-es8316/HiFi-Components.conf +++ /dev/null @@ -1,43 +0,0 @@ -If.spk { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-spk:2" - } - True.Include.spk.File "/codecs/es8316/Speaker.conf" -} - -If.mono { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-spk:1" - } - True.Include.mspk.File "/codecs/es8316/MonoSpeaker.conf" -} - -Include.hs.File "/codecs/es8316/HeadPhones.conf" - -If.in1 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-mic:in1" - } - True { - Include.mic.File "/codecs/es8316/IN1-InternalMic.conf" - Include.hsmic.File "/codecs/es8316/IN2-HeadsetMic.conf" - } -} - -If.in2 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-mic:in2" - } - True { - Include.hsmic.File "/codecs/es8316/IN1-HeadsetMic.conf" - Include.mic.File "/codecs/es8316/IN2-InternalMic.conf" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-es8316/HiFi-LongName.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-es8316/HiFi-LongName.conf deleted file mode 100644 index ed88aff7..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-es8316/HiFi-LongName.conf +++ /dev/null @@ -1,43 +0,0 @@ -If.spk { - Condition { - Type String - Haystack "${CardLongName}" - Needle "-stereo-spk" - } - True.Include.spk.File "/codecs/es8316/Speaker.conf" -} - -If.mono { - Condition { - Type String - Haystack "${CardLongName}" - Needle "-mono-spk" - } - True.Include.mspk.File "/codecs/es8316/MonoSpeaker.conf" -} - -Include.hs.File "/codecs/es8316/HeadPhones.conf" - -If.in1 { - Condition { - Type String - Haystack "${CardLongName}" - Needle "-in1-mic" - } - True { - Include.mic.File "/codecs/es8316/IN1-InternalMic.conf" - Include.hsmic.File "/codecs/es8316/IN2-HeadsetMic.conf" - } -} - -If.in2 { - Condition { - Type String - Haystack "${CardLongName}" - Needle "-in2-mic" - } - True { - Include.hsmic.File "/codecs/es8316/IN1-HeadsetMic.conf" - Include.mic.File "/codecs/es8316/IN2-InternalMic.conf" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-es8316/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-es8316/HiFi.conf deleted file mode 100644 index 2cf179e9..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-es8316/HiFi.conf +++ /dev/null @@ -1,25 +0,0 @@ -SectionVerb { - Include.e.File "/codecs/es8316/EnableSeq.conf" - - If.Controls { - Condition { - Type ControlExists - Control "name='media0_in Gain 0 Switch'" - } - Before.EnableSequence "0" - True { - Include.pe.File "/platforms/bytcr/PlatformEnableSeq.conf" - Include.pd.File "/platforms/bytcr/PlatformDisableSeq.conf" - } - } -} - -If.0 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-spk:" - } - True.Include.comp.File "/Intel/bytcht-es8316/HiFi-Components.conf" - False.Include.long.File "/Intel/bytcht-es8316/HiFi-LongName.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-es8316/bytcht-es8316.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-es8316/bytcht-es8316.conf deleted file mode 100644 index 3a1b979a..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcht-es8316/bytcht-es8316.conf +++ /dev/null @@ -1,6 +0,0 @@ -Syntax 3 - -SectionUseCase."HiFi" { - File "/Intel/bytcht-es8316/HiFi.conf" - Comment "Play HiFi quality Music" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5640/HiFi-Components.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5640/HiFi-Components.conf deleted file mode 100644 index ae5fd05b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5640/HiFi-Components.conf +++ /dev/null @@ -1,77 +0,0 @@ -If.spk { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-spk:2" - } - True.Define.HaveSpeaker "2" -} - -If.mono { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-spk:1" - } - True.Define.HaveSpeaker "1" -} - -If.hp2 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-hp2:lineout" - } - True.Define.HaveHeadPhones2 "yes" -} - -If.dmic1 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-mic:dmic1" - } - True { - Define.HaveInternalMic "dmic" - Define.StereoADC2Mux "DMIC1" - } -} - -If.dmic2 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-mic:dmic2" - } - True { - Define.HaveInternalMic "dmic" - Define.StereoADC2Mux "DMIC2" - } -} - -If.in1 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-mic:in1" - } - True.Define.HaveInternalMic "in1" -} - -If.in3 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-mic:in3" - } - True.Define.HaveInternalMic "in3" -} - -If.hs2 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-hs2:in1" - } - True.Define.HaveHeadsetMic2 "in1" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5640/HiFi-LongName.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5640/HiFi-LongName.conf deleted file mode 100644 index b2fb471d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5640/HiFi-LongName.conf +++ /dev/null @@ -1,47 +0,0 @@ -If.spk { - Condition { - Type String - Haystack "${CardLongName}" - Needle "-stereo-spk" - } - True.Define.HaveSpeaker "2" -} - -If.mono { - Condition { - Type String - Haystack "${CardLongName}" - Needle "-mono-spk" - } - True.Define.HaveSpeaker "1" -} - -If.dmic1 { - Condition { - Type String - Haystack "${CardLongName}" - Needle "-dmic1-mic" - } - True { - Define.HaveInternalMic "dmic" - Define.StereoADC2Mux "DMIC1" - } -} - -If.in1 { - Condition { - Type String - Haystack "${CardLongName}" - Needle "-in1-mic" - } - True.Define.HaveInternalMic "in1" -} - -If.in3 { - Condition { - Type String - Haystack "${CardLongName}" - Needle "-in3-mic" - } - True.Define.HaveInternalMic "in3" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5640/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5640/HiFi.conf deleted file mode 100644 index fd1906cb..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5640/HiFi.conf +++ /dev/null @@ -1,237 +0,0 @@ -# Use case Configuration for bytcr-rt5640 - -Define.HaveAif "" -Define.HaveSpeaker "" -Define.HaveHeadPhones2 "" -Define.HaveInternalMic "" -Define.HaveHeadsetMic "yes" -Define.HaveHeadsetMic2 "" -Define.StereoADC2Mux "DMIC1" - -If.DefineAif1 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "aif:1" - } - True.Define.HaveAif "1" -} - -If.DefineAif2 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "aif:2" - } - True.Define.HaveAif "2" -} - -If.0 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-spk:" - } - True.Include.comp.File "/Intel/bytcr-rt5640/HiFi-Components.conf" - False.Include.long.File "/Intel/bytcr-rt5640/HiFi-LongName.conf" -} - -SectionVerb { - Include.e.File "/codecs/rt5640/EnableSeq.conf" - - EnableSequence [ - cset "name='Speaker Switch' off" - cset "name='Headphone Switch' off" - cset "name='Headset Mic Switch' off" - cset "name='Internal Mic Switch' off" - ] - - If.Controls { - Condition { - Type ControlExists - Control "name='media0_in Gain 0 Switch'" - } - Before.EnableSequence "0" - True { - Include.pe.File "/platforms/bytcr/PlatformEnableSeq.conf" - Include.pd.File "/platforms/bytcr/PlatformDisableSeq.conf" - } - } -} - -If.spk { - Condition { - Type String - Haystack "${var:HaveSpeaker}" - Needle "2" - } - True { - Include.spk.File "/codecs/rt5640/Speaker.conf" - - SectionDevice."Speaker" { - EnableSequence [ - cset "name='Speaker Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Switch' off" - ] - } - } -} - -If.mono { - Condition { - Type String - Haystack "${var:HaveSpeaker}" - Needle "1" - } - True { - Include.mspk.File "/codecs/rt5640/MonoSpeaker.conf" - - SectionDevice."Speaker" { - EnableSequence [ - cset "name='Speaker Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Switch' off" - ] - } - } -} - -If.hp { - Condition { Type String Empty "" } - True { - Include.hs.File "/codecs/rt5640/HeadPhones.conf" - - SectionDevice."Headphones" { - EnableSequence [ - cset "name='Headphone Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Switch' off" - ] - } - } -} - -If.hp2 { - Condition { Type String Empty "${var:HaveHeadPhones2}" } - False { - Include.hs.File "/codecs/rt5640/HeadPhones2.conf" - - SectionDevice."Headphones2" { - EnableSequence [ - cset "name='Line Out Switch' on" - ] - - DisableSequence [ - cset "name='Line Out Switch' off" - ] - } - } -} - -If.dmic { - Condition { - Type String - Haystack "${var:HaveInternalMic}" - Needle "dmic" - } - True { - Include.dmic.File "/codecs/rt5640/DigitalMics.conf" - - SectionDevice."Mic" { - EnableSequence [ - cset "name='Internal Mic Switch' on" - ] - - DisableSequence [ - cset "name='Internal Mic Switch' off" - ] - } - } -} - -If.in1 { - Condition { - Type String - Haystack "${var:HaveInternalMic}" - Needle "in1" - } - True { - Include.mic1.File "/codecs/rt5640/IN1-InternalMic.conf" - - SectionDevice."Mic" { - EnableSequence [ - cset "name='Internal Mic Switch' on" - ] - - DisableSequence [ - cset "name='Internal Mic Switch' off" - ] - } - } -} - -If.in3 { - Condition { - Type String - Haystack "${var:HaveInternalMic}" - Needle "in3" - } - True { - Include.mic3.File "/codecs/rt5640/IN3-InternalMic.conf" - - SectionDevice."Mic" { - EnableSequence [ - cset "name='Internal Mic Switch' on" - ] - - DisableSequence [ - cset "name='Internal Mic Switch' off" - ] - } - } -} - -If.hsmic { - Condition { Type String Empty "" } - True { - Include.hsmic.File "/codecs/rt5640/HeadsetMic.conf" - - SectionDevice."Headset" { - EnableSequence [ - cset "name='Headset Mic Switch' on" - ] - - DisableSequence [ - cset "name='Headset Mic Switch' off" - ] - } - } -} - -If.hsmic2 { - Condition { - Type String - Haystack "${var:HaveHeadsetMic2}" - Needle "in1" - } - True { - Include.hsmic.File "/codecs/rt5640/HeadsetMic2-IN1.conf" - - SectionDevice."Headset2" { - EnableSequence [ - cset "name='Headset Mic 2 Switch' on" - ] - - DisableSequence [ - cset "name='Headset Mic 2 Switch' off" - ] - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5640/bytcr-rt5640.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5640/bytcr-rt5640.conf deleted file mode 100644 index 13a73adf..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5640/bytcr-rt5640.conf +++ /dev/null @@ -1,16 +0,0 @@ -Syntax 4 - -SectionUseCase."HiFi" { - File "/Intel/bytcr-rt5640/HiFi.conf" - Comment "Play HiFi quality Music" -} - -Include.card-init.File "/lib/card-init.conf" -Include.ctl-remap.File "/lib/ctl-remap.conf" -Include.codec-init.File "/codecs/rt5640/init.conf" - -FixedBootSequence [ - exec "-/sbin/modprobe snd_ctl_led" - sysw "-/class/sound/ctl-led/speaker/card${CardNumber}/attach:Speaker Channel Switch" - sysw "-/class/sound/ctl-led/speaker/card${CardNumber}/attach:HP Channel Switch" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5651/HiFi-Components.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5651/HiFi-Components.conf deleted file mode 100644 index 3584a4e6..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5651/HiFi-Components.conf +++ /dev/null @@ -1,85 +0,0 @@ -If.spk { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-spk:2" - } - True { - Include.spk.File "/codecs/rt5651/Speaker.conf" - } -} - -If.mono { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-spk:1" - } - True { - Include.mspk.File "/codecs/rt5651/MonoSpeaker.conf" - } -} - -If.headphones { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-hp:lrswap" - } - True { - Include.hp.File "/codecs/rt5651/HeadPhones-swapped.conf" - } - False { - Include.hp.File "/codecs/rt5651/HeadPhones.conf" - } -} - -If.dmic { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-mic:dmic" - } - True { - Include.dmic.File "/codecs/rt5651/DigitalMic.conf" - Include.hsmic.File "/codecs/rt5651/IN2-HeadsetMic.conf" - SectionDevice."Mic".ConflictingDevice.0 "Headset" - } - False { - Include.hsmic.File "/codecs/rt5651/IN3-HeadsetMic.conf" - } -} - -If.in2 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-mic:in2" - } - True { - Include.mic.File "/codecs/rt5651/IN2-InternalMic.conf" - } -} - -If.in12 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-mic:in12" - } - True { - Include.mic.File "/codecs/rt5651/IN12-InternalMic.conf" - } - False { - If.in1 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-mic:in1" - } - True { - Include.mic.File "/codecs/rt5651/IN1-InternalMic.conf" - } - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5651/HiFi-LongName.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5651/HiFi-LongName.conf deleted file mode 100644 index 436106db..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5651/HiFi-LongName.conf +++ /dev/null @@ -1,83 +0,0 @@ -If.spk { - Condition { - Type String - Haystack "${CardLongName}" - Needle "-stereo-spk" - } - True { - Include.spk.File "/codecs/rt5651/Speaker.conf" - } -} - -If.mono { - Condition { - Type String - Haystack "${CardLongName}" - Needle "-mono-spk" - } - True { - Include.mspk.File "/codecs/rt5651/MonoSpeaker.conf" - } -} - -If.headphones { - Condition { - Type String - Haystack "${CardLongName}" - Needle "-mic-hp-swapped" - } - True { - Include.hp.File "/codecs/rt5651/HeadPhones-swapped.conf" - } - False { - Include.hp.File "/codecs/rt5651/HeadPhones.conf" - } -} - -If.dmic1 { - Condition { - Type String - Haystack "${CardLongName}" - Needle "-dmic1-mic" - } - True { - Include.dmic.File "/codecs/rt5651/DigitalMic.conf" - Include.hsmic.File "/codecs/rt5651/IN2-HeadsetMic.conf" - } - False { - Include.hsmic.File "/codecs/rt5651/IN3-HeadsetMic.conf" - } -} - -If.in1 { - Condition { - Type String - Haystack "${CardLongName}" - Needle "-in1-mic" - } - True { - Include.mic.File "/codecs/rt5651/IN1-InternalMic.conf" - } -} - -If.in2 { - Condition { - Type String - Haystack "${CardLongName}" - Needle "-in2-mic" - } - True { - Include.mic.File "/codecs/rt5651/IN2-InternalMic.conf" - } -} - -If.in12 { - Condition { - Type String - Haystack "${CardLongName}" - Needle "-in12-mic" - } - True { - Include.mic.File "/codecs/rt5651/IN12-InternalMic.conf" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5651/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5651/HiFi.conf deleted file mode 100644 index 6908d445..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5651/HiFi.conf +++ /dev/null @@ -1,33 +0,0 @@ -# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651 - - -SectionVerb { - - Include.e.File "/codecs/rt5651/EnableSeq.conf" - - If.Controls { - Condition { - Type ControlExists - Control "name='media0_in Gain 0 Switch'" - } - Before.EnableSequence "0" - True { - Include.pe.File "/platforms/bytcr/PlatformEnableSeq.conf" - Include.pd.File "/platforms/bytcr/PlatformDisableSeq.conf" - } - } -} - -If.0 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-spk:" - } - True { - Include.comp.File "/Intel/bytcr-rt5651/HiFi-Components.conf" - } - False { - Include.long.File "/Intel/bytcr-rt5651/HiFi-LongName.conf" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5651/bytcr-rt5651.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5651/bytcr-rt5651.conf deleted file mode 100644 index 81bead72..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-rt5651/bytcr-rt5651.conf +++ /dev/null @@ -1,12 +0,0 @@ -# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651 - -Syntax 4 - -SectionUseCase."HiFi" { - File "/Intel/bytcr-rt5651/HiFi.conf" - Comment "Play HiFi quality Music" -} - -Include.card-init.File "/lib/card-init.conf" -Include.ctl-remap.File "/lib/ctl-remap.conf" -Include.codec-init.File "/codecs/rt5651/init.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-wm5102/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-wm5102/HiFi.conf deleted file mode 100644 index 46ef7d11..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-wm5102/HiFi.conf +++ /dev/null @@ -1,54 +0,0 @@ -SectionVerb { - - Value { - TQ "HiFi" - } - - Include.e.File "/codecs/wm5102/EnableSeq.conf" - - If.Controls { - Condition { - Type ControlExists - Control "name='media0_in Gain 0 Switch'" - } - True { - Include.pe { - File "/platforms/bytcr/PlatformEnableSeq.conf" - Before.EnableSequence "0" - } - Include.pd.File "/platforms/bytcr/PlatformDisableSeq.conf" - } - } -} - -If.spk { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-spk:hpout2" - } - True.Include.hpout2.File "/codecs/wm5102/HPOut2-Speaker.conf" - False.Include.spk.File "/codecs/wm5102/Speaker.conf" -} - -Include.hp.File "/codecs/wm5102/HeadPhones.conf" - -If.intmic { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-intmic:in1l" - } - True.Include.intmic1.File "/codecs/wm5102/IN1-InternalMic.conf" - False.Include.intmic3.File "/codecs/wm5102/IN3-InternalMic.conf" -} - -If.hsmic { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-hsmic:in2l" - } - True.Include.hsmic2.File "/codecs/wm5102/IN2-HeadsetMic.conf" - False.Include.hsmic1.File "/codecs/wm5102/IN1-HeadsetMic.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-wm5102/bytcr-wm5102.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-wm5102/bytcr-wm5102.conf deleted file mode 100644 index ba1c2b6d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-wm5102/bytcr-wm5102.conf +++ /dev/null @@ -1,6 +0,0 @@ -Syntax 3 - -SectionUseCase."HiFi" { - File "/Intel/bytcr-wm5102/HiFi.conf" - Comment "Play HiFi quality Music" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/cht-bsw-rt5672/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/cht-bsw-rt5672/HiFi.conf deleted file mode 100644 index 41828efd..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/cht-bsw-rt5672/HiFi.conf +++ /dev/null @@ -1,155 +0,0 @@ -# Adapted from https://github.com/plbossart/UCM/tree/master/cht-bsw-rt5672 - -Define.Speaker "yes" -Define.Headphones "yes" -Define.MonoSpeaker "yes" -Define.DigitalMic1 "yes" -Define.DigitalMic2 "yes" -Define.HeadsetMic "yes" - -# Figure out which components are in use on the device, we check both the -# components string (present on newer kernels) as well as checking for DMI -# strings for compatibility with older kernels. Note DMI matches for new -# models should only be added to the kernel, this UCM profile will then -# automatically pick up the info from the components string. - -If.components-stereo-spk { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-spk:2" - } - True.Define.MonoSpeaker "" -} - -If.components-dmic1 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-mic:dmic1" - } - True.Define.DigitalMic2 "" -} - -If.components-dmic2 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-mic:dmic2" - } - True.Define.DigitalMic1 "" -} - -If.dmi-dmic1 { - Condition { - Type RegexMatch - String "${CardLongName}" - Regex "(LENOVO.*LenovoMiix210)|(LENOVO.*ThinkPad10)" - } - True { - Define.MonoSpeaker "" - Define.DigitalMic2 "" - } -} - -If.dmi-dmic2 { - Condition { - Type RegexMatch - String "${CardLongName}" - Regex "(LENOVO.*ThinkPad8)" - } - True { - Define.MonoSpeaker "" - Define.DigitalMic1 "" - } -} - -SectionVerb { - Include.e.File "/codecs/rt5672/EnableSeq.conf" - - If.Controls { - Condition { - Type ControlExists - Control "name='media0_in Gain 0 Switch'" - } - Before.EnableSequence "0" - True { - Include.pe.File "/platforms/bytcr/PlatformEnableSeq.conf" - Include.pd.File "/platforms/bytcr/PlatformDisableSeq.conf" - } - } -} - -If.spk { - Condition { - Type String - Empty "${var:Speaker}" - } - False.Include.spk.File "/codecs/rt5672/Speaker.conf" -} - -If.mspk { - Condition { - Type String - Empty "${var:MonoSpeaker}" - } - True { - RenameDevice."Speaker1" "Speaker" - RemoveDevice."Speaker2" "Speaker2" - } - False.Include.mspk.File "/codecs/rt5672/MonoSpeaker.conf" -} - -If.hp { - Condition { - Type String - Empty "${var:Headphones}" - } - #True.RemoveDevice."Headphones" "Headphones" - False.Include.hp.File "/codecs/rt5672/HeadPhones.conf" -} - -If.dmic1 { - Condition { - Type String - Empty "${var:DigitalMic1}" - } - True.RemoveDevice."Mic1" "Mic1" - False { - Include.dmic1.File "/codecs/rt5672/DMIC1.conf" - If.dmic2 { - Condition { - Type "String" - Empty "${var:DigitalMic2}" - } - True.RenameDevice."Mic1" "Mic" - } - } -} - -If.dmic2 { - Condition { - Type String - Empty "${var:DigitalMic2}" - } - True.RemoveDevice."Mic2" "Mic2" - False { - Include.dmic2.File "/codecs/rt5672/DMIC2.conf" - If.dmic1 { - Condition { - Type "String" - Empty "${var:DigitalMic1}" - } - True.RenameDevice."Mic2" "Mic" - } - } -} - -If.hsmic { - Condition { - Type String - Empty "${var:HeadsetMic}" - } - #True.RemoveDevice."Headset" "Headset" - False.Include.hsmic.File "/codecs/rt5672/HeadsetMic.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/cht-bsw-rt5672/cht-bsw-rt5672.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/cht-bsw-rt5672/cht-bsw-rt5672.conf deleted file mode 100644 index 426facc8..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/cht-bsw-rt5672/cht-bsw-rt5672.conf +++ /dev/null @@ -1,14 +0,0 @@ -# Adapted from https://github.com/plbossart/UCM/tree/master/cht-bsw-rt5672 - -Syntax 3 - -SectionUseCase."HiFi" { - File "/Intel/cht-bsw-rt5672/HiFi.conf" - Comment "Play HiFi quality Music" -} - -FixedBootSequence [ - exec "-/sbin/modprobe snd_ctl_led" - sysw "-/class/sound/ctl-led/speaker/card${CardNumber}/attach:DAC1 Playback Switch" - sysw "-/class/sound/ctl-led/mic/card${CardNumber}/attach:ADC Capture Switch" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtmax98090/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtmax98090/HiFi.conf deleted file mode 100644 index d7f69a91..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtmax98090/HiFi.conf +++ /dev/null @@ -1,36 +0,0 @@ -SectionVerb { - Value { - TQ "HiFi" - } - - Include.e.File "/codecs/max98090/EnableSeq.conf" - - If.platform { - Condition { - Type ControlExists - Control "name='media0_in Gain 0 Switch'" - } - Before.EnableSequence "0" - True.Include.pe.File "/platforms/bytcr/PlatformEnableSeq.conf" - } - - If.Quawks { - Condition { - Type String - Haystack "${CardLongName}" - Needle "GOOGLE-Quawks-1.0" - } - True { - EnableSequence [ - # volume values modified - cset "name='Headphone Volume' 25" - cset "name='Speaker Volume' 32" - ] - } - } -} - -Include.hs.File "/codecs/max98090/Headphones.conf" -Include.spk.File "/codecs/max98090/Speaker.conf" -Include.mic.File "/codecs/max98090/InternalMic.conf" -Include.hsmic.File "/codecs/max98090/HeadsetMic.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtmax98090/chtmax98090.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtmax98090/chtmax98090.conf deleted file mode 100644 index da5966ee..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtmax98090/chtmax98090.conf +++ /dev/null @@ -1,5 +0,0 @@ -Syntax 3 -SectionUseCase."HiFi" { - File "/Intel/chtmax98090/HiFi.conf" - Comment "Play HiFi quality Music" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtnau8824/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtnau8824/HiFi.conf deleted file mode 100644 index 1a1faf40..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtnau8824/HiFi.conf +++ /dev/null @@ -1,90 +0,0 @@ -Define.Speaker "Speaker" -Define.Mic "InternalMic" -Define.SST "yes" -Define.RightOutputChannel 1 - -If.Controls { - Condition { - Type ControlExists - Control "name='media0_in Gain 0 Switch'" - } - False { - Define.SST "" - Define.RightOutputChannel 0 - } -} - -# Figure out which components are in use on the device, we check both the -# components string (present on newer kernels) as well as checking for DMI -# strings for compatibility with older kernels. Note DMI matches for new -# models should only be added to the kernel, this UCM profile will then -# automatically pick up the info from the components string. - -If.components-mono-spk { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-spk:1" - } - True.Define.Speaker "MonoSpeaker" -} - -If.cfg-mspk { - Condition { - Type RegexMatch - String "${CardLongName}" - Regex "(cube-i1_TF|PIPO-W2S)" - } - True { - Define.Speaker "MonoSpeaker" - } -} - -If.cfg-mic { - Condition { - Type RegexMatch - String "${CardLongName}" - # Medion E22??T models put DMIC in their product version - # when using DMICs - Regex "(MEDION-E22..T.*-DMIC-)" - } - True { - Define.Mic "DMIC1_2" - } -} - -SectionVerb { - - Value { - TQ "HiFi" - } - - Include.e.File "/codecs/nau8824/EnableSeq.conf" - - If.SST { - Condition { - Type String - Empty "${var:SST}" - } - False { - Include.pe { - File "/platforms/bytcr/PlatformEnableSeq.conf" - Before.EnableSequence "0" - } - Include.pd.File "/platforms/bytcr/PlatformDisableSeq.conf" - } - } -} - -# The includes using $vars in there path must be conditional otherwise the -# $var gets expanded before the other If-s above can change the vars. -If.cfg-includes { - Condition { Type String Empty "" } - True { - Include.spk.File "/codecs/nau8824/${var:Speaker}.conf" - Include.hp.File "/codecs/nau8824/HeadPhones.conf" - - Include.mic.File "/codecs/nau8824/${var:Mic}.conf" - Include.hsmic.File "/codecs/nau8824/HeadsetMic.conf" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtnau8824/chtnau8824.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtnau8824/chtnau8824.conf deleted file mode 100644 index 5bca6d16..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtnau8824/chtnau8824.conf +++ /dev/null @@ -1,8 +0,0 @@ -Syntax 3 - -Comment "chtnau8824 internal card" - -SectionUseCase."HiFi" { - File "/Intel/chtnau8824/HiFi.conf" - Comment "Default" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtrt5645/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtrt5645/HiFi.conf deleted file mode 100644 index 30fad501..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtrt5645/HiFi.conf +++ /dev/null @@ -1,208 +0,0 @@ -Define.MonoSpeaker "" -Define.AnalogMic "yes" -Define.DigitalMic "" - -If.cfg-dmic1 { - Condition { - Type RegexMatch - String "${CardLongName}" - Regex "(ASUSTeK.*T100HAN|ASUSTeK.*T101HA)" - } - True { - Define.AnalogMic "" - Define.DigitalMic "DMIC1" - } -} - -If.cfg-dmic2 { - Condition { - Type RegexMatch - String "${CardLongName}" - Regex "(LENOVO.*LenovoMIIX320|MEDION.*Wingman|Standard-EF20EA-1.0)" - } - True { - Define.AnalogMic "" - Define.DigitalMic "DMIC2" - } -} - -If.cfg-mspk { - Condition { - Type RegexMatch - String "${CardLongName}" - Regex "(gpd-win-pocket-rt5645|TECLAST-X80Pro)" - } - True { - Define.MonoSpeaker "yes" - } -} - -SectionVerb { - # ALSA PCM - Value { - TQ "HiFi" - } - - Include.ce.File "/codecs/rt5645/EnableSeq.conf" - Include.cd.File "/codecs/rt5645/DisableSeq.conf" - - EnableSequence [ - cset "name='Stereo1 ADC1 Mux' 1" - cset "name='I2S2 Func Switch' on" - # 3/12 the headphone mic tends to be quite loud - cset "name='IN1 Boost' 3" - # 8/8 the internal analog mic tends to be quite soft - cset "name='IN2 Boost' 8" - ] - - If.Controls { - Condition { - Type ControlExists - Control "name='media0_in Gain 0 Switch'" - } - Before.EnableSequence "0" - True { - Include.pe.File "/platforms/bytcr/PlatformEnableSeq.conf" - Include.pd.File "/platforms/bytcr/PlatformDisableSeq.conf" - } - } -} - -SectionDevice."Speaker" { - Comment "Speaker" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } - - ConflictingDevice [ - "Headphones" - ] - - Include.e.File "/codecs/rt5645/SpeakerEnableSeq.conf" - - If.mspk { - Condition { - Type String - Empty "${var:MonoSpeaker}" - } - False { - EnableSequence [ - # Monospeaker: Mix right to left - cset "name='Stereo DAC MIXL DAC R1 Switch' 1" - cset "name='Stereo DAC MIXR DAC R1 Switch' 0" - ] - DisableSequence [ - # Undo monospeaker mixing - cset "name='Stereo DAC MIXL DAC R1 Switch' 0" - cset "name='Stereo DAC MIXR DAC R1 Switch' 1" - ] - } - } - - DisableSequence [ - cset "name='Ext Spk Switch' off" - cset "name='Speaker Channel Switch' off" - ] -} - -SectionDevice."Headphones" { - Comment "Headphones" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - } - - ConflictingDevice [ - "Speaker" - ] - - Include.e.File "/codecs/rt5645/HeadphonesEnableSeq.conf" - - DisableSequence [ - cset "name='Headphone Switch' off" - cset "name='Headphone Channel Switch' off" - ] -} - -If.amic { - Condition { - Type String - Empty "${var:AnalogMic}" - } - Before.SectionDevice "Headset" - False.Include.amic.File "/codecs/rt5645/AnalogMic.conf" -} - -If.dmic { - Condition { - Type String - Empty "${var:DigitalMic}" - } - Before.SectionDevice "Headset" - False { - SectionDevice."Mic" { - Comment "Internal Microphone" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } - - Include.e.File "/codecs/rt5645/DigitalMicEnableSeq.conf" - Include.d.File "/codecs/rt5645/DigitalMicDisableSeq.conf" - - EnableSequence [ - cset "name='Stereo1 ADC2 Mux' DMIC" - cset "name='Mono ADC L2 Mux' DMIC" - cset "name='Mono ADC R2 Mux' DMIC" - ] - - If.dmic2 { - Condition { - Type String - String1 "${var:DigitalMic}" - String2 "DMIC1" - } - True { - EnableSequence [ - cset "name='Stereo1 DMIC Mux' DMIC1" - ] - } - False { - EnableSequence [ - cset "name='Stereo1 DMIC Mux' DMIC2" - cset "name='Mono DMIC L Mux' DMIC2" - cset "name='Mono DMIC R Mux' DMIC2" - ] - } - } - } - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - JackControl "Headset Mic Jack" - } - - Include.e.File "/codecs/rt5645/HSMicEnableSeq.conf" - Include.d.File "/codecs/rt5645/HSMicDisableSeq.conf" - - EnableSequence [ - cset "name='Sto1 ADC MIXL ADC2 Switch' off" - cset "name='Sto1 ADC MIXR ADC2 Switch' off" - - cset "name='Mono ADC MIXL ADC1 Switch' on" - cset "name='Mono ADC MIXR ADC1 Switch' on" - cset "name='Mono ADC MIXL ADC2 Switch' off" - cset "name='Mono ADC MIXR ADC2 Switch' off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtrt5645/chtrt5645.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtrt5645/chtrt5645.conf deleted file mode 100644 index babec879..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtrt5645/chtrt5645.conf +++ /dev/null @@ -1,11 +0,0 @@ -Syntax 4 -Comment "Intel SoC Audio Device" - -SectionUseCase."HiFi" { - File "/Intel/chtrt5645/HiFi.conf" - Comment "Default" -} - -Include.card-init.File "/lib/card-init.conf" -Include.ctl-remap.File "/lib/ctl-remap.conf" -Include.codec-init.File "/codecs/rt5645/init.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtrt5650/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtrt5650/HiFi.conf deleted file mode 100644 index 66bf2855..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtrt5650/HiFi.conf +++ /dev/null @@ -1,116 +0,0 @@ - -SectionVerb { - # ALSA PCM - Value { - TQ "HiFi" - } - - Include.e.File "/codecs/rt5645/EnableSeq.conf" - Include.d.File "/codecs/rt5645/DisableSeq.conf" - - If.Controls { - Condition { - Type ControlExists - Control "name='media0_in Gain 0 Switch'" - } - Before.EnableSequence "0" - True { - Include.pe.File "/platforms/bytcr/PlatformEnableSeq.conf" - Include.pd.File "/platforms/bytcr/PlatformDisableSeq.conf" - } - } - - EnableSequence [ - cset "name='Speaker HWEQ' 1,164,237,135,1,165,0,0,1,166,237,135,1,167,0,0,1,192,30,196,1,193,0,0,1,194,30,196,1,195,0,0,1,196,31,180,1,197,0,75,1,198,31,180,1,199,31,180,1,200,0,75,1,201,31,180,0,177,51,224" - cset "name='DAC1 Playback Volume' 77,77" - cset "name='Speaker ClassD Playback Volume' 4" - cset "name='I2S2 Func Switch' off" - cset "name='RT5650 IF1 ADC Mux' 0" - ] -} - -SectionDevice."Speaker" { - Comment "Speaker" - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackPriority 100 - } - - ConflictingDevice [ - "Headphones" - ] - - Include.spk.File "/codecs/rt5645/SpeakerEnableSeq.conf" - - DisableSequence [ - cset "name='Ext Spk Switch' off" - cset "name='Speaker Channel Switch' off" - ] -} - -SectionDevice."Headphones" { - Comment "Headphones" - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackPriority 200 - JackControl "Headphone Jack" - JackHWMute "Speaker" - } - - ConflictingDevice [ - "Speaker" - ] - - Include.hse.File "/codecs/rt5645/HeadphonesEnableSeq.conf" - - DisableSequence [ - cset "name='Headphone Switch' off" - cset "name='Headphone Channel Switch' off" - ] -} - -SectionDevice."Mic1" { - Comment "Internal Microphone" - - Value { - CapturePCM "hw:${CardId}" - CapturePriority 100 - } - - EnableSequence [ - cset "name='Int Mic Switch' on" - cset "name='Sto1 ADC MIXL ADC2 Switch' on" - cset "name='Sto1 ADC MIXR ADC2 Switch' on" - ] - - DisableSequence [ - cset "name='Sto1 ADC MIXL ADC2 Switch' off" - cset "name='Sto1 ADC MIXR ADC2 Switch' off" - cset "name='Int Mic Switch' off" - ] -} - -SectionDevice."Mic2" { - Comment "Headset Microphone" - - Value { - CapturePCM "hw:${CardId}" - CapturePriority 200 - JackControl "Headset Mic Jack" - JackHWMute "Mic1" - } - - Include.hsmice.File "/codecs/rt5645/HSMicEnableSeq.conf" - - EnableSequence [ - cset "name='IN1 Boost' 1" - ] - - Include.hsmicd.File "/codecs/rt5645/HSMicDisableSeq.conf" - - DisableSequence [ - cset "name='IN1 Boost' 0" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtrt5650/chtrt5650.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtrt5650/chtrt5650.conf deleted file mode 100644 index cd2f962e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/chtrt5650/chtrt5650.conf +++ /dev/null @@ -1,6 +0,0 @@ -Comment "Intel SoC Audio Device" -Syntax 3 -SectionUseCase."HiFi" { - File "/Intel/chtrt5650/HiFi.conf" - Comment "Default" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/hda-dsp/Hdmi1.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/hda-dsp/Hdmi1.conf deleted file mode 100644 index 08fa5ddf..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/hda-dsp/Hdmi1.conf +++ /dev/null @@ -1,24 +0,0 @@ -# Usecase for device HDMI1/Display Port stereo playback on Intel cAVS platforms -# For Audio in HDA mode - -SectionDevice."HDMI1" { - Comment "HDMI/Display Port 1 Stereo" - - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId},10" - If.1 { - Condition { - Type ControlExists - Control "iface=CARD,name='HDMI/DP,pcm=17 Jack'" - } - True { - JackControl "HDMI/DP,pcm=17 Jack" - } - False { - JackControl "HDMI/DP, pcm=17 Jack" - } - } - } -} - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/hda-dsp/Hdmi2.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/hda-dsp/Hdmi2.conf deleted file mode 100644 index eb168eac..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/hda-dsp/Hdmi2.conf +++ /dev/null @@ -1,23 +0,0 @@ -# Usecase for device HDMI2/Display Port stereo playback on Intel cAVS platforms -# For Audio in HDA mode - -SectionDevice."HDMI2" { - Comment "HDMI/Display Port 2 Stereo" - - Value { - PlaybackPriority 400 - PlaybackPCM "hw:${CardId},11" - If.1 { - Condition { - Type ControlExists - Control "iface=CARD,name='HDMI/DP,pcm=18 Jack'" - } - True { - JackControl "HDMI/DP,pcm=18 Jack" - } - False { - JackControl "HDMI/DP, pcm=18 Jack" - } - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/hda-dsp/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/hda-dsp/HiFi.conf deleted file mode 100644 index 312dfd31..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/hda-dsp/HiFi.conf +++ /dev/null @@ -1,96 +0,0 @@ -# Usecase for stereo playback Speaker and Headset, Recording on DMIC and Headset MIC. -# For Audio in HDA mode on Intel cAVS platforms - -SectionVerb { - - EnableSequence [ - cset "name='mch_cap_out mo mch_cap_in mi Switch' 1" - ] - - Value { - TQ "HiFi" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='Headphone Playback Switch' 1,1" - cset "name='Speaker Playback Switch' 0,0" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},7" - PlaybackMixerElem "Headphone" - PlaybackMasterElem "Master" - PlaybackVolume "Headphone Playback Volume" - PlaybackSwitch "Headphone Playback Switch" - JackControl "Front Headphone Jack" - JackHWMute "Speaker" - } -} - -SectionDevice."Speaker" { - Comment "Speaker" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Headphone Playback Switch' 0,0" - cset "name='Speaker Playback Switch' 1,1" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},7" - PlaybackMixerElem "Speaker" - PlaybackMasterElem "Master" - PlaybackVolume "Speaker Playback Volume" - PlaybackSwitch "Speaker Playback Switch" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='media0_out mo codec0_in mi Switch' 1" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},7" - } -} - -SectionDevice."Mic" { - Comment "Digital Microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='mch_cap_out mo mch_cap_in mi Switch' 1" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},13" - } -} - -Include.hdmi1.File "/Intel/hda-dsp/Hdmi1.conf" -Include.hdmi2.File "/Intel/hda-dsp/Hdmi2.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/hda-dsp/hda-dsp.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/hda-dsp/hda-dsp.conf deleted file mode 100644 index 899be2b5..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/hda-dsp/hda-dsp.conf +++ /dev/null @@ -1,16 +0,0 @@ -# UCM for Intel CAVS platforms -# For Audio in HDA and DMIC mode - -Syntax 3 - -SectionUseCase."HiFi" { - File "/Intel/hda-dsp/HiFi.conf" - Comment "Play HiFi quality Music" -} - -SectionDefaults [ - cset "name='Master Playback Switch' 1" - cset "name='codec0_out mo media0_in mi Switch' 1" - cset "name='media0_out mo codec0_in mi Switch' 1" - cset "name='mch_cap_out mo mch_cap_in mi Switch' 1" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/kblrt5660/Hdmi1.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/kblrt5660/Hdmi1.conf deleted file mode 100644 index 561946f1..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/kblrt5660/Hdmi1.conf +++ /dev/null @@ -1,23 +0,0 @@ -# Usecase for device HDMI1/Display Port stereo playback on Intel KABYLAKE platforms -# For Audio in I2S mode - -SectionDevice."HDMI1" { - Comment "HDMI/Display Port 1 Stereo" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},2" - If.1 { - Condition { - Type ControlExists - Control "iface=CARD,name='HDMI/DP,pcm=4 Jack'" - } - True { - JackControl "HDMI/DP,pcm=4 Jack" - } - False { - JackControl "HDMI/DP, pcm=4 Jack" - } - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/kblrt5660/Hdmi2.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/kblrt5660/Hdmi2.conf deleted file mode 100644 index 756a3464..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/kblrt5660/Hdmi2.conf +++ /dev/null @@ -1,23 +0,0 @@ -# Usecase for device HDMI1/Display Port stereo playback on Intel KABYLAKE platforms -# For Audio in I2S mode - -SectionDevice."HDMI2" { - Comment "HDMI/Display Port 2 Stereo" - - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId},3" - If.1 { - Condition { - Type ControlExists - Control "iface=CARD,name='HDMI/DP,pcm=5 Jack'" - } - True { - JackControl "HDMI/DP,pcm=5 Jack" - } - False { - JackControl "HDMI/DP, pcm=5 Jack" - } - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/kblrt5660/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/kblrt5660/HiFi.conf deleted file mode 100644 index 2a54253d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/kblrt5660/HiFi.conf +++ /dev/null @@ -1,77 +0,0 @@ -# UCM for Intel Kabylake platforms with RT5660 -# For Audio in I2S mode - -LibraryConfig.remap.Config { - - ctl.default.remap { - "name='IN1 Boost Volume'" "name='IN1 Boost Capture Volume'" - "name='IN2 Boost Volume'" "name='IN2 Boost Capture Volume'" - "name='IN3 Boost Volume'" "name='IN3 Boost Capture Volume'" - "name='STO1 ADC Boost Gain Volume'" "name='STO1 ADC Boost Capture Volume'" - } - -} - -SectionDevice."Line1" { - Comment "Line playback" - - EnableSequence [ - cset "name='DAC1 Playback Volume' 30" - cset "name='OUT Playback Volume' 19" - cset "name='OUT Playback Switch' on" - cset "name='codec0_out mo media0_in mi Switch' on" - cset "name='DAC1 MIXL DAC1 Switch' on" - cset "name='DAC1 MIXR DAC1 Switch' on" - cset "name='Stereo DAC MIXL DAC L1 Switch' on" - cset "name='Stereo DAC MIXR DAC L1 Switch' off" - cset "name='Stereo DAC MIXR DAC R1 Switch' on" - cset "name='Stereo DAC MIXL DAC R1 Switch' off" - cset "name='LOUT MIX DAC Switch' on" - cset "name='Line Out Switch' on" - ] - - DisableSequence [ - cset "name='Line Out Switch' off" - cset "name='DAC1 MIXL DAC1' off" - cset "name='DAC1 MIXR DAC1' off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - JackDev "rt5660-jack" - JackControl "Line Out Jack" - } -} - -SectionDevice."Line2" { - Comment "Line capture" - - EnableSequence [ - cset "name='ADC Capture Volume' 30" - cset "name='IN1 Boost Volume' 30" - cset "name='IN2 Boost Volume' 30" - cset "name='STO1 ADC Boost Gain Volume' 1" - cset "name='RECMIXL BST1 Switch' off" - cset "name='RECMIXR BST1 Switch' on" - cset "name='RECMIXL BST2 Switch' on" - cset "name='RECMIXR BST2 Switch' off" - cset "name='Line In Switch' on" - cset "name='Sto1 ADC MIXR ADC1 Switch' on" - cset "name='Sto1 ADC MIXL ADC1 Switch' on" - cset "name='media0_out mo codec0_in mi Switch' on" - ] - - DisableSequence [ - cset "name='Line In Switch' off" - cset "name='Sto1 ADC MIXR ADC1 Switch' off" - cset "name='Sto1 ADC MIXL ADC1 Switch' off" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},1" - JackDev "rt5660-jack" - JackControl "Line In Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/kblrt5660/kblrt5660.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/kblrt5660/kblrt5660.conf deleted file mode 100644 index edf491db..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/kblrt5660/kblrt5660.conf +++ /dev/null @@ -1,19 +0,0 @@ -Syntax 4 - -SectionUseCase."HiFi" { - File "/Intel/kblrt5660/HiFi.conf" - Comment "Play HiFi quality Music" -} - -SectionUseCase."Hdmi1" { - File "/Intel/kblrt5660/Hdmi1.conf" - Comment "Play on Hdmi/DP 1" -} - -SectionUseCase."Hdmi2" { - File "/Intel/kblrt5660/Hdmi2.conf" - Comment "Play on Hdmi/DP 2" -} - -Include.card-init.File "/lib/card-init.conf" -Include.ctl-remap.File "/lib/ctl-remap.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/skylake-rt286/Hdmi1.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/skylake-rt286/Hdmi1.conf deleted file mode 100644 index 5a569434..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/skylake-rt286/Hdmi1.conf +++ /dev/null @@ -1,23 +0,0 @@ -# Usecase for device HDMI1/Display Port stereo playback on Intel SKYLAKE/KABYLAKE platforms -# For Audio in I2S mode - -SectionDevice."HDMI1" { - Comment "HDMI/Display Port 1 Stereo" - - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId},4" - If.1 { - Condition { - Type ControlExists - Control "iface=CARD,name='HDMI/DP,pcm=4 Jack'" - } - True { - JackControl "HDMI/DP,pcm=4 Jack" - } - False { - JackControl "HDMI/DP, pcm=4 Jack" - } - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/skylake-rt286/Hdmi2.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/skylake-rt286/Hdmi2.conf deleted file mode 100644 index d2780b6d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/skylake-rt286/Hdmi2.conf +++ /dev/null @@ -1,23 +0,0 @@ -# Usecase for device HDMI2/Display Port stereo playback on Intel SKYLAKE/KABYLAKE platforms -# For Audio in I2S mode - -SectionDevice."HDMI2" { - Comment "HDMI/Display Port 2 Stereo" - - Value { - PlaybackPriority 400 - PlaybackPCM "hw:${CardId},5" - If.1 { - Condition { - Type ControlExists - Control "iface=CARD,name='HDMI/DP,pcm=5 Jack'" - } - True { - JackControl "HDMI/DP,pcm=5 Jack" - } - False { - JackControl "HDMI/DP, pcm=5 Jack" - } - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/skylake-rt286/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/skylake-rt286/HiFi.conf deleted file mode 100644 index dfc73c1a..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/skylake-rt286/HiFi.conf +++ /dev/null @@ -1,112 +0,0 @@ -# Usecase for stereo playback Speaker and Headset, Recording on DMIC and Headset MIC. -# For Audio in I2S mode on Intel SKYLAKE/KABYLAKE platforms - -SectionVerb { - EnableSequence [ - cset "name='media0_out mo dmic01_hifi_in mi Switch' 1" - ] - - Value { - TQ "HiFi" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='HPO L Switch' 1" - cset "name='HPO R Switch' 1" - cset "name='Headphone Jack Switch' 1" - cset "name='Speaker Playback Switch' 0,0" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - JackHWMute "Speaker" - } -} - -SectionDevice."Speaker" { - Comment "Speaker" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='SPO Switch' 1" - cset "name='Speaker Playback Switch' 1,1" - cset "name='Speaker Switch' 1" - cset "name='HPO L Switch' 0" - cset "name='HPO R Switch' 0" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - ConflictingDevice [ - "Mic" - ] - EnableSequence [ - cset "name='media0_out mo codec0_in mi Switch' 1" - cset "name='ADC0 Capture Switch' 1,1" - cset "name='ADC 0 Mux' 0" - cset "name='Mic Jack Switch' 1" - cset "name='media0_out mo dmic01_hifi_in mi Switch' 0" - ] - - DisableSequence [ - cset "name='media0_out mo dmic01_hifi_in mi Switch' 1" - cset "name='media0_out mo codec0_in mi Switch' 0" - ] - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},1" - JackControl "Mic Jack" - } -} - -SectionDevice."Mic" { - Comment "Digital Stereo Microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='media0_out mo dmic01_hifi_in mi Switch' 1" - cset "name='media0_out mo codec0_in mi Switch' 0" - cset "name='ADC0 Capture Switch' 0,0" - cset "name='Mic Jack Switch' 0" - cset "name='ADC 0 Mux' 0" - - ] - - DisableSequence [ - cset "name='media0_out mo codec0_in mi Switch' 1" - cset "name='media0_out mo dmic01_hifi_in mi Switch' 0" - cset "name='ADC0 Capture Switch' 1,1" - cset "name='Mic Jack Switch' 1" - cset "name='ADC 0 Mux' 2" - ] - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},1" - } -} - -Include.hdmi1.File "/Intel/skylake-rt286/Hdmi1.conf" -Include.hdmi2.File "/Intel/skylake-rt286/Hdmi2.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/skylake-rt286/skylake-rt286.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/skylake-rt286/skylake-rt286.conf deleted file mode 100644 index 7528d9a4..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/skylake-rt286/skylake-rt286.conf +++ /dev/null @@ -1,44 +0,0 @@ -# UCM for Intel SKYLAKE/KABYLAKE platforms -# For Audio in I2S mode - -Syntax 3 - -SectionUseCase."HiFi" { - File "/Intel/skylake-rt286/HiFi.conf" - Comment "Play and record HiFi quality Music" -} - -SectionDefaults [ - cset "name='Headphone Jack Switch' 1" - cset "name='Speaker Switch' 1" - cset "name='Speaker Playback Switch' 0,0" - cset "name='Front DAC Switch' 1" - cset "name='Front RECMIX Switch' 0" - cset "name='Mic Jack Switch' 1" - cset "name='ADC 0 Mux' 2" - cset "name='ADC 1 Mux' 0" - cset "name='ADC0 Capture Volume' 105,105" - cset "name='ADC0 Capture Switch' 1,1" - cset "name='AMIC Volume' 3" - cset "name='DAC0 Playback Volume' 100,100" - cset "name='HPO L Switch' 0" - cset "name='HPO Mux' 0" - cset "name='HPO R Switch' 0" - cset "name='Pin 5 Mux' 1" - cset "name='Pin 6 Mux' 2" - cset "name='Pin 7 Mux' 3" - cset "name='RECMIX Beep Switch' 0" - cset "name='RECMIX Line1 Switch' 0" - cset "name='RECMIX Mic1 Switch' 0" - cset "name='SPK Mux' 0" - cset "name='SPO Switch' 1" - cset "name='codec0_out mo codec0_in mi Switch' 0" - cset "name='codec0_out mo dmic01_hifi_in mi Switch' 0" - cset "name='codec0_out mo media0_in mi Switch' 1" - cset "name='codec1_out mo codec0_in mi Switch' 0" - cset "name='codec1_out mo dmic01_hifi_in mi Switch' 0" - cset "name='codec1_out mo media0_in mi Switch' 0" - cset "name='media0_out mo codec0_in mi Switch' 1" - cset "name='media0_out mo dmic01_hifi_in mi Switch' 1" - cset "name='media0_out mo media0_in mi Switch' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-ehl-rt5660/Hdmi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-ehl-rt5660/Hdmi.conf deleted file mode 100644 index abb6e2cf..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-ehl-rt5660/Hdmi.conf +++ /dev/null @@ -1,85 +0,0 @@ -# Usecase for device HDMI/Display Port stereo playback on Intel ELKHARTLAKE platforms - -SectionDevice."HDMI1" { - Comment "HDMI/Display Port 1 Stereo" - - Value { - PlaybackPCM "hw:${CardId},3" - PlaybackPriority 500 - If.1 { - Condition { - Type ControlExists - Control "iface=CARD,name='HDMI/DP,pcm=3 Jack'" - } - True { - JackControl "HDMI/DP,pcm=3 Jack" - } - False { - JackControl "HDMI/DP, pcm=3 Jack" - } - } - } -} - -SectionDevice."HDMI2" { - Comment "HDMI/Display Port 2 Stereo" - - Value { - PlaybackPCM "hw:${CardId},4" - PlaybackPriority 600 - If.1 { - Condition { - Type ControlExists - Control "iface=CARD,name='HDMI/DP,pcm=4 Jack'" - } - True { - JackControl "HDMI/DP,pcm=4 Jack" - } - False { - JackControl "HDMI/DP, pcm=4 Jack" - } - } - } -} - -SectionDevice."HDMI3" { - Comment "HDMI/Display Port 3 Stereo" - - Value { - PlaybackPCM "hw:${CardId},5" - PlaybackPriority 600 - If.1 { - Condition { - Type ControlExists - Control "iface=CARD,name='HDMI/DP,pcm=5 Jack'" - } - True { - JackControl "HDMI/DP,pcm=5 Jack" - } - False { - JackControl "HDMI/DP, pcm=5 Jack" - } - } - } -} - -SectionDevice."HDMI4" { - Comment "HDMI/Display Port 4 Stereo" - - Value { - PlaybackPCM "hw:${CardId},6" - PlaybackPriority 600 - If.1 { - Condition { - Type ControlExists - Control "iface=CARD,name='HDMI/DP,pcm=6 Jack'" - } - True { - JackControl "HDMI/DP,pcm=6 Jack" - } - False { - JackControl "HDMI/DP, pcm=6 Jack" - } - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-ehl-rt5660/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-ehl-rt5660/HiFi.conf deleted file mode 100644 index 0f159382..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-ehl-rt5660/HiFi.conf +++ /dev/null @@ -1,75 +0,0 @@ -# Usecase for stereo playback Speaker and Headset, Recording on DMIC and Headset MIC. -# For Audio in I2S mode on Intel ElkhartLake platforms - -SectionVerb { - -} - -SectionDevice."Speaker" { - Comment "Speaker" - - ConflictingDevice [ - "Lineout" - ] - - EnableSequence [ - cset "name='Speaker Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Switch' off" - ] - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } -} - -SectionDevice."Lineout" { - Comment "Lineout" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='Line Out Switch' on" - ] - - DisableSequence [ - cset "name='Line Out Switch' off" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - } -} - -SectionDevice."Mic" { - Comment "Digital Microphone" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},1" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - EnableSequence [ - cset "name='Headset Mic2 Switch' on" - ] - - DisableSequence [ - cset "name='Headset Mic2 Switch' off" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - } -} - -Include.hdmi.File "/Intel/sof-ehl-rt5660/Hdmi.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-ehl-rt5660/sof-ehl-rt5660.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-ehl-rt5660/sof-ehl-rt5660.conf deleted file mode 100644 index 9466dd28..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-ehl-rt5660/sof-ehl-rt5660.conf +++ /dev/null @@ -1,19 +0,0 @@ -# UCM for Intel ElkhartLake platforms -# For Audio in I2S mode - -Syntax 3 - -SectionUseCase."HiFi" { - File "/Intel/sof-ehl-rt5660/HiFi.conf" - Comment "Play and record HiFi quality Music" -} - -SectionDefaults [ - cset "name='DAC1 MIXL DAC1 Switch' on" - cset "name='DAC1 MIXR DAC1 Switch' on" - cset "name='Stereo DAC MIXL DAC L1 Switch' on" - cset "name='Stereo DAC MIXR DAC R1 Switch' on" - cset "name='LOUT MIX DAC Switch' on" - cset "name='RECMIXL BST2 Switch' on" - cset "name='RECMIXR BST2 Switch' on" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-essx8336/Hdmi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-essx8336/Hdmi.conf deleted file mode 100644 index d77b92d8..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-essx8336/Hdmi.conf +++ /dev/null @@ -1,30 +0,0 @@ -# Use case Configuration for sof-es8336 - -Include.hdmi.File "/codecs/hda/hdmi.conf" - -If.hdmi1 { - Condition { Type AlwaysTrue } - True.Macro.hdmi1.HDMI { - Number 1 - Device 5 - Priority 500 - } -} - -If.hdmi2 { - Condition { Type AlwaysTrue } - True.Macro.hdmi2.HDMI { - Number 2 - Device 6 - Priority 600 - } -} - -If.hdmi3 { - Condition { Type AlwaysTrue } - True.Macro.hdmi3.HDMI { - Number 3 - Device 7 - Priority 700 - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-essx8336/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-essx8336/HiFi.conf deleted file mode 100644 index 2be5aa55..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-essx8336/HiFi.conf +++ /dev/null @@ -1,152 +0,0 @@ -SectionVerb { - EnableSequence [ - disdevall "" - # Disable all inputs / outputs - # (may be duplicated with disdevall) - cset "name='Headphone Switch' off" - cset "name='Headset Mic Switch' off" - cset "name='Internal Mic Switch' off" - cset "name='DAC Mono Mix Switch' off" - ] -} - -If.amic { - Condition { - Type String - Empty "${var:DeviceDmic}" - } - True.SectionDevice."Mic" { - Comment "Analog Microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='Differential Mux' lin1-rin1" - cset "name='Internal Mic Switch' on" - ] - - DisableSequence [ - cset "name='Internal Mic Switch' off" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - CaptureMixerElem "ADC PGA Gain" - CaptureMasterElem "ADC" - } - } -} - -If.dmic { - Condition { - Type String - Empty "${var:DeviceDmic}" - } - False.SectionDevice."${var:DeviceDmic}" { - Comment "Digital Microphone" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},1" - If.chn { - Condition { - Type RegexMatch - Regex "cfg-dmics:[34]" - String "${CardComponents}" - } - True { - CaptureChannels 4 - } - } - CaptureMixerElem "Dmic0" - CaptureVolume "Dmic0 Capture Volume" - CaptureSwitch "Dmic0 Capture Switch" - } - } -} - -SectionDevice."Speaker" { - Comment "Speakers" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Speaker Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Switch' off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - # The es8316 only has a HP-amp which is muxed to the speaker - # or to the headpones output - PlaybackMixerElem "Headphone Mixer" - PlaybackMasterElem "DAC" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='Headphone Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Switch' off" - ] - - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "Headphone Mixer" - PlaybackMasterElem "DAC" - JackControl "Headphone Jack" - JackHWMute "Speaker" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - If.conflict { - Condition { - Type String - Empty "${var:DeviceDmic}" - } - True.ConflictingDevice [ - "Mic" - ] - } - - EnableSequence [ - cset "name='Headset Mic Switch' on" - cset "name='Digital Mic Mux' 'dmic disable'" - ] - - DisableSequence [ - cset "name='Headset Mic Switch' off" - ] - - Value { - CapturePriority 300 - CapturePCM "hw:${CardId}" - CaptureMixerElem "ADC PGA Gain" - CaptureMasterElem "ADC" - JackControl "Headset Mic Jack" - } -} - -Include.hdmi.File "/Intel/sof-essx8336/Hdmi.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-essx8336/sof-essx8336.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-essx8336/sof-essx8336.conf deleted file mode 100644 index f579a45f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-essx8336/sof-essx8336.conf +++ /dev/null @@ -1,57 +0,0 @@ -Syntax 6 - -BootSequence [ - # Setup muxes / switches - cset "name='Left Headphone Mixer Left DAC Switch' on" - cset "name='Right Headphone Mixer Right DAC Switch' on" - # Set digital mix mux to "dmic disable" - # That doesn't affect dmic, but other values mute headset mic - cset "name='Digital Mic Mux' 0" - - # Set HP vol to 0 dB - cset "name='Headphone Playback Volume' 100%" - cset "name='Headphone Mixer Volume' 100%" - - # Set DAC vol - cset "name='DAC Playback Volume' 60%" - # LDATA TO LDAC, RDATA TO RDAC - cset "name='DAC Source Mux' 0" - - # Disable Auto Level Control - cset "name='ALC Capture Switch' off" - - # Set capture vol - cset "name='ADC Capture Volume' 60%" -] - -Define.DeviceDmic "" - -If.devdmic { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-dmics:" - } - True.Define.DeviceDmic "Mic" -} - -SectionUseCase."HiFi" { - File "/Intel/sof-essx8336/HiFi.conf" - Comment "Play and record HiFi quality Music" -} -If.dmic { - Condition { - Type String - Empty "${var:DeviceDmic}" - } - False.If.Dmic0 { - Condition { - Type ControlExists - Control "name='Dmic0 Capture Volume'" - } - True.BootSequence [ - cset "name='Dmic0 Capture Volume' 70%" - ] - } -} - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-glkda7219max/Hdmi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-glkda7219max/Hdmi.conf deleted file mode 100644 index 461c2782..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-glkda7219max/Hdmi.conf +++ /dev/null @@ -1,30 +0,0 @@ -# Use case Configuration for sof-glkda7219max - -Include.hdmi.File "/codecs/hda/hdmi.conf" - -If.hdmi1 { - Condition { Type AlwaysTrue } - True.Macro.hdmi1.HDMI { - Number 1 - Device 5 - Priority 500 - } -} - -If.hdmi2 { - Condition { Type AlwaysTrue } - True.Macro.hdmi2.HDMI { - Number 2 - Device 6 - Priority 600 - } -} - -If.hdmi3 { - Condition { Type AlwaysTrue } - True.Macro.hdmi3.HDMI { - Number 3 - Device 7 - Priority 700 - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-glkda7219max/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-glkda7219max/HiFi.conf deleted file mode 100644 index 8fc42b21..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-glkda7219max/HiFi.conf +++ /dev/null @@ -1,72 +0,0 @@ -# command-line sequence to switch playback/capture -# alsaucm -c sof-glkda7219max set _verb HiFi set _enadev Headphone -# alsaucm -c sof-glkda7219max set _verb HiFi set _enadev Speaker -# alsaucm -c sof-glkda7219max set _verb HiFi set _enadev Headset -# alsaucm -c sof-glkda7219max set _verb HiFi set _enadev InternalMic - -SectionDevice."Speaker" { - Comment "Speaker" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } - EnableSequence [ - cset "name='Spk Switch' on" - ] - DisableSequence [ - cset "name='Spk Switch' off" - ] -} - -SectionDevice."Headphones" { - Comment "Headphones" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},1" - PlaybackMixerElem "Headphone" - JackControl "Headphone Jack" - } - EnableSequence [ - cset "name='Headphone Jack Switch' on" - cset "name='Headphone Switch' 1" - ] - DisableSequence [ - cset "name='Headphone Jack Switch' off" - cset "name='Headphone Switch' 0" - ] -} - -SectionDevice."Mic" { - Comment "Internal Microphone" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},99" - CaptureChannels 4 - #CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1" - #MaxSoftwareGain "2000" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},1" - CaptureMixerElem "Headset Mic" - JackControl "Headset Mic Jack" - } - EnableSequence [ - cset "name='Headset Mic Switch' on" - cset "name='Mic Switch' on" - ] - DisableSequence [ - cset "name='Headset Mic Switch' off" - cset "name='Mic Switch' off" - ] -} - -Include.hdmi.File "/Intel/sof-glkda7219max/Hdmi.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-glkda7219max/sof-glkda7219max.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-glkda7219max/sof-glkda7219max.conf deleted file mode 100644 index 2e578263..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-glkda7219max/sof-glkda7219max.conf +++ /dev/null @@ -1,8 +0,0 @@ -Syntax 6 - -SectionUseCase."HiFi" { - File "/Intel/sof-glkda7219max/HiFi.conf" - Comment "Play and record HiFi quality Music" -} - -Include.codec-init.File "/codecs/da7219/init.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-hda-dsp/Hdmi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-hda-dsp/Hdmi.conf deleted file mode 100644 index 2bf450b3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-hda-dsp/Hdmi.conf +++ /dev/null @@ -1,30 +0,0 @@ -# Use case Configuration for sof-hda-dsp - -Include.hdmi.File "/codecs/hda/hdmi.conf" - -If.hdmi1 { - Condition { Type AlwaysTrue } - True.Macro.hdmi1.HDMI { - Number 1 - Device 3 - Priority 500 - } -} - -If.hdmi2 { - Condition { Type AlwaysTrue } - True.Macro.hdmi1.HDMI { - Number 2 - Device 4 - Priority 600 - } -} - -If.hdmi3 { - Condition { Type AlwaysTrue } - True.Macro.hdmi1.HDMI { - Number 3 - Device 5 - Priority 700 - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-hda-dsp/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-hda-dsp/HiFi.conf deleted file mode 100644 index 2063fc0d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-hda-dsp/HiFi.conf +++ /dev/null @@ -1,56 +0,0 @@ -# Use case Configuration for sof-hda-dsp - -SectionVerb { - EnableSequence [ - disdevall "" - ] - - Value.TQ "HiFi" -} - -Include.hda-analog.File "/HDA/HiFi-analog.conf" - -If.dmic { - Condition { - Type String - Empty "${var:DeviceDmic}" - } - Before.SectionDevice "${var:DeviceMic}" - False.SectionDevice."${var:DeviceDmic}" { - Comment "Digital Microphone" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},6" - CaptureMicInfoFile "${var:LibDir}/dmics-nhlt.json" - If.chn { - Condition { - Type RegexMatch - Regex "cfg-dmics:[34]" - String "${CardComponents}" - } - True { - CaptureChannels 4 - } - } - If.vol { - Condition { - Type ControlExists - Control "name='Dmic0 Capture Switch'" - } - True { - CaptureMixerElem "Dmic0" - CaptureVolume "Dmic0 Capture Volume" - CaptureSwitch "Dmic0 Capture Switch" - } - False { - # v1.3 SOF firmware - CaptureMixerElem "PGA10.0 10 Master" - CaptureVolume "PGA10.0 10 Master Capture Volume" - } - } - } - } -} - -Include.hdmi.File "/Intel/sof-hda-dsp/Hdmi.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf deleted file mode 100644 index 98098e72..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf +++ /dev/null @@ -1,117 +0,0 @@ -Syntax 6 - -Define.DeviceMic "Mic" -Define.DeviceDmic "" - -Include.card-init.File "/lib/card-init.conf" - -If.devdmic { - Condition { - Type String - Haystack "${CardComponents}" - Needle "cfg-dmics:" - } - True { - Define.DeviceDmic "Mic1" - Define.DeviceMic "Mic2" - FixedBootSequence [ - # - # users expect to turn the LED on when only internal - # mic is off, but it makes sense to turn this LED - # when all internal inputs are off - # - sysw "-/class/sound/ctl-led/mic/card${CardNumber}/detach:Capture Switch" - # dmic array info - exec "-nhlt-dmic-info -o ${var:LibDir}/dmics-nhlt.json" - ] - } -} - -SectionUseCase."HiFi" { - File "/Intel/sof-hda-dsp/HiFi.conf" - Comment "Play HiFi quality Music" -} - -# the kcontrols initial values, which will be set by `alsactl init` - -If.amute { - Condition { - Type ControlExists - Control "name='Auto-Mute Mode'" - } - True.BootSequence [ - cset "name='Auto-Mute Mode' off" - ] -} - -If.master { - Condition { - Type ControlExists - Control "name='Master Playback Volume'" - } - True.BootSequence [ - cset "name='Master Playback Volume' 60%" - cset "name='Master Playback Switch' on" - ] -} - -If.speaker { - Condition { - Type ControlExists - Control "name='Speaker Playback Volume'" - } - True.BootSequence [ - cset "name='Speaker Playback Volume' 60%" - ] -} - -If.DellMuteLed { - Condition { - Type String - Haystack "$${sys:class/leds/platform::mute/device}" - Needle "dell-laptop" - } - True { - FixedBootSequence [ - sysw "-/class/sound/ctl-led/speaker/card${CardNumber}/attach:Master Playback Switch" - ] - } -} - -If.headphone { - Condition { - Type ControlExists - Control "name='Headphone Playback Volume'" - } - True.BootSequence [ - cset "name='Headphone Playback Volume' 60%" - ] -} - -If.dmic { - Condition { - Type String - Empty "${var:DeviceDmic}" - } - False.If.Dmic0 { - Condition { - Type ControlExists - Control "name='Dmic0 Capture Volume'" - } - True.BootSequence [ - cset "name='Dmic0 Capture Volume' 70%" - cset "name='Dmic0 Capture Switch' on" - ] - } -} - -If.Capture { - Condition { - Type ControlExists - Control "name='Capture Switch'" - } - True.BootSequence [ - cset "name='Capture Volume' 60%" - cset "name='Capture Switch' on" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8192/mt6359-rt1015p-rt5682/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8192/mt6359-rt1015p-rt5682/HiFi.conf deleted file mode 100644 index cf0d2c16..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8192/mt6359-rt1015p-rt5682/HiFi.conf +++ /dev/null @@ -1,88 +0,0 @@ -SectionVerb { - EnableSequence [ - disdevall "" - ] - - Value { - TQ "HiFi" - } -} - -SectionDevice."Speaker" { - Comment "Speaker" - - EnableSequence [ - cset "name='Speakers Switch' 1" - ] - - DisableSequence [ - cset "name='Speakers Switch' 0" - ] - - Value { - PlaybackPCM "hw:${CardId},0" - PlaybackPriority 100 - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - EnableSequence [ - cset "name='Headphone Jack Switch' 1" - ] - - DisableSequence [ - cset "name='Headphone Jack Switch' 0" - ] - - Value { - PlaybackPCM "hw:${CardId},3" - JackControl "Headphone Jack" - PlaybackMixerElem "DAC1" - PlaybackPriority 200 - } -} - -SectionDevice."Mic" { - Comment "Internal Microphone" - - EnableSequence [ - cset "name='MTKAIF_DMIC Switch' 1" - ] - - DisableSequence [ - cset "name='MTKAIF_DMIC Switch' 0" - ] - - Value { - CapturePCM "hw:${CardId},10" - CapturePriority 100 - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - EnableSequence [ - cset "name='Headset Mic Switch' 1" - cset "name='STO1 ADC Capture Switch' 1" - cset "name='RECMIX1L CBJ Switch' 1" - cset "name='Stereo1 ADC MIXL ADC1 Switch' 1" - cset "name='Stereo1 ADC MIXR ADC1 Switch' 1" - ] - - DisableSequence [ - cset "name='STO1 ADC Capture Switch' 0" - cset "name='RECMIX1L CBJ Switch' 0" - cset "name='Stereo1 ADC MIXL ADC1 Switch' 0" - cset "name='Stereo1 ADC MIXR ADC1 Switch' 0" - cset "name='Headset Mic Switch' 0" - ] - - Value { - CapturePCM "hw:${CardId},11" - JackControl "Headset Mic Jack" - CapturePriority 200 - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8192/mt6359-rt1015p-rt5682/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8192/mt6359-rt1015p-rt5682/init.conf deleted file mode 100644 index b53178e3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8192/mt6359-rt1015p-rt5682/init.conf +++ /dev/null @@ -1,24 +0,0 @@ -BootSequence [ - # Speaker - cset "name='I2S3_CH1 DL1_CH1' 1" - cset "name='I2S3_CH2 DL1_CH2' 1" - cset "name='I2S3_HD_Mux' 1" - - # Headphone - cset "name='I2S9_CH1 DL3_CH1' 1" - cset "name='I2S9_CH2 DL3_CH2' 1" - cset "name='I2S9_HD_Mux' 1" - - # Internal Mic - cset "name='UL1_CH1 ADDA_UL_CH1' 1" - cset "name='UL1_CH2 ADDA_UL_CH2' 1" - cset "name='UL_SRC_MUX' DMIC" - - # Headset Mic - cset "name='UL2_CH1 I2S8_CH1' 1" - cset "name='UL2_CH2 I2S8_CH2' 1" - cset "name='I2S8_HD_Mux' 1" - cset "name='Stereo1 ADC L1 Mux' 1" - cset "name='Stereo1 ADC R1 Mux' 1" - cset "name='CBJ Boost Volume' 3" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8192/mt6359-rt1015p-rt5682/mt8192_mt6359_rt1015p_rt5682.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8192/mt6359-rt1015p-rt5682/mt8192_mt6359_rt1015p_rt5682.conf deleted file mode 100644 index b4e124dc..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8192/mt6359-rt1015p-rt5682/mt8192_mt6359_rt1015p_rt5682.conf +++ /dev/null @@ -1,11 +0,0 @@ -Comment "MT8192 MT6359 RT1015P RT5682 sound card" -Syntax 4 - -SectionUseCase."HiFi" { - File "HiFi.conf" - Comment "Default" -} - -Include.card-init.File "/lib/card-init.conf" -Include.ctl-remap.File "/lib/ctl-remap.conf" -Include.init.File "init.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195-sof/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195-sof/init.conf deleted file mode 100644 index f2afb731..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195-sof/init.conf +++ /dev/null @@ -1,20 +0,0 @@ -# mt8195 specific boot sequence - -BootSequence [ - # eTDM - cset "name='ETDM_IN1_Clock_Source' a1sys_a2sys" - cset "name='ETDM_OUT1_Clock_Source' a1sys_a2sys" - - # mt6359 audio - cset "name='UL_SRC_MUX' DMIC" - - # AFE - cset "name='O048 I070 Switch' 1" - cset "name='O049 I071 Switch' 1" - cset "name='O072 I020 Switch' 1" - cset "name='O073 I021 Switch' 1" - cset "name='O036 I012 Switch' 1" - cset "name='O037 I013 Switch' 1" - cset "name='O034 I168 Switch' 1" - cset "name='O035 I169 Switch' 1" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195-sof/mt6359-rt1019-rt5682/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195-sof/mt6359-rt1019-rt5682/HiFi.conf deleted file mode 100644 index 762c8078..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195-sof/mt6359-rt1019-rt5682/HiFi.conf +++ /dev/null @@ -1,94 +0,0 @@ -# Use case configuration for mt8195-mt6359-rt1019-rt5682 - -SectionVerb { - EnableSequence [ - disdevall "" - ] - - Value.TQ "HiFi" -} - -SectionDevice."Speaker" { - Comment "Speaker" - - EnableSequence [ - cset "name='Ext Spk Switch' 1" - ] - - DisableSequence [ - cset "name='Ext Spk Switch' 0" - ] - - Value { - PlaybackChannels 2 - PlaybackPCM "hw:${CardId},16" - PlaybackPriority 100 - PlaybackMixerElem "Speaker" - PlaybackVolume "Speaker Playback Volume" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - EnableSequence [ - cset "name='Headphone Switch' on" - cset "name='HPOL Playback Switch' 1" - cset "name='HPOR Playback Switch' 1" - ] - - DisableSequence [ - cset "name='HPOL Playback Switch' 0" - cset "name='HPOR Playback Switch' 0" - cset "name='Headphone Switch' off" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},17" - JackControl "Headphone Jack" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - EnableSequence [ - cset "name='Headset Mic Switch' on" - cset "name='STO1 ADC Capture Switch' 1" - cset "name='RECMIX1L CBJ Switch' 1" - cset "name='Stereo1 ADC MIXL ADC1 Switch' 1" - cset "name='Stereo1 ADC MIXR ADC1 Switch' 1" - ] - - DisableSequence [ - cset "name='STO1 ADC Capture Switch' 0" - cset "name='RECMIX1L CBJ Switch' 0" - cset "name='Stereo1 ADC MIXL ADC1 Switch' 0" - cset "name='Stereo1 ADC MIXR ADC1 Switch' 0" - cset "name='Headset Mic Switch' off" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},19" - JackControl "Headset Mic Jack" - } -} - -SectionDevice."Mic" { - Comment "Internal Microphone" - - EnableSequence [ - cset "name='MTKAIF_DMIC' On" - ] - - DisableSequence [ - cset "name='MTKAIF_DMIC' Off" - ] - - Value { - CapturePCM "hw:${CardId},18" - CapturePriority 100 - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195-sof/mt6359-rt1019-rt5682/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195-sof/mt6359-rt1019-rt5682/init.conf deleted file mode 100644 index 44605c3f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195-sof/mt6359-rt1019-rt5682/init.conf +++ /dev/null @@ -1,22 +0,0 @@ -# rt1019-rt5682 specific boot sequence -BootSequence [ - cset "name='Stereo1 DAC MIXL DAC L1 Switch' 1" - cset "name='Stereo1 DAC MIXR DAC R1 Switch' 1" - cset "name='DAC L Mux' IF1" - cset "name='DAC R Mux' IF1" - cset "name='IF1 01 ADC Swap Mux' 2" - cset "name='CBJ Boost Volume' 3" - cset "name='Stereo1 ADC L Mux' 'ADC1 L'" - cset "name='Stereo1 ADC R Mux' 'ADC1 R'" - cset "name='Stereo1 ADC L1 Mux' 1" - cset "name='Stereo1 ADC R1 Mux' 1" - - cset "name='DAC1 MIXL DAC1 Switch' 1" - cset "name='DAC1 MIXR DAC1 Switch' 1" - - cset "name='DAC1 MIXL Stereo ADC Switch' 0" - cset "name='DAC1 MIXR Stereo ADC Switch' 0" - - cset "name='Stereo1 ADC MIXL ADC2 Switch' 0" - cset "name='Stereo1 ADC MIXR ADC2 Switch' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195-sof/mt6359-rt1019-rt5682/sof-mt8195-mt6359-rt1019-rt5682.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195-sof/mt6359-rt1019-rt5682/sof-mt8195-mt6359-rt1019-rt5682.conf deleted file mode 100644 index 1879deee..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195-sof/mt6359-rt1019-rt5682/sof-mt8195-mt6359-rt1019-rt5682.conf +++ /dev/null @@ -1,12 +0,0 @@ -Comment "MT8195 MT6359 RT1019 RT5682 sound card" -Syntax 4 - -SectionUseCase."HiFi" { - File "/MediaTek/mt8195-sof/mt6359-rt1019-rt5682/HiFi.conf" - Comment "Default" -} - -Include.card-init.File "/lib/card-init.conf" -Include.ctl-remap.File "/lib/ctl-remap.conf" -Include.init.File "/MediaTek/mt8195-sof/init.conf" -Include.init-rt1019-rt5682.File "/MediaTek/mt8195-sof/mt6359-rt1019-rt5682/init.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195_demo/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195_demo/HiFi.conf deleted file mode 100644 index 660b4adf..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195_demo/HiFi.conf +++ /dev/null @@ -1,117 +0,0 @@ -SectionVerb { - - EnableSequence [ - cset "name='HDMI_OUT_MUX' Connect" - cset "name='DPTX_OUT_MUX' Connect" - cset "name='O176 I070 Switch' on" - cset "name='O177 I071 Switch' on" - cset "name='O034 I168 Switch' on" - cset "name='O035 I169 Switch' on" - cset "name='O036 I012 Switch' on" - cset "name='O037 I013 Switch' on" - cset "name='O072 I022 Switch' on" - cset "name='O073 I023 Switch' on" - cset "name='O074 I024 Switch' on" - cset "name='O075 I025 Switch' on" - cset "name='O076 I026 Switch' on" - cset "name='O077 I027 Switch' on" - cset "name='O078 I028 Switch' on" - cset "name='O079 I029 Switch' on" - cset "name='O002 I004 Switch' on" - cset "name='O003 I005 Switch' on" - cset "name='O004 I006 Switch' on" - cset "name='O005 I007 Switch' on" - cset "name='O006 I008 Switch' on" - cset "name='O007 I009 Switch' on" - cset "name='O008 I010 Switch' on" - cset "name='O009 I011 Switch' on" - ] - - DisableSequence [ - cset "name='HDMI_OUT_MUX' Disconnect" - cset "name='DPTX_OUT_MUX' Disconnect" - cset "name='O176 I070 Switch' off" - cset "name='O177 I071 Switch' off" - cset "name='O034 I168 Switch' off" - cset "name='O035 I169 Switch' off" - cset "name='O036 I012 Switch' off" - cset "name='O037 I013 Switch' off" - cset "name='O072 I022 Switch' off" - cset "name='O073 I023 Switch' off" - cset "name='O074 I024 Switch' off" - cset "name='O075 I025 Switch' off" - cset "name='O076 I026 Switch' off" - cset "name='O077 I027 Switch' off" - cset "name='O078 I028 Switch' off" - cset "name='O079 I029 Switch' off" - cset "name='O002 I004 Switch' off" - cset "name='O003 I005 Switch' off" - cset "name='O004 I006 Switch' off" - cset "name='O005 I007 Switch' off" - cset "name='O006 I008 Switch' off" - cset "name='O007 I009 Switch' off" - cset "name='O008 I010 Switch' off" - cset "name='O009 I011 Switch' off" - ] -} - -SectionDevice."HDMI" { - Comment "Hdmi/DP output" - - Value { - PlaybackPriority 250 - PlaybackPCM "hw:${CardId},5" - } -} - -SectionDevice."Headphones" { - Comment "Headset speakers" - - Value { - PlaybackPriority 300 - PlaybackChannels 2 - PlaybackPCM "hw:${CardId},0" - PlaybackVolume "name='Headset Volume'" - } -} - -SectionDevice."Mic1" { - Comment "Headset microphone" - - Value { - CapturePriority 300 - CaptureChannels 1 - CapturePCM "hw:${CardId},10" - CaptureVolume "PGA1 Volume" - } -} - -SectionDevice."Line1" { - Comment "I2S Line In" - - Value { - CapturePriority 200 - CaptureChannels 2 - CapturePCM "hw:${CardId},11" - } -} - -SectionDevice."Line2" { - Comment "I2S Line out" - - Value { - PlaybackPriority 200 - PlaybackChannels 8 - PlaybackPCM "hw:${CardId},6" - } -} - -SectionDevice."Mic2" { - Comment "PDM microphones" - - Value { - CapturePriority 100 - CaptureChannels 8 - CapturePCM "hw:${CardId},14" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195_demo/mt8195_demo.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195_demo/mt8195_demo.conf deleted file mode 100644 index 896b6dc8..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8195_demo/mt8195_demo.conf +++ /dev/null @@ -1,45 +0,0 @@ -Syntax 2 - -SectionUseCase."HiFi" { - File "/MediaTek/mt8195_demo/HiFi.conf" - Comment "Play high quality music" -} - -BootSequence [ - cset "name='Headset Volume' 0" - cset "name='Lineout Volume' 0" - cset "name='HP Mux' Audio\ Playback" - cset "name='LOL Mux' Playback" - cset "name='MISO0_MUX' UL1_CH1" - cset "name='MISO1_MUX' UL1_CH1" - cset "name='ADC_L_Mux' Left\ Preamplifier" - cset "name='PGA_L_Mux' AIN1" - cset "name='HDMI_OUT_MUX' Connect" - cset "name='DPTX_OUT_MUX' Connect" - # we need to enable all devices before starting PA. - # In our driver we use PCM, which means that we have - # to route Front End to a BackEnd and then only we can - # open a device. Without linking to BE it will fail. - cset "name='O176 I070 Switch' on" - cset "name='O177 I071 Switch' on" - cset "name='O072 I022 Switch' on" - cset "name='O073 I023 Switch' on" - cset "name='O074 I024 Switch' on" - cset "name='O075 I025 Switch' on" - cset "name='O076 I026 Switch' on" - cset "name='O077 I027 Switch' on" - cset "name='O078 I028 Switch' on" - cset "name='O079 I029 Switch' on" - cset "name='O034 I168 Switch' on" - cset "name='O035 I169 Switch' on" - cset "name='O036 I012 Switch' on" - cset "name='O037 I013 Switch' on" - cset "name='O002 I004 Switch' on" - cset "name='O003 I005 Switch' on" - cset "name='O004 I006 Switch' on" - cset "name='O005 I007 Switch' on" - cset "name='O006 I008 Switch' on" - cset "name='O007 I009 Switch' on" - cset "name='O008 I010 Switch' on" - cset "name='O009 I011 Switch' on" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8365-evk/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8365-evk/HiFi.conf deleted file mode 100644 index 81f563f6..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8365-evk/HiFi.conf +++ /dev/null @@ -1,141 +0,0 @@ -SectionDevice."HDMI" { - Comment "Hdmi output" - - Value { - PlaybackPriority 250 - PlaybackChannels 2 - PlaybackPCM "hw:${CardId},1" - } - - EnableSequence [ - cset "name='O00 I07 Switch' on" - cset "name='O01 I08 Switch' on" - ] - - DisableSequence [ - cset "name='O00 I07 Switch' off" - cset "name='O01 I08 Switch' off" - ] -} - -SectionDevice."Speaker" { - Comment "Line-out Jack " - - ConflictingDevice [ - "Headphones" - ] - - Value { - PlaybackPriority 300 - PlaybackChannels 2 - PlaybackPCM "hw:${CardId},0" - PlaybackVolume "name='Lineout_PGAL_GAIN'" - } - - EnableSequence [ - cset "name='Audio_Amp_L_Switch' Off" - cset "name='Audio_Amp_R_Switch' Off" - cset "name='Lineout_PGAL_GAIN' 0" - cset "name='Speaker_Amp_Switch' On" - ] - - DisableSequence [ - cset "name='Audio_Amp_L_Switch' On" - cset "name='Audio_Amp_R_Switch' On" - cset "name='Speaker_Amp_Switch' Off" - ] -} - -SectionDevice."Headphones" { - Comment "Headset speakers" - - ConflictingDevice [ - "Speaker" - ] - - Value { - PlaybackPriority 300 - PlaybackChannels 2 - PlaybackPCM "hw:${CardId},0" - PlaybackVolume "name='Headset_PGAL_GAIN'" - } - - EnableSequence [ - cset "name='Audio_Amp_L_Switch' On" - cset "name='Audio_Amp_R_Switch' On" - cset "name='Headset_PGAL_GAIN' 1" - cset "name='Speaker_Amp_Switch' Off" - ] - - DisableSequence [ - cset "name='Audio_Amp_L_Switch' Off" - cset "name='Audio_Amp_R_Switch' Off" - cset "name='Speaker_Amp_Switch' On" - ] -} - -SectionDevice."Mic1" { - Comment "Amic" - - ConflictingDevice [ - "Mic2" - ] - - Value { - CapturePriority 300 - CaptureChannels 1 - CapturePCM "hw:${CardId},2" - } - - EnableSequence [ - cset "name='Audio_MicSource1_Setting' ADC1" - cset "name='Audio_MICBIAS0_Switch' Off" - ] - - DisableSequence [ - cset "name='Audio_MicSource1_Setting' ADC2" - cset "name='Audio_MICBIAS0_Switch' On" - ] -} - -SectionDevice."Mic2" { - Comment "Headset microphone" - - ConflictingDevice [ - "Mic1" - ] - - Value { - CapturePriority 350 - CaptureChannels 1 - CapturePCM "hw:${CardId},2" - } - - EnableSequence [ - cset "name='Audio_MicSource1_Setting' ADC2" - cset "name='Audio_MICBIAS0_Switch' On" - ] - - DisableSequence [ - cset "name='Audio_MicSource1_Setting' ADC1" - cset "name='Audio_MICBIAS0_Switch' Off" - ] -} - -SectionDevice."Mic3" { - Comment "PDM microphones" - - Value { - CapturePriority 100 - CaptureChannels 2 - CapturePCM "hw:${CardId},3" - } - - EnableSequence [ - cset "name='Audio_MICBIAS0_Switch' On" - ] - - DisableSequence [ - cset "name='Audio_MICBIAS0_Switch' Off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8365-evk/mt8365-evk.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8365-evk/mt8365-evk.conf deleted file mode 100644 index e396f8cf..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8365-evk/mt8365-evk.conf +++ /dev/null @@ -1,39 +0,0 @@ -Syntax 4 - -SectionUseCase."HiFi" { - File "/MediaTek/mt8365-evk/HiFi.conf" - Comment "Play high quality music" -} - -BootSequence [ - #Audio volume - cset "name='Headset_PGAL_GAIN' 0" - cset "name='Lineout_PGAL_GAIN' 0" - - #Audio amp - cset "name='Audio_Amp_R_Switch' On" - cset "name='Audio_Amp_L_Switch' On" - - #Headset out - cset "name='Speaker_Amp_Switch' Off" - - #Dmic - cset "name='Audio_MICBIAS0_Switch' On" - - #HDMI audio (I2S3 Out) - cset "name='O00 I07 Switch' on" - cset "name='O01 I08 Switch' on" - - #jack_mic Headset In - cset "name='Audio_MicSource1_Setting' ADC2" - - cset "name='O03 I05 Switch' on" - cset "name='O04 I06 Switch' on" - cset "name='O05 I03 Switch' on" - cset "name='O06 I04 Switch' on" - cset "name='O09 I14 Switch' on" - cset "name='O10 I15 Switch' on" - cset "name='AUD_CLK_BUF_Switch' On" - cset "name='Audio_ADC_1_Switch' On" - cset "name='INT ADDA O03_O04 Switch' on" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8370-evk/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8370-evk/HiFi.conf deleted file mode 100644 index 42a4582e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8370-evk/HiFi.conf +++ /dev/null @@ -1,165 +0,0 @@ -SectionDevice."HDMI1" { - Comment "HDMI output" - - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId},5" - JackControl "HDMI Jack" - } - - EnableSequence [ - cset "name='HDMI_OUT_MUX' 1" - ] - - DisableSequence [ - cset "name='HDMI_OUT_MUX' 0" - ] -} - -SectionDevice."HDMI2" { - Comment "DP output" - - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId},5" - JackControl "DP Jack" - } - - EnableSequence [ - cset "name='DPTX_OUT_MUX' 1" - ] - - DisableSequence [ - cset "name='DPTX_OUT_MUX' 0" - ] -} - -SectionDevice."Speaker" { - Comment "Lineout speaker" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='LOL Mux' Playback_L_DAC" - ] - - DisableSequence [ - cset "name='LOL Mux' Open" - ] - - Value { - PlaybackPriority 400 - PlaybackChannels 2 - PlaybackPCM "hw:${CardId},0" - } -} - -SectionDevice."Headphones" { - Comment "Earphone speaker" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='HP Mux' Audio Playback" - ] - - DisableSequence [ - cset "name='HP Mux' Open" - ] - - Value { - PlaybackPriority 500 - PlaybackChannels 2 - PlaybackPCM "hw:${CardId},0" - } -} - -SectionDevice."Headset" { - Comment "Earphone microphone" - - ConflictingDevice [ - "Mic1" - ] - - EnableSequence [ - cset "name='PGA_L_Mux' AIN1" - ] - - Value { - CapturePriority 500 - CaptureChannels 1 - CapturePCM "hw:${CardId},10" - } -} - -SectionDevice."Mic1" { - Comment "Analog microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='PGA_L_Mux' AIN0" - ] - - Value { - CapturePriority 400 - CaptureChannels 1 - CapturePCM "hw:${CardId},10" - } -} - -SectionDevice."Mic2" { - Comment "Digital microphone" - - Value { - CapturePriority 300 - CaptureChannels 2 - CapturePCM "hw:${CardId},14" - } -} - -SectionDevice."Line1" { - Comment "PCM input" - - Value { - CapturePriority 200 - CaptureChannels 2 - CapturePCM "hw:${CardId},8" - } -} - -SectionDevice."Line2" { - Comment "PCM output" - - Value { - PlaybackPriority 200 - PlaybackChannels 2 - PlaybackPCM "hw:${CardId},2" - } -} - -SectionDevice."Line3" { - Comment "I2S input" - - Value { - CapturePriority 100 - CaptureChannels 2 - CapturePCM "hw:${CardId},11" - } -} - -SectionDevice."Line4" { - Comment "I2S output" - - Value { - PlaybackPriority 100 - PlaybackChannels 8 - PlaybackPCM "hw:${CardId},6" - } -} \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8370-evk/mt8370-evk.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8370-evk/mt8370-evk.conf deleted file mode 100644 index 2d07c46c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8370-evk/mt8370-evk.conf +++ /dev/null @@ -1,45 +0,0 @@ -Syntax 4 - -SectionUseCase."HiFi" { - File "/MediaTek/mt8370-evk/HiFi.conf" - Comment "Play high quality music" -} - -BootSequence [ - cset "name='HP Mux' Audio Playback" - cset "name='LOL Mux' Open" - cset "name='MISO0_MUX' UL1_CH1" - cset "name='MISO1_MUX' UL1_CH1" - cset "name='ADC_L_Mux' Left Preamplifier" - cset "name='PGA_L_Mux' AIN1" - cset "name='HDMI_OUT_MUX' Connect" - cset "name='DPTX_OUT_MUX' Disconnect" - cset "name='ETDM_OUT1_Clock_Source' a1sys_a2sys" - cset "name='ETDM_OUT2_Clock_Source' a1sys_a2sys" - cset "name='ETDM_OUT3_Clock_Source' a1sys_a2sys" - cset "name='ETDM_IN1_Clock_Source' a1sys_a2sys" - cset "name='ETDM_IN2_Clock_Source' a1sys_a2sys" - cset "name='Lineout Volume' 10" - cset "name='Headset Volume' 2" - cset "name='PGA1 Volume' 4" - cset "name='O000 I000 Switch' on" - cset "name='O001 I001 Switch' on" - cset "name='O002 I004 Switch' on" - cset "name='O003 I006 Switch' on" - cset "name='O034 I168 Switch' on" - cset "name='O035 I169 Switch' on" - cset "name='O036 I012 Switch' on" - cset "name='O037 I013 Switch' on" - cset "name='O040 I002 Switch' on" - cset "name='O041 I003 Switch' on" - cset "name='O048 I022 Switch' on" - cset "name='O049 I023 Switch' on" - cset "name='O050 I024 Switch' on" - cset "name='O051 I025 Switch' on" - cset "name='O052 I026 Switch' on" - cset "name='O053 I027 Switch' on" - cset "name='O054 I028 Switch' on" - cset "name='O055 I029 Switch' on" - cset "name='O176 I070 Switch' on" - cset "name='O177 I071 Switch' on" -] \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8390-evk/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8390-evk/HiFi.conf deleted file mode 100644 index 42a4582e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8390-evk/HiFi.conf +++ /dev/null @@ -1,165 +0,0 @@ -SectionDevice."HDMI1" { - Comment "HDMI output" - - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId},5" - JackControl "HDMI Jack" - } - - EnableSequence [ - cset "name='HDMI_OUT_MUX' 1" - ] - - DisableSequence [ - cset "name='HDMI_OUT_MUX' 0" - ] -} - -SectionDevice."HDMI2" { - Comment "DP output" - - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId},5" - JackControl "DP Jack" - } - - EnableSequence [ - cset "name='DPTX_OUT_MUX' 1" - ] - - DisableSequence [ - cset "name='DPTX_OUT_MUX' 0" - ] -} - -SectionDevice."Speaker" { - Comment "Lineout speaker" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='LOL Mux' Playback_L_DAC" - ] - - DisableSequence [ - cset "name='LOL Mux' Open" - ] - - Value { - PlaybackPriority 400 - PlaybackChannels 2 - PlaybackPCM "hw:${CardId},0" - } -} - -SectionDevice."Headphones" { - Comment "Earphone speaker" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='HP Mux' Audio Playback" - ] - - DisableSequence [ - cset "name='HP Mux' Open" - ] - - Value { - PlaybackPriority 500 - PlaybackChannels 2 - PlaybackPCM "hw:${CardId},0" - } -} - -SectionDevice."Headset" { - Comment "Earphone microphone" - - ConflictingDevice [ - "Mic1" - ] - - EnableSequence [ - cset "name='PGA_L_Mux' AIN1" - ] - - Value { - CapturePriority 500 - CaptureChannels 1 - CapturePCM "hw:${CardId},10" - } -} - -SectionDevice."Mic1" { - Comment "Analog microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='PGA_L_Mux' AIN0" - ] - - Value { - CapturePriority 400 - CaptureChannels 1 - CapturePCM "hw:${CardId},10" - } -} - -SectionDevice."Mic2" { - Comment "Digital microphone" - - Value { - CapturePriority 300 - CaptureChannels 2 - CapturePCM "hw:${CardId},14" - } -} - -SectionDevice."Line1" { - Comment "PCM input" - - Value { - CapturePriority 200 - CaptureChannels 2 - CapturePCM "hw:${CardId},8" - } -} - -SectionDevice."Line2" { - Comment "PCM output" - - Value { - PlaybackPriority 200 - PlaybackChannels 2 - PlaybackPCM "hw:${CardId},2" - } -} - -SectionDevice."Line3" { - Comment "I2S input" - - Value { - CapturePriority 100 - CaptureChannels 2 - CapturePCM "hw:${CardId},11" - } -} - -SectionDevice."Line4" { - Comment "I2S output" - - Value { - PlaybackPriority 100 - PlaybackChannels 8 - PlaybackPCM "hw:${CardId},6" - } -} \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8390-evk/mt8390-evk.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8390-evk/mt8390-evk.conf deleted file mode 100644 index e2d56e2c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8390-evk/mt8390-evk.conf +++ /dev/null @@ -1,45 +0,0 @@ -Syntax 4 - -SectionUseCase."HiFi" { - File "/MediaTek/mt8390-evk/HiFi.conf" - Comment "Play high quality music" -} - -BootSequence [ - cset "name='HP Mux' Audio Playback" - cset "name='LOL Mux' Open" - cset "name='MISO0_MUX' UL1_CH1" - cset "name='MISO1_MUX' UL1_CH1" - cset "name='ADC_L_Mux' Left Preamplifier" - cset "name='PGA_L_Mux' AIN1" - cset "name='HDMI_OUT_MUX' Connect" - cset "name='DPTX_OUT_MUX' Disconnect" - cset "name='ETDM_OUT1_Clock_Source' a1sys_a2sys" - cset "name='ETDM_OUT2_Clock_Source' a1sys_a2sys" - cset "name='ETDM_OUT3_Clock_Source' a1sys_a2sys" - cset "name='ETDM_IN1_Clock_Source' a1sys_a2sys" - cset "name='ETDM_IN2_Clock_Source' a1sys_a2sys" - cset "name='Lineout Volume' 10" - cset "name='Headset Volume' 2" - cset "name='PGA1 Volume' 4" - cset "name='O000 I000 Switch' on" - cset "name='O001 I001 Switch' on" - cset "name='O002 I004 Switch' on" - cset "name='O003 I006 Switch' on" - cset "name='O034 I168 Switch' on" - cset "name='O035 I169 Switch' on" - cset "name='O036 I012 Switch' on" - cset "name='O037 I013 Switch' on" - cset "name='O040 I002 Switch' on" - cset "name='O041 I003 Switch' on" - cset "name='O048 I022 Switch' on" - cset "name='O049 I023 Switch' on" - cset "name='O050 I024 Switch' on" - cset "name='O051 I025 Switch' on" - cset "name='O052 I026 Switch' on" - cset "name='O053 I027 Switch' on" - cset "name='O054 I028 Switch' on" - cset "name='O055 I029 Switch' on" - cset "name='O176 I070 Switch' on" - cset "name='O177 I071 Switch' on" -] \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8395-evk/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8395-evk/HiFi.conf deleted file mode 100644 index 5c25cfba..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8395-evk/HiFi.conf +++ /dev/null @@ -1,163 +0,0 @@ -SectionDevice."HDMI1" { - Comment "HDMI output" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},5" - JackControl "HDMI Jack" - } - - EnableSequence [ - cset "name='HDMI_OUT_MUX' 1" - ] - - DisableSequence [ - cset "name='HDMI_OUT_MUX' 0" - ] -} - -SectionDevice."HDMI2" { - Comment "DP output" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},5" - JackControl "DP Jack" - } - - EnableSequence [ - cset "name='DPTX_OUT_MUX' 1" - ] - - DisableSequence [ - cset "name='DPTX_OUT_MUX' 0" - ] -} - -SectionDevice."HDMI3" { - Comment "HDMI RX" - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},7" - } -} - -SectionDevice."Speaker" { - Comment "Lineout speaker" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='LOL Mux' Playback_L_DAC" - ] - - DisableSequence [ - cset "name='LOL Mux' Open" - ] - - Value { - PlaybackPriority 300 - PlaybackChannels 2 - PlaybackPCM "hw:${CardId},0" - } -} - -SectionDevice."Headphones" { - Comment "Earphone speaker" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='HP Mux' Audio Playback" - ] - - DisableSequence [ - cset "name='HP Mux' Open" - ] - - Value { - PlaybackPriority 400 - PlaybackChannels 2 - PlaybackPCM "hw:${CardId},0" - } -} - -SectionDevice."Headset" { - Comment "Earphone microphone" - - ConflictingDevice [ - "Mic1" - ] - - EnableSequence [ - cset "name='PGA_L_Mux' AIN1" - ] - - Value { - CapturePriority 500 - CaptureChannels 3 - CapturePCM "hw:${CardId},15" - } -} - -SectionDevice."Mic1" { - Comment "Analog microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='PGA_L_Mux' AIN0" - cset "name='O039 I169 Switch' on" - cset "name='O182 I170 Switch' on" - cset "name='MISO1_MUX' UL1_CH2" - ] - - DisableSequence [ - cset "name='O039 I169 Switch' off" - cset "name='O182 I170 Switch' off" - cset "name='MISO1_MUX' UL1_CH1" - ] - - Value { - CapturePriority 400 - CaptureChannels 3 - CapturePCM "hw:${CardId},15" - } -} - -SectionDevice."Mic2" { - Comment "Digital microphone" - - Value { - CapturePriority 300 - CaptureChannels 2 - CapturePCM "hw:${CardId},14" - } -} - -SectionDevice."Line1" { - Comment "PCM input" - - Value { - CapturePriority 100 - CaptureChannels 2 - CapturePCM "hw:${CardId},8" - } -} - -SectionDevice."Line2" { - Comment "PCM output" - - Value { - PlaybackPriority 100 - PlaybackChannels 2 - PlaybackPCM "hw:${CardId},2" - } -} \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8395-evk/mt8395-evk.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8395-evk/mt8395-evk.conf deleted file mode 100644 index b739ec0f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mt8395-evk/mt8395-evk.conf +++ /dev/null @@ -1,47 +0,0 @@ -Syntax 4 - -SectionUseCase."HiFi" { - File "/MediaTek/mt8395-evk/HiFi.conf" - Comment "Play high quality music" -} - -BootSequence [ - cset "name='HP Mux' Audio Playback" - cset "name='LOL Mux' Open" - cset "name='MISO0_MUX' UL1_CH1" - cset "name='MISO1_MUX' UL1_CH1" - cset "name='ADC_L_Mux' Left Preamplifier" - cset "name='ADC_R_Mux' Right Preamplifier" - cset "name='ADC_3_Mux' Preamplifier" - cset "name='PGA_L_Mux' AIN1" - cset "name='PGA_R_Mux' AIN2" - cset "name='PGA_3_Mux' AIN3" - cset "name='HDMI_OUT_MUX' Connect" - cset "name='DPTX_OUT_MUX' Disconnect" - cset "name='MULTI_IN1_MUX' HDMI_RX_I2S" - cset "name='Lineout Volume' 10" - cset "name='Headset Volume' 2" - cset "name='PGA1 Volume' 4" - cset "name='PGA2 Volume' 4" - cset "name='PGA3 Volume' 4" - cset "name='O000 I000 Switch' on" - cset "name='O001 I001 Switch' on" - cset "name='O002 I004 Switch' on" - cset "name='O003 I005 Switch' on" - cset "name='O004 I006 Switch' on" - cset "name='O005 I007 Switch' on" - cset "name='O006 I008 Switch' on" - cset "name='O007 I009 Switch' on" - cset "name='O008 I010 Switch' on" - cset "name='O009 I011 Switch' on" - cset "name='O034 I168 Switch' on" - cset "name='O035 I169 Switch' on" - cset "name='O038 I168 Switch' on" - cset "name='O039 I169 Switch' on" - cset "name='O040 I002 Switch' on" - cset "name='O041 I003 Switch' on" - cset "name='O176 I070 Switch' on" - cset "name='O177 I071 Switch' on" - cset "name='O182 I170 Switch' on" - cset "name='O183 I171 Switch' on" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mtk-rt5650/HDMI.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mtk-rt5650/HDMI.conf deleted file mode 100644 index 297840fe..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mtk-rt5650/HDMI.conf +++ /dev/null @@ -1,9 +0,0 @@ -SectionDevice."HDMI" { - Comment "HDMI Audio" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},2" - JackControl "mtk-rt5650 HDMI Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mtk-rt5650/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mtk-rt5650/HiFi.conf deleted file mode 100644 index b4cccf5a..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mtk-rt5650/HiFi.conf +++ /dev/null @@ -1,83 +0,0 @@ -# Use case configuration for mtk-rt5650 - -SectionVerb { - Include.e.File "/codecs/rt5645/EnableSeq.conf" - - # ALSA PCM - Value { - TQ "HiFi" - } -} - -SectionDevice."Speaker" { - Comment "Speaker" - - ConflictingDevice [ - "Headphones" - ] - - Include.spk.File "/codecs/rt5645/SpeakerEnableSeq.conf" - - Value { - PlaybackPCM "hw:${CardId},0" - PlaybackPriority 100 - PlaybackMixerElem "Speaker" - PlaybackVolume "Speaker Playback Volume" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - Include.hse.File "/codecs/rt5645/HeadphonesEnableSeq.conf" - - DisableSequence [ - cset "name='Headphone Switch' off" - cset "name='Headphone Channel Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId},0" - PlaybackPriority 200 - PlaybackMixerElem "Headphone" - PlaybackVolume "Headphone Playback Volume" - JackHWMute "Speaker" - } -} - -Include.hdmi.File "/MediaTek/mtk-rt5650/HDMI.conf" - -SectionDevice."Mic" { - Comment "Internal Microphone" - - Include.dmice.File "/codecs/rt5645/DigitalMicEnableSeq.conf" - Include.dmicd.File "/codecs/rt5645/DigitalMicDisableSeq.conf" - - Value { - CapturePCM "hw:${CardId},1" - CapturePriority 100 - CaptureMasterElem "ADC" - CaptureMixerElem "IN" - CaptureVolume "IN Capture Volume" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - Include.hsmice.File "/codecs/rt5645/HSMicEnableSeq.conf" - Include.hsmicd.File "/codecs/rt5645/HSMicDisableSeq.conf" - - Value { - CapturePCM "hw:${CardId},1" - CapturePriority 200 - CaptureMasterElem "ADC" - CaptureMixerElem "IN" - CaptureVolume "IN Capture Volume" - JackHWMute "Mic" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mtk-rt5650/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mtk-rt5650/init.conf deleted file mode 100644 index d4c32d89..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mtk-rt5650/init.conf +++ /dev/null @@ -1,17 +0,0 @@ -# mtk-rt5650 specific boot sequence - -BootSequence [ - cset "name='O03 I05 Switch' 1" - cset "name='O04 I06 Switch' 1" - cset "name='O09 I17 Switch' 1" - cset "name='O10 I18 Switch' 1" - - # Internal speaker amplification params - cset "name='DAC1 Playback Volume' 69" - cset "name='Speaker ClassD Playback Volume' 6" - - # Muxing - cset "name='IF2 ADC Mux' IF_ADC1" - cset "name='RT5650 IF1 ADC1 Swap Mux' L/R" - cset "name='Stereo1 ADC1 Mux' ADC" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mtk-rt5650/mtk-rt5650.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mtk-rt5650/mtk-rt5650.conf deleted file mode 100644 index 0b9f8f92..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/MediaTek/mtk-rt5650/mtk-rt5650.conf +++ /dev/null @@ -1,12 +0,0 @@ -Comment "ALC5650 sound card on MediaTek SoC" -Syntax 4 - -SectionUseCase."HiFi" { - File "/MediaTek/mtk-rt5650/HiFi.conf" - Comment "Default" -} - -Include.card-init.File "/lib/card-init.conf" -Include.ctl-remap.File "/lib/ctl-remap.conf" -Include.codec-init.File "/codecs/rt5645/init.conf" -Include.init.File "/MediaTek/mtk-rt5650/init.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/NXP/iMX8/Librem_5/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/NXP/iMX8/Librem_5/HiFi.conf deleted file mode 100644 index 55eabe32..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/NXP/iMX8/Librem_5/HiFi.conf +++ /dev/null @@ -1,151 +0,0 @@ -SectionVerb { - EnableSequence [ - disdevall "" - ] - - Value.TQ "HiFi" -} - -SectionDevice."Handset" { - Comment "Handset" - - ConflictingDevice [ - "Headphones" - "Speaker" - ] - - EnableSequence [ - cset "name='Speaker Switch' off,on" - cset "name='DAC L/R Swap Switch' on" - cset "name='DAC Monomix Switch' on" - cset "name='SPKOUTR PGA' DAC" - cset "name='Speaker Boost Volume' 2" - ] - - DisableSequence [ - cset "name='Speaker Switch' off,off" - cset "name='DAC L/R Swap Switch' off" - cset "name='DAC Monomix Switch' off" - cset "name='SPKOUTR PGA' Mixer" - ] - - Value { - PlaybackPriority "100" - PlaybackVolume "name='Speaker Volume'" - PlaybackSwitch "name='Speaker Switch'" - PlaybackMixerElem "Speaker" - PlaybackPCM "hw:${CardId}" - } -} - -SectionDevice."Speaker" { - Comment "Speaker" - - ConflictingDevice [ - "Handset" - "Headphones" - ] - - EnableSequence [ - cset "name='Speaker Switch' on,off" - cset "name='DAC Monomix Switch' on" - cset "name='SPKOUTL PGA' DAC" - cset "name='Speaker Boost Volume' 6" - ] - - DisableSequence [ - cset "name='Speaker Switch' off,off" - cset "name='DAC Monomix Switch' off" - cset "name='SPKOUTL PGA' Mixer" - ] - - Value { - PlaybackPriority "500" - PlaybackVolume "name='Speaker Volume'" - PlaybackSwitch "name='Speaker Switch'" - PlaybackMixerElem "Speaker" - PlaybackPCM "hw:${CardId}" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Handset" - "Speaker" - ] - - EnableSequence [ - cset "name='Headphone Switch' on,on" - cset "name='HPOUTL PGA' 0 unmute" - cset "name='HPOUTR PGA' 0 unmute" - ] - - DisableSequence [ - cset "name='Headphone Switch' off off" - cset "name='HPOUTL PGA' 0 mute" - cset "name='HPOUTR PGA' 0 mute" - ] - - Value { - PlaybackPriority "1000" - PlaybackVolume "name='Headphone Volume'" - PlaybackSwitch "name='Headphone Switch'" - PlaybackMixerElem "Headphone" - PlaybackPCM "hw:${CardId}" - JackControl "Headphones Jack" - } -} - -SectionDevice."Mic" { - Comment "Internal Microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='ADC L/R Swap Switch' on" - cset "name='Input Mode' Digital" - ] - - DisableSequence [ - cset "name='ADC L/R Swap Switch' off" - ] - - Value { - CapturePriority "500" - CaptureVolume "name='Digital Capture Volume'" - CaptureMixerElem "Digital" - CapturePCM "hw:${CardId}" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='Input Mode' Analog" - cset "name='MIXINR PGA Switch' on,on" - cset "name='Capture Switch' on,on" - ] - - DisableSequence [ - cset "name='Capture Switch' off,off" - cset "name='MIXINR PGA Switch' off,off" - cset "name='Input Mode' Digital" - ] - - Value { - CapturePriority "100" - CaptureVolume "name='Capture Volume'" - CaptureMixerElem "Capture" - CapturePCM "hw:${CardId}" - JackControl "Headphones Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/NXP/iMX8/Librem_5/Librem 5.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/NXP/iMX8/Librem_5/Librem 5.conf deleted file mode 100644 index 4d7dbd65..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/NXP/iMX8/Librem_5/Librem 5.conf +++ /dev/null @@ -1,25 +0,0 @@ -Syntax 2 - -SectionUseCase."HiFi" { - File "HiFi.conf" - Comment "Default" -} - -BootSequence [ - cset "name='Digital Playback Volume' 100,100" - cset "name='MIXINL IN2L Switch' off" - cset "name='MIXINL IN3L Switch' off" - cset "name='MIXINR IN2R Switch' off" - cset "name='MIXINR IN3R Switch' off" - cset "name='INPGAR IN1R Switch' off" - cset "name='INPGAR IN2R Switch' off" - cset "name='INPGAR IN3R Switch' on" - cset "name='INPGAR IN4R Switch' off" - cset "name='INPGAL IN1L Switch' off" - cset "name='INPGAL IN2L Switch' off" - cset "name='INPGAL IN3L Switch' off" - cset "name='INPGAL IN4L Switch' off" - cset "name='Input Mixer Switch' off,on" - cset "name='SPKOUTL PGA' Mixer" - cset "name='SPKOUTR PGA' Mixer" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/NXP/iMX8/Librem_5_Devkit/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/NXP/iMX8/Librem_5_Devkit/HiFi.conf deleted file mode 100644 index 9ead6a01..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/NXP/iMX8/Librem_5_Devkit/HiFi.conf +++ /dev/null @@ -1,74 +0,0 @@ -SectionVerb { - EnableSequence [ - cset "name='Digital Input Mux' I2S" - cset "name='PCM Playback Volume' 144" - - cset "name='AVC Switch' off" - cset "name='Headphone Playback ZC Switch' off" - - cset "name='Capture Attenuate Switch (-6dB)' off" - cset "name='Capture Mux' MIX_IN" - cset "name='Capture ZC Switch' off" - cset "name='Capture Switch' On" - cset "name='Capture Volume' 15,15" - ] - DisableSequence [ - cset "name='PCM Playback Volume' 0" - ] -} - -SectionDevice."Handset" { - Comment "Handset" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='Mic Mux MUX' Input 2" - cset "name='Lineout Playback Switch' on" - cset "name='Lineout Playback Volume' 18" - cset "name='Mic Volume' 2" - ] - DisableSequence [ - cset "name='Lineout Playback Switch' off" - cset "name='Mic Volume' 0" - ] - Value { - PlaybackPriority "1000" - PlaybackPCM "hw:${CardId}" - PlaybackVolume "name='Lineout Playback Volume'" - PlaybackSwitch "name='Lineout Playback Switch'" - PlaybackMixerElem "Lineout" - CapturePriority "1000" - CapturePCM "hw:${CardId}" - } -} - -SectionDevice."Headset" { - Comment "Headset" - - ConflictingDevice [ - "Handset" - ] - - EnableSequence [ - cset "name='Mic Mux MUX' Input 1" - cset "name='Headphone Mux' DAC" - cset "name='Headphone Playback Volume' 63" - cset "name='Headphone Playback Switch' on" - ] - DisableSequence [ - cset "name='Headphone Playback Switch' off" - ] - Value { - PlaybackPriority "700" - PlaybackPCM "hw:${CardId}" - PlaybackVolume "name='Headphone Playback Volume'" - PlaybackSwitch "name='Headphone Playback Switch'" - PlaybackMixerElem "Headphone" - CapturePriority "700" - CapturePCM "hw:${CardId}" - JackControl "Headphones Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/NXP/iMX8/Librem_5_Devkit/Librem 5 Devkit.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/NXP/iMX8/Librem_5_Devkit/Librem 5 Devkit.conf deleted file mode 100644 index 9153d3dc..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/NXP/iMX8/Librem_5_Devkit/Librem 5 Devkit.conf +++ /dev/null @@ -1,5 +0,0 @@ -Syntax 2 - -SectionUseCase."HiFi" { - File "HiFi.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/FMAnalog.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/FMAnalog.conf deleted file mode 100644 index fa819771..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/FMAnalog.conf +++ /dev/null @@ -1,45 +0,0 @@ -# Use case Configurationfor TI PandaBoard(ES) HiFi Music -# By Liam Girdwood - -SectionVerb { - EnableSequence [ - cset "name='AMIC_UL PDM Switch' 1" - cset "name='MUX_UL00' 9" - cset "name='MUX_UL01' 10" - cset "name='Capture Volume' 4" - ] - - - DisableSequence [ - cset "name='AMIC_UL PDM Switch' 0" - cset "name='MUX_UL00' 0" - cset "name='MUX_UL01' 0" - cset "name='Capture Volume' 0" - ] - - # Optional TQ - Value { - TQ "Music" - } -} - -SectionDevice."Headset" { - Comment "3.5mm Headset" - - EnableSequence [ - cset "name='Analog Left Capture Route' 2" - cset "name='Analog Right Capture Route' 2" - cset "name='Capture Preamplifier Volume' 2" - ] - - DisableSequence [ - cset "name='Analog Left Capture Route' 3" - cset "name='Analog Right Capture Route' 3" - cset "name='Capture Preamplifier Volume' 0" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/HiFi.conf deleted file mode 100644 index 597c3262..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/HiFi.conf +++ /dev/null @@ -1,56 +0,0 @@ -# Use case Configuration for TI PandaBoard(ES) HiFi Music -# By Liam Girdwood - -SectionVerb { - EnableSequence [ - cset "name='DL1 Mixer Multimedia' 1" - cset "name='Sidetone Mixer Playback' 1" - cset "name='DL1 PDM Switch' 1" - cset "name='DL1 Media Playback Volume' 90,90" - cset "name='SDT DL Volume' 120" - - cset "name='Headset Left Playback' 1" - cset "name='Headset Right Playback' 1" - cset "name='Headset Playback Volume' 13" - ] - - DisableSequence [ - cset "name='DL1 Mixer Multimedia' 0" - cset "name='Sidetone Mixer Playback' 0" - cset "name='DL1 PDM Switch' 0" - cset "name='DL1 Media Playback Volume' 0,0" - cset "name='SDT DL Volume' 0" - - cset "name='Headset Right Playback' 0" - cset "name='Headset Left Playback' 0" - cset "name='Headset Playback Volume' 0" - ] - - # Optional TQ - Value { - TQ "Music" - } -} - -SectionDevice."Headset" { - Comment "3.5mm Headset" - - EnableSequence [ - cset "name='Headset Left Playback' 1" - cset "name='Headset Right Playback' 1" - cset "name='Headset Playback Volume' 13" - ] - - DisableSequence [ - cset "name='Headset Right Playback' 0" - cset "name='Headset Left Playback' 0" - cset "name='Headset Playback Volume' 0" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - # PlaybackVolume "name='DL1 Media Playback Volume' 90,90" - # PlaybackSwitch "name='DL1 PDM Switch' 1" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/HiFiLP.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/HiFiLP.conf deleted file mode 100644 index 481f2384..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/HiFiLP.conf +++ /dev/null @@ -1,46 +0,0 @@ -# Use case Configuration for TI PandaBoard(ES) HiFi Music -# By Liam Girdwood - -SectionVerb { - EnableSequence [ - cset "name='DL1 Mixer Multimedia' 1" - cset "name='Sidetone Mixer Playback' 1" - cset "name='DL1 PDM Switch' 1" - cset "name='DL1 Media Playback Volume' 90,90" - cset "name='SDT DL Volume' 120" - ] - - DisableSequence [ - cset "name='DL1 Mixer Multimedia' 0" - cset "name='Sidetone Mixer Playback' 0" - cset "name='DL1 PDM Switch' 0" - cset "name='DL1 Media Playback Volume' 0,0" - cset "name='SDT DL Volume' 0" - ] - - # Optional TQ - Value { - TQ "Music" - } -} - -SectionDevice."Headset" { - Comment "3.5mm Headset" - - EnableSequence [ - cset "name='Headset Left Playback' 1" - cset "name='Headset Right Playback' 1" - cset "name='Headset Playback Volume' 13" - ] - - DisableSequence [ - cset "name='Headset Right Playback' 0" - cset "name='Headset Left Playback' 0" - cset "name='Headset Playback Volume' 0" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},6" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/Pandaboard.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/Pandaboard.conf deleted file mode 100644 index 1a19f969..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/Pandaboard.conf +++ /dev/null @@ -1,41 +0,0 @@ -# UCM configuration for PandaBoard(ES) - -SectionUseCase."Record" { - File "/OMAP/abe-twl6040/Pandaboard/Record.conf" - Comment "Record" -} - -SectionUseCase."HiFi" { - File "/OMAP/abe-twl6040/Pandaboard/HiFi.conf" - Comment "Play HiFi quality Music" -} - -SectionUseCase."HiFi_Low_Power" { - File "/OMAP/abe-twl6040/Pandaboard/HiFiLP.conf" - Comment "Play HiFi quality Music in Low Power Mode" -} - -SectionUseCase."Voice" { - File "/OMAP/abe-twl6040/Pandaboard/Voice.conf" - Comment "Playback Voice quality" -} - -SectionUseCase."Voice_Low_Power" { - File "/OMAP/abe-twl6040/Pandaboard/Voice.conf" - Comment "Playback Voice quality in Low Power Mode" -} - -SectionUseCase."Voice_Call" { - File "/OMAP/abe-twl6040/Pandaboard/VoiceCall.conf" - Comment "Capture and Playback in Voice quality" -} - -SectionUseCase."Voice_Call_IP" { - File "/OMAP/abe-twl6040/Pandaboard/VoiceCall.conf" - Comment "Capture and Playback in Voice quality" -} - -SectionUseCase."FM_Analog_Radio" { - File "/OMAP/abe-twl6040/Pandaboard/FMAnalog.conf" - Comment "Capture FM Analog Radio" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/Record.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/Record.conf deleted file mode 100644 index 042e5cea..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/Record.conf +++ /dev/null @@ -1,47 +0,0 @@ -# Use case Configuration for TI PandaBoard(ES) HiFi Music -# By Liam Girdwood - -SectionVerb { - EnableSequence [ - # No more AMIC PDM Switch in current kernels - #cset "name='AMIC_UL PDM Switch' 1" - cset "name='MUX_UL00' 9" - cset "name='MUX_UL01' 10" - cset "name='Capture Volume' 4" - ] - - DisableSequence [ - # No more AMIC PDM Switch in current kernels - #cset "name='AMIC_UL PDM Switch' 0" - cset "name='MUX_UL00' 0" - cset "name='MUX_UL01' 0" - cset "name='Capture Volume' 0" - ] - - # Optional TQ - Value { - TQ "Music" - } - -} - -SectionDevice."Headset" { - Comment "3.5mm Headset" - - EnableSequence [ - cset "name='Analog Left Capture Route' 0" - cset "name='Analog Right Capture Route' 0" - cset "name='Capture Preamplifier Volume' 2" - ] - - DisableSequence [ - cset "name='Analog Left Capture Route' 3" - cset "name='Analog Right Capture Route' 3" - cset "name='Capture Preamplifier Volume' 0" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/Voice.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/Voice.conf deleted file mode 100644 index 3eaffb4f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/Voice.conf +++ /dev/null @@ -1,46 +0,0 @@ -# Use case Configuration for TI PandaBoard(ES) HiFi Music -# By Liam Girdwood - -SectionVerb { - EnableSequence [ - cset "name='DL1 Mixer Voice' 1" - cset "name='Sidetone Mixer Playback' 1" - cset "name='DL1 PDM Switch' 1" - cset "name='DL1 Voice Playback Volume' 90,90" - cset "name='SDT DL Volume' 120" - ] - - DisableSequence [ - cset "name='DL1 Mixer Voice' 0" - cset "name='Sidetone Mixer Playback' 0" - cset "name='DL1 PDM Switch' 0" - cset "name='DL1 Voice Playback Volume' 0,0" - cset "name='SDT DL Volume' 0" - ] - - # Optional TQ - Value { - TQ "Voice" - } -} - -SectionDevice."Headset" { - Comment "3.5mm Headset" - - EnableSequence [ - cset "name='Headset Left Playback' 1" - cset "name='Headset Right Playback' 1" - cset "name='Headset Playback Volume' 13" - ] - - DisableSequence [ - cset "name='Headset Right Playback' 0" - cset "name='Headset Left Playback' 0" - cset "name='Headset Playback Volume' 0" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},2" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/VoiceCall.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/VoiceCall.conf deleted file mode 100644 index 4e82e7af..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/Pandaboard/VoiceCall.conf +++ /dev/null @@ -1,67 +0,0 @@ -# Use case Configuration for TI PandaBoard(ES) HiFi Music -# By Liam Girdwood - -SectionVerb { - EnableSequence [ - cset "name='AMIC_UL PDM Switch' 1" - cset "name='Sidetone Mixer Capture' 1" - cset "name='MUX_VX0' 9" - cset "name='MUX_VX1' 10" - cset "name='DL1 Mixer Voice' 1" - cset "name='Sidetone Mixer Playback' 1" - cset "name='DL1 PDM Switch' 1" - cset "name='DL1 Voice Playback Volume' 90,90" - cset "name='Capture Volume' 4" - cset "name='Capture Mixer Voice Capture' 90,90" - cset "name='SDT DL Volume' 120" - ] - - - DisableSequence [ - cset "name='AMIC_UL PDM Switch' 0" - cset "name='Sidetone Mixer Capture' 0" - cset "name='MUX_VX0' 0" - cset "name='MUX_VX1' 0" - cset "name='DL1 Mixer Voice' 0" - cset "name='Sidetone Mixer Playback' 0" - cset "name='DL1 PDM Switch' 0" - cset "name='DL1 Voice Playback Volume' 0,0" - cset "name='Capture Volume' 0" - cset "name='DL1 Voice Playback Volume' 0,0" - cset "name='SDT DL Volume' 0" - ] - - # Optional TQ - Value { - TQ "Voice" - } -} - -SectionDevice."Headset" { - Comment "3.5mm Headset" - - EnableSequence [ - cset "name='Analog Left Capture Route' 0" - cset "name='Analog Right Capture Route' 0" - cset "name='Capture Preamplifier Volume' 2" - cset "name='Headset Left Playback' 1" - cset "name='Headset Right Playback' 1" - cset "name='Headset Playback Volume' 13" - ] - - DisableSequence [ - cset "name='Analog Left Capture Route' 3" - cset "name='Analog Right Capture Route' 3" - cset "name='Capture Preamplifier Volume' 0" - cset "name='Headset Right Playback' 0" - cset "name='Headset Left Playback' 0" - cset "name='Headset Playback Volume' 0" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},2" - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},2" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/FMAnalog.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/FMAnalog.conf deleted file mode 100644 index 822f3d8b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/FMAnalog.conf +++ /dev/null @@ -1,40 +0,0 @@ -# Use case Configuratio -# By Liam Girdwood - -SectionVerb { - EnableSequence [ - cset "name='AMIC_UL PDM Switch' 1" - cset "name='MUX_UL00' 9" - cset "name='MUX_UL01' 10" - cset "name='Capture Volume' 4" - ] - - DisableSequence [ - cset "name='AMIC_UL PDM Switch' 0" - cset "name='MUX_UL00' 0" - cset "name='MUX_UL01' 0" - cset "name='Capture Volume' 0" - ] -} - -SectionDevice."Headset" { - Comment "SDP4430 3.5mm Headset" - - EnableSequence [ - cset "name='Analog Left Capture Route' 2" - cset "name='Analog Right Capture Route' 2" - cset "name='Capture Preamplifier Volume' 2" - ] - - DisableSequence [ - cset "name='Analog Left Capture Route' 3" - cset "name='Analog Right Capture Route' 3" - cset "name='Capture Preamplifier Volume' 0" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } -} - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/HiFi.conf deleted file mode 100644 index 6d4a8ae5..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/HiFi.conf +++ /dev/null @@ -1,57 +0,0 @@ -# Use case Configuration for TI SDP4430 HiFi Music -# By Liam Girdwood - -SectionVerb { - EnableSequence [ - cset "name='DL1 Mixer Multimedia' 1" - cset "name='Sidetone Mixer Playback' 1" - cset "name='DL1 PDM Switch' 1" - cset "name='DL1 Media Playback Volume' 90,90" - cset "name='SDT DL Volume' 120" - - cset "name='HS Left Playback' 1" - cset "name='HS Right Playback' 1" - cset "name='Headset Playback Volume' 13" - ] - - DisableSequence [ - cset "name='DL1 Mixer Multimedia' 0" - cset "name='Sidetone Mixer Playback' 0" - cset "name='DL1 PDM Switch' 0" - cset "name='DL1 Media Playback Volume' 0,0" - cset "name='SDT DL Volume' 0" - - cset "name='HS Right Playback' 0" - cset "name='HS Left Playback' 0" - cset "name='Headset Playback Volume' 0" - ] - - # Optional TQ and ALSA PCMs -# Value { -# TQ "Music" -# PlaybackPCM "hw:${CardId},0" -# PlaybackVolume "name='DL1 Media Playback Volume' 90,90" -# PlaybackSwitch "name='DL1 PDM Switch' 1" -# } -} - -SectionDevice."Headset" { - Comment "SDP4430 3.5mm Headset" - - EnableSequence [ - cset "name='HS Left Playback' 1" - cset "name='HS Right Playback' 1" - cset "name='Headset Playback Volume' 13" - ] - - DisableSequence [ - cset "name='HS Right Playback' 0" - cset "name='HS Left Playback' 0" - cset "name='Headset Playback Volume' 0" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/HiFiLP.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/HiFiLP.conf deleted file mode 100644 index 4cb8b1d3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/HiFiLP.conf +++ /dev/null @@ -1,45 +0,0 @@ -# Use case Configuration for TI SDP4430 HiFi Music -# By Liam Girdwood - -SectionVerb { - EnableSequence [ - cset "name='DL1 Mixer Multimedia' 1" - cset "name='Sidetone Mixer Playback' 1" - cset "name='DL1 PDM Switch' 1" - cset "name='DL1 Media Playback Volume' 90,90" - cset "name='SDT DL Volume' 120" - ] - - DisableSequence [ - cset "name='DL1 Mixer Multimedia' 0" - cset "name='Sidetone Mixer Playback' 0" - cset "name='DL1 PDM Switch' 0" - cset "name='DL1 Media Playback Volume' 0,0" - cset "name='SDT DL Volume' 0" - ] - - Value { - TQ "Music" - } -} - -SectionDevice."Headset" { - Comment "SDP4430 3.5mm Headset" - - EnableSequence [ - cset "name='HS Left Playback' 1" - cset "name='HS Right Playback' 1" - cset "name='Headset Playback Volume' 13" - ] - - DisableSequence [ - cset "name='HS Right Playback' 0" - cset "name='HS Left Playback' 0" - cset "name='Headset Playback Volume' 0" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},6" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/Record.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/Record.conf deleted file mode 100644 index 1763781b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/Record.conf +++ /dev/null @@ -1,45 +0,0 @@ -# Use case Configuration for TI SDP4430 HiFi Music -# By Liam Girdwood - -SectionVerb { - EnableSequence [ - cset "name='AMIC_UL PDM Switch' 1" - cset "name='MUX_UL00' 9" - cset "name='MUX_UL01' 10" - cset "name='Capture Volume' 4" - ] - - DisableSequence [ - cset "name='AMIC_UL PDM Switch' 0" - cset "name='MUX_UL00' 0" - cset "name='MUX_UL01' 0" - cset "name='Capture Volume' 0" - ] - - # Optional TQ and ALSA PCMs - Value { - TQ "Music" - } - -} - -SectionDevice."Headset" { - Comment "SDP4430 3.5mm Headset" - - EnableSequence [ - cset "name='Analog Left Capture Route' 0" - cset "name='Analog Right Capture Route' 0" - cset "name='Capture Preamplifier Volume' 2" - ] - - DisableSequence [ - cset "name='Analog Left Capture Route' 3" - cset "name='Analog Right Capture Route' 3" - cset "name='Capture Preamplifier Volume' 0" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/SDP4430.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/SDP4430.conf deleted file mode 100644 index 6ffd8746..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/SDP4430.conf +++ /dev/null @@ -1,41 +0,0 @@ -# UCM configuration for SDP4430 - -SectionUseCase."Record" { - File "/OMAP/abe-twl6040/SDP4430/Record.conf" - Comment "Record" -} - -SectionUseCase."HiFi" { - File "/OMAP/abe-twl6040/SDP4430/HiFi.conf" - Comment "Play HiFi quality Music" -} - -SectionUseCase."HiFi_Low_Power" { - File "/OMAP/abe-twl6040/SDP4430/HiFiLP.conf" - Comment "Play HiFi quality Music in Low Power Mode" -} - -SectionUseCase."Voice" { - File "/OMAP/abe-twl6040/SDP4430/Voice.conf" - Comment "Playback Voice quality" -} - -SectionUseCase."Voice_Low_Power" { - File "/OMAP/abe-twl6040/SDP4430/Voice.conf" - Comment "Playback Voice quality in Low Power Mode." -} - -SectionUseCase."Voice_Call" { - File "/OMAP/abe-twl6040/SDP4430/VoiceCall.conf" - Comment "Capture and Playback in Voice quality" -} - -SectionUseCase."Voice_Call_IP" { - File "/OMAP/abe-twl6040/SDP4430/VoiceCall.conf" - Comment "Capture and Playback in Voice quality" -} - -SectionUseCase."FM_Analog_Radio" { - File "/OMAP/abe-twl6040/SDP4430/FMAnalog.conf" - Comment "Capture FM Analog Radio" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/Voice.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/Voice.conf deleted file mode 100644 index 57f45549..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/Voice.conf +++ /dev/null @@ -1,45 +0,0 @@ -# Use case Configuration for TI SDP4430 HiFi Music -# By Liam Girdwood - -SectionVerb { - EnableSequence [ - cset "name='DL1 Mixer Voice' 1" - cset "name='Sidetone Mixer Playback' 1" - cset "name='DL1 PDM Switch' 1" - cset "name='DL1 Voice Playback Volume' 90,90" - cset "name='SDT DL Volume' 120" - ] - - DisableSequence [ - cset "name='DL1 Mixer Voice' 0" - cset "name='Sidetone Mixer Playback' 0" - cset "name='DL1 PDM Switch' 0" - cset "name='DL1 Voice Playback Volume' 0,0" - cset "name='SDT DL Volume' 0" - ] - - Value { - TQ "Voice" - } -} - -SectionDevice."Headset" { - Comment "SDP4430 3.5mm Headset" - - EnableSequence [ - cset "name='HS Left Playback' 1" - cset "name='HS Right Playback' 1" - cset "name='Headset Playback Volume' 13" - ] - - DisableSequence [ - cset "name='HS Right Playback' 0" - cset "name='HS Left Playback' 0" - cset "name='Headset Playback Volume' 0" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},2" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/VoiceCall.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/VoiceCall.conf deleted file mode 100644 index adf62ea2..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/SDP4430/VoiceCall.conf +++ /dev/null @@ -1,66 +0,0 @@ -# Use case Configuration for TI SDP4430 HiFi Music -# By Liam Girdwood - -SectionVerb { - EnableSequence [ - cset "name='AMIC_UL PDM Switch' 1" - cset "name='Sidetone Mixer Capture' 1" - cset "name='MUX_VX0' 9" - cset "name='MUX_VX1' 10" - cset "name='DL1 Mixer Voice' 1" - cset "name='Sidetone Mixer Playback' 1" - cset "name='DL1 PDM Switch' 1" - cset "name='DL1 Voice Playback Volume' 90,90" - cset "name='Capture Volume' 4" - cset "name='Capture Mixer Voice Capture' 90,90" - cset "name='SDT DL Volume' 120" - ] - - - DisableSequence [ - cset "name='AMIC_UL PDM Switch' 0" - cset "name='Sidetone Mixer Capture' 0" - cset "name='MUX_VX0' 0" - cset "name='MUX_VX1' 0" - cset "name='DL1 Mixer Voice' 0" - cset "name='Sidetone Mixer Playback' 0" - cset "name='DL1 PDM Switch' 0" - cset "name='DL1 Voice Playback Volume' 0,0" - cset "name='Capture Volume' 0" - cset "name='DL1 Voice Playback Volume' 0,0" - cset "name='SDT DL Volume' 0" - ] - - Value { - TQ "Voice" - } -} - -SectionDevice."Headset" { - Comment "SDP4430 3.5mm Headset" - - EnableSequence [ - cset "name='Analog Left Capture Route' 0" - cset "name='Analog Right Capture Route' 0" - cset "name='Capture Preamplifier Volume' 2" - cset "name='HS Left Playback' 1" - cset "name='HS Right Playback' 1" - cset "name='Headset Playback Volume' 13" - ] - - DisableSequence [ - cset "name='Analog Left Capture Route' 3" - cset "name='Analog Right Capture Route' 3" - cset "name='Capture Preamplifier Volume' 0" - cset "name='HS Right Playback' 0" - cset "name='HS Left Playback' 0" - cset "name='Headset Playback Volume' 0" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},2" - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},2" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/abe-twl6040.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/abe-twl6040.conf deleted file mode 100644 index 5184211f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/OMAP/abe-twl6040/abe-twl6040.conf +++ /dev/null @@ -1,13 +0,0 @@ -# UCM configuration for PandaBoard(ES) - -Syntax 3 - -If.sdp4430 { - Condition { - Type String - String1 "${CardName}" - String2 "SDP4430" - } - True.Include.sdp4430.File "/OMAP/abe-twl6040/SDP4430/SDP4430.conf" - False.Include.pandaboard.File "/OMAP/abe-twl6040/Pandaboard/Pandaboard.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8016-sbc/HDMI.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8016-sbc/HDMI.conf deleted file mode 100644 index e2316fca..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8016-sbc/HDMI.conf +++ /dev/null @@ -1,17 +0,0 @@ -# Use case configuration for DB410c board. -# Author: Srinivas Kandagatla - -SectionVerb { - Value { - TQ "HiFi" - } -} - -SectionDevice."HDMI" { - # Name "HDMI-stereo" - Comment "HDMI Digital Stereo Output" - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8016-sbc/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8016-sbc/HiFi.conf deleted file mode 100644 index a9c8b104..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8016-sbc/HiFi.conf +++ /dev/null @@ -1,159 +0,0 @@ -# Use case configuration for DB410c board. -# Author: Srinivas Kandagatla - -SectionDevice."Speaker" { - Comment "Speaker playback" - - ConflictingDevice [ - "Headphones" - "Earpiece" - ] - - EnableSequence [ - cset "name='SPK DAC Switch' 1" - cset "name='RX3 MIX1 INP1' RX1" - ## gain to 0dB - cset "name='RX3 Digital Volume' 128" - ] - - DisableSequence [ - cset "name='SPK DAC Switch' 0" - cset "name='RX3 MIX1 INP1' ZERO" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},1" - } -} - -SectionDevice."Headphones" { - Comment "Headphones playback" - - ConflictingDevice [ - "Speaker" - "Earpiece" - ] - EnableSequence [ - cset "name='RX1 MIX1 INP1' RX1" - cset "name='RX2 MIX1 INP1' RX2" - cset "name='RDAC2 MUX' RX2" - cset "name='HPHL' 1" - cset "name='HPHR' 1" - ## gain to 0dB - cset "name='RX1 Digital Volume' 128" - ## gain to 0dB - cset "name='RX2 Digital Volume' 128" - ] - - DisableSequence [ - cset "name='RX1 Digital Volume' 0" - cset "name='RX2 Digital Volume' 0" - cset "name='HPHL' 0" - cset "name='HPHR' 0" - cset "name='RDAC2 MUX' ZERO" - cset "name='RX1 MIX1 INP1' ZERO" - cset "name='RX2 MIX1 INP1' ZERO" - ] - - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId},1" - } -} - -SectionDevice."Earpiece" { - Comment "Earpiece playback" - - ConflictingDevice [ - "Speaker" - "Headphones" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},1" - } -} - -SectionDevice."Handset" { - Comment "Headset Microphone" - - EnableSequence [ - cset "name='DEC1 MUX' ADC2" - cset "name='CIC1 MUX' AMIC" - cset "name='ADC2 Volume' 8" - cset "name='ADC2 MUX' INP2" - ] - - DisableSequence [ - cset "name='ADC2 MUX' ZERO" - cset "name='ADC2 Volume' 0" - cset "name='DEC1 MUX' ZERO" - ] - - Value { - CapturePriority 400 - CapturePCM "hw:${CardId},2" - } -} - -SectionDevice."Mic1" { - Comment "Primary Microphone" - - EnableSequence [ - cset "name='DEC1 MUX' ADC1" - cset "name='CIC1 MUX' AMIC" - cset "name='ADC1 Volume' 8" - ] - - DisableSequence [ - cset "name='DEC1 MUX' ZERO" - cset "name='ADC1 Volume' 0" - ] - - Value { - CapturePriority 300 - CapturePCM "hw:${CardId},2" - } -} - -SectionDevice."Mic2" { - Comment "Secondary Microphone" - - EnableSequence [ - cset "name='DEC1 MUX' ADC2" - cset "name='CIC1 MUX' AMIC" - cset "name='ADC2 Volume' 8" - cset "name='ADC2 MUX' INP2" - ] - - DisableSequence [ - cset "name='DEC1 MUX' ZERO" - cset "name='ADC2 Volume' 0" - cset "name='ADC2 MUX' ZERO" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},2" - } -} - -SectionDevice."Mic3" { - Comment "Digital Microphone" - - EnableSequence [ - cset "name='DEC1 MUX' DMIC1" - cset "name='CIC1 MUX' DMIC" - ] - - DisableSequence [ - cset "name='DEC1 MUX' ZERO" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},2" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8016-sbc/apq8016-sbc.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8016-sbc/apq8016-sbc.conf deleted file mode 100644 index a0c37c2b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8016-sbc/apq8016-sbc.conf +++ /dev/null @@ -1,10 +0,0 @@ -Syntax 3 - -SectionUseCase."HiFi" { - File "/Qualcomm/apq8016-sbc/HiFi.conf" - Comment "Play HiFi quality Music" -} -SectionUseCase."HDMI" { - File "/Qualcomm/apq8016-sbc/HDMI.conf" - Comment "HDMI output" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8096/HDMI.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8096/HDMI.conf deleted file mode 100644 index e9967e0e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8096/HDMI.conf +++ /dev/null @@ -1,33 +0,0 @@ -# Use case configuration for DB820c board. -# Author: Srinivas Kandagatla - -SectionVerb { - EnableSequence [ - cset "name='HDMI Mixer MultiMedia1' 1" - ] - - DisableSequence [ - cset "name='HDMI Mixer MultiMedia1' 0" - ] - - Value { - TQ "HiFi" - } -} - -SectionDevice."HDMI" { - Comment "HDMI Digital Stereo Output" - - EnableSequence [ - cset "name='HDMI Mixer MultiMedia1' 1" - ] - - DisableSequence [ - cset "name='HDMI Mixer MultiMedia1' 0" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8096/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8096/HiFi.conf deleted file mode 100644 index c60062e1..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8096/HiFi.conf +++ /dev/null @@ -1,100 +0,0 @@ -# Use case configuration for DB820c board. -# Author: Srinivas Kandagatla - -SectionVerb { - - EnableSequence [ - cset "name='SLIM RX0 MUX' ZERO" - cset "name='SLIM RX1 MUX' ZERO" - cset "name='SLIM RX2 MUX' ZERO" - cset "name='SLIM RX3 MUX' ZERO" - cset "name='SLIM RX4 MUX' ZERO" - cset "name='SLIM RX5 MUX' AIF4_PB" - cset "name='SLIM RX6 MUX' AIF4_PB" - cset "name='SLIM RX7 MUX' ZERO" - cset "name='RX INT1_2 MUX' RX5" - cset "name='RX INT2_2 MUX' RX6" - ## gain to 0dB - cset "name='RX5 Digital Volume' 68" - ## gain to 0dB - cset "name='RX6 Digital Volume' 68" - cset "name='SLIMBUS_6_RX Audio Mixer MultiMedia2' 1" - cset "name='MultiMedia3 Mixer SLIMBUS_0_TX' 1" - cset "name='RX INT1 DEM MUX' CLSH_DSM_OUT" - cset "name='RX INT2 DEM MUX' CLSH_DSM_OUT" - cset "name='AIF1_CAP Mixer SLIM TX0' 1" - cset "name='SLIM TX0 MUX' DEC0" - cset "name='ADC2 Volume' 12" - cset "name='ADC MUX0' AMIC" - cset "name='AMIC MUX0' ADC2" - ] - - DisableSequence [ - cset "name='SLIMBUS_6_RX Audio Mixer MultiMedia2' 0" - cset "name='MultiMedia3 Mixer SLIMBUS_0_TX' 0" - ] -} - -SectionDevice."Headphones" { - Comment "Headphones playback" - - EnableSequence [ - cset "name='SLIM RX0 MUX' ZERO" - cset "name='SLIM RX1 MUX' ZERO" - cset "name='SLIM RX2 MUX' ZERO" - cset "name='SLIM RX3 MUX' ZERO" - cset "name='SLIM RX4 MUX' ZERO" - cset "name='SLIM RX5 MUX' AIF4_PB" - cset "name='SLIM RX6 MUX' AIF4_PB" - cset "name='SLIM RX7 MUX' ZERO" - cset "name='RX INT1_2 MUX' RX5" - cset "name='RX INT2_2 MUX' RX6" - ## gain to 0dB - cset "name='RX5 Digital Volume' 68" - ## gain to 0dB - cset "name='RX6 Digital Volume' 68" - cset "name='SLIMBUS_6_RX Audio Mixer MultiMedia2' 1" - cset "name='RX INT1 DEM MUX' CLSH_DSM_OUT" - cset "name='RX INT2 DEM MUX' CLSH_DSM_OUT" - ] - - DisableSequence [ - cset "name='RX5 Digital Volume' 0" - cset "name='RX6 Digital Volume' 0" - cset "name='SLIM RX5 MUX' ZERO" - cset "name='SLIM RX6 MUX' ZERO" - cset "name='SLIMBUS_6_RX Audio Mixer MultiMedia2' 0" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},1" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - EnableSequence [ - cset "name='MultiMedia3 Mixer SLIMBUS_0_TX' 1" - cset "name='AIF1_CAP Mixer SLIM TX0' 1" - cset "name='SLIM TX0 MUX' DEC0" - cset "name='ADC2 Volume' 12" - cset "name='ADC MUX0' AMIC" - cset "name='AMIC MUX0' ADC2" - ] - - DisableSequence [ - cset "name='MultiMedia3 Mixer SLIMBUS_0_TX' 0" - cset "name='AIF1_CAP Mixer SLIM TX0' 0" - cset "name='AMIC MUX0' ZERO" - cset "name='SLIM TX0 MUX' ZERO" - cset "name='ADC2 Volume' 0" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},2" - CaptureChannels 1 - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8096/apq8096.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8096/apq8096.conf deleted file mode 100644 index 3a26c5ed..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/apq8096/apq8096.conf +++ /dev/null @@ -1,11 +0,0 @@ -Syntax 2 - -SectionUseCase."HiFi" { - File "/Qualcomm/apq8096/HiFi.conf" - Comment "HiFi quality Music" -} - -SectionUseCase."HDMI" { - File "/Qualcomm/apq8096/HDMI.conf" - Comment "HDMI output" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc7180/rt5682-max98357a/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc7180/rt5682-max98357a/HiFi.conf deleted file mode 100644 index c93b4f7b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc7180/rt5682-max98357a/HiFi.conf +++ /dev/null @@ -1,101 +0,0 @@ -# Use case configuration for ALC5682+MAX98357A on SC7180 - -SectionVerb { - Value { - TQ "HiFi" - } -} - -SectionDevice."Speaker" { - Comment "Speaker" - - Value { - PlaybackChannels 2 - PlaybackPCM "hw:${CardId},1" - PlaybackPriority 100 - PlaybackMixerElem "Speaker" - PlaybackVolume "Speaker Playback Volume" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - EnableSequence [ - cset "name='HPOL Playback Switch' 1" - cset "name='HPOR Playback Switch' 1" - cset "name='Stereo1 DAC MIXL DAC L1 Switch' 1" - cset "name='Stereo1 DAC MIXR DAC R1 Switch' 1" - ] - - DisableSequence [ - cset "name='HPOL Playback Switch' 0" - cset "name='HPOR Playback Switch' 0" - cset "name='Stereo1 DAC MIXL DAC L1 Switch' 0" - cset "name='Stereo1 DAC MIXR DAC R1 Switch' 0" - ] - - Value { - PlaybackPCM "hw:${CardId},0" - PlaybackPriority 200 - PlaybackMasterElem "DAC1" - PlaybackMixerElem "Headphone" - PlaybackVolume "Headphone Playback Volume" - } -} - -SectionDevice."Mic" { - Comment "Internal Microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='IF1 01 ADC Swap Mux' 1" - cset "name='Stereo1 ADC L2 Mux' 1" - cset "name='Stereo1 ADC R2 Mux' 1" - cset "name='Stereo1 ADC MIXL ADC2 Switch' 1" - cset "name='Stereo1 ADC MIXR ADC2 Switch' 1" - ] - - DisableSequence [ - cset "name='Stereo1 ADC L2 Mux' 0" - cset "name='Stereo1 ADC R2 Mux' 0" - cset "name='Stereo1 ADC MIXL ADC2 Switch' 0" - cset "name='Stereo1 ADC MIXR ADC2 Switch' 0" - ] - - Value { - CapturePCM "hw:${CardId},0" - CapturePriority 100 - CaptureMixerElem "STO1 ADC" - CaptureVolume "STO1 ADC Capture Volume" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - EnableSequence [ - cset "name='IF1 01 ADC Swap Mux' 2" - cset "name='Stereo1 ADC L1 Mux' 1" - cset "name='Stereo1 ADC R1 Mux' 1" - cset "name='Stereo1 ADC MIXL ADC1 Switch' 1" - cset "name='Stereo1 ADC MIXR ADC1 Switch' 1" - ] - - DisableSequence [ - cset "name='Stereo1 ADC L1 Mux' 0" - cset "name='Stereo1 ADC R1 Mux' 0" - cset "name='Stereo1 ADC MIXL ADC1 Switch' 0" - cset "name='Stereo1 ADC MIXR ADC1 Switch' 0" - ] - - Value { - CapturePCM "hw:${CardId},0" - CapturePriority 200 - CaptureMixerElem "STO1 ADC" - CaptureVolume "STO1 ADC Capture Volume" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc7180/rt5682-max98357a/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc7180/rt5682-max98357a/init.conf deleted file mode 100644 index 5dee38ab..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc7180/rt5682-max98357a/init.conf +++ /dev/null @@ -1,24 +0,0 @@ -BootSequence [ - # Headphone - cset "name='HPOL Playback Switch' 0" - cset "name='HPOR Playback Switch' 0" - cset "name='Stereo1 DAC MIXL DAC L1 Switch' 0" - cset "name='Stereo1 DAC MIXR DAC R1 Switch' 0" - - # Headset mic - cset "name='Stereo1 ADC L Mux' 0" - cset "name='STO1 ADC Capture Switch' on" - cset "name='RECMIX1L CBJ Switch' 1" - cset "name='CBJ Boost Volume' 3" - cset "name='Stereo1 ADC L1 Mux' 0" - cset "name='Stereo1 ADC R1 Mux' 0" - cset "name='Stereo1 ADC MIXL ADC1 Switch' 0" - cset "name='Stereo1 ADC MIXR ADC1 Switch' 0" - - # Internal mic on ALC5682 - cset "name='IF1 01 ADC Swap Mux' 1" - cset "name='Stereo1 ADC L2 Mux' 0" - cset "name='Stereo1 ADC R2 Mux' 0" - cset "name='Stereo1 ADC MIXL ADC2 Switch' 0" - cset "name='Stereo1 ADC MIXR ADC2 Switch' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc7180/rt5682-max98357a/sc7180-rt5682-max98357a-1mic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc7180/rt5682-max98357a/sc7180-rt5682-max98357a-1mic.conf deleted file mode 100644 index 6a2be7ee..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc7180/rt5682-max98357a/sc7180-rt5682-max98357a-1mic.conf +++ /dev/null @@ -1,11 +0,0 @@ -Comment "SC7180 RT5682 MAX98357A single microphone sound card" -Syntax 4 - -SectionUseCase."HiFi" { - File "/Qualcomm/sc7180/rt5682-max98357a/HiFi.conf" - Comment "Default" -} - -Include.card-init.File "/lib/card-init.conf" -Include.ctl-remap.File "/lib/ctl-remap.conf" -Include.init.File "/Qualcomm/sc7180/rt5682-max98357a/init.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc8280xp/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc8280xp/HiFi.conf deleted file mode 100644 index d0f6fbf4..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc8280xp/HiFi.conf +++ /dev/null @@ -1,83 +0,0 @@ -# Use case configuration for LenovoX13s. -# Author: Srinivas Kandagatla - -SectionVerb { - EnableSequence [ - cset "name='RX_CODEC_DMA_RX_0 Audio Mixer MultiMedia1' 1" - cset "name='WSA_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 1" - cset "name='MultiMedia4 Mixer VA_CODEC_DMA_TX_0' 1" - cset "name='MultiMedia3 Mixer TX_CODEC_DMA_TX_3' 1" - ] - - Include.wsae.File "/codecs/wsa883x/DefaultEnableSeq.conf" - - Value { - TQ "HiFi" - } -} - -SectionDevice."Speaker" { - Comment "Speaker playback" - - Include.wsamspke.File "/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf" - Include.wsamspkd.File "/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf" - Include.wsaspke.File "/codecs/wsa883x/SpeakerEnableSeq.conf" - Include.wsaspkd.File "/codecs/wsa883x/SpeakerDisableSeq.conf" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},1" - PlaybackMixer "default:${CardId}" - PlaybackMixerElem "Speakers" - } -} - -SectionDevice."Headphones" { - Comment "Headphones playback" - - Include.wcdhpe.File "/codecs/wcd938x/HeadphoneEnableSeq.conf" - Include.wcdhpd.File "/codecs/wcd938x/HeadphoneDisableSeq.conf" - Include.rxmhpe.File "/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf" - Include.rxmhpd.File "/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},0" - PlaybackMixer "default:${CardId}" - PlaybackMixerElem "HP" - JackControl "Headphone Jack" - JackHWMute "Speaker" - } -} - -SectionDevice."Mic" { - Comment "Mic" - - Include.wcdmice.File "/codecs/wcd938x/HeadphoneMicEnableSeq.conf" - Include.wcdmicd.File "/codecs/wcd938x/HeadphoneMicDisableSeq.conf" - Include.txmhpe.File "/codecs/qcom-lpass/tx-macro/HeadphoneMicEnableSeq.conf" - Include.txmhpd.File "/codecs/qcom-lpass/tx-macro/HeadphoneMicDisableSeq.conf" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},2" - CaptureMixerElem "ADC2" - JackControl "Mic Jack" - JackHWMute "DMic01" - } -} - -SectionDevice."DMic01" { - Comment "DMic01" - - Include.vadm0e.File "/codecs/qcom-lpass/va-macro/DMIC0EnableSeq.conf" - Include.vadm0d.File "/codecs/qcom-lpass/va-macro/DMIC0DisableSeq.conf" - Include.vadm1e.File "/codecs/qcom-lpass/va-macro/DMIC1EnableSeq.conf" - Include.vadm1d.File "/codecs/qcom-lpass/va-macro/DMIC1DisableSeq.conf" - - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},3" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf deleted file mode 100644 index de6d9c6c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf +++ /dev/null @@ -1,21 +0,0 @@ -Syntax 4 - -SectionUseCase."HiFi" { - File "/Qualcomm/sc8280xp/HiFi.conf" - Comment "HiFi quality Music." -} - -BootSequence [ - cset "name='SpkrLeft PA Volume' 12" - cset "name='SpkrRight PA Volume' 12" - cset "name='HPHL Volume' 2" - cset "name='HPHR Volume' 2" - cset "name='ADC2 Volume' 10" -] - -Include.card-init.File "/lib/card-init.conf" -Include.ctl-remap.File "/lib/ctl-remap.conf" -Include.wcd-init.File "/codecs/wcd938x/init.conf" -Include.wsa-init.File "/codecs/wsa883x/init.conf" -Include.wsam-init.File "/codecs/qcom-lpass/wsa-macro/init.conf" -Include.rxm-init.File "/codecs/qcom-lpass/rx-macro/init.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc8280xp/sc8280xp.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc8280xp/sc8280xp.conf deleted file mode 100644 index cb37c589..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sc8280xp/sc8280xp.conf +++ /dev/null @@ -1,11 +0,0 @@ -Syntax 4 - -If.LENOVOX13s { - Condition { - Type RegexMatch - String "${sys:devices/virtual/dmi/id/board_vendor}-${sys:devices/virtual/dmi/id/product_family}" - Regex "LENOVO.*ThinkPad X13s.*" - } - True.Include.x13s.File "/Qualcomm/sc8280xp/LENOVO-X13s.conf" - False.Error "SC8280XP - ${sys:devices/virtual/dmi/id/board_vendor}-${sys:devices/virtual/dmi/id/product_family} model not supported" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sdm845/HDMI.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sdm845/HDMI.conf deleted file mode 100644 index 18448837..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sdm845/HDMI.conf +++ /dev/null @@ -1,26 +0,0 @@ -# Use case configuration for DB845c board. -# Author: Srinivas Kandagatla - -SectionVerb { - EnableSequence [ - cset "name='QUAT_MI2S_RX Audio Mixer MultiMedia1' 1" - ] - - DisableSequence [ - cset "name='QUAT_MI2S_RX Audio Mixer MultiMedia1' 0" - ] - - Value { - TQ "HiFi" - } -} - -SectionDevice."HDMI" { - #Name "HDMI" - Comment "HDMI Digital Stereo Output" - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackPriority 200 - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sdm845/HiFi-MM1.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sdm845/HiFi-MM1.conf deleted file mode 100644 index f477c7ce..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sdm845/HiFi-MM1.conf +++ /dev/null @@ -1,76 +0,0 @@ -# Use case configuration for LenovoYOGAC6301. -# Author: Srinivas Kandagatla - -SectionVerb { - - EnableSequence [ - cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia1' 1" - cset "name='SLIMBUS_1_RX Audio Mixer MultiMedia3' 1" - cset "name='MultiMedia2 Mixer SLIMBUS_0_TX' 1" - ] - - Include.wcde.File "/codecs/wcd934x/DefaultEnableSeq.conf" - Include.wsae.File "/codecs/wsa881x/DefaultEnableSeq.conf" - - Include.wcdd { - File "/codecs/wcd934x/DefaultDisableSeq.conf" - Before.DisableSequence "0" - } - - DisableSequence [ - cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia1' 0" - cset "name='SLIMBUS_1_RX Audio Mixer MultiMedia3' 0" - cset "name='MultiMedia2 Mixer SLIMBUS_0_TX' 0" - ] - - Value { - TQ "HiFi" - } -} - -SectionDevice."Speaker" { - Comment "Speaker playback" - - Include.wcdspke.File "/codecs/wcd934x/SpeakerEnableSeq.conf" - Include.wcdspkd.File "/codecs/wcd934x/SpeakerDisableSeq.conf" - Include.wsaspke.File "/codecs/wsa881x/SpeakerEnableSeq.conf" - Include.wsaspkd.File "/codecs/wsa881x/SpeakerDisableSeq.conf" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},0" - PlaybackMixer "default:${CardId}" - PlaybackMixerElem "Speaker Digital" - } -} - -SectionDevice."Headphones" { - Comment "Headphones playback" - - Include.wcdhpe.File "/codecs/wcd934x/HeadphoneEnableSeq.conf" - Include.wcdhpd.File "/codecs/wcd934x/HeadphoneDisableSeq.conf" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},2" - PlaybackMixer "default:${CardId}" - PlaybackMixerElem "HP Digital" - } -} - -SectionDevice."Mic" { - Comment "Mic" - - Include.wcdmice.File "/codecs/wcd934x/HeadphoneMicEnableSeq.conf" - Include.wcdmicd.File "/codecs/wcd934x/HeadphoneMicDisableSeq.conf" - - DisableSequence [ - cset "name='AMIC MUX0' ZERO" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},1" - CaptureMixerElem "ADC2" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sdm845/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sdm845/HiFi.conf deleted file mode 100644 index 0b8a7998..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sdm845/HiFi.conf +++ /dev/null @@ -1,40 +0,0 @@ -# Use case configuration for DB845c. -# Author: Srinivas Kandagatla - -SectionVerb { - - EnableSequence [ - cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia2' 1" - ] - - Include.wcde.File "/codecs/wcd934x/DefaultEnableSeq.conf" - Include.wsae.File "/codecs/wsa881x/DefaultEnableSeq.conf" - - Include.wcdd { - File "/codecs/wcd934x/DefaultDisableSeq.conf" - Before.DisableSequence "0" - } - - DisableSequence [ - cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia2' 0" - ] - - Value { - TQ "HiFi" - } -} - -SectionDevice."Speaker" { - Comment "Speaker playback" - - Include.wcde.File "/codecs/wcd934x/SpeakerEnableSeq.conf" - Include.wsae.File "/codecs/wsa881x/SpeakerEnableSeq.conf" - Include.wsad.File "/codecs/wsa881x/SpeakerDisableSeq.conf" - Include.wcdd.File "/codecs/wcd934x/SpeakerDisableSeq.conf" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},1" - PlaybackVolume "RX2 Digital Volume" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sdm845/Lenovo-YOGA-C630-13Q50.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sdm845/Lenovo-YOGA-C630-13Q50.conf deleted file mode 100644 index 227a1d0c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sdm845/Lenovo-YOGA-C630-13Q50.conf +++ /dev/null @@ -1,10 +0,0 @@ -Syntax 4 - -SectionUseCase."HiFi" { - File "/Qualcomm/sdm845/HiFi-MM1.conf" - Comment "HiFi quality Music." -} - -Include.card-init.File "/lib/card-init.conf" -Include.ctl-remap.File "/lib/ctl-remap.conf" -Include.codec-init.File "/codecs/wcd934x/init.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sdm845/sdm845.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sdm845/sdm845.conf deleted file mode 100644 index 097c1d4e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sdm845/sdm845.conf +++ /dev/null @@ -1,11 +0,0 @@ -Syntax 3 - -SectionUseCase."HiFi" { - File "/Qualcomm/sdm845/HiFi.conf" - Comment "HiFi quality Music." -} - -SectionUseCase."HDMI" { - File "/Qualcomm/sdm845/HDMI.conf" - Comment "HDMI output." -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8250/HDMI.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8250/HDMI.conf deleted file mode 100644 index a9594fd9..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8250/HDMI.conf +++ /dev/null @@ -1,26 +0,0 @@ -# Use case configuration for RB5 board. -# Author: Srinivas Kandagatla - -SectionVerb { - EnableSequence [ - cset "name='TERT_MI2S_RX Audio Mixer MultiMedia1' 1" - ] - - DisableSequence [ - cset "name='TERT_MI2S_RX Audio Mixer MultiMedia1' 0" - ] - - Value { - TQ "HiFi" - } -} - -SectionDevice."HDMI" { - #Name "HDMI" - Comment "HDMI Digital Stereo Output" - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackPriority 200 - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8250/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8250/HiFi.conf deleted file mode 100644 index 631bc063..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8250/HiFi.conf +++ /dev/null @@ -1,46 +0,0 @@ -# Use case configuration for Qualcomm RB5. -# Author: Srinivas Kandagatla - -SectionVerb { - - EnableSequence [ - cset "name='WSA_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 1" - cset "name='MultiMedia3 Mixer VA_CODEC_DMA_TX_0' 1" - ] - - Include.wsae.File "/codecs/wsa881x/DefaultEnableSeq.conf" - - DisableSequence [ - cset "name='WSA_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 0" - cset "name='MultiMedia3 Mixer VA_CODEC_DMA_TX_0' 0" - ] - - Value { - TQ "HiFi" - } -} - -SectionDevice."Speaker" { - Comment "Speaker playback" - - Include.lpasswsae.File "/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf" - Include.wsae.File "/codecs/wsa881x/SpeakerEnableSeq.conf" - Include.wsad.File "/codecs/wsa881x/SpeakerDisableSeq.conf" - Include.lpasswsad.File "/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},1" - } -} - -SectionDevice."Mic" { - Comment "Mic" - Include.lpassvae.File "/codecs/qcom-lpass/va-macro/DMIC0EnableSeq.conf" - Include.lpassvad.File "/codecs/qcom-lpass/va-macro/DMIC0DisableSeq.conf" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},2" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8250/Qualcomm-RB5-WSA8815-Speakers-DMIC0.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8250/Qualcomm-RB5-WSA8815-Speakers-DMIC0.conf deleted file mode 100644 index 2fbca311..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8250/Qualcomm-RB5-WSA8815-Speakers-DMIC0.conf +++ /dev/null @@ -1,11 +0,0 @@ -Syntax 3 - -SectionUseCase."HiFi" { - File "/Qualcomm/sm8250/HiFi.conf" - Comment "HiFi quality Music." -} - -SectionUseCase."HDMI" { - File "/Qualcomm/sm8250/HDMI.conf" - Comment "HDMI output." -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8650/MTP/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8650/MTP/HiFi.conf deleted file mode 100644 index 86afbad6..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8650/MTP/HiFi.conf +++ /dev/null @@ -1,26 +0,0 @@ -SectionVerb { - EnableSequence [ - cset "name='WSA_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 1" - ] - - Include.wsae.File "/codecs/wsa884x/two-speakers/DefaultEnableSeq.conf" - - Value { - TQ "HiFi" - } -} - -SectionDevice."Speaker" { - Comment "Speaker playback" - - Include.wcdspk1e.File "/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf" - Include.wcdspk1d.File "/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf" - Include.wsaspkd.File "/codecs/wsa884x/two-speakers/SpeakerSeq.conf" - - Value { - PlaybackChannels 2 - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},1" - PlaybackMixer "default:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8650/MTP/SM8650-MTP.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8650/MTP/SM8650-MTP.conf deleted file mode 100644 index b8077e1c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8650/MTP/SM8650-MTP.conf +++ /dev/null @@ -1,11 +0,0 @@ -Syntax 4 - -SectionUseCase."HiFi" { - File "/Qualcomm/sm8650/MTP/HiFi.conf" - Comment "HiFi quality Music." -} - -Include.card-init.File "/lib/card-init.conf" -Include.ctl-remap.File "/lib/ctl-remap.conf" -Include.codec-init.File "/codecs/wsa884x/two-speakers/init.conf" -Include.codec-init.File "/codecs/qcom-lpass/wsa-macro/init.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8650/QRD/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8650/QRD/HiFi.conf deleted file mode 100644 index 50c16018..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8650/QRD/HiFi.conf +++ /dev/null @@ -1,99 +0,0 @@ -SectionVerb { - EnableSequence [ - cset "name='RX_CODEC_DMA_RX_0 Audio Mixer MultiMedia1' 1" - cset "name='WSA_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 1" - cset "name='MultiMedia3 Mixer TX_CODEC_DMA_TX_3' 1" - ] - - Include.wcde.File "/codecs/wcd939x/DefaultEnableSeq.conf" - Include.wsae.File "/codecs/wsa884x/two-speakers/DefaultEnableSeq.conf" - - Value { - TQ "HiFi" - } -} - -SectionDevice."Speaker" { - Comment "Speaker playback" - - Include.wcdspk1e.File "/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf" - Include.wcdspk1d.File "/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf" - Include.wsaspkd.File "/codecs/wsa884x/two-speakers/SpeakerSeq.conf" - - Value { - PlaybackChannels 2 - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},1" - PlaybackMixer "default:${CardId}" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - Include.wcdhpe.File "/codecs/wcd939x/HeadphoneEnableSeq.conf" - Include.wcdhpd.File "/codecs/wcd939x/HeadphoneDisableSeq.conf" - Include.rxmhpe.File "/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf" - Include.rxmhpd.File "/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf" - - Value { - PlaybackChannels 2 - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},0" - PlaybackMixer "default:${CardId}" - PlaybackMixerElem "HP Digital" - JackControl "Headphone Jack" - JackHWMute "Speaker" - } -} - -SectionDevice."Bottom" { - Comment "Bottom Microphone" - - Include.wcdmice.File "/codecs/wcd939x/AnalogMic1EnableSeq.conf" - Include.wcdmicd.File "/codecs/wcd939x/AnalogMicDisableSeq.conf" - Include.txmhpe.File "/codecs/qcom-lpass/tx-macro/SoundwireMic0EnableSeq.conf" - Include.txmhpd.File "/codecs/qcom-lpass/tx-macro/SoundwireMicDisableSeq.conf" - - Value { - CaptureChannels 1 - CapturePriority 200 - CapturePCM "hw:${CardId},2" - CaptureMixerElem "ADC1" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - Include.wcdmice.File "/codecs/wcd939x/HeadphoneMicEnableSeq.conf" - Include.wcdmicd.File "/codecs/wcd939x/HeadphoneMicDisableSeq.conf" - Include.txmhpe.File "/codecs/qcom-lpass/tx-macro/SoundwireMic1EnableSeq.conf" - Include.txmhpd.File "/codecs/qcom-lpass/tx-macro/SoundwireMicDisableSeq.conf" - - Value { - CaptureChannels 1 - CapturePriority 300 - CapturePCM "hw:${CardId},2" - CaptureMixerElem "ADC2" - JackControl "Mic Jack" - JackHWMute "Bottom" - JackHWMute "Back" - } -} - -SectionDevice."Back" { - Comment "Back Microphone" - - Include.wcdmice.File "/codecs/wcd939x/AnalogMic4EnableSeq.conf" - Include.wcdmicd.File "/codecs/wcd939x/AnalogMicDisableSeq.conf" - Include.txmhpe.File "/codecs/qcom-lpass/tx-macro/SoundwireMic0EnableSeq.conf" - Include.txmhpd.File "/codecs/qcom-lpass/tx-macro/SoundwireMicDisableSeq.conf" - - Value { - CaptureChannels 1 - CapturePriority 100 - CapturePCM "hw:${CardId},2" - CaptureMixerElem "ADC1" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8650/QRD/SM8650-QRD.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8650/QRD/SM8650-QRD.conf deleted file mode 100644 index a1991d56..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/sm8650/QRD/SM8650-QRD.conf +++ /dev/null @@ -1,13 +0,0 @@ -Syntax 4 - -SectionUseCase."HiFi" { - File "/Qualcomm/sm8650/QRD/HiFi.conf" - Comment "HiFi quality Music." -} - -Include.card-init.File "/lib/card-init.conf" -Include.ctl-remap.File "/lib/ctl-remap.conf" -Include.codec-init.File "/codecs/wsa884x/two-speakers/init.conf" -Include.codec-init.File "/codecs/wcd939x/init.conf" -Include.codec-init.File "/codecs/qcom-lpass/wsa-macro/init.conf" -Include.codec-init.File "/codecs/qcom-lpass/rx-macro/init.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/x1e80100/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/x1e80100/HiFi.conf deleted file mode 100644 index dcecacf3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/x1e80100/HiFi.conf +++ /dev/null @@ -1,54 +0,0 @@ -# Use case configuration for X1E80100. -# Author: Krzysztof Kozlowski - -SectionVerb { - EnableSequence [ - cset "name='RX_CODEC_DMA_RX_0 Audio Mixer MultiMedia1' 1" - cset "name='WSA_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 1" - cset "name='MultiMedia3 Mixer TX_CODEC_DMA_TX_3' 1" - cset "name='MultiMedia4 Mixer VA_CODEC_DMA_TX_0' 1" - ] - - Include.wsae.File "/codecs/wsa884x/four-speakers/DefaultEnableSeq.conf" - Include.wsm1e.File "/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerEnableSeq.conf" - Include.wsm2e.File "/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerEnableSeq.conf" - - Value { - TQ "HiFi" - } -} - -SectionDevice."Speaker" { - Comment "Speaker playback" - - Include.wsmspk1e.File "/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerEnableSeq.conf" - Include.wsmspk2e.File "/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerEnableSeq.conf" - Include.wsmspk1d.File "/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerDisableSeq.conf" - Include.wsmspk2d.File "/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerDisableSeq.conf" - Include.wsaspk.File "/codecs/wsa884x/four-speakers/SpeakerSeq.conf" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},1" - PlaybackMixer "default:${CardId}" - PlaybackMixerElem "Speakers" - } -} - -SectionDevice."Headphones" { - Comment "Headphones playback" - - Include.wcdhpe.File "/codecs/wcd938x/HeadphoneEnableSeq.conf" - Include.wcdhpd.File "/codecs/wcd938x/HeadphoneDisableSeq.conf" - Include.rxmhpe.File "/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf" - Include.rxmhpd.File "/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},0" - PlaybackMixer "default:${CardId}" - PlaybackMixerElem "HP Digital" - JackControl "Headphone Jack" - JackHWMute "Speaker" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/x1e80100/X1E80100-CRD.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/x1e80100/X1E80100-CRD.conf deleted file mode 100644 index c7331450..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Qualcomm/x1e80100/X1E80100-CRD.conf +++ /dev/null @@ -1,19 +0,0 @@ -Syntax 4 - -SectionUseCase."HiFi" { - File "/Qualcomm/x1e80100/HiFi.conf" - Comment "HiFi quality Music." -} - -BootSequence [ - cset "name='HPHL Volume' 20" - cset "name='HPHR Volume' 20" - cset "name='ADC2 Volume' 10" -] - -Include.card-init.File "/lib/card-init.conf" -Include.ctl-remap.File "/lib/ctl-remap.conf" -Include.wcd-init.File "/codecs/wcd938x/init.conf" -Include.wsa-init.File "/codecs/wsa884x/four-speakers/init.conf" -Include.wsam-init.File "/codecs/qcom-lpass/wsa-macro/four-speakers/init.conf" -Include.rxm-init.File "/codecs/qcom-lpass/rx-macro/init.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/README.md b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/README.md deleted file mode 100644 index 012dafec..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/README.md +++ /dev/null @@ -1,62 +0,0 @@ -Use Case Configuration files ----------------------------- - -Library directories: - - platforms/ - codecs/ - dsps/ - -Those directories are not inspected for the list of available UCM -configurations. They contain files included from other UCMs. - -UCM master configuration path lookup is defined in the top level -ucm.conf file. This file allows custom directory layout. The new -ucm2 layout is based on the ALSA driver name with the kernel driver -name as fallback. The virtual cards (no direct hw bound) lookups are -placed to the separate conf.virt.d directory. - -The lookup configuration: - - https://git.alsa-project.org/?p=alsa-ucm-conf.git;a=blob;f=ucm2/ucm.conf - -Example paths - new conf.d scheme: - -- conf.d/USB-Audio/Dell-WD15-Dock.conf --- special configuration for the Dell docking station with USB soundcard -- conf.virt.d/TwoCardsMix.conf --- virtual UCM from two soundcards - -Example paths - no conf.d scheme (may be invalidated): - -- USB-Audio/Dell-WD15-Dock.conf --- special configuration for the Dell docking station with USB soundcard -- TwoCardsMix/TwoCardsMix.conf --- virtual UCM from two soundcards - -Note: For the driver configurations, use always the ALSA driver name or -the real kernel driver name - not the ucm card name configuration paths! - -The kernel driver name is obtained using sysfs like (last -part of the path is used from the symlink): - -```` - /sys/class/sound/card0/device/driver -```` - -The ALSA driver name can be obtained using procfs like: - -```` - cat /proc/asound/cards - 1 [NVidia ]: HDA-Intel - HDA NVidia - HDA NVidia at 0xb5080000 irq 17 - - driver name: HDA-Intel - card short name: HDA NVidia - card long name: HDA NVidia at 0xb5080000 irq 17 -```` - -Syntax, value names -------------------- - -https://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=include/use-case.h diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/es8316/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/es8316/HiFi.conf deleted file mode 100644 index 2124ded7..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/es8316/HiFi.conf +++ /dev/null @@ -1,66 +0,0 @@ -# Reference: -# https://gitlab.manjaro.org/manjaro-arm/packages/community/pinebookpro-post-install/-/blob/4b4206c57b21044bf9c00848bd1f8b6f710d19eb/asound.state -# https://gitlab.manjaro.org/manjaro-arm/packages/community/pinebookpro-audio/-/blob/1f567db09495acc3beb5405c9ef85c3c07b86785/audio_jack_plugged_in.sh - -SectionDevice."Speaker" { - Comment "Speaker" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Playback Polarity' 'R Invert'" - cset "name='Speaker Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Switch' off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "Headphone Mixer" - PlaybackMasterElem "DAC" - } -} - -SectionDevice."Mic" { - Comment "Internal Microphone" - - EnableSequence [ - cset "name='Differential Mux' lin1-rin1" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - CaptureMixerElem "ADC PGA Gain" - CaptureMasterElem "ADC" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='Playback Polarity' 'Normal'" - ] - DisableSequence [ - cset "name='Playback Polarity' 'R Invert'" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "Headphone Mixer" - PlaybackMasterElem "DAC" - JackControl "Headphones Jack" - JackHWMute "Speaker" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/es8316/es8316.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/es8316/es8316.conf deleted file mode 100644 index 62044e6e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/es8316/es8316.conf +++ /dev/null @@ -1,29 +0,0 @@ -Syntax 3 - -SectionUseCase."HiFi" { - File "/Rockchip/es8316/HiFi.conf" - Comment "Play HiFi quality Music" -} - -BootSequence [ - # Disable all outputs - cset "name='Speaker Switch' off" - - # Set HP vol to 0 dB (3/3) - cset "name='Headphone Playback Volume' 3" - # Set HP mixer vol to 0 dB - cset "name='Headphone Mixer Volume' 11" - # Set DAC vol to 0 dB (192/192) - cset "name='DAC Playback Volume' 192" - - # Disable Auto Level Control - cset "name='ALC Capture Switch' off" - # Set ADC vol to 0 dB (192/192) - cset "name='ADC Capture Volume' 192" - # Set Mic amplifier to +16 dB - cset "name='ADC PGA Gain Volume' 7" - - # Setup muxes / switches - cset "name='Left Headphone Mixer Left DAC Switch' on" - cset "name='Right Headphone Mixer Right DAC Switch' on" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/max98090/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/max98090/HiFi.conf deleted file mode 100644 index 344967cd..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/max98090/HiFi.conf +++ /dev/null @@ -1,138 +0,0 @@ -SectionVerb { - Value { - MinBufferLevel "512" - } - - EnableSequence [ - cset "name='Left Speaker Mixer Left DAC Switch' on" - cset "name='Right Speaker Mixer Right DAC Switch' on" - cset "name='Headphone Left Switch' off" - cset "name='Headphone Right Switch' off" - cset "name='Digital EQ 3 Band Switch' off" - cset "name='Digital EQ 5 Band Switch' off" - cset "name='Digital EQ 7 Band Switch' off" - cset "name='Biquad Switch' off" - cset "name='Filter Mode' Music" - cset "name='ADC Oversampling Rate' 0" - - cset "name='DMIC Mux' DMIC" - cset "name='MIC2 Mux' IN34" - cset "name='Right ADC Mixer MIC2 Switch' on" - cset "name='Left ADC Mixer MIC2 Switch' on" - cset "name='MIC2 Volume' 20" - cset "name='Headset Mic Switch' off" - cset "name='Int Mic Switch' on" - - cset "name='ADCR Boost Volume' 4" - cset "name='ADCL Boost Volume' 4" - cset "name='ADCR Volume' 11" - cset "name='ADCL Volume' 11" - - cset "name='Left Speaker Mixer Left DAC Switch' on" - cset "name='Right Speaker Mixer Right DAC Switch' on" - cset "name='Speaker Left Mixer Volume' 2" - cset "name='Speaker Right Mixer Volume' 2" - cset "name='Record Path DC Blocking' on" - cset "name='Playback Path DC Blocking' on" - - cset "name='Speaker Left Switch' on" - cset "name='Speaker Right Switch' on" - cset "name='Speaker Switch' on" - ] -} - -SectionDevice."Speaker" { - Comment "Speaker" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - PlaybackVolume "Speaker Volume" - } - - EnableSequence [ - cset "name='Speaker Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Switch' off" - ] -} - -SectionDevice."Mic" { - Comment "Internal Microphone" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } - - EnableSequence [ - cset "name='Int Mic Switch' on" - ] - - DisableSequence [ - cset "name='Int Mic Switch' off" - ] -} - -SectionDevice."Headphones" { - Comment "Headphones" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - PlaybackVolume "Headphone Volume" - } - - EnableSequence [ - cset "name='Speaker Switch' off" - cset "name='Headphone Left Switch' on" - cset "name='Headphone Right Switch' on" - ] - DisableSequence [ - cset "name='Headphone Left Switch' off" - cset "name='Headphone Right Switch' off" - cset "name='Speaker Switch' on" - ] -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - } - - EnableSequence [ - cset "name='Int Mic Switch' off" - cset "name='DMIC Mux' ADC" - cset "name='Headset Mic Switch' on" - ] - - DisableSequence [ - cset "name='Headset Mic Switch' off" - cset "name='DMIC Mux' DMIC" - cset "name='Int Mic Switch' on" - ] -} - -SectionDevice."HDMI" { - Comment "HDMI Jack" - - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId},1" - JackControl "HDMI Jack" - } - - EnableSequence [ - cset "name='HDMI Switch' on" - ] - - DisableSequence [ - cset "name='HDMI Switch' off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/max98090/max98090.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/max98090/max98090.conf deleted file mode 100644 index 9e482a07..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/max98090/max98090.conf +++ /dev/null @@ -1,8 +0,0 @@ -Syntax 2 - -Comment "Rockchip Veyron card" - -SectionUseCase."HiFi" { - File "/Rockchip/max98090/HiFi.conf" - Comment "Default" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk3399-gru-sound/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk3399-gru-sound/HiFi.conf deleted file mode 100644 index 4d2d3fa5..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk3399-gru-sound/HiFi.conf +++ /dev/null @@ -1,125 +0,0 @@ -SectionVerb { - Value { - MinBufferLevel "512" - } - - EnableSequence [ - cset "name='Stereo1 DMIC Mux' DMIC1" - cset "name='Sto1 ADC MIXL DMIC Switch' on" - cset "name='Sto1 ADC MIXR DMIC Switch' on" - - cset "name='Mixer Out FilterL DACL Switch' on" - cset "name='Mixer Out FilterR DACR Switch' on" - cset "name='Playback Digital Switch' on" - cset "name='Headphone Switch' on" - - cset "name='Mixin Volume' 11" - cset "name='Mixin Switch' on" - cset "name='Mixer In Mic Switch' on" - cset "name='Out DAIL Mux' ADC" - cset "name='Out DAIR Mux' ADC" - cset "name='ADC1 Capture Volume' 51" - cset "name='Mic Volume' 6" - cset "name='Capture Digital Switch' on" - cset "name='Mic Switch' on" - - cset "name='Speakers Switch' off" - cset "name='Int Mic Switch' off" - cset "name='Headphones Switch' off" - cset "name='Headset Mic Switch' off" - ] -} - -SectionDevice."Speaker" { - Comment "Speaker" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "Speakers" - } - - EnableSequence [ - cset "name='Speakers Switch' on" - ] - - DisableSequence [ - cset "name='Speakers Switch' off" - ] - - ConflictingDevice [ - "Headphones" - ] -} - -SectionDevice."Mic" { - Comment "Internal Microphone" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},1" - CaptureMixerElem "ADC1" - } - - EnableSequence [ - cset "name='Int Mic Switch' on" - ] - - DisableSequence [ - cset "name='Int Mic Switch' off" - ] - - ConflictingDevice [ - "Headset" - ] -} - -SectionDevice."Headphones" { - Comment "Headphones" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},2" - PlaybackMixerElem "Headphone" - JackControl "Headphones Jack" - } - - EnableSequence [ - cset "name='Headphones Switch' on" - cset "name='DAC Soft Mute Switch' off" - cset "name='Headphone Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Switch' off" - cset "name='DAC Soft Mute Switch' on" - cset "name='Headphones Switch' off" - ] - - ConflictingDevice [ - "Speaker" - ] -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},2" - CaptureMixerElem "Mic" - JackControl "Headset Mic Jack" - } - - EnableSequence [ - cset "name='Headset Mic Switch' on" - ] - - DisableSequence [ - cset "name='Headset Mic Switch' off" - ] - - ConflictingDevice [ - "Mic" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk3399-gru-sound/rk3399-gru-sound.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk3399-gru-sound/rk3399-gru-sound.conf deleted file mode 100644 index afd7ac16..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk3399-gru-sound/rk3399-gru-sound.conf +++ /dev/null @@ -1,8 +0,0 @@ -Syntax 2 - -Comment "Rockchip Gru card" - -SectionUseCase."HiFi" { - File "/Rockchip/rk3399-gru-sound/HiFi.conf" - Comment "Default" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk3588-es8316/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk3588-es8316/HiFi.conf deleted file mode 100644 index 181875da..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk3588-es8316/HiFi.conf +++ /dev/null @@ -1,42 +0,0 @@ -SectionDevice."Headphones" { - Comment "Headphones" - - EnableSequence [ - cset "name='Playback Polarity' 'Normal'" - ] - - DisableSequence [ - cset "name='Playback Polarity' 'R Invert'" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "Headphone Mixer" - PlaybackMasterElem "DAC" - JackControl "Headphones Jack" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone on IN2" - - EnableSequence [ - cset "name='Differential Mux' lin2-rin2" - cset "name='Left Headphone Mux' lin2-rin2" - cset "name='Right Headphone Mux' lin2-rin2" - ] - - DisableSequence [ - cset "name='Differential Mux' lin1-rin1" - cset "name='Left Headphone Mux' lin1-rin1" - cset "name='Right Headphone Mux' lin1-rin1" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - CaptureMixerElem "ADC PGA Gain" - CaptureMasterElem "ADC" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk3588-es8316/rk3588-es8316.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk3588-es8316/rk3588-es8316.conf deleted file mode 100644 index 6aa50ff0..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk3588-es8316/rk3588-es8316.conf +++ /dev/null @@ -1,26 +0,0 @@ -Syntax 3 - -SectionUseCase."HiFi" { - File "/Rockchip/rk3588-es8316/HiFi.conf" - Comment "Play HiFi quality Music" -} - -BootSequence [ - # Set HP vol to 0 dB (3/3) - cset "name='Headphone Playback Volume' 3" - # Set HP mixer vol to 0 dB - cset "name='Headphone Mixer Volume' 11" - # Set DAC vol to 0 dB (192/192) - cset "name='DAC Playback Volume' 192" - - # Disable Auto Level Control - cset "name='ALC Capture Switch' off" - # Set ADC vol to 0 dB (192/192) - cset "name='ADC Capture Volume' 192" - # Set Mic amplifier to +16 dB - cset "name='ADC PGA Gain Volume' 7" - - # Setup muxes / switches - cset "name='Left Headphone Mixer Left DAC Switch' on" - cset "name='Right Headphone Mixer Right DAC Switch' on" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk817-sound/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk817-sound/HiFi.conf deleted file mode 100644 index 8d905678..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk817-sound/HiFi.conf +++ /dev/null @@ -1,68 +0,0 @@ -Define.pbk_mux "SPK" - -If.1 { - Condition { - Type ControlExists - Control "name='Internal Speakers Switch'" - } - - True { - Define.pbk_mux "HP" - SectionDevice."Speaker".EnableSequence [ - cset "name='Internal Speakers Switch' on" - ] - - SectionDevice."Speaker".DisableSequence [ - cset "name='Internal Speakers Switch' off" - ] - } -} - -SectionDevice."Speaker" { - Comment "Internal Speaker" - - EnableSequence [ - cset "name='Playback Mux' ${var:pbk_mux}" - ] - - Value { - PlaybackMixerElem "Master Playback Volume" - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } - - ConflictingDevice [ - "Headphones" - ] -} - -SectionDevice."Mic" { - Comment "Microphone" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - CaptureMixerElem "Mic Capture Gain" - CaptureMasterElem "Master Capture Volume" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - EnableSequence [ - cset "name='Playback Mux' HP" - ] - - Value { - PlaybackMixerElem "Master Playback Volume" - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Headphones Jack" - JackHWMute "Speaker" - } - - ConflictingDevice [ - "Speaker" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk817-sound/rk817-sound.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk817-sound/rk817-sound.conf deleted file mode 100644 index 90ec7946..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Rockchip/rk817-sound/rk817-sound.conf +++ /dev/null @@ -1,6 +0,0 @@ -Syntax 4 - -SectionUseCase."HiFi" { - File "/Rockchip/rk817-sound/HiFi.conf" - Comment "Play HiFi quality music" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Samsung/snow/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Samsung/snow/HiFi.conf deleted file mode 100644 index c278ad66..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Samsung/snow/HiFi.conf +++ /dev/null @@ -1,58 +0,0 @@ -# It's configuration for DAISY-I2S, update for another hw! - -SectionVerb { - EnableSequence [ - cset "name='Left Speaker Mixer Left DAC1 Switch' on" - cset "name='Right Speaker Mixer Right DAC1 Switch' on" - cset "name='Left Headphone Mixer Left DAC1 Switch' on" - cset "name='Right Headphone Mixer Right DAC1 Switch' on" - cset "name='DMIC1 Left Capture Switch' on" - cset "name='DMIC1 Right Capture Switch' on" - cset "name='MIC2 External Mic Switch' on" - cset "name='Left ADC Mixer MIC2 Switch' on" - cset "name='Right ADC Mixer MIC2 Switch' on" - cset "name='EQ1 Mode' Default" - cset "name='DAI1 Filter Mode' Music" - ] -} - -SectionDevice."Headphones" { - EnableSequence [ - cset "name='EQ1 Switch' off" - cset "name='Left Headphone Mixer Left DAC1 Switch' on" - cset "name='Right Headphone Mixer Right DAC1 Switch' on" - ] - - DisableSequence [ - cset "name='EQ1 Mode' Default" - cset "name='EQ1 Switch' on" - cset "name='Left Speaker Mixer Left DAC1 Switch' on" - cset "name='Right Speaker Mixer Right DAC1 Switch' on" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } -} - -SectionDevice."Mic" { - EnableSequence [ - cset "name='DMIC1 Left Capture Switch' off" - cset "name='DMIC1 Right Capture Switch' off" - cset "name='Left ADC Mixer MIC2 Switch' on" - cset "name='Right ADC Mixer MIC2 Switch' on" - ] - - DisableSequence [ - cset "name='Left ADC Mixer MIC2 Switch' off" - cset "name='Right ADC Mixer MIC2 Switch' off" - cset "name='DMIC1 Left Capture Switch' on" - cset "name='DMIC1 Right Capture Switch' on" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Samsung/snow/snow.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Samsung/snow/snow.conf deleted file mode 100644 index aea4710f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Samsung/snow/snow.conf +++ /dev/null @@ -1,8 +0,0 @@ -Syntax 3 - -Comment "Internal card" - -SectionUseCase."HiFi" { - File "/Samsung/snow/HiFi.conf" - Comment "Default" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/alc5632/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/alc5632/HiFi.conf deleted file mode 100644 index e3136a76..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/alc5632/HiFi.conf +++ /dev/null @@ -1,39 +0,0 @@ -SectionVerb { - EnableSequence [ - cset "name='Speaker Playback Switch' on" - cset "name='Int Spk Switch' on" - cset "name='Speaker Mix DAC2SPK Playback Switch' on" - ] - DisableSequence [ - cset "name='Speaker Playback Switch' off" - cset "name='Int Spk Switch' off" - cset "name='Speaker Mix DAC2SPK Playback Switch' off" - ] -} - -SectionDevice."Headset" { - Comment "3.5mm Headset" - - EnableSequence [ - # Internal speaker - cset "name='Int Spk Switch' off" - - # Headphones - cset "name='Headphone Playback Switch' on" - cset "name='HPL Mix DACL2HP Playback Switch' on" - cset "name='HPR Mix DACR2HP Playback Switch' on" - ] - DisableSequence [ - # Headphones - cset "name='Headphone Playback Switch' off" - cset "name='HPL Mix DACL2HP Playback Switch' off" - cset "name='HPR Mix DACR2HP Playback Switch' off" - - # Internal speaker - cset "name='Int Spk Switch' on" - ] - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/alc5632/Record.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/alc5632/Record.conf deleted file mode 100644 index 15b8164c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/alc5632/Record.conf +++ /dev/null @@ -1,59 +0,0 @@ -SectionVerb { - EnableSequence [ - cset "name='Speaker Playback Switch' on" - cset "name='Int Spk Switch' on" - cset "name='Speaker Mix DAC2SPK Playback Switch' on" - - cset "name='DMICL Mix DMICL2ADC Capture Switch' on" - cset "name='DMIC En Capture Switch' on" - cset "name='DMIC PreFilter Capture Switch' on" - ] - DisableSequence [ - cset "name='Speaker Playback Switch' off" - cset "name='Int Spk Switch' off" - cset "name='Speaker Mix DAC2SPK Playback Switch' off" - - cset "name='DMICL Mix DMICL2ADC Capture Switch' off" - cset "name='DMIC En Capture Switch' off" - cset "name='DMIC PreFilter Capture Switch' off" - ] -} - -SectionDevice."Headset" { - Comment "3.5mm Headset" - - EnableSequence [ - # Internal speaker - cset "name='Int Spk Switch' off" - - # Internal mic - cset "name='DMIC En Capture Switch' off" - - # Headphones - cset "name='Headphone Playback Switch' on" - cset "name='HPL Mix DACL2HP Playback Switch' on" - cset "name='HPR Mix DACR2HP Playback Switch' on" - - # External min - cset "name='Left Capture Mix MIC12REC_L Capture Switch' on" - ] - DisableSequence [ - # Headphones - cset "name='Headphone Playback Switch' off" - cset "name='HPL Mix DACL2HP Playback Switch' off" - cset "name='HPR Mix DACR2HP Playback Switch' off" - - # External mic - cset "name='Left Capture Mix MIC12REC_L Capture Switch' on" - - # Internal speaker - cset "name='Int Spk Switch' on" - - # Internal mic - cset "name='DMIC En Capture Switch' on" - ] - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/alc5632/alc5632.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/alc5632/alc5632.conf deleted file mode 100644 index 57c64e35..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/alc5632/alc5632.conf +++ /dev/null @@ -1,44 +0,0 @@ -Syntax 2 - -Comment "PAZ00 alc5632" - -BootSequence [ - cset "name='Master Playback Switch' on" - cset "name='Master Playback Volume' 44,44" - cset "name='Headphone Playback Volume' 21,21" - cset "name='Speaker Playback Volume' 21,21" - cset "name='SpeakerOut Mux' 2" - cset "name='SpeakerOut N Mux' LN/-R" - cset "name='AB-D Amp Mux' 0" - cset "name='Left Headphone Mux' 1" - cset "name='Right Headphone Mux' 1" - cset "name='DMIC Boost Capture Volume' 4" - cset "name='Rec Capture Volume' 24" - - # Fix external mic record volumes - cset "name='Mic 1 Boost Volume' 0" - cset "name='Mic 2 Boost Volume' 0" - cset "name='Mic1 Playback Volume' 0" - cset "name='Mic2 Playback Volume' 0" - cset "name='Rec Capture Volume' 0" - - # Enable internal speaker - cset "name='Speaker Playback Switch' on" - cset "name='Int Spk Switch' on" - cset "name='Speaker Mix DAC2SPK Playback Switch' on" - - # Enable DMIC - cset "name='DMICL Mix DMICL2ADC Capture Switch' on" - cset "name='DMIC En Capture Switch' on" - cset "name='DMIC PreFilter Capture Switch' on" -] - -SectionUseCase."HiFi" { - File "/Tegra/alc5632/HiFi.conf" - Comment "Music playback" -} - -SectionUseCase."Record" { - File "/Tegra/alc5632/Record.conf" - Comment "Playback and capture" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/max98089/lge-x3-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/max98089/lge-x3-HiFi.conf deleted file mode 100644 index 3738d724..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/max98089/lge-x3-HiFi.conf +++ /dev/null @@ -1,148 +0,0 @@ -# Use case Configuration for MAX98089 on LG Optimus 4X HD/Vu P880/P895 - -SectionDevice."Speaker" { - Comment "Speaker" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Speaker Switch' on" - cset "name='Int Spk Switch' on" - - cset "name='Left SPK Mixer Left DAC1 Switch' on" - cset "name='Left SPK Mixer Left DAC2 Switch' on" - cset "name='Left SPK Mixer Right DAC1 Switch' on" - cset "name='Left SPK Mixer Right DAC2 Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Switch' off" - cset "name='Int Spk Switch' off" - - cset "name='Left SPK Mixer Left DAC1 Switch' off" - cset "name='Left SPK Mixer Left DAC2 Switch' off" - cset "name='Left SPK Mixer Right DAC1 Switch' off" - cset "name='Left SPK Mixer Right DAC2 Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackChannels 2 - PlaybackPriority 300 - - PlaybackMixerElem "Speaker" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='Headphone Switch' on" - - cset "name='Left HP Mixer Left DAC1 Switch' on" - cset "name='Left HP Mixer Left DAC2 Switch' on" - cset "name='Right HP Mixer Right DAC1 Switch' on" - cset "name='Right HP Mixer Right DAC2 Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Switch' off" - - cset "name='Left HP Mixer Left DAC1 Switch' off" - cset "name='Left HP Mixer Left DAC2 Switch' off" - cset "name='Right HP Mixer Right DAC1 Switch' off" - cset "name='Right HP Mixer Right DAC2 Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackChannels 2 - PlaybackPriority 100 - - PlaybackMixerElem "Headphone" - - JackControl "Headphone Jack" - } -} - -SectionDevice."Mic1" { - Comment "Internal Microphone" - - ConflictingDevice [ - "Mic2" - ] - - EnableSequence [ - # Main MIC - cset "name='Internal Mic 1 Switch' on" - cset "name='DAI1 ADC Filter' fc=258/fs=16k" - - cset "name='Left ADC Mixer MIC1 Switch' on" - cset "name='Right ADC Mixer MIC1 Switch' on" - - # Secondary MIC - cset "name='Int Mic Switch' on" - cset "name='Internal Mic 2 Switch' on" - - cset "name='Left ADC Mixer MIC2 Switch' on" - cset "name='Right ADC Mixer MIC2 Switch' on" - ] - - DisableSequence [ - # Main MIC - cset "name='Internal Mic 1 Switch' off" - cset "name='DAI1 ADC Filter' off" - - cset "name='Left ADC Mixer MIC1 Switch' off" - cset "name='Right ADC Mixer MIC1 Switch' off" - - # Secondary MIC - cset "name='Int Mic Switch' off" - cset "name='Internal Mic 2 Switch' off" - - cset "name='Left ADC Mixer MIC2 Switch' off" - cset "name='Right ADC Mixer MIC2 Switch' off" - ] - - Value { - CapturePCM "hw:${CardId}" - CaptureChannels 2 - CapturePriority 200 - } -} - -SectionDevice."Mic2" { - Comment "External Microphone" - - ConflictingDevice [ - "Mic1" - ] - - EnableSequence [ - cset "name='Mic Jack Switch' on" - - cset "name='Left ADC Mixer INA1 Switch' on" - cset "name='Right ADC Mixer INA1 Switch' on" - ] - - DisableSequence [ - cset "name='Mic Jack Switch' off" - - cset "name='Left ADC Mixer INA1 Switch' off" - cset "name='Right ADC Mixer INA1 Switch' off" - ] - - Value { - CapturePCM "hw:${CardId}" - CapturePriority 100 - - JackControl "Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/max98089/lge-x3-VoiceCall.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/max98089/lge-x3-VoiceCall.conf deleted file mode 100644 index 1634c7b7..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/max98089/lge-x3-VoiceCall.conf +++ /dev/null @@ -1,125 +0,0 @@ -# Use case Configuration for MAX98089 on LG Optimus 4X HD/Vu P880/P895 - -SectionDevice."Speaker" { - Comment "Speaker" - - ConflictingDevice [ - "Earpiece" - ] - - EnableSequence [ - cset "name='Speaker Switch' on" - cset "name='Int Spk Switch' on" - - cset "name='Left SPK Mixer Left DAC1 Switch' on" - cset "name='Left SPK Mixer Left DAC2 Switch' on" - cset "name='Left SPK Mixer Right DAC1 Switch' on" - cset "name='Left SPK Mixer Right DAC2 Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Switch' off" - cset "name='Int Spk Switch' off" - - cset "name='Left SPK Mixer Left DAC1 Switch' off" - cset "name='Left SPK Mixer Left DAC2 Switch' off" - cset "name='Left SPK Mixer Right DAC1 Switch' off" - cset "name='Left SPK Mixer Right DAC2 Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackChannels 2 - PlaybackPriority 100 - - PlaybackMixerElem "Speaker" - } -} - -SectionDevice."Earpiece" { - Comment "Earpiece" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='Receiver Switch' on" - cset "name='Earpiece Switch' on" - - cset "name='Left REC Mixer Left DAC1 Switch' on" - cset "name='Left REC Mixer Left DAC2 Switch' on" - cset "name='Left REC Mixer Right DAC1 Switch' on" - cset "name='Left REC Mixer Right DAC2 Switch' on" - - cset "name='Right REC Mixer Left DAC1 Switch' on" - cset "name='Right REC Mixer Left DAC2 Switch' on" - cset "name='Right REC Mixer Right DAC1 Switch' on" - cset "name='Right REC Mixer Right DAC2 Switch' on" - ] - - DisableSequence [ - cset "name='Receiver Switch' off" - cset "name='Earpiece Switch' off" - - cset "name='Left REC Mixer Left DAC1 Switch' off" - cset "name='Left REC Mixer Left DAC2 Switch' off" - cset "name='Left REC Mixer Right DAC1 Switch' off" - cset "name='Left REC Mixer Right DAC2 Switch' off" - - cset "name='Right REC Mixer Left DAC1 Switch' off" - cset "name='Right REC Mixer Left DAC2 Switch' off" - cset "name='Right REC Mixer Right DAC1 Switch' off" - cset "name='Right REC Mixer Right DAC2 Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackChannels 2 - PlaybackPriority 200 - - PlaybackMixerElem "Receiver" - } -} - -SectionDevice."Mic1" { - Comment "Internal Microphone" - - EnableSequence [ - # Main MIC - cset "name='Internal Mic 1 Switch' on" - cset "name='DAI1 ADC Filter' fc=258/fs=16k" - - cset "name='Left ADC Mixer MIC1 Switch' on" - cset "name='Right ADC Mixer MIC1 Switch' on" - - # Secondary MIC - cset "name='Int Mic Switch' on" - cset "name='Internal Mic 2 Switch' on" - - cset "name='Left ADC Mixer MIC2 Switch' on" - cset "name='Right ADC Mixer MIC2 Switch' on" - ] - - DisableSequence [ - # Main MIC - cset "name='Internal Mic 1 Switch' off" - cset "name='DAI1 ADC Filter' off" - - cset "name='Left ADC Mixer MIC1 Switch' off" - cset "name='Right ADC Mixer MIC1 Switch' off" - - # Secondary MIC - cset "name='Int Mic Switch' off" - cset "name='Internal Mic 2 Switch' off" - - cset "name='Left ADC Mixer MIC2 Switch' off" - cset "name='Right ADC Mixer MIC2 Switch' off" - ] - - Value { - CapturePCM "hw:${CardId}" - CaptureChannels 2 - CapturePriority 200 - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/max98089/lge-x3.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/max98089/lge-x3.conf deleted file mode 100644 index 994a6065..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/max98089/lge-x3.conf +++ /dev/null @@ -1,47 +0,0 @@ -# Use case Configuration for MAX98089 on LG Optimus 4X HD/Vu P880/P895 - -Syntax 4 - -BootSequence [ - cset "name='MIC1 Volume' 10" - cset "name='MIC1 Boost Volume' 1" - cset "name='MIC2 Volume' 10" - cset "name='MIC2 Boost Volume' 1" - - cset "name='INA Volume' 5" - cset "name='INB Volume' 5" - - cset "name='ADCL Volume' 15" - cset "name='ADCR Volume' 15" - - cset "name='DAI1 Filter Mode' Music" - - cset "name='EQ1 Switch' off" - cset "name='EQ2 Switch' off" - - cset "name='Speaker Switch' off" - cset "name='Int Spk Switch' off" - cset "name='Headphone Switch' off" - cset "name='Earpiece Switch' off" - cset "name='Receiver Switch' off" - - cset "name='Int Mic Switch' off" - cset "name='Internal Mic 1 Switch' off" - cset "name='Internal Mic 2 Switch' off" - cset "name='Mic Jack Switch' off" - - cset "name='Right SPK Mixer Left DAC1 Switch' on" - cset "name='Right SPK Mixer Left DAC2 Switch' on" - cset "name='Right SPK Mixer Right DAC1 Switch' on" - cset "name='Right SPK Mixer Right DAC2 Switch' on" -] - -SectionUseCase."HiFi" { - File "/Tegra/max98089/lge-x3-HiFi.conf" - Comment "Play HiFi quality Music" -} - -SectionUseCase."Voice Call" { - File "/Tegra/max98089/lge-x3-VoiceCall.conf" - Comment "Make a phone call" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/max98090/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/max98090/HiFi.conf deleted file mode 100644 index 5a8f8d89..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/max98090/HiFi.conf +++ /dev/null @@ -1,99 +0,0 @@ -SectionVerb { - EnableSequence [ - cset "name='Speakers Switch' off" - cset "name='Headphones Switch' off" - cset "name='Mic Jack Switch' off" - cset "name='Int Mic Switch' off" - ] -} - -SectionDevice."Speakers" { - Comment = "Speakers" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Speakers Switch' on" - ] - - DisableSequence [ - cset "name='Speakers Switch' off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - PlaybackVolume "Speaker Volume" - } -} - -SectionDevice."Headphones" { - Comment = "Headphones" - - ConflictingDevice [ - "Speakers" - ] - - EnableSequence [ - cset "name='Headphones Switch' on" - ] - - DisableSequence [ - cset "name='Headphones Switch' off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - PlaybackVolume "Headphone Volume" - JackControl "Headphone Jack" - } - -} - -SectionDevice."Mic" { - Comment "Internal Microphone" - - EnableSequence [ - cset "name='Int Mic Switch' on" - cset "name='DMIC Mux' DMIC" - ] - - DisableSequence [ - cset "name='Int Mic Switch' off" - cset "name='DMIC Mux' ADC" - ] - - Value { - CapturePCM "hw:${CardId}" - CaptureChannels 2 - CaptureVolume "MIC2 Volume" - } -} - -SectionDevice."Headset" { - Comment = "Headset Microphone" - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='Mic Jack Switch' on" - cset "name='DMIC Mux' ADC" - ] - - DisableSequence [ - cset "name='Mic Jack Switch' off" - cset "name='DMIC Mux' DMIC" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - #CaptureControl "MIC2" - JackControl "Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/max98090/max98090.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/max98090/max98090.conf deleted file mode 100644 index c9c7534b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/max98090/max98090.conf +++ /dev/null @@ -1,43 +0,0 @@ -Syntax 2 -Comment "Nyan internal card" -SectionUseCase."HiFi" { - File "/Tegra/max98090/HiFi.conf" - Comment "Default" -} - -BootSequence [ - cset "name='Left Speaker Mixer Left DAC Switch' on" - cset "name='Right Speaker Mixer Right DAC Switch' on" - cset "name='Headphone Left Switch' on" - cset "name='Headphone Right Switch' on" - cset "name='Digital EQ 3 Band Switch' off" - cset "name='Digital EQ 5 Band Switch' off" - cset "name='Digital EQ 7 Band Switch' off" - cset "name='Biquad Switch' off" - cset "name='Filter Mode' Music" - cset "name='ADC Oversampling Rate' 0" - cset "name='DMIC Mux' DMIC" - cset "name='MIC2 Mux' IN34" - cset "name='Right ADC Mixer MIC2 Switch' on" - cset "name='Left ADC Mixer MIC2 Switch' on" - cset "name='MIC2 Volume' 10" - cset "name='MIC2 Boost Volume' 0" - cset "name='Mic Jack Switch' off" - cset "name='Int Mic Switch' off" - cset "name='ADCR Boost Volume' 4" - cset "name='ADCL Boost Volume' 4" - cset "name='ADCR Volume' 11" - cset "name='ADCL Volume' 11" - cset "name='Left Speaker Mixer Left DAC Switch' on" - cset "name='Right Speaker Mixer Right DAC Switch' on" - cset "name='Speaker Left Mixer Volume' 2" - cset "name='Speaker Right Mixer Volume' 2" - cset "name='Record Path DC Blocking' on" - cset "name='Playback Path DC Blocking' on" - cset "name='Headphone Left Switch' on" - cset "name='Headphone Right Switch' on" - cset "name='Headphones Switch' off" - cset "name='Speaker Left Switch' on" - cset "name='Speaker Right Switch' on" - cset "name='Speakers Switch' off" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/rt5631/Asus-Transformer-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/rt5631/Asus-Transformer-HiFi.conf deleted file mode 100644 index adf3f265..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/rt5631/Asus-Transformer-HiFi.conf +++ /dev/null @@ -1,101 +0,0 @@ -# Use case Configuration for RT5631 based ASUS Transformers - -SectionDevice."Speaker" { - Comment "Speaker" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Speaker Playback Switch' on" - cset "name='Int Spk Switch' on" - ] - - DisableSequence [ - cset "name='Int Spk Switch' off" - cset "name='Speaker Playback Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackChannels 2 - PlaybackPriority 200 - - PlaybackMixerElem "Speaker" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='HP Playback Switch' on" - ] - - DisableSequence [ - cset "name='HP Playback Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackChannels 2 - PlaybackPriority 100 - - PlaybackMixerElem "HP" - - JackControl "Headphone Jack" - } -} - -SectionDevice."Mic1" { - Comment "Internal Microphone" - - ConflictingDevice [ - "Mic2" - ] - - EnableSequence [ - cset "name='DMIC Capture Switch' on" - cset "name='DMIC Switch' on" - cset "name='Int Mic Switch' on" - ] - - DisableSequence [ - cset "name='DMIC Capture Switch' off" - cset "name='DMIC Switch' off" - cset "name='Int Mic Switch' off" - ] - - Value { - CapturePCM "hw:${CardId}" - CapturePriority 200 - } -} - -SectionDevice."Mic2" { - Comment "External Microphone" - - ConflictingDevice [ - "Mic1" - ] - - EnableSequence [ - cset "name='Mic Jack Switch' on" - ] - - DisableSequence [ - cset "name='Mic Jack Switch' off" - ] - - Value { - CapturePCM "hw:${CardId}" - CapturePriority 100 - - JackControl "Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/rt5631/Asus-Transformer.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/rt5631/Asus-Transformer.conf deleted file mode 100644 index 146e3b45..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/rt5631/Asus-Transformer.conf +++ /dev/null @@ -1,65 +0,0 @@ -# Use case Configuration for RT5631 based ASUS Transformers - -Syntax 4 - -BootSequence [ - cset "name='HP Playback Switch' off" - cset "name='Speaker Playback Switch' off" - - cset "name='PCM Playback Switch' on" - cset "name='PCM Playback Volume' 255" - cset "name='AXI Capture Volume' 23" - - cset "name='AXO2 Playback Switch' on" - cset "name='AXO2MIX Mixer OUTVOLL Playback Switch' on" - - cset "name='DMIC Switch' off" - cset "name='DMIC Capture Switch' off" - - cset "name='HPL Mux' Left HPVOL" - cset "name='HPR Mux' Right HPVOL" - - cset "name='Mic Jack Switch' off" - cset "name='Int Mic Switch' off" - cset "name='Int Spk Switch' on" - - cset "name='Left HPVOL Mux' OUTMIXL" - cset "name='Left OUTVOL Mux' OUTMIXL" - cset "name='Left SPKVOL Mux' SPKMIXL" - - cset "name='MIC1 Boost Volume' 6" - cset "name='MIC1 Mode Control' Differential" - cset "name='MIC2 Boost Volume' 6" - cset "name='MIC2 Mode Control' Single ended" - - cset "name='MONO Playback Switch' off" - cset "name='MONO Mux' MONOMIX" - cset "name='MONOIN Mode Control' Differential" - cset "name='MONOIN_RX Capture Volume' 25" - - cset "name='OUTMIXL Mixer DACL Playback Switch' on" - cset "name='OUTMIXR Mixer DACR Playback Switch' on" - - cset "name='OUTVOL Channel Switch' on" - cset "name='RECMIXL Mixer MIC1_BST1 Capture Switch' on" - - cset "name='Right HPVOL Mux' OUTMIXR" - cset "name='Right OUTVOL Mux' OUTMIXR" - cset "name='Right SPKVOL Mux' SPKMIXR" - - cset "name='SPK Ratio Control' 1.99x" - - cset "name='SPKMIXL Mixer DACL Playback Switch' on" - cset "name='SPKMIXR Mixer DACR Playback Switch' on" - - cset "name='SPOL Mux' SPOLMIX" - cset "name='SPOLMIX Mixer SPKVOLL Playback Switch' on" - - cset "name='SPOR Mux' SPORMIX" - cset "name='SPORMIX Mixer SPKVOLR Playback Switch' on" -] - -SectionUseCase."HiFi" { - File "/Tegra/rt5631/Asus-Transformer-HiFi.conf" - Comment "Play HiFi quality Music" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/rt5640/Google-Nexus-7-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/rt5640/Google-Nexus-7-HiFi.conf deleted file mode 100644 index 0cc5f4c2..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/rt5640/Google-Nexus-7-HiFi.conf +++ /dev/null @@ -1,15 +0,0 @@ -# Use case Configuration for ASUS Google Nexus 7 (2012) - -Define.HaveAif "1" -Define.HaveSpeaker "2" -Define.HaveHeadsetMic "" -Define.HaveInternalMic "dmic" -Define.StereoADC2Mux "DMIC1" - -Include.hp.File "/codecs/rt5640/HeadPhones.conf" -Include.mspk.File "/codecs/rt5640/Speaker.conf" -Include.dmic.File "/codecs/rt5640/DigitalMics.conf" - -SectionVerb { - Include.e.File "/codecs/rt5640/EnableSeq.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/rt5640/Google-Nexus-7.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/rt5640/Google-Nexus-7.conf deleted file mode 100644 index 1ec7b92c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/rt5640/Google-Nexus-7.conf +++ /dev/null @@ -1,8 +0,0 @@ -# Use case Configuration for ASUS Google Nexus 7 (2012) - -Syntax 4 - -SectionUseCase."HiFi" { - File "/Tegra/rt5640/Google-Nexus-7-HiFi.conf" - Comment "Play HiFi quality Music" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/tegra-hda/tegra-hda-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/tegra-hda/tegra-hda-HiFi.conf deleted file mode 100644 index 3277f6db..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/tegra-hda/tegra-hda-HiFi.conf +++ /dev/null @@ -1,10 +0,0 @@ -Include.hdmi.File "/codecs/hda/hdmi.conf" - -If.hdmi { - Condition { Type AlwaysTrue } - True.Macro.hdmi.HDMI { - Number 1 - Device 3 - Priority 1100 - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/tegra-hda/tegra-hda.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/tegra-hda/tegra-hda.conf deleted file mode 100644 index fc6a83a5..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/tegra-hda/tegra-hda.conf +++ /dev/null @@ -1,8 +0,0 @@ -# UCM for Nvidia Tegra30 HDMI Audio - -Syntax 6 - -SectionUseCase."HiFi" { - File "/Tegra/tegra-hda/tegra-hda-HiFi.conf" - Comment "Play HiFi quality Music" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/wm8903/Acer-A500-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/wm8903/Acer-A500-HiFi.conf deleted file mode 100644 index 4615fa46..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/wm8903/Acer-A500-HiFi.conf +++ /dev/null @@ -1,114 +0,0 @@ -# Use case Configuration for Acer Iconia Tab A500 - -SectionVerb { - EnableSequence [ - # WM8903 Output Configuration - cset "name='Digital Playback Volume' 80" - cset "name='Headphone Volume' 42" - cset "name='Line Out Volume' 42" - cset "name='DAC Boost Volume' 0" - - # WM8903 Output Routing - cset "name='Left Output Mixer DACL Switch' on" - cset "name='Left Output Mixer DACR Switch' off" - cset "name='Right Output Mixer DACL Switch' off" - cset "name='Right Output Mixer DACR Switch' on" - - # WM8903 Input Configuration - cset "name='Digital Capture Volume' 120" - cset "name='DRC Compressor Threshold Volume' 124" - cset "name='DRC Compressor Slope R0' 1" - cset "name='DRC Compressor Slope R1' 1" - cset "name='DRC Maximum Gain Volume' 1" - cset "name='DRC Minimum Gain Volume' 0" - cset "name='DRC Volume' 13" - - # WM8903 Input Routing - cset "name='Left Input PGA Switch' on" - cset "name='Right Input PGA Switch' on" - - # Tegra-specific switches - cset "name='Int Spk Switch' on" - cset "name='Int Mic Switch' on" - ] -} - -SectionDevice."Speakers" { - Comment "Speakers" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Headphone Switch' off" - cset "name='Line Out Switch' on" - ] - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "Line Out" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speakers" - ] - - EnableSequence [ - cset "name='Line Out Switch' off" - cset "name='Headphone Switch' on" - ] - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "Headphone" - JackControl "Headphone Jack" - } -} - -SectionDevice."InternalMic" { - Comment "Internal Microphone" - - ConflictingDevice [ - "HeadsetMic" - ] - - EnableSequence [ - cset "name='Left Input PGA Volume' 31" - cset "name='Right Input PGA Volume' 31" - cset "name='Left Input Inverting Mux' IN1L" - cset "name='Right Input Inverting Mux' IN1R" - cset "name='DRC Switch' on" - ] - - Value { - CapturePCM "hw:${CardId}" - CaptureMixerElem "Digital" - } -} - -SectionDevice."HeadsetMic" { - Comment "Headset Microphone" - - ConflictingDevice [ - "InternalMic" - ] - - EnableSequence [ - cset "name='Left Input PGA Volume' 25" - cset "name='Right Input PGA Volume' 25" - cset "name='Left Input Inverting Mux' IN2L" - cset "name='Right Input Inverting Mux' IN2R" - cset "name='DRC Switch' off" - ] - - Value { - CapturePCM "hw:${CardId}" - CaptureMixerElem "Digital" - JackControl "Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/wm8903/Acer-A500.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/wm8903/Acer-A500.conf deleted file mode 100644 index e9bd6c45..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/wm8903/Acer-A500.conf +++ /dev/null @@ -1,8 +0,0 @@ -# Use case Configuration for Acer Iconia Tab A500 - -Syntax 4 - -SectionUseCase."HiFi" { - File "/Tegra/wm8903/Acer-A500-HiFi.conf" - Comment "Play HiFi quality Music" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/wm8903/Asus-Transformer-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/wm8903/Asus-Transformer-HiFi.conf deleted file mode 100644 index 48e7a659..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/wm8903/Asus-Transformer-HiFi.conf +++ /dev/null @@ -1,108 +0,0 @@ -# Use case Configuration for WM8903 based ASUS Transformers - -SectionDevice."Speaker" { - Comment "Speaker" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Speaker Switch' on" - cset "name='Int Spk Switch' on" - ] - - DisableSequence [ - cset "name='Int Spk Switch' off" - cset "name='Speaker Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackChannels 2 - PlaybackPriority 200 - - PlaybackMixerElem "Speaker" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='Headphone Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackChannels 2 - PlaybackPriority 100 - - PlaybackMixerElem "Headphone" - - JackControl "Headphone Jack" - } -} - -SectionDevice."Mic1" { - Comment "Internal Microphone" - - ConflictingDevice [ - "Mic2" - ] - - EnableSequence [ - cset "name='Int Mic Switch' on" - cset "name='ADC Input' DMIC" - ] - - DisableSequence [ - cset "name='Int Mic Switch' off" - ] - - Value { - CapturePCM "hw:${CardId}" - CapturePriority 200 - } -} - -SectionDevice."Mic2" { - Comment "External Microphone" - - ConflictingDevice [ - "Mic1" - ] - - EnableSequence [ - cset "name='Mic Jack Switch' on" - cset "name='ADC Input' ADC" - - cset "name='Left Capture Mux' Left" - - cset "name='Left Input Mux' IN1L" - cset "name='Left Input Inverting Mux' IN2L" - cset "name='Left Input Mode Mux' Differential Mic" - - cset "name='Left Input PGA Switch' on" - ] - - DisableSequence [ - cset "name='Mic Jack Switch' off" - cset "name='Left Input PGA Switch' off" - ] - - Value { - CapturePCM "hw:${CardId}" - CapturePriority 100 - - JackControl "Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/wm8903/Asus-Transformer.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/wm8903/Asus-Transformer.conf deleted file mode 100644 index 4d62dd2a..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Tegra/wm8903/Asus-Transformer.conf +++ /dev/null @@ -1,37 +0,0 @@ -# Use case Configuration for WM8903 based ASUS Transformers - -Syntax 4 - -BootSequence [ - cset "name='HPF Switch' on" - cset "name='HPF Mode' Voice 1" - - cset "name='DRC Switch' on" - cset "name='Digital Capture Volume' 127" - - cset "name='Headphone Switch' off" - cset "name='Headphone ZC Switch' off" - cset "name='Headphone Volume' 45" - - cset "name='Line Out Switch' on" - cset "name='Line Out ZC Switch' off" - cset "name='Line Out Volume' 57" - - cset "name='Speaker Switch' off" - cset "name='Speaker ZC Switch' off" - cset "name='Speaker Volume' 60" - - cset "name='Int Spk Switch' on" - cset "name='Int Mic Switch' off" - cset "name='Mic Jack Switch' off" - - cset "name='ADC Input' DMIC" - - cset "name='Left Speaker Mixer DACL Switch' on" - cset "name='Right Speaker Mixer DACR Switch' on" -] - -SectionUseCase."HiFi" { - File "/Tegra/wm8903/Asus-Transformer-HiFi.conf" - Comment "Play HiFi quality Music" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/AllenAndHeath/Zedi10-Hifi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/AllenAndHeath/Zedi10-Hifi.conf deleted file mode 100644 index 4bbae150..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/AllenAndHeath/Zedi10-Hifi.conf +++ /dev/null @@ -1,194 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "zedi10_stereo_out" - Direction Playback - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } - { - SplitPCM { - Name "zedi10_stereo_in" - Direction Capture - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } - { - SplitPCM { - Name "zedi10_mono_in" - Direction Capture - Channels 1 - HWChannels 4 - HWChannelPos0 MONO - HWChannelPos1 MONO - HWChannelPos2 MONO - HWChannelPos3 MONO - } - } -] - -SectionDevice."Line1" { - Comment "USB IN 1-2" - - Value { - PlaybackPriority 100 - } - - Macro.pcm_split.SplitPCMDevice { - Name "zedi10_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line2" { - Comment "USB IN 3-4" - - Value { - PlaybackPriority 200 - } - - Macro.pcm_split.SplitPCMDevice { - Name "zedi10_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Mic1" { - Comment "M1" - - ConflictingDevice [ - "Line12" - ] - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "zedi10_mono_in" - Direction Capture - HWChannels 4 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } -} - -SectionDevice."Mic2" { - Comment "M2" - - ConflictingDevice [ - "Line12" - ] - - Value { - CapturePriority 101 - } - Macro.pcm_split.SplitPCMDevice { - Name "zedi10_mono_in" - Direction Capture - HWChannels 4 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } -} - -SectionDevice."Mic3" { - Comment "M3" - - ConflictingDevice [ - "Line34" - ] - - Value { - CapturePriority 102 - } - Macro.pcm_split.SplitPCMDevice { - Name "zedi10_mono_in" - Direction Capture - HWChannels 4 - Channels 1 - Channel0 2 - ChannelPos0 MONO - } -} - -SectionDevice."Mic4" { - Comment "M4" - - ConflictingDevice [ - "Line34" - ] - - Value { - CapturePriority 103 - } - Macro.pcm_split.SplitPCMDevice { - Name "zedi10_mono_in" - Direction Capture - HWChannels 4 - Channels 1 - Channel0 3 - ChannelPos0 MONO - } -} - -SectionDevice."Line12" { - Comment "USB OUT 1-2" - - Value { - CapturePriority 104 - } - Macro.pcm_split.SplitPCMDevice { - Name "zedi10_stereo_in" - Direction Capture - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line34" { - Comment "USB OUT 3-4" - - Value { - CapturePriority 105 - } - Macro.pcm_split.SplitPCMDevice { - Name "zedi10_stereo_in" - Direction Capture - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/AllenAndHeath/Zedi10.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/AllenAndHeath/Zedi10.conf deleted file mode 100644 index 00d22736..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/AllenAndHeath/Zedi10.conf +++ /dev/null @@ -1,12 +0,0 @@ -Comment "Allen & Heath Zedi10 Recording Mode" - -SectionUseCase."Recording" { - Comment "Recording Mode (4 chan output, 4 chan input)" - File "/USB-Audio/AllenAndHeath/Zedi10-Hifi.conf" -} - -Define.DirectCardName "Zedi10" -Define.DirectPlaybackChannels 4 -Define.DirectCaptureChannels 4 - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Arturia/Minifuse-12-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Arturia/Minifuse-12-HiFi.conf deleted file mode 100644 index 3e57c595..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Arturia/Minifuse-12-HiFi.conf +++ /dev/null @@ -1,192 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Define { - HasLine3 "y" - HasMic1 "y" - HasMic2 "y" -} - -If.minifuse1 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB1c75:af80" - } - True.Define { - HasLine3 "" - HasMic2 "" - } -} - -Macro [ - { - SplitPCM { - Name "minifuse12_stereo_out" - Direction Playback - Format S32_LE - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } - { - SplitPCM { - Name "minifuse12_stereo_in" - Direction Capture - Format S32_LE - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } - { - SplitPCM { - Name "minifuse12_mono_in" - Direction Capture - Format S32_LE - Channels 1 - HWChannels 4 - HWChannelPos0 MONO - HWChannelPos1 MONO - HWChannelPos2 MONO - HWChannelPos3 MONO - } - } -] - -DefineMacro.ConflictingLine3 { - If.0 { - Condition { - Type String - Empty "${var:HasLine3}" - } - False.ConflictingDevice [ - "Line3" - ] - } -} - -SectionDevice."Line1" { - Comment "Main Output L/R" - - Value { - PlaybackPriority 300 - } - Macro.pcm_split.SplitPCMDevice { - Name "minifuse12_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line2" { - Comment "Loopback L/R" - - Value { - PlaybackPriority 200 - CapturePriority 200 - } - Macro.pcm_split1.SplitPCMDevice { - Name "minifuse12_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } - Macro.pcm_split2.SplitPCMDevice { - Name "minifuse12_stereo_in" - Direction Capture - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -If.line3 { - Condition { - Type String - Empty "${var:HasLine3}" - } - False.SectionDevice."Line3" { - Comment "Stereo Input 1+2 L/R" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "minifuse12_stereo_in" - Direction Capture - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } - } -} - -If.mic1 { - Condition { - Type String - Empty "${var:HasMic1}" - } - False.SectionDevice."Mic1" { - Comment "Mic/Line/Inst 1 (L)" - - Macro.conflict.ConflictingLine3 { } - - Value { - CapturePriority 400 - } - Macro.pcm_split2.SplitPCMDevice { - Name "minifuse12_mono_in" - Direction Capture - HWChannels 4 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } - } -} - -If.mic2 { - Condition { - Type String - Empty "${var:HasMic2}" - } - False.SectionDevice."Mic2" { - Comment "Mic/Line/Inst 2 (R)" - - Macro.conflict.ConflictingLine3 { } - - Value { - CapturePriority 300 - } - Macro.pcm_split2.SplitPCMDevice { - Name "minifuse12_mono_in" - Direction Capture - HWChannels 4 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Arturia/Minifuse-12.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Arturia/Minifuse-12.conf deleted file mode 100644 index 627ffa95..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Arturia/Minifuse-12.conf +++ /dev/null @@ -1,11 +0,0 @@ -Comment "Arturia Minifuse 1/2" - -SectionUseCase."HiFi" { - Comment "Default Alsa Profile" - File "/USB-Audio/Arturia/Minifuse-12-HiFi.conf" -} - -Define.DirectPlaybackChannels 4 -Define.DirectCaptureChannels 4 - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Arturia/Minifuse-4-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Arturia/Minifuse-4-HiFi.conf deleted file mode 100644 index 3ab91043..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Arturia/Minifuse-4-HiFi.conf +++ /dev/null @@ -1,184 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "minifuse4_stereo_out" - Direction Playback - Format S32_LE - Channels 2 - HWChannels 6 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - HWChannelPos4 FL - HWChannelPos5 FR - } - } - { - SplitPCM { - Name "minifuse4_stereo_in" - Direction Capture - Format S32_LE - Channels 2 - HWChannels 6 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - HWChannelPos4 FL - HWChannelPos5 FR - } - } - { - SplitPCM { - Name "minifuse4_mono_in" - Direction Capture - Format S32_LE - Channels 1 - HWChannels 6 - HWChannelPos0 MONO - HWChannelPos1 MONO - HWChannelPos2 MONO - HWChannelPos3 MONO - HWChannelPos4 MONO - HWChannelPos5 MONO - } - } -] - -SectionDevice."Line1" { - Comment "Main Output 1L/2R" - - Value { - PlaybackPriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "minifuse4_stereo_out" - Direction Playback - HWChannels 6 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - - -SectionDevice."Line2" { - Comment "Stereo Output 3/4" - - Value { - PlaybackPriority 300 - } - Macro.pcm_split.SplitPCMDevice { - Name "minifuse4_stereo_out" - Direction Playback - HWChannels 6 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - - -SectionDevice."Line3" { - Comment "Loopback L/R" - - Value { - PlaybackPriority 200 - CapturePriority 200 - } - Macro.pcm_split1.SplitPCMDevice { - Name "minifuse4_stereo_out" - Direction Playback - HWChannels 6 - Channels 2 - Channel0 4 - Channel1 5 - ChannelPos0 FL - ChannelPos1 FR - } - Macro.pcm_split2.SplitPCMDevice { - Name "minifuse4_stereo_in" - Direction Capture - HWChannels 6 - Channels 2 - Channel0 4 - Channel1 5 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line4" { - Comment "Stereo Input 1+2 L/R" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "minifuse4_stereo_in" - Direction Capture - HWChannels 6 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line5" { - Comment "Stereo Input 3+4 L/R" - - Value { - CapturePriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "minifuse4_stereo_in" - Direction Capture - HWChannels 6 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Mic1" { - Comment "Mic/Line/Inst 1 (L)" - - Value { - CapturePriority 400 - } - Macro.pcm_split2.SplitPCMDevice { - Name "minifuse4_mono_in" - Direction Capture - HWChannels 6 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } -} - -SectionDevice."Mic2" { - Comment "Mic/Line/Inst 2 (R)" - - Value { - CapturePriority 300 - } - Macro.pcm_split2.SplitPCMDevice { - Name "minifuse4_mono_in" - Direction Capture - HWChannels 6 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Arturia/Minifuse-4.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Arturia/Minifuse-4.conf deleted file mode 100644 index fc5a1da1..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Arturia/Minifuse-4.conf +++ /dev/null @@ -1,11 +0,0 @@ -Comment "Arturia Minifuse 4" - -SectionUseCase."HiFi" { - Comment "Default Alsa Profile" - File "/USB-Audio/Arturia/Minifuse-4-HiFi.conf" -} - -Define.DirectPlaybackChannels 6 -Define.DirectCaptureChannels 6 - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Audient/Audient-iD4-0003.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Audient/Audient-iD4-0003.conf deleted file mode 100644 index 82dcac3b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Audient/Audient-iD4-0003.conf +++ /dev/null @@ -1,11 +0,0 @@ -Comment "Audient iD4 USB-Audio" - -SectionUseCase."HiFi" { - Comment "Default Alsa Profile" - File "/USB-Audio/Audient/Audient-iD4-HiFi-0003.conf" -} - -Define.DirectPlaybackChannels 2 -Define.DirectCaptureChannels 2 - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Audient/Audient-iD4-0009.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Audient/Audient-iD4-0009.conf deleted file mode 100644 index ebaf5418..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Audient/Audient-iD4-0009.conf +++ /dev/null @@ -1,11 +0,0 @@ -Comment "Audient iD4 USB-Audio" - -SectionUseCase."HiFi" { - Comment "Default Alsa Profile" - File "/USB-Audio/Audient/Audient-iD4-HiFi-0009.conf" -} - -Define.DirectPlaybackChannels 4 -Define.DirectCaptureChannels 4 - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Audient/Audient-iD4-HiFi-0003.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Audient/Audient-iD4-HiFi-0003.conf deleted file mode 100644 index 95c9f110..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Audient/Audient-iD4-HiFi-0003.conf +++ /dev/null @@ -1,55 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "id4_mono_in" - Direction Capture - Channels 1 - HWChannels 2 - HWChannelPos0 FL - HWChannelPos1 FR - } - } -] - -SectionDevice."Headphones" { - Comment "Headphones / Monitor" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } -} - -SectionDevice."Mic" { - Comment "XLR Microphone" - - Value { - CapturePriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "id4_mono_in" - Direction Capture - HWChannels 2 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } -} - -SectionDevice."Line" { - Comment "DI Input" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "id4_mono_in" - Direction Capture - HWChannels 2 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Audient/Audient-iD4-HiFi-0009.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Audient/Audient-iD4-HiFi-0009.conf deleted file mode 100644 index 05a1d1ea..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Audient/Audient-iD4-HiFi-0009.conf +++ /dev/null @@ -1,100 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "id4_stereo_out" - Direction Playback - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } - { - SplitPCM { - Name "id4_stereo_in" - Direction Capture - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } -] - -SectionDevice."Speaker" { - Comment "Speaker" - - Value { - PlaybackPriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "id4_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Headphones" { - Comment "Headphones / Monitor" - - Value { - PlaybackPriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "id4_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Mic" { - Comment "XLR Microphone" - - Value { - CapturePriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "id4_stereo_in" - Direction Capture - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line1" { - Comment "Line Input" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "id4_stereo_in" - Direction Capture - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/Flow8-Recording-Hifi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/Flow8-Recording-Hifi.conf deleted file mode 100644 index 7215b9b0..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/Flow8-Recording-Hifi.conf +++ /dev/null @@ -1,289 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "flow8_stereo_out" - Direction Playback - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } - { - SplitPCM { - Name "flow8_stereo_in" - Direction Capture - Channels 2 - HWChannels 10 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - HWChannelPos4 FL - HWChannelPos5 FR - HWChannelPos6 FL - HWChannelPos7 FR - HWChannelPos8 FL - HWChannelPos9 FR - } - } - { - SplitPCM { - Name "flow8_mono_in" - Direction Capture - Channels 1 - HWChannels 10 - HWChannelPos0 MONO - HWChannelPos1 MONO - HWChannelPos2 MONO - HWChannelPos3 MONO - HWChannelPos4 MONO - HWChannelPos5 MONO - HWChannelPos6 MONO - HWChannelPos7 MONO - HWChannelPos8 MONO - HWChannelPos9 MONO - } - } -] - -SectionDevice."Line1" { - Comment "USB-12 L/R" - - Value { - PlaybackPriority 100 - } - - Macro.pcm_split.SplitPCMDevice { - Name "flow8_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line2" { - Comment "USB-34 L/R" - - Value { - PlaybackPriority 200 - } - - Macro.pcm_split.SplitPCMDevice { - Name "flow8_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Mic1" { - Comment "Mic 1" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "flow8_mono_in" - Direction Capture - HWChannels 10 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } -} - -SectionDevice."Mic2" { - Comment "Mic 2" - - Value { - CapturePriority 101 - } - Macro.pcm_split.SplitPCMDevice { - Name "flow8_mono_in" - Direction Capture - HWChannels 10 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } -} - -SectionDevice."Mic3" { - Comment "Mic 3" - - Value { - CapturePriority 102 - } - Macro.pcm_split.SplitPCMDevice { - Name "flow8_mono_in" - Direction Capture - HWChannels 10 - Channels 1 - Channel0 2 - ChannelPos0 MONO - } -} - -SectionDevice."Mic4" { - Comment "Mic 4" - - Value { - CapturePriority 103 - } - Macro.pcm_split.SplitPCMDevice { - Name "flow8_mono_in" - Direction Capture - HWChannels 10 - Channels 1 - Channel0 3 - ChannelPos0 MONO - } -} - -SectionDevice."Line5" { - Comment "Line/Inst 5 (L)" - - ConflictingDevice [ - "Line56" - ] - - Value { - CapturePriority 104 - } - Macro.pcm_split.SplitPCMDevice { - Name "flow8_mono_in" - Direction Capture - HWChannels 10 - Channels 1 - Channel0 4 - ChannelPos0 MONO - } -} - -SectionDevice."Line6" { - Comment "Line/Inst(HiZ) 6 (R)" - - ConflictingDevice [ - "Line56" - ] - - Value { - CapturePriority 105 - } - Macro.pcm_split.SplitPCMDevice { - Name "flow8_mono_in" - Direction Capture - HWChannels 10 - Channels 1 - Channel0 5 - ChannelPos0 MONO - } -} - -SectionDevice."Line7" { - Comment "Line/Inst 7 (L)" - - ConflictingDevice [ - "Line78" - ] - - Value { - CapturePriority 106 - } - Macro.pcm_split.SplitPCMDevice { - Name "flow8_mono_in" - Direction Capture - HWChannels 10 - Channels 1 - Channel0 6 - ChannelPos0 MONO - } -} - -SectionDevice."Line8" { - Comment "Line/Inst(HiZ) 8 (R)" - - ConflictingDevice [ - "Line78" - ] - - Value { - CapturePriority 107 - } - Macro.pcm_split.SplitPCMDevice { - Name "flow8_mono_in" - Direction Capture - HWChannels 10 - Channels 1 - Channel0 7 - ChannelPos0 MONO - } -} - - -SectionDevice."Line56" { - Comment "Line-56 L/R" - - Value { - CapturePriority 108 - } - Macro.pcm_split.SplitPCMDevice { - Name "flow8_stereo_in" - Direction Capture - HWChannels 10 - Channels 2 - Channel0 4 - Channel1 5 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line78" { - Comment "Line-78 L/R" - - Value { - CapturePriority 109 - } - Macro.pcm_split.SplitPCMDevice { - Name "flow8_stereo_in" - Direction Capture - HWChannels 10 - Channels 2 - Channel0 6 - Channel1 7 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."LineMaster" { - Comment "Master/Monitor L/R" - - Value { - CapturePriority 110 - } - Macro.pcm_split.SplitPCMDevice { - Name "flow8_stereo_in" - Direction Capture - HWChannels 10 - Channels 2 - Channel0 8 - Channel1 9 - ChannelPos0 FL - ChannelPos1 FR - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/Flow8-Recording.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/Flow8-Recording.conf deleted file mode 100644 index 173901ac..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/Flow8-Recording.conf +++ /dev/null @@ -1,12 +0,0 @@ -Comment "Behringer Flow8 Recording Mode" - -SectionUseCase."Recording" { - Comment "Recording Mode (4 chan output, 10 chan input)" - File "/USB-Audio/Behringer/Flow8-Recording-Hifi.conf" -} - -Define.DirectCardName "Flow8 Recording" -Define.DirectPlaybackChannels 4 -Define.DirectCaptureChannels 10 - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/Flow8-Streaming-Hifi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/Flow8-Streaming-Hifi.conf deleted file mode 100644 index 0b18abde..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/Flow8-Streaming-Hifi.conf +++ /dev/null @@ -1,82 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "flow8_stereo_out" - Direction Playback - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } - { - SplitPCM { - Name "flow8_stereo_in" - Direction Capture - Channels 2 - HWChannels 2 - HWChannelPos0 FL - HWChannelPos1 FR - } - } -] - -SectionDevice."Line1" { - Comment "USB-12 L/R" - - Value { - PlaybackPriority 100 - } - - Macro.pcm_split.SplitPCMDevice { - Name "flow8_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line2" { - Comment "USB-34 L/R" - - Value { - PlaybackPriority 200 - } - - Macro.pcm_split.SplitPCMDevice { - Name "flow8_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line3" { - Comment "Master/Mon L/R" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "flow8_stereo_in" - Direction Capture - HWChannels 2 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/Flow8-Streaming.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/Flow8-Streaming.conf deleted file mode 100644 index d8152f8e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/Flow8-Streaming.conf +++ /dev/null @@ -1,12 +0,0 @@ -Comment "Behringer Flow8 Streaming Mode" - -SectionUseCase."Streaming" { - Comment "Streaming Mode (4 chan output, 2 chan input)" - File "/USB-Audio/Behringer/Flow8-Streaming-Hifi.conf" -} - -Define.DirectCardName "Flow8 Streaming" -Define.DirectPlaybackChannels 4 -Define.DirectCaptureChannels 2 - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC202HD-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC202HD-HiFi.conf deleted file mode 100644 index 1b4f118c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC202HD-HiFi.conf +++ /dev/null @@ -1,88 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "umc202hd_mono_in" - Direction Capture - Channels 1 - HWChannels 2 - HWChannelPos0 MONO - HWChannelPos1 MONO - } - } -] - -Define.PCMMixerName "PCM" - -If.pcm_controls { - Condition { - Type ControlExists - Control "name='UMC202HD 192k Output Playback Switch'" - } - True.Define.PCMMixerName "UMC202HD 192k Output" -} - -Include.ctl_remap.File "/common/ctl/remap.conf" - -Macro [ - { - CtlRemapMonoVolSw { - Dst "Input 1 Capture" - Src "Mic Capture" - Index 0 - } - } - { - CtlRemapMonoVolSw { - Dst "Input 2 Capture" - Src "Mic Capture" - Index 1 - } - } -] - -SectionDevice."Line1" { - Comment "Line A" - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "${var:PCMMixerName}" - } -} - -SectionDevice."Mic1" { - Comment "Input 1" - - Value { - CapturePriority 200 - CaptureMixer "default:${CardId}" - CaptureMixerElem "Input 1" - } - Macro.pcm_split.SplitPCMDevice { - Name "umc202hd_mono_in" - Direction Capture - HWChannels 2 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } -} - -SectionDevice."Mic2" { - Comment "Input 2" - - Value { - CapturePriority 100 - CaptureMixer "default:${CardId}" - CaptureMixerElem "Input 2" - } - Macro.pcm_split.SplitPCMDevice { - Name "umc202hd_mono_in" - Direction Capture - HWChannels 2 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC202HD.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC202HD.conf deleted file mode 100644 index 5f5e5f50..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC202HD.conf +++ /dev/null @@ -1,11 +0,0 @@ -Comment "Behringer UMC202HD" - -SectionUseCase."HiFi" { - Comment "Default" - File "/USB-Audio/Behringer/UMC202HD-HiFi.conf" -} - -Define.DirectPlaybackChannels 2 -Define.DirectCaptureChannels 2 - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC204HD-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC204HD-HiFi.conf deleted file mode 100644 index 19660d21..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC204HD-HiFi.conf +++ /dev/null @@ -1,148 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "umc204hd_stereo_out" - Direction Playback - Format S32_LE - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } - { - SplitPCM { - Name "umc204hd_mono_in" - Direction Capture - Format S32_LE - Channels 1 - HWChannels 2 - HWChannelPos0 MONO - HWChannelPos1 MONO - } - } -] - -Define.PCMCTLName "PCM Playback" - -If.pcm_controls { - Condition { - Type ControlExists - Control "name='UMC204HD 192k Output Playback Switch'" - } - True.Define.PCMCTLName "UMC204HD 192k Output Playback" -} - -Include.ctl_remap.File "/common/ctl/remap.conf" - -Macro [ - { - CtlRemapStereoVolSw { - Dst "Line A Playback" - Src "${var:PCMCTLName}" - Index0 0 - Index1 1 - } - } - { - CtlRemapStereoVolSw { - Dst "Line B Playback" - Src "${var:PCMCTLName}" - Index0 2 - Index1 3 - } - } - { - CtlRemapMonoVolSw { - Dst "Input 1 Capture" - Src "Mic Capture" - Index 0 - } - } - { - CtlRemapMonoVolSw { - Dst "Input 2 Capture" - Src "Mic Capture" - Index 1 - } - } -] - -SectionDevice."Line1" { - Comment "Line A" - Value { - PlaybackPriority 200 - PlaybackMixer "default:${CardId}" - PlaybackMixerElem "Line A" - } - Macro.pcm_split.SplitPCMDevice { - Name "umc204hd_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line2" { - Comment "Line B" - - Value { - PlaybackPriority 100 - PlaybackMixer "default:${CardId}" - PlaybackMixerElem "Line B" - } - Macro.pcm_split.SplitPCMDevice { - Name "umc204hd_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Mic1" { - Comment "Input 1" - - Value { - CapturePriority 200 - CaptureMixer "default:${CardId}" - CaptureMixerElem "Input 1" - } - Macro.pcm_split.SplitPCMDevice { - Name "umc204hd_mono_in" - Direction Capture - HWChannels 2 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } -} - -SectionDevice."Mic2" { - Comment "Input 2" - - Value { - CapturePriority 100 - CaptureMixer "default:${CardId}" - CaptureMixerElem "Input 2" - } - Macro.pcm_split.SplitPCMDevice { - Name "umc204hd_mono_in" - Direction Capture - HWChannels 2 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC204HD.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC204HD.conf deleted file mode 100644 index 2ce9b3b6..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC204HD.conf +++ /dev/null @@ -1,11 +0,0 @@ -Comment "Behringer UMC204HD" - -SectionUseCase."HiFi" { - Comment "Default" - File "/USB-Audio/Behringer/UMC204HD-HiFi.conf" -} - -Define.DirectPlaybackChannels 4 -Define.DirectCaptureChannels 2 - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC404HD-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC404HD-HiFi.conf deleted file mode 100644 index df45dca9..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC404HD-HiFi.conf +++ /dev/null @@ -1,200 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "umc404hd_stereo_out" - Direction Playback - Format S32_LE - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } - { - SplitPCM { - Name "umc404hd_mono_in" - Direction Capture - Format S32_LE - Channels 1 - HWChannels 4 - HWChannelPos0 MONO - HWChannelPos1 MONO - HWChannelPos2 MONO - HWChannelPos3 MONO - } - } -] - -Define.PCMCTLName "PCM Playback" - -If.pcm_controls { - Condition { - Type ControlExists - Control "name='UMC404HD 192k Output Playback Switch'" - } - True.Define.PCMCTLName "UMC404HD 192k Output Playback" -} - -Include.ctl_remap.File "/common/ctl/remap.conf" - -Macro [ - { - CtlRemapStereoVolSw { - Dst "Line A Playback" - Src "${var:PCMCTLName}" - Index0 0 - Index1 1 - } - } - { - CtlRemapStereoVolSw { - Dst "Line B Playback" - Src "${var:PCMCTLName}" - Index0 2 - Index1 3 - } - } - { - CtlRemapMonoVolSw { - Dst "Input 1 Capture" - Src "Mic Capture" - Index 0 - } - } - { - CtlRemapMonoVolSw { - Dst "Input 2 Capture" - Src "Mic Capture" - Index 1 - } - } - { - CtlRemapMonoVolSw { - Dst "Input 3 Capture" - Src "Mic Capture" - Index 2 - } - } - { - CtlRemapMonoVolSw { - Dst "Input 4 Capture" - Src "Mic Capture" - Index 3 - } - } -] - -SectionDevice."Line1" { - Comment "Line A" - Value { - PlaybackPriority 200 - PlaybackMixer "default:${CardId}" - PlaybackMixerElem "Line A" - } - Macro.pcm_split.SplitPCMDevice { - Name "umc404hd_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line2" { - Comment "Line B" - - Value { - PlaybackPriority 100 - PlaybackMixer "default:${CardId}" - PlaybackMixerElem "Line B" - } - Macro.pcm_split.SplitPCMDevice { - Name "umc404hd_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Mic1" { - Comment "Input 1" - - Value { - CapturePriority 400 - CaptureMixer "default:${CardId}" - CaptureMixerElem "Input 1" - } - Macro.pcm_split.SplitPCMDevice { - Name "umc404hd_mono_in" - Direction Capture - HWChannels 4 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } -} - -SectionDevice."Mic2" { - Comment "Input 2" - - Value { - CapturePriority 300 - CaptureMixer "default:${CardId}" - CaptureMixerElem "Input 2" - } - Macro.pcm_split.SplitPCMDevice { - Name "umc404hd_mono_in" - Direction Capture - HWChannels 4 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } -} - -SectionDevice."Mic3" { - Comment "Input 3" - - Value { - CapturePriority 200 - CaptureMixer "default:${CardId}" - CaptureMixerElem "Input 3" - } - Macro.pcm_split.SplitPCMDevice { - Name "umc404hd_mono_in" - Direction Capture - HWChannels 4 - Channels 1 - Channel0 2 - ChannelPos0 MONO - } -} - -SectionDevice."Mic4" { - Comment "Input 4" - - Value { - CapturePriority 100 - CaptureMixer "default:${CardId}" - CaptureMixerElem "Input 4" - } - Macro.pcm_split.SplitPCMDevice { - Name "umc404hd_mono_in" - Direction Capture - HWChannels 4 - Channels 1 - Channel0 3 - ChannelPos0 MONO - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC404HD.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC404HD.conf deleted file mode 100644 index 91f231b4..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Behringer/UMC404HD.conf +++ /dev/null @@ -1,11 +0,0 @@ -Comment "Behringer UMC404HD" - -SectionUseCase."HiFi" { - Comment "Default" - File "/USB-Audio/Behringer/UMC404HD-HiFi.conf" -} - -Define.DirectPlaybackChannels 4 -Define.DirectCaptureChannels 4 - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Common/HeadphonesOnly-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Common/HeadphonesOnly-HiFi.conf deleted file mode 100644 index 75e42c60..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Common/HeadphonesOnly-HiFi.conf +++ /dev/null @@ -1,7 +0,0 @@ -SectionDevice."Headphones" { - Comment "Headphones" - Value { - PlaybackPCM "hw:${CardId},0" - PlaybackMixerElem "PCM" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Common/HeadphonesOnly.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Common/HeadphonesOnly.conf deleted file mode 100644 index 20bb8a66..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Common/HeadphonesOnly.conf +++ /dev/null @@ -1,6 +0,0 @@ -Comment "${CardName}" - -SectionUseCase."HiFi" { - Comment "Default" - File "/USB-Audio/Common/HeadphonesOnly-HiFi.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/Desktop-Front-Speaker-Headset.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/Desktop-Front-Speaker-Headset.conf deleted file mode 100644 index f9cfa614..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/Desktop-Front-Speaker-Headset.conf +++ /dev/null @@ -1,32 +0,0 @@ -SectionDevice."Speaker" { - Comment "Built-in Speaker" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - JackControl "Speaker - Output Jack" - PlaybackMixerElem "Speaker" - } -} - -SectionDevice."Headphones" { - Comment "Headset/Headphones" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},1" - JackControl "Headphone - Output Jack" - PlaybackMixerElem "Headphone" - } -} - -SectionDevice."Microphone" { - Comment "Microphone" - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - JackControl "Mic - Input Jack" - CaptureMixerElem "Mic" - } -} \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/Desktop-Front.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/Desktop-Front.conf deleted file mode 100644 index d5c439ca..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/Desktop-Front.conf +++ /dev/null @@ -1,6 +0,0 @@ -Syntax 2 -Comment "USB-audio on the front of Dell Desktop" -SectionUseCase."HiFi" { - Comment "Internal Speaker/Front Headset" - File "/USB-Audio/Dell/Desktop-Front-Speaker-Headset.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/Desktop-Rear-Line.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/Desktop-Rear-Line.conf deleted file mode 100644 index f3edfd99..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/Desktop-Rear-Line.conf +++ /dev/null @@ -1,10 +0,0 @@ -SectionDevice."Line" { - Comment "Line Out" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - JackControl "Line - Output Jack" - PlaybackMixerElem "PCM" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/Desktop-Rear.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/Desktop-Rear.conf deleted file mode 100644 index 0237379b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/Desktop-Rear.conf +++ /dev/null @@ -1,6 +0,0 @@ -Syntax 2 -Comment "USB-audio on the rear of Dell Desktop" -SectionUseCase."Line" { - Comment "Line Out" - File "/USB-Audio/Dell/Desktop-Rear-Line.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/WD15-Dock-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/WD15-Dock-HiFi.conf deleted file mode 100644 index b031a39e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/WD15-Dock-HiFi.conf +++ /dev/null @@ -1,65 +0,0 @@ -SectionDevice."Headphones" { - Comment "Headphones" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - - If.Headphone_ctl { - Condition { - Type ControlExists - Control "name='Headphone Playback Switch'" - } - True { - PlaybackMixerElem "Headphone" - PlaybackVolume "Headphone Playback Volume" - PlaybackSwitch "Headphone Playback Switch" - } - } - } -} - -SectionDevice."Line" { - Comment "Line Out" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},1" - JackControl "Line Out Jack" - - If.Line_ctl { - Condition { - Type ControlExists - Control "name='Line Playback Switch'" - } - True { - PlaybackMixerElem "Line" - PlaybackVolume "Line Playback Volume" - PlaybackSwitch "Line Playback Switch" - } - } - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - JackControl "Headset Mic Jack" - - If.Mic_ctl { - Condition { - Type ControlExists - Control "name='Mic Capture Switch'" - } - True { - CaptureMixerElem "Mic" - CaptureVolume "Mic Capture Volume" - CaptureSwitch "Mic Capture Switch" - } - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/WD15-Dock.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/WD15-Dock.conf deleted file mode 100644 index 33874e95..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Dell/WD15-Dock.conf +++ /dev/null @@ -1,6 +0,0 @@ -Syntax 2 -Comment "USB-audio on Dell WD15 docking station" -SectionUseCase."HiFi" { - File "/USB-Audio/Dell/WD15-Dock-HiFi.conf" - Comment "Default" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Digidesign/Digidesign-Mbox-3-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Digidesign/Digidesign-Mbox-3-HiFi.conf deleted file mode 100644 index 7219bea3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Digidesign/Digidesign-Mbox-3-HiFi.conf +++ /dev/null @@ -1,126 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "mbox3_stereo_out" - Direction Playback - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } - { - SplitPCM { - Name "mbox3_stereo_in" - Direction Capture - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } - { - SplitPCM { - Name "mbox3_mono_in" - Direction Capture - Channels 1 - HWChannels 4 - HWChannelPos0 MONO - HWChannelPos1 MONO - HWChannelPos2 MONO - HWChannelPos3 MONO - } - } -] - -SectionDevice."Line1" { - Comment "Main Output L/R" - - Value { - PlaybackPriority 300 - } - Macro.pcm_split.SplitPCMDevice { - Name "mbox3_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - - -SectionDevice."line2SPDIF" { - Comment "SPDIF Out" - Value { - PlaybackPriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "mbox3_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."mic1" { - Comment "Mic/Line 1" - - Value { - CapturePriority 300 - } - Macro.pcm_split.SplitPCMDevice { - Name "mbox3_mono_in" - Direction Capture - HWChannels 4 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } -} - -SectionDevice."mic2" { - Comment "Mic/Line 2" - - Value { - CapturePriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "mbox3_mono_in" - Direction Capture - HWChannels 4 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } -} - -SectionDevice."mic3SPDIF" { - Comment "SPDIF In" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "mbox3_stereo_in" - Direction Capture - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Digidesign/Digidesign-Mbox-3.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Digidesign/Digidesign-Mbox-3.conf deleted file mode 100644 index d6e19f92..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Digidesign/Digidesign-Mbox-3.conf +++ /dev/null @@ -1,11 +0,0 @@ -Comment "Digidesign Mbox 3" - -SectionUseCase."Mixer" { - Comment "Stereo Duplex" - File "/USB-Audio/Digidesign/Digidesign-Mbox-3-HiFi.conf" -} - -Define.DirectPlaybackChannels 4 -Define.DirectCaptureChannels 4 - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Focusrite/Scarlett-2i-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Focusrite/Scarlett-2i-HiFi.conf deleted file mode 100644 index 0484dc78..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Focusrite/Scarlett-2i-HiFi.conf +++ /dev/null @@ -1,123 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "scarlett2i_mono_in" - Direction Capture - Format S32_LE - Channels 1 - HWChannels 2 - HWChannelPos0 MONO - HWChannelPos1 MONO - } - } -] - -If.2i4 { - Condition { - Type String - String1 "${var:PlaybackChannels}" - String2 "4" - } - True.Macro [ - { - SplitPCM { - Name "scarlett2i_stereo_out" - Direction Playback - Format S32_LE - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } - ] -} - -SectionDevice."Line1" { - Comment "${var:Playback1Name}" - - Value { - PlaybackPriority 200 - } - If.2i4 { - Condition { - Type String - String1 "${var:PlaybackChannels}" - String2 "4" - } - True.Macro.pcm_split.SplitPCMDevice { - Name "scarlett2i_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } - False.Value { - PlaybackPCM "hw:${CardId}" - } - } -} - -If.2i4 { - Condition { - Type String - String1 "${var:PlaybackChannels}" - String2 "4" - } - True.SectionDevice."Line2" { - Comment "${var:Playback2Name}" - - Value { - PlaybackPriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "scarlett2i_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } - } -} - -SectionDevice."Mic1" { - Comment "${var:Capture1Name}" - - Value { - CapturePriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "scarlett2i_mono_in" - Direction Capture - HWChannels 2 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } -} - -SectionDevice."Mic2" { - Comment "${var:Capture2Name}" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "scarlett2i_mono_in" - Direction Capture - HWChannels 2 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Focusrite/Scarlett-2i.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Focusrite/Scarlett-2i.conf deleted file mode 100644 index 7492e574..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Focusrite/Scarlett-2i.conf +++ /dev/null @@ -1,65 +0,0 @@ -Define { - PlaybackChannels 2 - DirectPlaybackChannels 2 - DirectCaptureChannels 2 - Model "2i2" - Playback1Name "Headphones / Line 1-2" - Playback2Name "Line 3-4" - Capture1Name "Input 1 Mic/Inst/Line" - Capture2Name "Input 2 Mic/Inst/Line" - Generation "1st" -} - -If.solo { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB1235:8(01c|2(05|11))" - } - True.Define { - Model "Solo" - Capture1Name "Input 1 Mic" - Capture2Name "Input 2 Inst/Line" - } -} - -If.2i4 { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB1235:8(00a|200)" - } - True.Define { - PlaybackChannels 4 - DirectPlaybackChannels 4 - Model "2i4" - Playback1Name "Line 1-2" - } -} - -If.gen2 { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB1235:820[025]" - } - True.Define.Generation "2nd" -} - -If.gen3 { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB1235:821[01]" - } - True.Define.Generation "3rd" -} - -Comment "Focusrite Scarlett ${var:Model} ${var:Generation} Gen" - -SectionUseCase."HiFi" { - Comment "Default" - File "/USB-Audio/Focusrite/Scarlett-2i-HiFi.conf" -} - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Gigabyte/Aorus-Master-Main-Audio-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Gigabyte/Aorus-Master-Main-Audio-HiFi.conf deleted file mode 100644 index 7737cddf..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Gigabyte/Aorus-Master-Main-Audio-HiFi.conf +++ /dev/null @@ -1,61 +0,0 @@ -Define.SecondaryCardId "$${find-card:field=name,return=id,regex='Aorus Master Front Headphone'}" - -SectionDevice."Speaker" { - Comment "Speakers" - Value { - PlaybackChannels 8 - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Line Out Jack" - PlaybackMixerElem "Line Out" - } -} - -SectionDevice."Headphones" { - Comment "Front Headphones" - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${var:SecondaryCardId}" - JackCTL "hw:${var:SecondaryCardId}" - JackControl "Headphone - Output Jack" - } -} - -SectionDevice."SPDIF" { - Comment "S/PDIF Out" - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},1" - # PlaybackMixerElem "IEC958" - } -} - -SectionDevice."Line" { - Comment "Line In" - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - JackControl "Line Jack" - CaptureMixerElem "Line" - } -} - -SectionDevice."Mic1" { - Comment "Microphone" - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},1" - JackControl "Mic Jack" - CaptureMixerElem "Mic" - } -} - -SectionDevice."Mic2" { - Comment "Front Microphone" - Value { - CapturePriority 300 - CapturePCM "hw:${CardId},2" - JackControl "Front Mic Jack" - CaptureMixerElem "Front Mic" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Gigabyte/Aorus-Master-Main-Audio.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Gigabyte/Aorus-Master-Main-Audio.conf deleted file mode 100644 index 8f073c67..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Gigabyte/Aorus-Master-Main-Audio.conf +++ /dev/null @@ -1,5 +0,0 @@ -Comment "Gigabyte Aorus Integrated Audio" -SectionUseCase."HiFi" { - File "/USB-Audio/Gigabyte/Aorus-Master-Main-Audio-HiFi.conf" - Comment "Default Alsa Profile" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/GoXLR/GoXLR-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/GoXLR/GoXLR-HiFi.conf deleted file mode 100644 index 8c12f53d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/GoXLR/GoXLR-HiFi.conf +++ /dev/null @@ -1,197 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "goxlr_stereo_out" - Direction Playback - Channels 2 - HWChannels 10 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - HWChannelPos4 FL - HWChannelPos5 FR - HWChannelPos6 FL - HWChannelPos7 FR - HWChannelPos8 FL - HWChannelPos9 FR - } - } - { - SplitPCM { - Name "goxlr_stereo_in" - Direction Capture - Channels 2 - HWChannels 23 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - HWChannelPos4 FL - HWChannelPos5 FR - HWChannelPos6 FL - HWChannelPos7 FR - HWChannelPos8 FL - HWChannelPos9 FR - HWChannelPos10 FL - HWChannelPos11 FR - HWChannelPos12 FL - HWChannelPos13 FR - HWChannelPos14 FL - HWChannelPos15 FR - HWChannelPos16 FL - HWChannelPos17 FR - HWChannelPos18 FL - HWChannelPos19 FR - HWChannelPos20 FL - HWChannelPos21 FR - HWChannelPos22 MONO - } - } -] - -SectionDevice."Speaker" { - Comment "System" - - Value { - PlaybackPriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "goxlr_stereo_out" - Direction Playback - HWChannels 10 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line1" { - Comment "Game" - - Value { - PlaybackPriority 300 - } - Macro.pcm_split.SplitPCMDevice { - Name "goxlr_stereo_out" - Direction Playback - HWChannels 10 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line2" { - Comment "Music" - - Value { - PlaybackPriority 400 - } - Macro.pcm_split.SplitPCMDevice { - Name "goxlr_stereo_out" - Direction Playback - HWChannels 10 - Channels 2 - Channel0 6 - Channel1 7 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Headphones" { - Comment "Chat" - - Value { - PlaybackPriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "goxlr_stereo_out" - Direction Playback - HWChannels 10 - Channels 2 - Channel0 4 - Channel1 5 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line3" { - Comment "Sample" - - Value { - PlaybackPriority 500 - } - Macro.pcm_split.SplitPCMDevice { - Name "goxlr_stereo_out" - Direction Playback - HWChannels 10 - Channels 2 - Channel0 8 - Channel1 9 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line4" { - Comment "Broadcast Stream Mix" - - Value { - CapturePriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "goxlr_stereo_in" - Direction Capture - HWChannels 23 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Headset" { - Comment "Chat Mic" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "goxlr_stereo_in" - Direction Capture - HWChannels 23 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line5" { - Comment "Sampler" - - Value { - CapturePriority 300 - } - Macro.pcm_split.SplitPCMDevice { - Name "goxlr_stereo_in" - Direction Capture - HWChannels 23 - Channels 2 - Channel0 4 - Channel1 5 - ChannelPos0 FL - ChannelPos1 FR - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/GoXLR/GoXLR.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/GoXLR/GoXLR.conf deleted file mode 100644 index 6f1f2af9..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/GoXLR/GoXLR.conf +++ /dev/null @@ -1,11 +0,0 @@ -Comment "GoXLR USB-Audio" - -SectionUseCase."HiFi" { - Comment "Default Alsa Profile" - File "/USB-Audio/GoXLR/GoXLR-HiFi.conf" -} - -Define.DirectPlaybackChannels 10 -Define.DirectCaptureChannels 23 - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Lenovo/ThinkStation-P620-Main-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Lenovo/ThinkStation-P620-Main-HiFi.conf deleted file mode 100644 index 695dfba2..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Lenovo/ThinkStation-P620-Main-HiFi.conf +++ /dev/null @@ -1,30 +0,0 @@ -SectionDevice."Headphones" { - Comment "Headphones" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},1" - JackControl "Headphone - Output Jack" - } -} - -SectionDevice."Mic" { - Comment "Mic" - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - JackControl "Mic - Input Jack" - CaptureMixerElem "Mic" - } -} - -SectionDevice."Speaker" { - Comment "Speaker" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - JackControl "Speaker - Output Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Lenovo/ThinkStation-P620-Main.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Lenovo/ThinkStation-P620-Main.conf deleted file mode 100644 index 815a9c28..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Lenovo/ThinkStation-P620-Main.conf +++ /dev/null @@ -1,5 +0,0 @@ -Comment "USB-audio on Lenovo ThinkStation P620 Main Audio" -SectionUseCase."HiFi" { - Comment "Default" - File "/USB-Audio/Lenovo/ThinkStation-P620-Main-HiFi.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Lenovo/ThinkStation-P620-Rear-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Lenovo/ThinkStation-P620-Rear-HiFi.conf deleted file mode 100644 index 9777a540..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Lenovo/ThinkStation-P620-Rear-HiFi.conf +++ /dev/null @@ -1,31 +0,0 @@ -SectionDevice."Line" { - Comment "Line In" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - JackControl "Line - Input Jack" - CaptureMixerElem "Line" - } -} - -SectionDevice."Mic" { - Comment "Mic" - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},1" - JackControl "Mic - Input Jack" - CaptureMixerElem "Mic" - } -} - -SectionDevice."Speaker" { - Comment "Speaker" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - JackControl "Speaker - Output Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Lenovo/ThinkStation-P620-Rear.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Lenovo/ThinkStation-P620-Rear.conf deleted file mode 100644 index 371c1d8c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Lenovo/ThinkStation-P620-Rear.conf +++ /dev/null @@ -1,5 +0,0 @@ -Comment "USB-audio on Lenovo ThinkStation P620 Rear Audio" -SectionUseCase."HiFi" { - Comment "Default" - File "/USB-Audio/Lenovo/ThinkStation-P620-Rear-HiFi.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M2-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M2-HiFi.conf deleted file mode 100644 index bca8ff76..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M2-HiFi.conf +++ /dev/null @@ -1,87 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "m2_mono_in" - Direction Capture - Channels 1 - HWChannels 2 - HWChannelPos0 MONO - HWChannelPos1 MONO - } - } - { - SplitPCM { - Name "m2_stereo_in" - Direction Capture - Channels 2 - HWChannels 2 - HWChannelPos0 FL - HWChannelPos1 FR - } - } -] - -SectionDevice."Line1" { - Comment "Headphone + Monitor Out" - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - } -} - -SectionDevice."Mic1" { - Comment "Mic In 1L" - - Value { - CapturePriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "m2_mono_in" - Direction Capture - HWChannels 2 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } -} - -SectionDevice."Mic2" { - Comment "Mic In 2R" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "m2_mono_in" - Direction Capture - HWChannels 2 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } -} - -SectionDevice."Mic3" { - Comment "Stereo Mic In 1L+2R" - - ConflictingDevice [ - "Mic1" - "Mic2" - ] - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "m2_stereo_in" - Direction Capture - HWChannels 2 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M2.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M2.conf deleted file mode 100644 index 9c4bc76e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M2.conf +++ /dev/null @@ -1,12 +0,0 @@ -Comment "MOTU M2" - -SectionUseCase."HiFi" { - Comment "Analog Stereo Outputs + Inputs" - File "/USB-Audio/MOTU/M2-HiFi.conf" -} - -Define.DirectPlaybackChannels 2 -Define.DirectCaptureChannels 2 - -Include.dhw.File "/common/direct.conf" - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M4-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M4-HiFi.conf deleted file mode 100644 index 447a940a..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M4-HiFi.conf +++ /dev/null @@ -1,186 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "m4_stereo_out" - Direction Playback - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } - { - SplitPCM { - Name "m4_mono_in" - Direction Capture - Channels 1 - HWChannels 4 - HWChannelPos0 MONO - HWChannelPos1 MONO - HWChannelPos2 MONO - HWChannelPos3 MONO - } - } - { - SplitPCM { - Name "m4_stereo_in" - Direction Capture - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } -] - -SectionDevice."Line1" { - Comment "Headphone + Monitor Out" - Value { - PlaybackPriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "m4_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line2" { - Comment "Line Out" - - Value { - PlaybackPriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "m4_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Mic1" { - Comment "Mic In 1L" - - Value { - CapturePriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "m4_mono_in" - Direction Capture - HWChannels 4 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } -} - -SectionDevice."Mic2" { - Comment "Mic In 2R" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "m4_mono_in" - Direction Capture - HWChannels 4 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } -} - -SectionDevice."Line3" { - Comment "Line In L" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "m4_mono_in" - Direction Capture - HWChannels 4 - Channels 1 - Channel0 2 - ChannelPos0 MONO - } -} - -SectionDevice."Line4" { - Comment "Line In R" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "m4_mono_in" - Direction Capture - HWChannels 4 - Channels 1 - Channel0 3 - ChannelPos0 MONO - } -} - -SectionDevice."Mic3" { - Comment "Stereo Mic In 1L+2R" - - ConflictingDevice [ - "Mic1" - "Mic2" - ] - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "m4_stereo_in" - Direction Capture - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line5" { - Comment "Stereo Line In L+R" - - ConflictingDevice [ - "Line3" - "Line4" - ] - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "m4_stereo_in" - Direction Capture - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M4.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M4.conf deleted file mode 100644 index f753ac6f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M4.conf +++ /dev/null @@ -1,12 +0,0 @@ -Comment "MOTU M4" - -SectionUseCase."HiFi" { - Comment "Analog Stereo Outputs + Inputs" - File "/USB-Audio/MOTU/M4-HiFi.conf" -} - -Define.DirectPlaybackChannels 4 -Define.DirectCaptureChannels 4 - -Include.dhw.File "/common/direct.conf" - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M6-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M6-HiFi.conf deleted file mode 100644 index 7c91ddc8..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M6-HiFi.conf +++ /dev/null @@ -1,245 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "m6_stereo_out" - Direction Playback - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } - { - SplitPCM { - Name "m6_mono_in" - Direction Capture - Channels 1 - HWChannels 6 - HWChannelPos0 MONO - HWChannelPos1 MONO - HWChannelPos2 MONO - HWChannelPos3 MONO - HWChannelPos4 MONO - HWChannelPos5 MONO - } - } - { - SplitPCM { - Name "m6_stereo_in" - Direction Capture - Channels 2 - HWChannels 6 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - HWChannelPos4 FL - HWChannelPos5 FR - } - } -] - -SectionDevice."Line1" { - Comment "Headphone + Monitor Out" - Value { - PlaybackPriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "m6_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line2" { - Comment "Line Out" - - Value { - PlaybackPriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "m6_stereo_out" - Direction Playback - HWChannels 6 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Mic1" { - Comment "Mic In 1L" - - Value { - CapturePriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "m6_mono_in" - Direction Capture - HWChannels 6 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } -} - -SectionDevice."Mic2" { - Comment "Mic In 2R" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "m6_mono_in" - Direction Capture - HWChannels 6 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } -} - -SectionDevice."Mic3" { - Comment "Mic In 3L" - - Value { - CapturePriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "m6_mono_in" - Direction Capture - HWChannels 6 - Channels 1 - Channel0 2 - ChannelPos0 MONO - } -} - -SectionDevice."Mic4" { - Comment "Mic In 4R" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "m6_mono_in" - Direction Capture - HWChannels 6 - Channels 1 - Channel0 3 - ChannelPos0 MONO - } -} - -SectionDevice."Line5" { - Comment "Line In L" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "m6_mono_in" - Direction Capture - HWChannels 6 - Channels 1 - Channel0 4 - ChannelPos0 MONO - } -} - -SectionDevice."Line6" { - Comment "Line In R" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "m6_mono_in" - Direction Capture - HWChannels 6 - Channels 1 - Channel0 5 - ChannelPos0 MONO - } -} - -SectionDevice."Mic5" { - Comment "Stereo Mic In 1L+2R" - - ConflictingDevice [ - "Mic1" - "Mic2" - ] - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "m6_stereo_in" - Direction Capture - HWChannels 6 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Mic6" { - Comment "Stereo Mic In 3L+4R" - - ConflictingDevice [ - "Mic3" - "Mic4" - ] - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "m6_stereo_in" - Direction Capture - HWChannels 6 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line7" { - Comment "Stereo Line In L+R" - - ConflictingDevice [ - "Line5" - "Line6" - ] - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "m6_stereo_in" - Direction Capture - HWChannels 6 - Channels 2 - Channel0 4 - Channel1 5 - ChannelPos0 FL - ChannelPos1 FR - } -} - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M6.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M6.conf deleted file mode 100644 index df4719e9..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/MOTU/M6.conf +++ /dev/null @@ -1,12 +0,0 @@ -Comment "MOTU M6" - -SectionUseCase."HiFi" { - Comment "Analog Stereo Outputs + Inputs" - File "/USB-Audio/MOTU/M6-HiFi.conf" -} - -Define.DirectPlaybackChannels 4 -Define.DirectCaptureChannels 6 - -Include.dhw.File "/common/direct.conf" - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/NativeInstruments/Traktor-Kontrol-Z1-Mixer.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/NativeInstruments/Traktor-Kontrol-Z1-Mixer.conf deleted file mode 100644 index 2199b5df..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/NativeInstruments/Traktor-Kontrol-Z1-Mixer.conf +++ /dev/null @@ -1,52 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "z1_stereo_out" - Direction Playback - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } -] - -SectionDevice."Line" { - Comment "Line Out" - - Value { - PlaybackPriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "z1_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Headphone" { - Comment "Headphone Out" - Value { - PlaybackPriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "z1_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/NativeInstruments/Traktor-Kontrol-Z1.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/NativeInstruments/Traktor-Kontrol-Z1.conf deleted file mode 100644 index e88b4eaf..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/NativeInstruments/Traktor-Kontrol-Z1.conf +++ /dev/null @@ -1,11 +0,0 @@ -Comment "Traktor Kontrol Z1" - -SectionUseCase."Mixer" { - Comment "Default" - File "/USB-Audio/NativeInstruments/Traktor-Kontrol-Z1-Mixer.conf" -} - -Define.DirectPlaybackChannels 2 - -Include.dhw.File "/common/direct.conf" - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Rane/SL-1-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Rane/SL-1-HiFi.conf deleted file mode 100644 index 5068542e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Rane/SL-1-HiFi.conf +++ /dev/null @@ -1,45 +0,0 @@ -SectionDevice."Line1" { - Comment "Line out 1" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},0" - } -} - -SectionDevice."Line2" { - Comment "Line out 2" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},1" - } -} - -SectionDevice."Mic1" { - Comment "Input 1" - - Value { - CapturePriority 300 - CapturePCM "hw:${CardId},0" - } -} - -SectionDevice."Mic2" { - Comment "Input 2" - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},1" - } -} - -SectionDevice."Mic3" { - Comment "Mic" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},2" - CaptureChannels 1 - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Rane/SL-1.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Rane/SL-1.conf deleted file mode 100644 index d2f9f767..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Rane/SL-1.conf +++ /dev/null @@ -1,6 +0,0 @@ -Comment "Rane SL-1" - -SectionUseCase."HiFi" { - Comment "Default Alsa Profile" - File "/USB-Audio/Rane/SL-1-HiFi.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Realtek/ALC1220-VB-Desktop-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Realtek/ALC1220-VB-Desktop-HiFi.conf deleted file mode 100644 index d45f521d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Realtek/ALC1220-VB-Desktop-HiFi.conf +++ /dev/null @@ -1,77 +0,0 @@ -Define.LineDev 0 -Define.Mic1Dev 1 -Define.Mic2Dev 2 - -If.trx4-aorus-wifi-rev-1-2 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB0414:a00d" - } - True.Define { - LineDev 1 - Mic1Dev 2 - Mic2Dev 0 - } -} - -SectionDevice."Speaker" { - Comment "Speakers" - Value { - PlaybackChannels 8 - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Speaker Jack" - PlaybackMixerElem "Speaker" - } -} - -SectionDevice."Headphones" { - Comment "Front Headphones" - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId},1" - JackControl "Front Headphone Jack" - PlaybackMixerElem "Front Headphone" - } -} - -SectionDevice."SPDIF" { - Comment "S/PDIF Out" - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},2" - PlaybackMixerElem "IEC958" - } -} - -SectionDevice."Line" { - Comment "Line In" - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},${var:LineDev}" - JackControl "Line Jack" - CaptureMixerElem "Line" - } -} - -SectionDevice."Mic1" { - Comment "Microphone" - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},${var:Mic1Dev}" - JackControl "Mic Jack" - CaptureMixerElem "Mic" - } -} - -SectionDevice."Mic2" { - Comment "Front Microphone" - Value { - CapturePriority 300 - CapturePCM "hw:${CardId},${var:Mic2Dev}" - JackControl "Front Mic Jack" - CaptureMixerElem "Front Mic" - } -} - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Realtek/ALC1220-VB-Desktop.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Realtek/ALC1220-VB-Desktop.conf deleted file mode 100644 index afb34957..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Realtek/ALC1220-VB-Desktop.conf +++ /dev/null @@ -1,5 +0,0 @@ -Comment "USB-audio on Realtek ALC1220-VB desktop" -SectionUseCase."HiFi" { - File "/USB-Audio/Realtek/ALC1220-VB-Desktop-HiFi.conf" - Comment "Default Alsa Profile" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf deleted file mode 100644 index 39cc448e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf +++ /dev/null @@ -1,323 +0,0 @@ -Define { - SpeakerMixer "PCM" - SpeakerMindex "0" - SpeakerJack "Speaker - Output Jack" - SpeakerPCM "hw:${CardId}" - - HeadphonesName "Front Headphones" - HeadphonesMixer "PCM" - HeadphonesMindex "1" - HeadphonesJack "Headphone - Output Jack" - HeadphonesPCM "hw:${CardId},1" - - Mic1Name "Microphone" - Mic1Mixer "Mic" - Mic1Mindex "0" - Mic1Jack "Mic - Input Jack" - Mic1PCM "hw:${CardId},2" - - Mic2Name "" - Mic2Mixer "" - Mic2Mindex "0" - Mic2Jack "" - Mic2PCM "" - - Line1Name "Line Input" - Line1Mixer "Line" - Line1Mindex "0" - Line1Jack "Line - Input Jack" - Line1PCM "hw:${CardId},1" - - SpdifName "S/PDIF Output" - SpdifPCM "hw:${CardId},3" - SpdifMixer "PCM" - SpdifMindex "2" -} - -If.speaker_ctl { - Condition { - Type ControlExists - Control "name='Speaker Playback Switch'" - } - True.Define.SpeakerMixer "Speaker" -} - -If.front_hp_ctl { - Condition { - Type ControlExists - Control "name='Front Headphone Playback Switch'" - } - True.Define { - HeadphonesMixer "Front Headphone" - HeadphonesMindex "0" - } -} - -If.spdif_ctl { - Condition { - Type ControlExists - Control "name='IEC958 Playback Switch'" - } - True.Define { - SpdifMixer "IEC958" - SpdifMindex "0" - } -} - -If.spdif_nodev { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB(0db0:36e7)" - } - True.Define.SpdifName "" -} - -If.spdif_dev2 { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB(0b05:(1996|1a5[23c])|0db0:1feb)" - } - True.Define.SpdifPCM "hw:${CardId},2" -} - -If.gigabyte-aorus-ultra { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB(0414:a014)" - } - True.Define { - Mic1Name "Front Microphone" - Mic1PCM "hw:${CardId},0" - SpdifName "" - Line1Name "" - } -} - -If.asus-rog-usb { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB(0b05:1996)" - } - True.Define { - Mic1Name "Front Microphone" - Mic2Name "Microphone" - Mic2Mixer "Analog In" - Mic2Jack "Analog In - Input Jack" - Mic2PCM "hw:${CardId}" - } -} - -If.asrock-taichi { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB(26ce:0a0[68])" - } - True.Define { - Line1Name "" - Mic1Name "Rear Input" - Mic1PCM "hw:${CardId},0" - Mic2Name "Front Microphone" - Mic2Mixer "Mic" - Mic2Jack "Front Mic - Input Jack" - Mic2PCM "hw:${CardId},1" - } -} - -If.wrx80-sage { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB(0b05:1984)" - } - True.Define { - Mic2Name "Front Microphone" - Mic2Mixer "Analog In" - Mic2Jack "Analog In - Input Jack" - Mic2PCM "hw:${CardId}" - } -} - -If.msi-meg-unify { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB(0db0:82c7)" - } - True.Define { - HeadphonesName "" - SpdifName "" - } -} - -If.asus-rog-strix { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB(0b05:1999)" - } - True.Define { - Line1PCM "hw:${CardId},3" - HeadphonesName "" - SpdifName "" - } -} - -SectionVerb { - EnableSequence [ - disdevall "" - ] - - Value.TQ "HiFi" -} - -SectionDevice."Speaker" { - Comment "Speakers" - - EnableSequence [ - cset "name='${var:SpeakerMixer} Playback Switch',index=${var:SpeakerMindex} on" - ] - - DisableSequence [ - cset "name='${var:SpeakerMixer} Playback Switch',index=${var:SpeakerMindex} off" - ] - - Value { - PlaybackChannels 2 - PlaybackPriority 200 - PlaybackPCM "${var:SpeakerPCM}" - JackControl "${var:SpeakerJack}" - PlaybackMixerElem "${var:SpeakerMixer},${var:SpeakerMindex}" - } - - Variant."HiFi 5+1".Value.PlaybackChannels 6 - Variant."HiFi 7+1".Value.PlaybackChannels 8 -} - -If.headphones { - Condition { - Type String - Empty "${var:HeadphonesName}" - } - False.SectionDevice."Headphones" { - Comment "${var:HeadphonesName}" - - EnableSequence [ - cset "name='${var:HeadphonesMixer} Playback Switch',index=${var:HeadphonesMindex} on" - ] - - DisableSequence [ - cset "name='${var:HeadphonesMixer} Playback Switch',index=${var:HeadphonesMindex} off" - ] - - Value { - PlaybackPriority 300 - PlaybackPCM "${var:HeadphonesPCM}" - JackControl "${var:HeadphonesJack}" - PlaybackMixerElem "${var:HeadphonesMixer},${var:HeadphonesMindex}" - } - } -} - -If.spdif { - Condition { - Type String - Empty "${var:SpdifName}" - } - False.SectionDevice."SPDIF" { - Comment "${var:SpdifName}" - - EnableSequence [ - cset "name='${var:SpdifMixer} Playback Switch',index=${var:SpdifMindex} on" - ] - - DisableSequence [ - cset "name='${var:SpdifMixer} Playback Switch',index=${var:SpdifMindex} off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "${var:SpdifPCM}" - PlaybackMixerElem "${var:SpdifMixer},${var:SpdifMindex}" - } - } -} - -If.line1 { - Condition { - Type String - Empty "${var:Line1Name}" - } - False.SectionDevice."Line1" { - Comment "${var:Line1Name}" - - EnableSequence [ - cset "name='${var:Line1Mixer} Capture Switch',index=${var:Line1Mindex} on" - ] - - DisableSequence [ - cset "name='${var:Line1Mixer} Capture Switch',index=${var:Line1Mindex} off" - ] - - Value { - CapturePriority 100 - CapturePCM "${var:Line1PCM}" - JackControl "${var:Line1Jack}" - CaptureMixerElem "${var:Line1Mixer},${var:Line1Mindex}" - } - } -} - -If.mic1 { - Condition { - Type String - Empty "${var:Mic1Name}" - } - False.SectionDevice."Mic1" { - Comment "${var:Mic1Name}" - - EnableSequence [ - cset "name='${var:Mic1Mixer} Capture Switch',index=${var:Mic1Mindex} on" - ] - - DisableSequence [ - cset "name='${var:Mic1Mixer} Capture Switch',index=${var:Mic1Mindex} off" - ] - - Value { - CapturePriority 300 - CapturePCM "${var:Mic1PCM}" - JackControl "${var:Mic1Jack}" - CaptureMixerElem "${var:Mic1Mixer},${var:Mic1Mindex}" - } - } -} - -If.mic2 { - Condition { - Type String - Empty "${var:Mic2Name}" - } - False.SectionDevice."Mic2" { - Comment "${var:Mic2Name}" - - EnableSequence [ - cset "name='${var:Mic2Mixer} Capture Switch',index=${var:Mic2Mindex} on" - ] - - DisableSequence [ - cset "name='${var:Mic2Mixer} Capture Switch',index=${var:Mic2Mindex} off" - ] - - Value { - CapturePriority 400 - CapturePCM "${var:Mic2PCM}" - JackControl "${var:Mic2Jack}" - CaptureMixerElem "${var:Mic2Mixer},${var:Mic2Mindex}" - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Realtek/ALC4080.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Realtek/ALC4080.conf deleted file mode 100644 index 07f76e96..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Realtek/ALC4080.conf +++ /dev/null @@ -1,13 +0,0 @@ -Comment "USB-audio on Realtek ALC4080" -SectionUseCase."HiFi" { - File "/USB-Audio/Realtek/ALC4080-HiFi.conf" - Variant."HiFi" { - Comment "HiFi 2.0 channels" - } - Variant."HiFi 5+1" { - Comment "HiFi 5.1 channels" - } - Variant."HiFi 7+1" { - Comment "HiFi 7.1 channels" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Roland/BridgeCast-Hifi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Roland/BridgeCast-Hifi.conf deleted file mode 100644 index 1812433d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Roland/BridgeCast-Hifi.conf +++ /dev/null @@ -1,164 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "bc_stereo_out" - Direction Playback - Channels 2 - HWChannels 8 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - HWChannelPos4 FL - HWChannelPos5 FR - HWChannelPos6 FL - HWChannelPos7 FR - } - } - { - SplitPCM { - Name "bc_stereo_in" - Direction Capture - Channels 2 - HWChannels 6 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - HWChannelPos4 FL - HWChannelPos5 FR - } - } -] - -SectionDevice."Line1" { - Comment "Chat L/R" - - Value { - PlaybackPriority 100 - } - - Macro.pcm_split.SplitPCMDevice { - Name "bc_stereo_out" - Direction Playback - HWChannels 8 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line2" { - Comment "Game L/R" - - Value { - PlaybackPriority 200 - } - - Macro.pcm_split.SplitPCMDevice { - Name "bc_stereo_out" - Direction Playback - HWChannels 8 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line3" { - Comment "Music L/R" - - Value { - PlaybackPriority 300 - } - - Macro.pcm_split.SplitPCMDevice { - Name "bc_stereo_out" - Direction Playback - HWChannels 8 - Channels 2 - Channel0 4 - Channel1 5 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line4" { - Comment "System L/R" - - Value { - PlaybackPriority 400 - } - - Macro.pcm_split.SplitPCMDevice { - Name "bc_stereo_out" - Direction Playback - HWChannels 8 - Channels 2 - Channel0 6 - Channel1 7 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line5" { - Comment "StreamMix" - - Value { - CapturePriority 300 - } - Macro.pcm_split.SplitPCMDevice { - Name "bc_stereo_in" - Direction Capture - HWChannels 6 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line6" { - Comment "Mic" - - Value { - CapturePriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "bc_stereo_in" - Direction Capture - HWChannels 6 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line7" { - Comment "SFX" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "bc_stereo_in" - Direction Capture - HWChannels 6 - Channels 2 - Channel0 4 - Channel1 5 - ChannelPos0 FL - ChannelPos1 FR - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Roland/BridgeCast.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Roland/BridgeCast.conf deleted file mode 100644 index 6231a723..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Roland/BridgeCast.conf +++ /dev/null @@ -1,6 +0,0 @@ -Comment "Roland BridgeCast Hifi-Mode" - -SectionUseCase."HiFi" { - Comment "BridgeCast MultiChannel" - File "/USB-Audio/Roland/BridgeCast-Hifi.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/SolidStateLabs/SSL2-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/SolidStateLabs/SSL2-HiFi.conf deleted file mode 100644 index 46b2e269..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/SolidStateLabs/SSL2-HiFi.conf +++ /dev/null @@ -1,55 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "ssl2_mono_in" - Direction Capture - Channels 1 - HWChannels 2 - HWChannelPos0 MONO - HWChannelPos1 MONO - } - } -] - -SectionDevice."Line1" { - Comment "Stereo Line" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - } -} - -SectionDevice."Mic1" { - Comment "Mic/Line/Inst 1" - - Value { - CapturePriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "ssl2_mono_in" - Direction Capture - HWChannels 2 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } -} - -SectionDevice."Mic2" { - Comment "Mic/Line/Inst 2" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "ssl2_mono_in" - Direction Capture - HWChannels 2 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/SolidStateLabs/SSL2.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/SolidStateLabs/SSL2.conf deleted file mode 100644 index 55318349..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/SolidStateLabs/SSL2.conf +++ /dev/null @@ -1,11 +0,0 @@ -Comment "Solid State Labs SSL 2" - -SectionUseCase."HiFi" { - Comment "HiFi" - File "/USB-Audio/SolidStateLabs/SSL2-HiFi.conf" -} - -Define.DirectPlaybackChannels 2 -Define.DirectCaptureChannels 2 - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Sony/Inzone-H9-H7-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Sony/Inzone-H9-H7-HiFi.conf deleted file mode 100644 index 314455a3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Sony/Inzone-H9-H7-HiFi.conf +++ /dev/null @@ -1,15 +0,0 @@ -SectionDevice."Headset" { - Comment "Chat" - Value { - PlaybackPCM "hw:${CardId},0" - CapturePCM "hw:${CardId},0" - CaptureChannels 1 - } -} - -SectionDevice."Headphones" { - Comment "Game" - Value { - PlaybackPCM "hw:${CardId},1" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Sony/Inzone-H9-H7.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Sony/Inzone-H9-H7.conf deleted file mode 100644 index db43c7dd..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Sony/Inzone-H9-H7.conf +++ /dev/null @@ -1,6 +0,0 @@ -Comment "Sony Corp. INZONE H9 / INZONE H7" - -SectionUseCase."HiFi" { - Comment "Default" - File "/USB-Audio/Sony/Inzone-H9-H7-HiFi.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Steinberg/UR24C-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Steinberg/UR24C-HiFi.conf deleted file mode 100644 index 285b5c41..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Steinberg/UR24C-HiFi.conf +++ /dev/null @@ -1,94 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "steinberg_ur24c_stereo_out" - Direction Playback - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } - { - SplitPCM { - Name "steinberg_ur24c_mono_in" - Direction Capture - Channels 1 - HWChannels 2 - HWChannelPos0 MONO - HWChannelPos1 MONO - } - } -] - -SectionDevice."Line 1" { - Comment "Stereo Line (outputs 1 and 2)" - - Value { - PlaybackPriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "steinberg_ur24c_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line 2" { - Comment "Stereo Line (outputs 3 and 4)" - - Value { - PlaybackPriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "steinberg_ur24c_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line 3" { - Comment "Mono Line (input 1)" - - Value { - CapturePriority 600 - } - Macro.pcm_split.SplitPCMDevice { - Name "steinberg_ur24c_mono_in" - Direction Capture - HWChannels 2 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } -} - -SectionDevice."Line 4" { - Comment "Mono Line (input 2)" - - Value { - CapturePriority 500 - } - Macro.pcm_split.SplitPCMDevice { - Name "steinberg_ur24c_mono_in" - Direction Capture - HWChannels 2 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Steinberg/UR24C.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Steinberg/UR24C.conf deleted file mode 100644 index 29be27c0..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Steinberg/UR24C.conf +++ /dev/null @@ -1,11 +0,0 @@ -Comment "Steinberg UR24C USB-Audio" - -SectionUseCase."HiFi" { - Comment "HiFi" - File "/USB-Audio/Steinberg/UR24C-HiFi.conf" -} - -Define.DirectPlaybackChannels 4 -Define.DirectCaptureChannels 2 - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Steinberg/UR44-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Steinberg/UR44-HiFi.conf deleted file mode 100644 index 7926a0fe..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Steinberg/UR44-HiFi.conf +++ /dev/null @@ -1,162 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "steinberg_ur44_stereo_out" - Direction Playback - Channels 2 - HWChannels 4 - HWChannelPos0 FL - HWChannelPos1 FR - HWChannelPos2 FL - HWChannelPos3 FR - } - } - { - SplitPCM { - Name "steinberg_ur44_mono_in" - Direction Capture - Channels 1 - HWChannels 6 - HWChannelPos0 MONO - HWChannelPos1 MONO - HWChannelPos2 MONO - HWChannelPos3 MONO - HWChannelPos4 MONO - HWChannelPos5 MONO - } - } -] - -SectionDevice."Line1" { - Comment "Line Outputs 1 and 2" - - Value { - PlaybackPriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "steinberg_ur44_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 0 - Channel1 1 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line2" { - Comment "Line Outputs 3 and 4" - - Value { - PlaybackPriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "steinberg_ur44_stereo_out" - Direction Playback - HWChannels 4 - Channels 2 - Channel0 2 - Channel1 3 - ChannelPos0 FL - ChannelPos1 FR - } -} - -SectionDevice."Line3" { - Comment "Mono Input 1" - - Value { - CapturePriority 600 - } - Macro.pcm_split.SplitPCMDevice { - Name "steinberg_ur44_mono_in" - Direction Capture - HWChannels 6 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } -} - -SectionDevice."Line4" { - Comment "Mono Input 2" - - Value { - CapturePriority 500 - } - Macro.pcm_split.SplitPCMDevice { - Name "steinberg_ur44_mono_in" - Direction Capture - HWChannels 6 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } -} - -SectionDevice."Line5" { - Comment "Mono Input 3" - - Value { - CapturePriority 400 - } - Macro.pcm_split.SplitPCMDevice { - Name "steinberg_ur44_mono_in" - Direction Capture - HWChannels 6 - Channels 1 - Channel0 2 - ChannelPos0 MONO - } -} - -SectionDevice."Line6" { - Comment "Mono Input 4" - - Value { - CapturePriority 300 - } - Macro.pcm_split.SplitPCMDevice { - Name "steinberg_ur44_mono_in" - Direction Capture - HWChannels 6 - Channels 1 - Channel0 3 - ChannelPos0 MONO - } -} - -SectionDevice."Line7" { - Comment "Mono Input 5" - - Value { - CapturePriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "steinberg_ur44_mono_in" - Direction Capture - HWChannels 6 - Channels 1 - Channel0 4 - ChannelPos0 MONO - } -} - -SectionDevice."Line8" { - Comment "Mono Input 6" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "steinberg_ur44_mono_in" - Direction Capture - HWChannels 6 - Channels 1 - Channel0 5 - ChannelPos0 MONO - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Steinberg/UR44.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Steinberg/UR44.conf deleted file mode 100644 index 7fde566a..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/Steinberg/UR44.conf +++ /dev/null @@ -1,11 +0,0 @@ -Comment "Steinberg UR44 USB-Audio" - -SectionUseCase."HiFi" { - Comment "Default" - File "/USB-Audio/Steinberg/UR44-HiFi.conf" -} - -Define.DirectPlaybackChannels 4 -Define.DirectCaptureChannels 6 - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/USB-Audio.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/USB-Audio.conf deleted file mode 100644 index c68bbfca..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/USB-Audio.conf +++ /dev/null @@ -1,413 +0,0 @@ -Syntax 6 - -Define.ProfileName "" -Define.MixerRemap "" -Define.SplitPCMPeriodTime 10000 # 10ms - -If.env1 { - Condition { - Type String - Empty "$${env:UCM_USB_PERIOD_TIME}" - } - False.Define.SplitPCMPeriodTime "${env:UCM_USB_PERIOD_TIME}" -} - -If.linked { - Condition { - Type RegexMatch - String "${CardComponents}" - # Aorus Master Front Headphone 0414:a000 - Regex "USB0414:a000" - } - True.Define.ProfileName "../common/linked" -} - -If.realtek-alc1220-vb { - - Condition { - Type RegexMatch - String "${CardComponents}" - # 0414:a002 Gigabyte TRX40 Aorus Pro WiFi - # 0414:a00d Gigabyte TRX40 Aorus Pro WiFi Rev 1.2 - # 0b05:1917 ASUS ROG Strix - # 0b05:1918 ASUS PRIME TRX40 PRO-S - # 0db0:0d64 MSI TRX40 Creator - # 0db0:543d MSI TRX40 - # 26ce:0a01 Asrock TRX40 Creator - Regex "USB((0414:a00[2d])|(0b05:191[78])|(0db0:(0d64|543d))|(26ce:0a01))" - } - True.Define.ProfileName "Realtek/ALC1220-VB-Desktop" -} - -If.realtek-alc4080 { - - Condition { - Type RegexMatch - String "${CardComponents}" - # 0414:a00e Gigabyte Z590 Aorus Pro AX - # 0414:a010 Gigabyte Z590 Vision G Intel - # 0414:a011 Gigabyte Z690 AORUS ULTRA - # 0414:a012 Gigabyte Z690 AERO G DDR4 - # 0414:a014 Gigabyte Z690I AORUS ULTRA DDR4 - # 0b05:1984 ASUS Pro WS WRX80E-SAGE SE WIFI - # 0b05:1996 ASUS on multiple boards (including ASUS ROG Maximus XIII) - # 0b05:1999 ASUS ROG Strix Z590-A Gaming WiFi - # 0b05:1a16 ASUS ROG Strix B660-F Gaming WiFi - # 0b05:1a20 ASUS ROG STRIX Z690-I Gaming Wifi - # 0b05:1a27 ALC4082 on ASUS ROG Maximus Z690 Hero - # 0b05:1a52 ASUS ROG Strix X670E-F & Z790-E Gaming Wifi - # 0b05:1a53 ALC4082 on ASUS ROG Crosshair X670E Extreme - # 0b05:1a5c ASUS ROG Strix B650E-I Gaming WiFi - # 0b05:1a97 ASUS ROG Maximus Z790 Apex Encore - # 0db0:005a MSI MPG Z690 CARBON WIFI - # 0db0:124b MSI MEG Z690 ACE - # 0db0:151f MSI X570S EDGE MAX WIFI - # 0db0:1feb MSI Edge Wifi Z690 - # 0db0:3130 MSI PRO X670-P WIFI - # 0db0:36e7 MSI MAG B650I Edge WiFi - # 0db0:419c MSI MPG X570S Carbon Max Wifi - # 0db0:422d MSI Mag B650 Tomahawk Wifi - # 0db0:4240 MSI MAG Z590 Tomahawk Wifi - # 0db0:62a4 MSI MPG Z790I Edge WiFi - # 0db0:6c09 MSI MPG Z790 Carbon Wifi - # 0db0:6cc9 MSI MPG Z590 Gaming Plus - # 0db0:70d3 MSI MPG B650 Carbon Wifi - # 0db0:7696 MSI MAG B650M Mortar Wifi - # 0db0:82c7 MSI MEG Z690I Unify - # 0db0:8af7 MSI MPG Z590 Gaming Force - # 0db0:961e MSI MEG X670E ACE - # 0db0:a073 MSI MAG X570S Torpedo Max - # 0db0:a228 MSI MPG Z590M GAMING EDGE WIFI - # 0db0:a47c MSI MEG X570S Ace Max - # 0db0:a74b MSI MPG Z790 Edge Wifi - # 0db0:b202 MSI MAG Z690 Tomahawk Wifi - # 0db0:d1d7 MSI PRO Z790-A WIFI - # 0db0:d6e7 MSI MPG X670E Carbon Wifi - # 26ce:0a06 ASRock X670E/Z790 Taichi - # 26ce:0a08 ASRock Z790 PG-ITX/TB4 - Regex "USB((0414:a0(0e|1[0124]))|(0b05:(19(84|9[69])|1a(16|2[07]|5[23c]|97)))|(0db0:(005a|124b|151f|1feb|3130|36e7|419c|422d|4240|62a4|6c[0c]9|70d3|7696|82c7|8af7|961e|a(073|228|47c|74b)|b202|d1d7|d6e7))|(26ce:0a0[68]))" - } - True.Define.ProfileName "Realtek/ALC4080" -} - -If.hp_only { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB152a:8750" - } - True.Define { - ProfileName "Common/HeadphonesOnly" - } -} - -If.gigabyte-aorus-main { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB0414:a001" - } - True.Define.ProfileName "Gigabyte/Aorus-Master-Main-Audio" -} - -If.steinberg-ur24c { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB0499:174d" - } - True.Define.ProfileName "Steinberg/UR24C" -} - -If.steinberg-ur44 { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB0499:17[03]0" - } - True.Define.ProfileName "Steinberg/UR44" -} - -If.sony-inzone-h9-h7 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB054c:0e53" - } - True.Define.ProfileName "Sony/Inzone-H9-H7" -} - -If.roland-bridgecast { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB0582:02b7" - } - True.Define.ProfileName "Roland/BridgeCast" -} - -If.motu-m246 { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB07fd:000[8b]" - } - True.If.M6 { - Condition { - Type String - Haystack "${CardLongName}" - Needle "MOTU M6" - } - True.Define.ProfileName "MOTU/M6" - False.If.M4 { - Condition { - Type String - Haystack "${CardLongName}" - Needle "MOTU M4" - } - True.Define.ProfileName "MOTU/M4" - False.Define.ProfileName "MOTU/M2" - } - } -} - -If.dell-wd15 { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB0bda:40(14|2e)" - } - True.Define.ProfileName "Dell/WD15-Dock" -} - -If.dell-desktop-front { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB0bda:4c54" - } - True.Define.ProfileName "Dell/Desktop-Front" -} - -If.dell-desktop-rear { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB0bda:4c55" - } - True.Define.ProfileName "Dell/Desktop-Rear" -} - -If.mbox3 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB0dba:5000" - } - True.Define.ProfileName "Digidesign/Digidesign-Mbox-3" -} - -If.goxlr { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB1220:8fe[04]" - } - True.Define.ProfileName "GoXLR/GoXLR" -} - -If.focusrite-scarlett-2i { - Condition { - Type RegexMatch - String "${CardComponents}" - # 8006 2i2 1st Gen - # 800a 2i4 1st Gen - # 801c Solo 1st Gen - # 8200 2i4 2nd Gen - # 8202 2i2 2nd Gen - # 8205 Solo 2nd Gen - # 8210 2i2 3rd Gen - # 8211 Solo 3rd Gen - Regex "USB1235:8(0(0[6a]|1c)|2(0[025]|1[01]))" - } - True.Define { - ProfileName "Focusrite/Scarlett-2i" - } -} - -If.behringer-umc202hd { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB1397:0507" - } - True.Define { - ProfileName "Behringer/UMC202HD" - MixerRemap yes - } -} - -If.behringer-umc204hd { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB1397:0508" - } - True.Define { - ProfileName "Behringer/UMC204HD" - MixerRemap yes - } -} - -If.behringer-umc404hd { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB1397:0509" - } - True.Define { - ProfileName "Behringer/UMC404HD" - MixerRemap yes - } -} - -If.behringer-Flow8-Streaming { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB1397:050d" - } - True.Define.ProfileName "Behringer/Flow8-Streaming" -} - -If.behringer-Flow8-Recording { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB1397:050c" - } - True.Define.ProfileName "Behringer/Flow8-Recording" -} - -If.Rane-SL-1 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB13e5:0001" - } - True.Define.ProfileName "Rane/SL-1" -} - -If.lenovo-p620-rear { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB17aa:1046" - } - True.Define.ProfileName "Lenovo/ThinkStation-P620-Rear" -} - -If.lenovo-p620-main { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB17aa:104d" - } - True.Define.ProfileName "Lenovo/ThinkStation-P620-Main" -} - -If.kontrolz1 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB17cc:1210" - } - True.Define.ProfileName "NativeInstruments/Traktor-Kontrol-Z1" -} - -If.minifuse4 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB1c75:af70" - } - True.Define.ProfileName "Arturia/Minifuse-4" -} - -If.minifuse12 { - Condition { - Type RegexMatch - String "${CardComponents}" - Regex "USB1c75:af[89]0" - } - True.Define.ProfileName "Arturia/Minifuse-12" -} - -If.zedi10 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB22f0:0016" - } - True.Define.ProfileName "AllenAndHeath/Zedi10" -} - -If.id4-0003 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB2708:0003" - } - True.Define.ProfileName "Audient/Audient-iD4-0003" -} - -If.id4-0009 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB2708:0009" - } - True.Define.ProfileName "Audient/Audient-iD4-0009" -} - -If.ua-volt2 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB2b5a:0021" - } - True.Define { - ProfileName "UniversalAudio/Volt2" - } -} - -If.ssl2 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB31e9:0001" - } - True.Define { - ProfileName "SolidStateLabs/SSL2" - } -} - -If.mixremap { - Condition { - Type String - Empty "${var:MixerRemap}" - } - False { - Include.card-init.File "/lib/card-init.conf" - Include.ctl-remap.File "/lib/ctl-remap.conf" - } -} - -If.inc { - Condition { - Type String - Empty "${var:ProfileName}" - } - True.Error "UCM is not supported for this USB device (${CardLongName} @ ${CardComponents})" - False.Include.prof.File "/USB-Audio/${var:ProfileName}.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/UniversalAudio/Volt2-HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/UniversalAudio/Volt2-HiFi.conf deleted file mode 100644 index 6a79847e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/UniversalAudio/Volt2-HiFi.conf +++ /dev/null @@ -1,54 +0,0 @@ -Include.pcm_split.File "/common/pcm/split.conf" - -Macro [ - { - SplitPCM { - Name "volt2_mono_in" - Direction Capture - Channels 1 - HWChannels 2 - HWChannelPos0 MONO - HWChannelPos1 MONO - } - } -] - -SectionDevice."Line1" { - Comment "Monitor Out" - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - } -} - -SectionDevice."Mic1" { - Comment "Mono Input 1" - - Value { - CapturePriority 200 - } - Macro.pcm_split.SplitPCMDevice { - Name "volt2_mono_in" - Direction Capture - HWChannels 2 - Channels 1 - Channel0 0 - ChannelPos0 MONO - } -} - -SectionDevice."Mic2" { - Comment "Mono Input 2" - - Value { - CapturePriority 100 - } - Macro.pcm_split.SplitPCMDevice { - Name "volt2_mono_in" - Direction Capture - HWChannels 2 - Channels 1 - Channel0 1 - ChannelPos0 MONO - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/UniversalAudio/Volt2.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/UniversalAudio/Volt2.conf deleted file mode 100644 index 7e4a8982..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/USB-Audio/UniversalAudio/Volt2.conf +++ /dev/null @@ -1,11 +0,0 @@ -Comment "Universal Audio Volt 2" - -SectionUseCase."HiFi" { - Comment "Default" - File "/USB-Audio/UniversalAudio/Volt2-HiFi.conf" -} - -Define.DirectPlaybackChannels 2 -Define.DirectCaptureChannels 2 - -Include.dhw.File "/common/direct.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cs42l43/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cs42l43/init.conf deleted file mode 100644 index 10a6e1f3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cs42l43/init.conf +++ /dev/null @@ -1,14 +0,0 @@ -# cs42l43 specific control settings - -LibraryConfig.remap.Config { - ctl.default.map { - "name='cs42l43 PDM2 Switch'" { - "name='cs42l43 Decimator 3 Switch'".vindex.0 0 - "name='cs42l43 Decimator 4 Switch'".vindex.1 0 - } - "name='cs42l43 PDM2 Volume'" { - "name='cs42l43 Decimator 3 Volume'".vindex.0 0 - "name='cs42l43 Decimator 4 Volume'".vindex.1 0 - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/DisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/DisableSeq.conf deleted file mode 100644 index ce3ad6dd..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/DisableSeq.conf +++ /dev/null @@ -1,9 +0,0 @@ -DisableSequence [ - # Output Configuration - cset "name='I2S DAC1L Switch' off" - cset "name='I2S DAC1R Switch' off" - - # Input Configuration - cset "name='I2S ADC1L Switch' off" - cset "name='I2S ADC1R Switch' off" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/EnableSeq.conf deleted file mode 100644 index 02d918fd..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/EnableSeq.conf +++ /dev/null @@ -1,15 +0,0 @@ -EnableSequence [ - # Disable all inputs / outputs - cset "name='Ext Spk Switch' off" - cset "name='Headphone Switch' off" - cset "name='Headset Mic Switch' off" - cset "name='Int Mic Switch' off" - - # Output Configuration - cset "name='I2S DAC1L Switch' on" - cset "name='I2S DAC1R Switch' on" - - # Input Configuration - cset "name='I2S ADC1L Switch' on" - cset "name='I2S ADC1R Switch' on" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/HeadPhones.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/HeadPhones.conf deleted file mode 100644 index adb70db6..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/HeadPhones.conf +++ /dev/null @@ -1,23 +0,0 @@ -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='Headphone Switch' on" - cset "name='PortA Out En Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Switch' off" - cset "name='PortA Out En Switch' off" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/HeadsetMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/HeadsetMic.conf deleted file mode 100644 index 5a6643e8..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/HeadsetMic.conf +++ /dev/null @@ -1,24 +0,0 @@ -SectionDevice."Headset" { - Comment "Headset Microphone" - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='Headset Mic Switch' on" - cset "name='ADC1 Mux' 'PortD Switch'" - cset "name='PortD In En Switch' on" - ] - - DisableSequence [ - cset "name='Headset Mic Switch' off" - cset "name='PortD In En Switch' off" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - JackControl "Headset Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/InternalMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/InternalMic.conf deleted file mode 100644 index 9c083be4..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/InternalMic.conf +++ /dev/null @@ -1,23 +0,0 @@ -SectionDevice."Mic" { - Comment "Internal Microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='Int Mic Switch' on" - cset "name='ADC1 Mux' 'PortC Switch'" - cset "name='PortC In En Switch' on" - ] - - DisableSequence [ - cset "name='Int Mic Switch' off" - cset "name='PortC In En Switch' off" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/Speaker.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/Speaker.conf deleted file mode 100644 index a641ba25..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/cx2072x/Speaker.conf +++ /dev/null @@ -1,22 +0,0 @@ -SectionDevice."Speaker" { - Comment "Speakers" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Ext Spk Switch' on" - cset "name='PortG Out En Switch' on" - ] - - DisableSequence [ - cset "name='Ext Spk Switch' off" - cset "name='PortG Out En Switch' off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/da7219/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/da7219/init.conf deleted file mode 100644 index a2f58cc0..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/da7219/init.conf +++ /dev/null @@ -1,24 +0,0 @@ -# DA7219 specific volume control settings - -BootSequence [ - cset "name='Playback Digital Volume' 111" - cset "name='Playback Digital Switch' 1" - cset "name='Out DACL Mux' DAIL" - cset "name='Out DACR Mux' DAIR" - cset "name='Mixer Out FilterL DACL Switch' 1" - cset "name='Mixer Out FilterR DACR Switch' 1" - cset "name='ST Mixer Out FilterL Out FilterL Switch' 1" - cset "name='ST Mixer Out FilterR Out FilterR Switch' 1" - cset "name='Headphone Jack Switch' off" - cset "name='Headset Mic Switch' off" - cset "name='Mic Volume' 5" - cset "name='Capture Digital Volume' 111" - cset "name='Capture Digital Switch' 1" - cset "name='Mixin Volume' 10" - cset "name='Mixin Switch' 1" - cset "name='Mixer In Mic Switch' 1" - cset "name='Out DAIL Mux' ADC" - cset "name='Out DAIR Mux' ADC" - cset "name='Gain Ramp Rate' 1" -] - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/EnableSeq.conf deleted file mode 100644 index b75c4a7a..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/EnableSeq.conf +++ /dev/null @@ -1,29 +0,0 @@ -EnableSequence [ - # Disable all inputs / outputs - cset "name='Speaker Switch' off" - cset "name='Headphone Switch' off" - cset "name='Headset Mic Switch' off" - cset "name='Internal Mic Switch' off" - - # Set HP vol to 0 dB (3/3) - cset "name='Headphone Playback Volume' 3" - # Set HP mixer vol to 0 dB - cset "name='Headphone Mixer Volume' 11" - # Set DAC vol to 0 dB (192/192) - cset "name='DAC Playback Volume' 192" - - # Disable Auto Level Control - cset "name='ALC Capture Switch' off" - # Set ADC vol to 0 dB (192/192) - cset "name='ADC Capture Volume' 192" - # Set Mic amplifier to +16 dB - cset "name='ADC PGA Gain Volume' 7" - - # Setup muxes / switches - cset "name='Left Headphone Mixer Left DAC Switch' on" - cset "name='Right Headphone Mixer Right DAC Switch' on" - - # Undo MonoSpeaker settings which may have been saved on shutdown - cset "name='Playback Polarity' 0" - cset "name='DAC Mono Mix Switch' off" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/HeadPhones.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/HeadPhones.conf deleted file mode 100644 index 57bd4486..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/HeadPhones.conf +++ /dev/null @@ -1,24 +0,0 @@ -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='Headphone Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Switch' off" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "Headphone Mixer" - PlaybackMasterElem "DAC" - JackControl "Headphone Jack" - JackHWMute "Speaker" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/IN1-HeadsetMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/IN1-HeadsetMic.conf deleted file mode 100644 index 53958bab..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/IN1-HeadsetMic.conf +++ /dev/null @@ -1,24 +0,0 @@ -SectionDevice."Headset" { - Comment "Headset Microphone on IN1" - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='Differential Mux' lin1-rin1" - cset "name='Headset Mic Switch' on" - ] - - DisableSequence [ - cset "name='Headset Mic Switch' off" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - CaptureMixerElem "ADC PGA Gain" - CaptureMasterElem "ADC" - JackControl "Headset Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/IN1-InternalMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/IN1-InternalMic.conf deleted file mode 100644 index 7e7f75fe..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/IN1-InternalMic.conf +++ /dev/null @@ -1,23 +0,0 @@ -SectionDevice."Mic" { - Comment "Internal Microphone on IN1" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='Differential Mux' lin1-rin1" - cset "name='Internal Mic Switch' on" - ] - - DisableSequence [ - cset "name='Internal Mic Switch' off" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - CaptureMixerElem "ADC PGA Gain" - CaptureMasterElem "ADC" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/IN2-HeadsetMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/IN2-HeadsetMic.conf deleted file mode 100644 index 9221b24d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/IN2-HeadsetMic.conf +++ /dev/null @@ -1,24 +0,0 @@ -SectionDevice."Headset" { - Comment "Headset Microphone on IN2" - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='Differential Mux' lin2-rin2" - cset "name='Headset Mic Switch' on" - ] - - DisableSequence [ - cset "name='Headset Mic Switch' off" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - CaptureMixerElem "ADC PGA Gain" - CaptureMasterElem "ADC" - JackControl "Headset Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/IN2-InternalMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/IN2-InternalMic.conf deleted file mode 100644 index 8b73da4e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/IN2-InternalMic.conf +++ /dev/null @@ -1,23 +0,0 @@ -SectionDevice."Mic" { - Comment "Internal Microphone on IN2" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='Differential Mux' lin2-rin2" - cset "name='Internal Mic Switch' on" - ] - - DisableSequence [ - cset "name='Internal Mic Switch' off" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - CaptureMixerElem "ADC PGA Gain" - CaptureMasterElem "ADC" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/MonoSpeaker.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/MonoSpeaker.conf deleted file mode 100644 index 2d76413d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/MonoSpeaker.conf +++ /dev/null @@ -1,41 +0,0 @@ -SectionDevice."Speaker" { - Comment "Mono Speaker" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - # BYT/CHT devices with an ES8316 codec use a single speaker - # connected between the headhpone LOUT and ROUT pins, expecting - # the output to be in a mono differential mode. Presumably this - # is done to use the power of both the left and right headphone - # amplifier channels to allow the speaker to be louder. - # - # The ES8316 codec does not have a differential output mode, but - # we can emulate one by making both channels output the exact - # same signal by setting the "DAC Mono Mix Switch", combined - # with setting the "Playback Polarity" control to "R Invert", - # which applies a 180 degrees phase inversion to the right chan. - cset "name='DAC Mono Mix Switch' on" - cset "name='Playback Polarity' 1" - - cset "name='Speaker Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Switch' off" - # DAC settings back to normal for stereo headphones output - cset "name='Playback Polarity' 0" - cset "name='DAC Mono Mix Switch' off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - # The es8316 only has a HP-amp which is muxed to the speaker - # or to the headpones output - PlaybackMixerElem "Headphone Mixer" - PlaybackMasterElem "DAC" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/Speaker.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/Speaker.conf deleted file mode 100644 index 4e977727..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/es8316/Speaker.conf +++ /dev/null @@ -1,24 +0,0 @@ -SectionDevice."Speaker" { - Comment "Speakers" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Speaker Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Switch' off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - # The es8316 only has a HP-amp which is muxed to the speaker - # or to the headpones output - PlaybackMixerElem "Headphone Mixer" - PlaybackMasterElem "DAC" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/hda/hdmi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/hda/hdmi.conf deleted file mode 100644 index 5bd9f033..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/hda/hdmi.conf +++ /dev/null @@ -1,35 +0,0 @@ -# -# Macro HDMI -# -# Arguments: -# -# Number HDMI number -# Device PCM device number -# Priority UCM device priority -# - -DefineMacro.HDMI.If.hdmi { - Condition { - Type ControlExists - Control "iface=CARD,name='HDMI/DP,pcm=${var:__Device} Jack'" - } - True { - SectionDevice."HDMI${var:__Number}" { - Comment "HDMI / DisplayPort ${var:__Number} Output" - - EnableSequence [ - cset "name='IEC958 Playback Switch',index=${eval:($__Number-1)} on" - ] - - DisableSequence [ - cset "name='IEC958 Playback Switch',index=${eval:($__Number-1)} off" - ] - - Value { - PlaybackPriority "${var:__Priority}" - PlaybackPCM "hw:${CardId},${var:__Device}" - JackControl "HDMI/DP,pcm=${var:__Device} Jack" - } - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/max98090/EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/max98090/EnableSeq.conf deleted file mode 100644 index 23c897bf..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/max98090/EnableSeq.conf +++ /dev/null @@ -1,27 +0,0 @@ -EnableSequence [ - cset "name='Left Speaker Mixer Left DAC Switch' on" - cset "name='Right Speaker Mixer Right DAC Switch' on" - cset "name='Digital EQ 3 Band Switch' off" - cset "name='Digital EQ 5 Band Switch' off" - cset "name='Digital EQ 7 Band Switch' off" - cset "name='Biquad Switch' off" - cset "name='Filter Mode' Music" - cset "name='ADC Oversampling Rate' 0" - - cset "name='DMIC Mux' DMIC" - cset "name='MIC2 Mux' IN34" - cset "name='MIC2 Volume' 10" - cset "name='MIC2 Boost Volume' 0" - - cset "name='ADCR Boost Volume' 4" - cset "name='ADCL Boost Volume' 4" - cset "name='ADCR Volume' 11" - cset "name='ADCL Volume' 11" - - cset "name='Headphone Volume' 10" - cset "name='Speaker Volume' 10" - - cset "name='Speaker Left Mixer Volume' 3" - cset "name='Speaker Right Mixer Volume' 3" - cset "name='Playback Path DC Blocking' on" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/max98090/Headphones.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/max98090/Headphones.conf deleted file mode 100644 index 66f99a46..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/max98090/Headphones.conf +++ /dev/null @@ -1,25 +0,0 @@ -SectionDevice."Headphones" { - Comment "Headphones" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - } - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='Headphone Left Switch' on" - cset "name='Headphone Right Switch' on" - cset "name='Headphone Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Left Switch' off" - cset "name='Headphone Right Switch' off" - cset "name='Headphone Switch' off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/max98090/HeadsetMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/max98090/HeadsetMic.conf deleted file mode 100644 index 43f5e9c3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/max98090/HeadsetMic.conf +++ /dev/null @@ -1,32 +0,0 @@ -# Headset Microphone via MIC2 -SectionDevice."Headset" { - Comment "Headset Microphone" - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - JackControl "Headset Mic Jack" - } - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='Headset Mic Switch' on" - cset "name='DMIC Mux' ADC" - cset "name='Record Path DC Blocking' on" - - cset "name='Left ADC Mixer MIC2 Switch' on" - cset "name='Right ADC Mixer MIC2 Switch' on" - ] - - DisableSequence [ - cset "name='Headset Mic Switch' off" - cset "name='DMIC Mux' DMIC" - cset "name='Record Path DC Blocking' off" - - cset "name='Left ADC Mixer MIC2 Switch' off" - cset "name='Right ADC Mixer MIC2 Switch' off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/max98090/InternalMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/max98090/InternalMic.conf deleted file mode 100644 index 25056f5c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/max98090/InternalMic.conf +++ /dev/null @@ -1,25 +0,0 @@ -# internal microphone via DMIC -SectionDevice."Mic" { - Comment "Internal Microphone" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='Int Mic Switch' on" - cset "name='DMIC Mux' DMIC" - cset "name='Record Path DC Blocking' off" - ] - - DisableSequence [ - cset "name='Int Mic Switch' off" - cset "name='DMIC Mux' ADC" - cset "name='Record Path DC Blocking' on" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/max98090/Speaker.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/max98090/Speaker.conf deleted file mode 100644 index fc65e5e2..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/max98090/Speaker.conf +++ /dev/null @@ -1,24 +0,0 @@ -SectionDevice."Speaker" { - Comment "Speaker" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Speaker Left Switch' on" - cset "name='Speaker Right Switch' on" - cset "name='Ext Spk Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Left Switch' off" - cset "name='Speaker Right Switch' off" - cset "name='Ext Spk Switch' off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/DMIC1_2.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/DMIC1_2.conf deleted file mode 100644 index f54f6718..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/DMIC1_2.conf +++ /dev/null @@ -1,30 +0,0 @@ -# Stereo DMICs on the DMIC1 and DMIC2 inputs - -SectionDevice."Mic" { - Comment "Internal Digital Microphones" - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - } - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - # Note needs to be swapped / swap is deliberate! - cset "name='ADC CH0 Select' 1" - cset "name='ADC CH1 Select' 0" - - cset "name='Int Mic Switch' on" - cset "name='DMIC1 Enable Switch' on" - cset "name='DMIC2 Enable Switch' on" - ] - - DisableSequence [ - cset "name='Int Mic Switch' off" - cset "name='DMIC1 Enable Switch' off" - cset "name='DMIC2 Enable Switch' off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/EnableSeq.conf deleted file mode 100644 index 660856fe..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/EnableSeq.conf +++ /dev/null @@ -1,17 +0,0 @@ -EnableSequence [ - # Playback TDM configuration - cset "name='DACL Channel Source' 0" - cset "name='DACR Channel Source' ${var:RightOutputChannel}" - # Input Configuration - cset "name='DMIC1 Enable Switch' off" - cset "name='DMIC2 Enable Switch' off" - cset "name='DMIC3 Enable Switch' off" - cset "name='DMIC4 Enable Switch' off" - cset "name='MIC1 Volume' 14" - cset "name='MIC2 Volume' 14" - # Button Configuration - cset "name='THD for key media' 10" - cset "name='THD for key voice command' 16" - cset "name='THD for key volume up' 38" - cset "name='THD for key volume down' 115" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/HeadPhones.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/HeadPhones.conf deleted file mode 100644 index a807f846..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/HeadPhones.conf +++ /dev/null @@ -1,21 +0,0 @@ -SectionDevice."Headphones" { - Comment "Headphones" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - } - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='Headphone Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Switch' off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/HeadsetMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/HeadsetMic.conf deleted file mode 100644 index 1129a6bc..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/HeadsetMic.conf +++ /dev/null @@ -1,28 +0,0 @@ -SectionDevice."Headset" { - Comment "Headset Microphone" - - Value { - CapturePriority 300 - CapturePCM "hw:${CardId}" - JackControl "Headset Mic Jack" - } - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='ADC CH0 Select' 1" - cset "name='ADC CH1 Select' 1" - - cset "name='Headset Mic Switch' on" - cset "name='Right ADC HSMIC Switch' on" - cset "name='Left ADC HSMIC Switch' on" - ] - - DisableSequence [ - cset "name='Headset Mic Switch' off" - cset "name='Right ADC HSMIC Switch' off" - cset "name='Left ADC HSMIC Switch' off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/InternalMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/InternalMic.conf deleted file mode 100644 index 409f01b8..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/InternalMic.conf +++ /dev/null @@ -1,27 +0,0 @@ -SectionDevice."Mic" { - Comment "Internal Microphone" - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - } - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='ADC CH0 Select' 0" - cset "name='ADC CH1 Select' 0" - - cset "name='Int Mic Switch' on" - cset "name='Right ADC MIC Switch' on" - cset "name='Left ADC MIC Switch' on" - ] - - DisableSequence [ - cset "name='Int Mic Switch' off" - cset "name='Right ADC MIC Switch' off" - cset "name='Left ADC MIC Switch' off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/MonoSpeaker.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/MonoSpeaker.conf deleted file mode 100644 index 54281332..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/MonoSpeaker.conf +++ /dev/null @@ -1,26 +0,0 @@ -SectionDevice."Speaker" { - Comment "Mono Speaker" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - # Some nau8824 mono speaker boards have the speaker on the right chan - # others on the left, enable output of both channels on both speakers - cset "name='Speaker Left DACL Volume' 1" - cset "name='Speaker Left DACR Volume' 1" - cset "name='Speaker Right DACL Volume' 1" - cset "name='Speaker Right DACR Volume' 1" - cset "name='Ext Spk Switch' on" - ] - - DisableSequence [ - cset "name='Ext Spk Switch' off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/Speaker.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/Speaker.conf deleted file mode 100644 index a995873e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/nau8824/Speaker.conf +++ /dev/null @@ -1,24 +0,0 @@ -SectionDevice."Speaker" { - Comment "Speaker" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Speaker Left DACL Volume' 1" - cset "name='Speaker Left DACR Volume' 0" - cset "name='Speaker Right DACL Volume' 0" - cset "name='Speaker Right DACR Volume' 1" - cset "name='Ext Spk Switch' on" - ] - - DisableSequence [ - cset "name='Ext Spk Switch' off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf deleted file mode 100644 index d2a59886..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf +++ /dev/null @@ -1,11 +0,0 @@ -DisableSequence [ - cset "name='RX_MACRO RX0 MUX' ZERO" - cset "name='RX_MACRO RX1 MUX' ZERO" - cset "name='RX INT0_1 MIX1 INP0' ZERO" - cset "name='RX INT1_1 MIX1 INP0' ZERO" - cset "name='RX INT0 DEM MUX' NORMAL_DSM_OUT" - cset "name='RX INT1 DEM MUX' NORMAL_DSM_OUT" - cset "name='RX_COMP1 Switch' 0" - cset "name='RX_COMP2 Switch' 0" - cset "name='RX HPH Mode' CLS_H_INVALID" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf deleted file mode 100644 index 0162b6cb..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf +++ /dev/null @@ -1,12 +0,0 @@ -EnableSequence [ - cset "name='RX_HPH PWR Mode' LOHIFI" - cset "name='RX HPH Mode' CLS_H_ULP" - cset "name='RX_MACRO RX0 MUX' AIF1_PB" - cset "name='RX_MACRO RX1 MUX' AIF1_PB" - cset "name='RX INT0_1 MIX1 INP0' RX0" - cset "name='RX INT1_1 MIX1 INP0' RX1" - cset "name='RX INT0 DEM MUX' CLSH_DSM_OUT" - cset "name='RX INT1 DEM MUX' CLSH_DSM_OUT" - cset "name='RX_COMP1 Switch' 1" - cset "name='RX_COMP2 Switch' 1" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/rx-macro/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/rx-macro/init.conf deleted file mode 100644 index 55b69271..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/rx-macro/init.conf +++ /dev/null @@ -1,6 +0,0 @@ -# RX Digital codec specific volume control settings - -BootSequence [ - cset "name='RX_RX0 Digital Volume' 84" - cset "name='RX_RX1 Digital Volume' 84" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/DMIC0DisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/DMIC0DisableSeq.conf deleted file mode 100644 index e925a43f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/DMIC0DisableSeq.conf +++ /dev/null @@ -1,4 +0,0 @@ -DisableSequence [ - cset "name='TX DMIC MUX0' ZERO" - cset "name='TX_AIF1_CAP Mixer DEC0' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/DMIC0EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/DMIC0EnableSeq.conf deleted file mode 100644 index fdaee349..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/DMIC0EnableSeq.conf +++ /dev/null @@ -1,9 +0,0 @@ -EnableSequence [ - cset "name='TX DEC0 MUX' MSM_DMIC" - cset "name='TX DMIC MUX0' DMIC0" - cset "name='TX DMIC MUX1' DMIC1" - cset "name='TX_AIF1_CAP Mixer DEC0' 1" - cset "name='TX_AIF1_CAP Mixer DEC1' 1" - cset "name='TX_DEC0 Volume' 100" - cset "name='TX_DEC1 Volume' 100" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/HeadphoneMicDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/HeadphoneMicDisableSeq.conf deleted file mode 100644 index 97b2762c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/HeadphoneMicDisableSeq.conf +++ /dev/null @@ -1,5 +0,0 @@ -DisableSequence [ - cset "name='TX SMIC MUX0' ZERO" - cset "name='TX_AIF1_CAP Mixer DEC0' 0" - cset "name='TX1 MODE' ADC_INVALID" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/HeadphoneMicEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/HeadphoneMicEnableSeq.conf deleted file mode 100644 index 631c6e28..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/HeadphoneMicEnableSeq.conf +++ /dev/null @@ -1,7 +0,0 @@ -EnableSequence [ - cset "name='TX DEC0 MUX' SWR_MIC" - cset "name='TX SMIC MUX0' ADC1" - cset "name='TX_AIF1_CAP Mixer DEC0' 1" - cset "name='TX1 MODE' ADC_NORMAL" - cset "name='TX_DEC0 Volume' 110" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/SoundwireMic0EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/SoundwireMic0EnableSeq.conf deleted file mode 100644 index 8282b9c8..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/SoundwireMic0EnableSeq.conf +++ /dev/null @@ -1,6 +0,0 @@ -EnableSequence [ - cset "name='TX DEC0 MUX' SWR_MIC" - cset "name='TX SMIC MUX0' SWR_MIC0" - cset "name='TX_AIF1_CAP Mixer DEC0' 1" - cset "name='TX_DEC0 Volume' 100" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/SoundwireMic1EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/SoundwireMic1EnableSeq.conf deleted file mode 100644 index 28152bfb..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/SoundwireMic1EnableSeq.conf +++ /dev/null @@ -1,7 +0,0 @@ -EnableSequence [ - cset "name='TX DEC0 MUX' SWR_MIC" - cset "name='TX SMIC MUX0' SWR_MIC1" - cset "name='TX_AIF1_CAP Mixer DEC0' 1" - cset "name='DEC0 MODE' ADC_DEFAULT" - cset "name='TX_DEC0 Volume' 110" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/SoundwireMicDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/SoundwireMicDisableSeq.conf deleted file mode 100644 index 9cee13f4..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/tx-macro/SoundwireMicDisableSeq.conf +++ /dev/null @@ -1,4 +0,0 @@ -DisableSequence [ - cset "name='TX SMIC MUX0' ZERO" - cset "name='TX_AIF1_CAP Mixer DEC0' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/va-macro/DMIC0DisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/va-macro/DMIC0DisableSeq.conf deleted file mode 100644 index ec3f45aa..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/va-macro/DMIC0DisableSeq.conf +++ /dev/null @@ -1,5 +0,0 @@ -DisableSequence [ - cset "name='VA DMIC MUX0' ZERO" - cset "name='VA_DEC0 Volume' 0" - cset "name='VA_AIF1_CAP Mixer DEC0' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/va-macro/DMIC0EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/va-macro/DMIC0EnableSeq.conf deleted file mode 100644 index cc589ccd..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/va-macro/DMIC0EnableSeq.conf +++ /dev/null @@ -1,6 +0,0 @@ -EnableSequence [ - cset "name='VA DEC0 MUX' VA_DMIC" - cset "name='VA DMIC MUX0' DMIC0" - cset "name='VA_AIF1_CAP Mixer DEC0' 1" - cset "name='VA_DEC0 Volume' 100" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/va-macro/DMIC1DisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/va-macro/DMIC1DisableSeq.conf deleted file mode 100644 index 7972a3b4..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/va-macro/DMIC1DisableSeq.conf +++ /dev/null @@ -1,5 +0,0 @@ -DisableSequence [ - cset "name='VA DMIC MUX1' ZERO" - cset "name='VA_DEC1 Volume' 0" - cset "name='VA_AIF1_CAP Mixer DEC1' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/va-macro/DMIC1EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/va-macro/DMIC1EnableSeq.conf deleted file mode 100644 index b11ddac7..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/va-macro/DMIC1EnableSeq.conf +++ /dev/null @@ -1,6 +0,0 @@ -EnableSequence [ - cset "name='VA DEC1 MUX' VA_DMIC" - cset "name='VA DMIC MUX1' DMIC1" - cset "name='VA_AIF1_CAP Mixer DEC1' 1" - cset "name='VA_DEC1 Volume' 100" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf deleted file mode 100644 index 98cf061e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf +++ /dev/null @@ -1,8 +0,0 @@ -DisableSequence [ - cset "name='WSA_COMP1 Switch' 0" - cset "name='WSA_COMP2 Switch' 0" - cset "name='WSA_RX0 INP0' ZERO" - cset "name='WSA_RX1 INP0' ZERO" - cset "name='WSA RX0 MUX' ZERO" - cset "name='WSA RX1 MUX' ZERO" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf deleted file mode 100644 index 488826b8..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf +++ /dev/null @@ -1,8 +0,0 @@ -EnableSequence [ - cset "name='WSA RX0 MUX' AIF1_PB" - cset "name='WSA RX1 MUX' AIF1_PB" - cset "name='WSA_RX0 INP0' RX0" - cset "name='WSA_RX1 INP0' RX1" - cset "name='WSA_COMP1 Switch' 1" - cset "name='WSA_COMP2 Switch' 1" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerDisableSeq.conf deleted file mode 100644 index c34b50b8..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerDisableSeq.conf +++ /dev/null @@ -1,10 +0,0 @@ -DisableSequence [ -# cset "name='WSA WSA_RX0 Digital Volume' 0" -# cset "name='WSA WSA_RX1 Digital Volume' 0" - cset "name='WSA WSA_COMP1 Switch' 0" - cset "name='WSA WSA_COMP2 Switch' 0" - cset "name='WSA WSA_RX0 INP0' ZERO" - cset "name='WSA WSA_RX1 INP0' ZERO" - cset "name='WSA WSA RX0 MUX' ZERO" - cset "name='WSA WSA RX1 MUX' ZERO" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerEnableSeq.conf deleted file mode 100644 index a619ed68..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/Wsa1SpeakerEnableSeq.conf +++ /dev/null @@ -1,10 +0,0 @@ -EnableSequence [ - cset "name='WSA WSA RX0 MUX' AIF1_PB" - cset "name='WSA WSA RX1 MUX' AIF1_PB" - cset "name='WSA WSA_RX0 INP0' RX0" - cset "name='WSA WSA_RX1 INP0' RX1" - cset "name='WSA WSA_COMP1 Switch' 1" - cset "name='WSA WSA_COMP2 Switch' 1" - #cset "name='WSA WSA_RX0 Digital Volume' 68" - #cset "name='WSA WSA_RX1 Digital Volume' 68" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerDisableSeq.conf deleted file mode 100644 index 2c8dda70..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerDisableSeq.conf +++ /dev/null @@ -1,10 +0,0 @@ -DisableSequence [ -# cset "name='WSA2 WSA_RX0 Digital Volume' 0" -# cset "name='WSA2 WSA_RX1 Digital Volume' 0" - cset "name='WSA2 WSA_COMP1 Switch' 0" - cset "name='WSA2 WSA_COMP2 Switch' 0" - cset "name='WSA2 WSA_RX0 INP0' ZERO" - cset "name='WSA2 WSA_RX1 INP0' ZERO" - cset "name='WSA2 WSA RX0 MUX' ZERO" - cset "name='WSA2 WSA RX1 MUX' ZERO" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerEnableSeq.conf deleted file mode 100644 index af1cd665..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/Wsa2SpeakerEnableSeq.conf +++ /dev/null @@ -1,10 +0,0 @@ -EnableSequence [ - cset "name='WSA2 WSA RX0 MUX' AIF1_PB" - cset "name='WSA2 WSA RX1 MUX' AIF1_PB" - cset "name='WSA2 WSA_RX0 INP0' RX0" - cset "name='WSA2 WSA_RX1 INP0' RX1" - cset "name='WSA2 WSA_COMP1 Switch' 1" - cset "name='WSA2 WSA_COMP2 Switch' 1" - #cset "name='WSA2 WSA_RX0 Digital Volume' 68" - #cset "name='WSA2 WSA_RX1 Digital Volume' 68" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/four-speakers/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/four-speakers/init.conf deleted file mode 100644 index 3be24079..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/four-speakers/init.conf +++ /dev/null @@ -1,8 +0,0 @@ -# WSA Digital codec specific volume control settings - -BootSequence [ - cset "name='WSA WSA_RX0 Digital Volume' 84" - cset "name='WSA WSA_RX1 Digital Volume' 84" - cset "name='WSA2 WSA_RX0 Digital Volume' 84" - cset "name='WSA2 WSA_RX1 Digital Volume' 84" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/init.conf deleted file mode 100644 index 29f7c395..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/qcom-lpass/wsa-macro/init.conf +++ /dev/null @@ -1,6 +0,0 @@ -# WSA Digital codec specific volume control settings - -BootSequence [ - cset "name='WSA_RX0 Digital Volume' 84" - cset "name='WSA_RX1 Digital Volume' 84" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/DigitalMics.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/DigitalMics.conf deleted file mode 100644 index 188df0a2..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/DigitalMics.conf +++ /dev/null @@ -1,61 +0,0 @@ -SectionDevice."Mic" { - Comment "Internal Digital Microphones" - - If.have-headset { - Condition { - Type String - Empty "${var:HaveHeadsetMic}" - } - False { - ConflictingDevice [ - "Headset" - ] - } - } - - EnableSequence [ - cset "name='Stereo ADC2 Mux' ${var:StereoADC2Mux}" - cset "name='Mono ADC MIXL ADC2 Switch' on" - cset "name='Mono ADC MIXR ADC2 Switch' on" - cset "name='Stereo ADC MIXL ADC2 Switch' on" - cset "name='Stereo ADC MIXR ADC2 Switch' on" - - ] - - DisableSequence [ - cset "name='Mono ADC MIXL ADC2 Switch' off" - cset "name='Mono ADC MIXR ADC2 Switch' off" - cset "name='Stereo ADC MIXL ADC2 Switch' off" - cset "name='Stereo ADC MIXR ADC2 Switch' off" - - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - If.DmicAif1 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "1" - } - True { - CaptureMixerElem "ADC" - CaptureVolume "ADC Capture Volume" - CaptureSwitch "ADC Capture Switch" - } - } - If.DmicAif2 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "2" - } - True { - CaptureMixerElem "Mono ADC" - CaptureVolume "Mono ADC Capture Volume" - CaptureSwitch "Mono ADC Capture Switch" - } - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/EnableSeq.conf deleted file mode 100644 index d9d536c4..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/EnableSeq.conf +++ /dev/null @@ -1,84 +0,0 @@ -EnableSequence [ - # RT5640 default output routing - cset "name='DAC MIXL INF1 Switch' on" - cset "name='DAC MIXR INF1 Switch' on" - cset "name='Stereo DAC MIXL DAC L1 Switch' on" - cset "name='Stereo DAC MIXR DAC R1 Switch' on" - cset "name='Stereo DAC MIXL DAC L2 Switch' on" - cset "name='Stereo DAC MIXR DAC R2 Switch' on" - cset "name='OUT MIXL DAC L1 Switch' on" - cset "name='OUT MIXR DAC R1 Switch' on" - cset "name='SPK MIXL DAC L1 Switch' on" - cset "name='SPK MIXR DAC R1 Switch' on" - - # uncomment for loopback mic->speakers - # cset "name='SPOL MIX BST1 Switch' on" - # cset "name='SPOR MIX BST1 Switch' on" - - # uncomment for loopback playback -> capture - # cset "name='RECMIXL OUT MIXL Switch' on" - # cset "name='RECMIXR OUT MIXR Switch' on" - - # uncomment to enable swap between AIF1 and AIF2 - # warning: can only work with SSP0 firmware enabled - cset "name='SDI select' 0" - cset "name='DAI select' 0" - #cset "name='SDI select' 1" - #cset "name='DAI select' 1" - - cset "name='DAC2 Playback Switch' on" - - # Input Configuration - cset "name='Stereo ADC1 Mux' ADC" - cset "name='ADC Capture Switch' on" - - cset "name='Mono ADC L1 Mux' ADCL" - cset "name='Mono ADC R1 Mux' ADCR" - cset "name='Mono ADC L2 Mux' DMIC L1" - cset "name='Mono ADC R2 Mux' DMIC R1" - cset "name='Mono ADC Capture Switch' on" - - # 47=0dB, 0.375 dB/step, set it to 9 dB to help with soft mics - cset "name='ADC Capture Volume' 71" - cset "name='Mono ADC Capture Volume' 71" - - # The second 'Mono ADC' path does not have a 'Boost Gain', - # set this to 0dB so that the volume of the AIF1 and AIF2 paths is equal. - cset "name='ADC Boost Gain' 0" - - # Set IN1/IN3 internal mic boost to 8 (max) - # Set IN2 headset-mic boost to 1, headset mics are quite loud - cset "name='IN1 Boost' 8" - cset "name='IN2 Boost' 1" - cset "name='IN3 Boost' 8" - - # Start with all controls which are used by the individual - # input/output Enable/DisableSequences off - - cset "name='RECMIXL BST1 Switch' off" - cset "name='RECMIXR BST1 Switch' off" - cset "name='RECMIXL BST2 Switch' off" - cset "name='RECMIXR BST2 Switch' off" - cset "name='RECMIXL BST3 Switch' off" - cset "name='RECMIXR BST3 Switch' off" - - cset "name='Stereo ADC MIXL ADC1 Switch' off" - cset "name='Stereo ADC MIXR ADC1 Switch' off" - cset "name='Stereo ADC MIXL ADC2 Switch' off" - cset "name='Stereo ADC MIXR ADC2 Switch' off" - cset "name='Mono ADC MIXL ADC1 Switch' off" - cset "name='Mono ADC MIXR ADC1 Switch' off" - cset "name='Mono ADC MIXL ADC2 Switch' off" - cset "name='Mono ADC MIXR ADC2 Switch' off" - - # Turn off playback switches by default, otherwise both Speaker - # and headphones are playing audio initially until headphones are - # re-inserted. - cset "name='HP L Playback Switch' off" - cset "name='HP R Playback Switch' off" - cset "name='Speaker L Playback Switch' off" - cset "name='Speaker R Playback Switch' off" - - cset "name='HP Playback Volume' 29" - cset "name='Speaker Playback Volume' 35" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/HeadPhones.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/HeadPhones.conf deleted file mode 100644 index 2be787d1..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/HeadPhones.conf +++ /dev/null @@ -1,53 +0,0 @@ -SectionDevice."Headphones" { - Comment "Headphones" - - If.have-spk { - Condition { - Type String - Empty "${var:HaveSpeaker}" - } - False { - ConflictingDevice [ - "Speaker" - ] - } - } - - EnableSequence [ - cset "name='HPO MIX HPVOL Switch' on" - cset "name='HP Channel Switch' on" - cset "name='HP L Playback Switch' on" - cset "name='HP R Playback Switch' on" - - ] - - DisableSequence [ - cset "name='HP Channel Switch' off" - cset "name='HP L Playback Switch' off" - cset "name='HP R Playback Switch' off" - ] - - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - PlaybackMixerElem "HP" - PlaybackVolume "HP Playback Volume" - If.HpAif1 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "1" - } - True.PlaybackMasterElem "DAC1" - } - If.HpAif2 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "2" - } - True.PlaybackMasterElem "DAC2" - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/HeadPhones2.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/HeadPhones2.conf deleted file mode 100644 index b75e420d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/HeadPhones2.conf +++ /dev/null @@ -1,46 +0,0 @@ -# The 2nd headset jack uses lineout with an external HP-amp - -SectionDevice."Headphones2" { - Comment "Headphones 2" - - ConflictingDevice [ - "Speaker" - "Headphones" - ] - - EnableSequence [ - cset "name='LOUT MIX OUTVOL L Switch' on" - cset "name='LOUT MIX OUTVOL R Switch' on" - cset "name='OUT Channel Switch' on" - ] - - DisableSequence [ - cset "name='LOUT MIX OUTVOL L Switch' off" - cset "name='LOUT MIX OUTVOL R Switch' off" - cset "name='OUT Channel Switch' off" - ] - - Value { - PlaybackPriority 400 - PlaybackPCM "hw:${CardId}" - JackControl "Line Out Jack" - PlaybackMixerElem "OUT" - PlaybackVolume "OUT Playback Volume" - If.HpAif1 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "1" - } - True.PlaybackMasterElem "DAC1" - } - If.HpAif2 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "2" - } - True.PlaybackMasterElem "DAC2" - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/HeadsetMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/HeadsetMic.conf deleted file mode 100644 index e009a0c3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/HeadsetMic.conf +++ /dev/null @@ -1,59 +0,0 @@ -SectionDevice."Headset" { - Comment "Headset Microphone" - - If.have-mic { - Condition { - Type String - Empty "${var:HaveInternalMic}" - } - False { - ConflictingDevice [ - "Mic" - ] - } - } - - EnableSequence [ - cset "name='RECMIXL BST2 Switch' on" - cset "name='RECMIXR BST2 Switch' on" - - cset "name='Stereo ADC MIXL ADC1 Switch' on" - cset "name='Stereo ADC MIXR ADC1 Switch' on" - cset "name='Mono ADC MIXL ADC1 Switch' on" - cset "name='Mono ADC MIXR ADC1 Switch' on" - ] - - DisableSequence [ - cset "name='Stereo ADC MIXL ADC1 Switch' off" - cset "name='Stereo ADC MIXR ADC1 Switch' off" - cset "name='Mono ADC MIXL ADC1 Switch' off" - cset "name='Mono ADC MIXR ADC1 Switch' off" - - cset "name='RECMIXL BST2 Switch' off" - cset "name='RECMIXR BST2 Switch' off" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - JackControl "Headset Mic Jack" - CaptureMixerElem "IN2 Boost" - CaptureVolume "IN2 Boost" - If.HSmicAif1 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "1" - } - True.CaptureMasterElem "ADC" - } - If.HSmicAif2 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "2" - } - True.CaptureMasterElem "Mono ADC" - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/HeadsetMic2-IN1.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/HeadsetMic2-IN1.conf deleted file mode 100644 index ff05f822..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/HeadsetMic2-IN1.conf +++ /dev/null @@ -1,52 +0,0 @@ -SectionDevice."Headset2" { - Comment "Headset Microphone 2" - - ConflictingDevice [ - "Mic" - "Headset" - ] - - EnableSequence [ - cset "name='RECMIXL BST1 Switch' on" - cset "name='RECMIXR BST1 Switch' on" - - cset "name='Stereo ADC MIXL ADC1 Switch' on" - cset "name='Stereo ADC MIXR ADC1 Switch' on" - cset "name='Mono ADC MIXL ADC1 Switch' on" - cset "name='Mono ADC MIXR ADC1 Switch' on" - ] - - DisableSequence [ - cset "name='Stereo ADC MIXL ADC1 Switch' off" - cset "name='Stereo ADC MIXR ADC1 Switch' off" - cset "name='Mono ADC MIXL ADC1 Switch' off" - cset "name='Mono ADC MIXR ADC1 Switch' off" - - cset "name='RECMIXL BST1 Switch' off" - cset "name='RECMIXR BST1 Switch' off" - ] - - Value { - CapturePriority 300 - CapturePCM "hw:${CardId}" - JackControl "Headset Mic 2 Jack" - CaptureMixerElem "IN1 Boost" - CaptureVolume "IN1 Boost" - If.In1Aif1 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "1" - } - True.CaptureMasterElem "ADC" - } - If.In1Aif2 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "2" - } - True.CaptureMasterElem "Mono ADC" - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/IN1-InternalMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/IN1-InternalMic.conf deleted file mode 100644 index 9cafc304..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/IN1-InternalMic.conf +++ /dev/null @@ -1,58 +0,0 @@ -SectionDevice."Mic" { - Comment "Internal Microphone on IN1" - - If.have-headset { - Condition { - Type String - Empty "${var:HaveHeadsetMic}" - } - False { - ConflictingDevice [ - "Headset" - ] - } - } - - EnableSequence [ - cset "name='RECMIXL BST1 Switch' on" - cset "name='RECMIXR BST1 Switch' on" - - cset "name='Stereo ADC MIXL ADC1 Switch' on" - cset "name='Stereo ADC MIXR ADC1 Switch' on" - cset "name='Mono ADC MIXL ADC1 Switch' on" - cset "name='Mono ADC MIXR ADC1 Switch' on" - ] - - DisableSequence [ - cset "name='Stereo ADC MIXL ADC1 Switch' off" - cset "name='Stereo ADC MIXR ADC1 Switch' off" - cset "name='Mono ADC MIXL ADC1 Switch' off" - cset "name='Mono ADC MIXR ADC1 Switch' off" - - cset "name='RECMIXL BST1 Switch' off" - cset "name='RECMIXR BST1 Switch' off" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - CaptureMixerElem "IN1 Boost" - CaptureVolume "IN1 Boost" - If.In1Aif1 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "1" - } - True.CaptureMasterElem "ADC" - } - If.In1Aif2 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "2" - } - True.CaptureMasterElem "Mono ADC" - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/IN3-InternalMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/IN3-InternalMic.conf deleted file mode 100644 index f1ce9843..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/IN3-InternalMic.conf +++ /dev/null @@ -1,58 +0,0 @@ -SectionDevice."Mic" { - Comment "Internal Microphone on IN3" - - If.have-headset { - Condition { - Type String - Empty "${var:HaveHeadsetMic}" - } - False { - ConflictingDevice [ - "Headset" - ] - } - } - - EnableSequence [ - cset "name='RECMIXL BST3 Switch' on" - cset "name='RECMIXR BST3 Switch' on" - - cset "name='Stereo ADC MIXL ADC1 Switch' on" - cset "name='Stereo ADC MIXR ADC1 Switch' on" - cset "name='Mono ADC MIXL ADC1 Switch' on" - cset "name='Mono ADC MIXR ADC1 Switch' on" - ] - - DisableSequence [ - cset "name='Stereo ADC MIXL ADC1 Switch' off" - cset "name='Stereo ADC MIXR ADC1 Switch' off" - cset "name='Mono ADC MIXL ADC1 Switch' off" - cset "name='Mono ADC MIXR ADC1 Switch' off" - - cset "name='RECMIXL BST3 Switch' off" - cset "name='RECMIXR BST3 Switch' off" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - CaptureMixerElem "IN3 Boost" - CaptureVolume "IN3 Boost" - If.In3Aif1 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "1" - } - True.CaptureMasterElem "ADC" - } - If.In3Aif2 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "2" - } - True.CaptureMasterElem "Mono ADC" - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/MonoSpeaker.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/MonoSpeaker.conf deleted file mode 100644 index a236027f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/MonoSpeaker.conf +++ /dev/null @@ -1,47 +0,0 @@ -SectionDevice."Speaker" { - Comment "Mono Speaker" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='SPOL MIX SPKVOL L Switch' on" -# for mono speaker we apply left on right -# cset "name='SPOR MIX SPKVOL R Switch' on" - cset "name='SPOL MIX SPKVOL R Switch' on" - cset "name='Speaker Channel Switch' on" - cset "name='Speaker L Playback Switch' on" - cset "name='Speaker R Playback Switch' on" - - ] - - DisableSequence [ - cset "name='Speaker Channel Switch' off" - cset "name='Speaker L Playback Switch' off" - cset "name='Speaker R Playback Switch' off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "Speaker" - PlaybackVolume "Speaker Playback Volume" - If.MonoSpkAif1 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "1" - } - True.PlaybackMasterElem "DAC1" - } - If.MonoSpkAif2 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "2" - } - True.PlaybackMasterElem "DAC2" - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/Speaker.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/Speaker.conf deleted file mode 100644 index 81ee91ff..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/Speaker.conf +++ /dev/null @@ -1,47 +0,0 @@ -SectionDevice."Speaker" { - Comment "Speakers" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='SPOL MIX SPKVOL L Switch' on" - cset "name='SPOR MIX SPKVOL R Switch' on" - # undo MonoSpeaker mixing of right channel to left speaker - cset "name='SPOL MIX SPKVOL R Switch' off" - cset "name='Speaker Channel Switch' on" - cset "name='Speaker L Playback Switch' on" - cset "name='Speaker R Playback Switch' on" - - ] - - DisableSequence [ - cset "name='Speaker Channel Switch' off" - cset "name='Speaker L Playback Switch' off" - cset "name='Speaker R Playback Switch' off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - PlaybackMixerElem "Speaker" - PlaybackVolume "Speaker Playback Volume" - If.SpkAif1 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "1" - } - True.PlaybackMasterElem "DAC1" - } - If.SpkAif2 { - Condition { - Type String - String1 "${var:HaveAif}" - String2 "2" - } - True.PlaybackMasterElem "DAC2" - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/init.conf deleted file mode 100644 index 0756b4ab..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5640/init.conf +++ /dev/null @@ -1,18 +0,0 @@ -LibraryConfig.remap.Config { - - ctl.default.remap { - "name='ADC Boost Gain'" "name='ADC Boost Capture Volume'" - "name='IN1 Boost'" "name='IN1 Boost Capture Volume'" - "name='IN2 Boost'" "name='IN2 Boost Capture Volume'" - "name='IN3 Boost'" "name='IN3 Boost Capture Volume'" - # Rename the 'Headphone Switch' DAPM PIN switch to avoid it getting - # grouped with 'Headphone Playback Volume' - "name='Headphone Switch'" "name='Headphone Output Switch'" - "name='HP Playback Volume'" "name='Headphone Playback Volume'" - "name='HP Channel Switch'" "name='Headphone Playback Switch'" - # Idem for the 'Speaker Switch' - "name='Speaker Switch'" "name='Speaker Output Switch'" - "name='Speaker Channel Switch'" "name='Speaker Playback Switch'" - } - -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/AnalogMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/AnalogMic.conf deleted file mode 100644 index 17938802..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/AnalogMic.conf +++ /dev/null @@ -1,37 +0,0 @@ -SectionDevice."Mic" { - Comment "Internal Analog Microphone" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } - - EnableSequence [ - cset "name='Int Analog Mic Switch' on" - - cset "name='Sto1 ADC MIXL ADC1 Switch' on" - cset "name='Sto1 ADC MIXR ADC1 Switch' on" - cset "name='Sto1 ADC MIXL ADC2 Switch' off" - cset "name='Sto1 ADC MIXR ADC2 Switch' off" - - cset "name='Mono ADC MIXL ADC1 Switch' on" - cset "name='Mono ADC MIXR ADC1 Switch' on" - cset "name='Mono ADC MIXL ADC2 Switch' off" - cset "name='Mono ADC MIXR ADC2 Switch' off" - - cset "name='RECMIXL BST2 Switch' on" - cset "name='RECMIXR BST2 Switch' on" - ] - - DisableSequence [ - cset "name='Sto1 ADC MIXL ADC1 Switch' off" - cset "name='Sto1 ADC MIXR ADC1 Switch' off" - cset "name='Mono ADC MIXL ADC1 Switch' off" - cset "name='Mono ADC MIXR ADC1 Switch' off" - - cset "name='RECMIXL BST2 Switch' off" - cset "name='RECMIXR BST2 Switch' off" - - cset "name='Int Analog Mic Switch' off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/DigitalMicDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/DigitalMicDisableSeq.conf deleted file mode 100644 index 227cc3ed..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/DigitalMicDisableSeq.conf +++ /dev/null @@ -1,7 +0,0 @@ -DisableSequence [ - cset "name='Sto1 ADC MIXL ADC2 Switch' off" - cset "name='Sto1 ADC MIXR ADC2 Switch' off" - cset "name='Mono ADC MIXL ADC2 Switch' off" - cset "name='Mono ADC MIXR ADC2 Switch' off" - cset "name='Int Mic Switch' off" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/DigitalMicEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/DigitalMicEnableSeq.conf deleted file mode 100644 index 45510ad4..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/DigitalMicEnableSeq.conf +++ /dev/null @@ -1,12 +0,0 @@ -EnableSequence [ - cset "name='Int Mic Switch' on" - - cset "name='Sto1 ADC MIXL ADC1 Switch' off" - cset "name='Sto1 ADC MIXR ADC1 Switch' off" - cset "name='Sto1 ADC MIXL ADC2 Switch' on" - cset "name='Sto1 ADC MIXR ADC2 Switch' on" - cset "name='Mono ADC MIXL ADC1 Switch' off" - cset "name='Mono ADC MIXR ADC1 Switch' off" - cset "name='Mono ADC MIXL ADC2 Switch' on" - cset "name='Mono ADC MIXR ADC2 Switch' on" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/DisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/DisableSeq.conf deleted file mode 100644 index 5726d8a4..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/DisableSeq.conf +++ /dev/null @@ -1,17 +0,0 @@ -DisableSequence [ - # Disable audio output path - cset "name='codec_out1 mix 0 pcm0_in Switch' off" - cset "name='media0_out mix 0 media1_in Switch' off" - - cset "name='media1_in Gain 0 Switch' off" - cset "name='pcm0_in Gain 0 Switch' off" - cset "name='codec_out1 Gain 0 Switch' off" - - # Disable audio input path - cset "name='pcm1_out mix 0 media_loop2_in Switch' off" - cset "name='media_loop2_out mix 0 codec_in0 Switch' off" - - cset "name='media_loop2_out Gain 0 Switch' off" - cset "name='pcm1_out Gain 0 Switch' off" - cset "name='codec_in0 Gain 0 Switch' off" -] \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/EnableSeq.conf deleted file mode 100644 index 68fdcbbb..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/EnableSeq.conf +++ /dev/null @@ -1,48 +0,0 @@ -EnableSequence [ - # Output Configuration - cset "name='DAC1 L Mux' IF1 DAC" - cset "name='DAC1 R Mux' IF1 DAC" - cset "name='DAC1 MIXL DAC1 Switch' 1" - cset "name='DAC1 MIXR DAC1 Switch' 1" - cset "name='Stereo DAC MIXL DAC L1 Switch' 1" - cset "name='Stereo DAC MIXR DAC R1 Switch' 1" - - cset "name='DAC L2 Mux' IF2 DAC" - cset "name='DAC R2 Mux' IF2 DAC" - cset "name='Mono DAC MIXL DAC L2 Switch' on" - cset "name='Mono DAC MIXR DAC R2 Switch' on" - cset "name='DAC2 Playback Switch' on" - - cset "name='HPOVOL MIXL DAC1 Switch' on" - cset "name='HPOVOL MIXR DAC1 Switch' on" - cset "name='HPOVOL MIXL DAC2 Switch' on" - cset "name='HPOVOL MIXR DAC2 Switch' on" - cset "name='HPO MIX HPVOL Switch' on" - cset "name='HPOVOL L Switch' on" - cset "name='HPOVOL R Switch' on" - - cset "name='SPK MIXL DAC L1 Switch' on" - cset "name='SPK MIXR DAC R1 Switch' on" - cset "name='SPK MIXL DAC L2 Switch' on" - cset "name='SPK MIXR DAC R2 Switch' on" - cset "name='SPOL MIX SPKVOL L Switch' on" - cset "name='SPOR MIX SPKVOL R Switch' on" - cset "name='SPKVOL L Switch' on" - cset "name='SPKVOL R Switch' on" - - # Input Configuration - cset "name='Stereo1 DMIC Mux' 0" - cset "name='Stereo1 ADC2 Mux' 1" - cset "name='ADC Capture Switch' on" - - # 55/63 - cset "name='ADC Capture Volume' 55" - # set ADC Boost to 0/3, higher vals cause a lot of white noise - cset "name='ADC Boost Capture Volume' 0" - # 55/63 - cset "name='Mono ADC Capture Volume' 55" - # 0/3 - cset "name='Mono ADC Boost Capture Volume' 0" - # 27/31 - cset "name='IN Capture Volume' 27" -] \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/HSMicDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/HSMicDisableSeq.conf deleted file mode 100644 index d6944235..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/HSMicDisableSeq.conf +++ /dev/null @@ -1,8 +0,0 @@ -DisableSequence [ - cset "name='Headset Mic Switch' off" - - cset "name='RECMIXL BST1 Switch' off" - cset "name='RECMIXR BST1 Switch' off" - cset "name='Sto1 ADC MIXL ADC1 Switch' off" - cset "name='Sto1 ADC MIXR ADC1 Switch' off" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/HSMicEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/HSMicEnableSeq.conf deleted file mode 100644 index cf806370..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/HSMicEnableSeq.conf +++ /dev/null @@ -1,9 +0,0 @@ -EnableSequence [ - cset "name='Headset Mic Switch' on" - - cset "name='Sto1 ADC MIXL ADC1 Switch' on" - cset "name='Sto1 ADC MIXR ADC1 Switch' on" - - cset "name='RECMIXL BST1 Switch' on" - cset "name='RECMIXR BST1 Switch' on" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/HeadphonesEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/HeadphonesEnableSeq.conf deleted file mode 100644 index 4406d5aa..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/HeadphonesEnableSeq.conf +++ /dev/null @@ -1,9 +0,0 @@ -EnableSequence [ - cset "name='Ext Spk Switch' off" - cset "name='Speaker Channel Switch' off" - - cset "name='Headphone Switch' on" - cset "name='Headphone Channel Switch' on" - # 25/39 higher values cause crackling on some boards - cset "name='Headphone Playback Volume' 25" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/SpeakerEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/SpeakerEnableSeq.conf deleted file mode 100644 index 7b913875..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/SpeakerEnableSeq.conf +++ /dev/null @@ -1,8 +0,0 @@ -EnableSequence [ - cset "name='Headphone Switch' off" - cset "name='Headphone Channel Switch' off" - - cset "name='Ext Spk Switch' on" - cset "name='Speaker Channel Switch' on" - cset "name='Speaker Playback Volume' 31" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/init.conf deleted file mode 100644 index 09de16d5..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5645/init.conf +++ /dev/null @@ -1,10 +0,0 @@ -LibraryConfig.remap.Config { - - ctl.default.remap { - "name='IN1 Boost'" "name='IN1 Boost Capture Volume'" - "name='IN2 Boost'" "name='IN2 Boost Capture Volume'" - "name='Headphone Channel Switch'" "name='Headphone Playback Switch'" - "name='Speaker Channel Switch'" "name='Speaker Playback Switch'" - } - -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/DigitalMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/DigitalMic.conf deleted file mode 100644 index d21b21d1..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/DigitalMic.conf +++ /dev/null @@ -1,22 +0,0 @@ -SectionDevice."Mic" { - Comment "Internal Digital Microphone" - - EnableSequence [ - cset "name='Stereo1 ADC MIXL ADC2 Switch' on" - cset "name='Stereo1 ADC MIXR ADC2 Switch' on" - cset "name='DMIC ASRC Switch' on" - cset "name='Internal Mic Switch' on" - ] - - DisableSequence [ - cset "name='Stereo1 ADC MIXL ADC2 Switch' off" - cset "name='Stereo1 ADC MIXR ADC2 Switch' off" - cset "name='DMIC ASRC Switch' off" - cset "name='Internal Mic Switch' off" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/EnableSeq.conf deleted file mode 100644 index 3d30e15e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/EnableSeq.conf +++ /dev/null @@ -1,59 +0,0 @@ -EnableSequence [ - - # default state - cset "name='HPO MIX DAC1 Switch' on" - cset "name='HPO MIX HPVOL Switch' off" - cset "name='HPO L Playback Switch' off" - cset "name='HPO R Playback Switch' off" - cset "name='HPOVOL L Switch' on" - cset "name='HPOVOL R Switch' on" - cset "name='LOUT MIX DAC L1 Switch' on" - cset "name='LOUT MIX DAC R1 Switch' on" - cset "name='IF1 ASRC Switch' on" - cset "name='LOUT L Playback Switch' off" - cset "name='LOUT R Playback Switch' off" - cset "name='Stereo DAC MIXL DAC L1 Switch' on" - cset "name='Stereo DAC MIXL DAC R1 Switch' off" - cset "name='Stereo DAC MIXR DAC L1 Switch' off" - cset "name='Stereo DAC MIXR DAC R1 Switch' on" - cset "name='Stereo1 ADC MIXL ADC1 Switch' off" - cset "name='Stereo1 ADC MIXR ADC1 Switch' off" - cset "name='Stereo1 ADC MIXL ADC2 Switch' off" - cset "name='Stereo1 ADC MIXR ADC2 Switch' off" - cset "name='Stereo2 ADC MIXL ADC1 Switch' off" - cset "name='Stereo2 ADC MIXR ADC1 Switch' off" - cset "name='Stereo2 ADC MIXL ADC2 Switch' off" - cset "name='Stereo2 ADC MIXR ADC2 Switch' off" - cset "name='Headphone Switch' off" - cset "name='Speaker Switch' off" - - # volumes - cset "name='OUT Playback Volume' 31" - cset "name='HP Playback Volume' 31" - cset "name='DAC1 Playback Volume' 175" - cset "name='IN Capture Volume' 23" - # 47=0dB, 0.375 dB/step, set it to 6 dB to help with soft mics - cset "name='ADC Capture Volume' 63" - cset "name='ADC Capture Switch' on" - # Set ADC Boost Gain to 3dB higher vals result in too much noise - cset "name='ADC Boost Gain' 1" - # Set IN1, IN2 and IN3 internal mic boost to 1 - cset "name='IN1 Boost' 1" - cset "name='IN2 Boost' 1" - cset "name='IN3 Boost' 1" - - # input - cset "name='Stereo1 ADC L1 Mux' ADC" - cset "name='Stereo1 ADC R1 Mux' ADC" - cset "name='Stereo1 ADC L2 Mux' DMIC" - cset "name='Stereo1 ADC R2 Mux' DMIC" - cset "name='RECMIXL BST1 Switch' off" - cset "name='RECMIXR BST1 Switch' off" - cset "name='RECMIXL BST3 Switch' off" - cset "name='RECMIXR BST3 Switch' off" - cset "name='RECMIXL BST2 Switch' off" - cset "name='RECMIXR BST2 Switch' off" - cset "name='Headset Mic Switch' off" - cset "name='Internal Mic Switch' off" - cset "name='Line In Switch' off" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/HeadPhones-swapped.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/HeadPhones-swapped.conf deleted file mode 100644 index 595f29c7..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/HeadPhones-swapped.conf +++ /dev/null @@ -1,39 +0,0 @@ -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - # Swap left and right - cset "name='Stereo DAC MIXL DAC R1 Switch' on" - cset "name='Stereo DAC MIXL DAC L1 Switch' off" - cset "name='Stereo DAC MIXR DAC L1 Switch' on" - cset "name='Stereo DAC MIXR DAC R1 Switch' off" - - cset "name='Headphone Switch' on" - cset "name='HPO L Playback Switch' on" - cset "name='HPO R Playback Switch' on" - # Done after turning the HP on to keep the bias and clk on - cset "name='Speaker Switch' off" - cset "name='LOUT L Playback Switch' off" - cset "name='LOUT R Playback Switch' off" - ] - - DisableSequence [ - # Disabling the HP switches is done by the Speaker EnableSeq - - # Unswap left and right - cset "name='Stereo DAC MIXL DAC L1 Switch' on" - cset "name='Stereo DAC MIXL DAC R1 Switch' off" - cset "name='Stereo DAC MIXR DAC R1 Switch' on" - cset "name='Stereo DAC MIXR DAC L1 Switch' off" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/HeadPhones.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/HeadPhones.conf deleted file mode 100644 index c7165878..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/HeadPhones.conf +++ /dev/null @@ -1,30 +0,0 @@ -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='Headphone Switch' on" - cset "name='HPO L Playback Switch' on" - cset "name='HPO R Playback Switch' on" - # Done after turning the HP on to keep the bias and clk on - cset "name='Speaker Switch' off" - cset "name='LOUT L Playback Switch' off" - cset "name='LOUT R Playback Switch' off" - ] - - # DisableSequence [ - # This is done by the Speaker EnableSequence, so that the - # Platform Clock and BIAS do not temporarily get turned off - # as that breaks audio-streams which are playing when - # switching between Speaker/Headphone - # ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/IN1-InternalMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/IN1-InternalMic.conf deleted file mode 100644 index faa0bfa3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/IN1-InternalMic.conf +++ /dev/null @@ -1,24 +0,0 @@ -SectionDevice."Mic" { - Comment "Internal Microphone on IN1" - - EnableSequence [ - cset "name='Internal Mic Switch' on" - cset "name='RECMIXL BST1 Switch' on" - cset "name='RECMIXR BST1 Switch' on" - cset "name='Stereo1 ADC MIXL ADC1 Switch' on" - cset "name='Stereo1 ADC MIXR ADC1 Switch' on" - ] - - DisableSequence [ - cset "name='Stereo1 ADC MIXL ADC1 Switch' off" - cset "name='Stereo1 ADC MIXR ADC1 Switch' off" - cset "name='Internal Mic Switch' off" - cset "name='RECMIXL BST1 Switch' off" - cset "name='RECMIXR BST1 Switch' off" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/IN12-InternalMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/IN12-InternalMic.conf deleted file mode 100644 index 79c72a3e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/IN12-InternalMic.conf +++ /dev/null @@ -1,28 +0,0 @@ -SectionDevice."Mic" { - Comment "Internal Microphones on IN1 and IN2" - - EnableSequence [ - cset "name='Internal Mic Switch' on" - cset "name='RECMIXL BST1 Switch' on" - cset "name='RECMIXR BST1 Switch' on" - cset "name='RECMIXL BST2 Switch' on" - cset "name='RECMIXR BST2 Switch' on" - cset "name='Stereo1 ADC MIXL ADC1 Switch' on" - cset "name='Stereo1 ADC MIXR ADC1 Switch' on" - ] - - DisableSequence [ - cset "name='Stereo1 ADC MIXL ADC1 Switch' off" - cset "name='Stereo1 ADC MIXR ADC1 Switch' off" - cset "name='Internal Mic Switch' off" - cset "name='RECMIXL BST1 Switch' off" - cset "name='RECMIXR BST1 Switch' off" - cset "name='RECMIXL BST2 Switch' off" - cset "name='RECMIXR BST2 Switch' off" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/IN2-HeadsetMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/IN2-HeadsetMic.conf deleted file mode 100644 index 86bbacbe..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/IN2-HeadsetMic.conf +++ /dev/null @@ -1,29 +0,0 @@ -SectionDevice."Headset" { - Comment "Headset Microphone on IN2" - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='Headset Mic Switch' on" - cset "name='RECMIXL BST2 Switch' on" - cset "name='RECMIXR BST2 Switch' on" - cset "name='Stereo1 ADC MIXL ADC1 Switch' on" - cset "name='Stereo1 ADC MIXR ADC1 Switch' on" - ] - - DisableSequence [ - cset "name='Stereo1 ADC MIXL ADC1 Switch' off" - cset "name='Stereo1 ADC MIXR ADC1 Switch' off" - cset "name='Headset Mic Switch' off" - cset "name='RECMIXL BST2 Switch' off" - cset "name='RECMIXR BST2 Switch' off" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - JackControl "Headset Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/IN2-InternalMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/IN2-InternalMic.conf deleted file mode 100644 index da15a6d9..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/IN2-InternalMic.conf +++ /dev/null @@ -1,24 +0,0 @@ -SectionDevice."Mic" { - Comment "Internal Microphone on IN2" - - EnableSequence [ - cset "name='Internal Mic Switch' on" - cset "name='RECMIXL BST2 Switch' on" - cset "name='RECMIXR BST2 Switch' on" - cset "name='Stereo1 ADC MIXL ADC1 Switch' on" - cset "name='Stereo1 ADC MIXR ADC1 Switch' on" - ] - - DisableSequence [ - cset "name='Stereo1 ADC MIXL ADC1 Switch' off" - cset "name='Stereo1 ADC MIXR ADC1 Switch' off" - cset "name='Internal Mic Switch' off" - cset "name='RECMIXL BST2 Switch' off" - cset "name='RECMIXR BST2 Switch' off" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/IN3-HeadsetMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/IN3-HeadsetMic.conf deleted file mode 100644 index a40fefcc..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/IN3-HeadsetMic.conf +++ /dev/null @@ -1,29 +0,0 @@ -SectionDevice."Headset" { - Comment "Headset Microphone on IN3" - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='Headset Mic Switch' on" - cset "name='RECMIXL BST3 Switch' on" - cset "name='RECMIXR BST3 Switch' on" - cset "name='Stereo1 ADC MIXL ADC1 Switch' on" - cset "name='Stereo1 ADC MIXR ADC1 Switch' on" - ] - - DisableSequence [ - cset "name='Stereo1 ADC MIXL ADC1 Switch' off" - cset "name='Stereo1 ADC MIXR ADC1 Switch' off" - cset "name='Headset Mic Switch' off" - cset "name='RECMIXL BST3 Switch' off" - cset "name='RECMIXR BST3 Switch' off" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - JackControl "Headset Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/MonoSpeaker.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/MonoSpeaker.conf deleted file mode 100644 index a83b4815..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/MonoSpeaker.conf +++ /dev/null @@ -1,47 +0,0 @@ -SectionDevice."Speaker" { - Comment "Mono Speaker" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - # On most (all?) devices with a single / mono speaker an - # amplifier with a differential input connected between LOUT - # right and left is used. We deal with this by silencing the - # right output and mixing left + right to the left output. - # - # An alternative approach for devices using the differential - # setup would be to set bit 15 of register 5 in the codec, - # which turns the stereo unbalanced line out into a mono - # balanced line out. - # - # This possibility was discovered after we already shipped the - # current solution and the current solution has the advantage - # of also working on devices which only use LOUT left in - # unbalanced mode. The net result is the same for devices using - # the differential setup, so we just stick with what we have. - cset "name='Stereo DAC MIXR DAC R1 Switch' off" - cset "name='Stereo DAC MIXL DAC R1 Switch' on" - - cset "name='Speaker Switch' on" - cset "name='LOUT L Playback Switch' on" - # Done after turning the speaker on to keep the bias and clk on - cset "name='Headphone Switch' off" - cset "name='HPO L Playback Switch' off" - cset "name='HPO R Playback Switch' off" - ] - - DisableSequence [ - # Disabling the switches is done by the Speaker EnableSeq - - # Undo mono mapping - cset "name='Stereo DAC MIXL DAC R1 Switch' off" - cset "name='Stereo DAC MIXR DAC R1 Switch' on" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/Speaker.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/Speaker.conf deleted file mode 100644 index b63390fb..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/Speaker.conf +++ /dev/null @@ -1,29 +0,0 @@ -SectionDevice."Speaker" { - Comment "Speakers" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Speaker Switch' on" - cset "name='LOUT L Playback Switch' on" - cset "name='LOUT R Playback Switch' on" - # Done after turning the speaker on to keep the bias and clk on - cset "name='Headphone Switch' off" - cset "name='HPO L Playback Switch' off" - cset "name='HPO R Playback Switch' off" - ] - - # DisableSequence [ - # This is done by the Headphones EnableSequence, so that the - # Platform Clock and BIAS do not temporarily get turned off - # as that breaks audio-streams which are playing when - # switching between Speaker/Headphone - # ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/init.conf deleted file mode 100644 index ce77dafa..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5651/init.conf +++ /dev/null @@ -1,11 +0,0 @@ -LibraryConfig.remap.Config { - - ctl.default.remap { - "name='ADC Boost Gain'" "name='ADC Boost Capture Volume'" - "name='IN1 Boost'" "name='IN1 Boost Capture Volume'" - "name='IN2 Boost'" "name='IN2 Boost Capture Volume'" - "name='IN3 Boost'" "name='IN3 Boost Capture Volume'" - "name='HP Playback Volume'" "name='Headphone Playback Volume'" - } - -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/DMIC1.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/DMIC1.conf deleted file mode 100644 index ca65d28a..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/DMIC1.conf +++ /dev/null @@ -1,32 +0,0 @@ -SectionDevice."Mic1" { - Comment "Internal Digital Microphone on DMIC1" - - ConflictingDevice [ - "Mic2" - "Headset" - ] - - EnableSequence [ - cset "name='Int Mic Switch' on" - cset "name='Stereo1 DMIC Mux' DMIC1" - cset "name='Stereo1 ADC 2 Mux' DMIC" - cset "name='Sto1 ADC MIXL ADC2 Switch' on" - cset "name='Sto1 ADC MIXR ADC2 Switch' on" - ] - - DisableSequence [ - cset "name='Int Mic Switch' off" - cset "name='Sto1 ADC MIXL ADC2 Switch' off" - cset "name='Sto1 ADC MIXR ADC2 Switch' off" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - # The DMIC ofcourse has no analog volume controls - # Use the digital ADC master control as MixerElem - CaptureMixerElem "ADC" - CaptureVolume "ADC Capture Volume" - CaptureSwitch "ADC Capture Switch" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/DMIC2.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/DMIC2.conf deleted file mode 100644 index 2a2f9fe4..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/DMIC2.conf +++ /dev/null @@ -1,32 +0,0 @@ -SectionDevice."Mic2" { - Comment "Internal Digital Microphone on DMIC2" - - ConflictingDevice [ - "Mic1" - "Headset" - ] - - EnableSequence [ - cset "name='Int Mic Switch' on" - cset "name='Stereo1 DMIC Mux' DMIC2" - cset "name='Stereo1 ADC 2 Mux' DMIC" - cset "name='Sto1 ADC MIXL ADC2 Switch' on" - cset "name='Sto1 ADC MIXR ADC2 Switch' on" - ] - - DisableSequence [ - cset "name='Int Mic Switch' off" - cset "name='Sto1 ADC MIXL ADC2 Switch' off" - cset "name='Sto1 ADC MIXR ADC2 Switch' off" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - # The DMIC ofcourse has no analog volume controls - # Use the digital ADC master control as MixerElem - CaptureMixerElem "ADC" - CaptureVolume "ADC Capture Volume" - CaptureSwitch "ADC Capture Switch" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/EnableSeq.conf deleted file mode 100644 index e3732750..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/EnableSeq.conf +++ /dev/null @@ -1,54 +0,0 @@ -EnableSequence [ - # Playback (I2S1) - - # common - cset "name='DAC1 L Mux' IF1 DAC" - cset "name='DAC1 R Mux' IF1 DAC" - cset "name='DAC1 MIXL DAC1 Switch' on" - cset "name='DAC1 MIXR DAC1 Switch' on" - cset "name='Stereo DAC MIXL DAC L1 Switch' on" - cset "name='Stereo DAC MIXL DAC R1 Switch' off" - cset "name='Stereo DAC MIXR DAC R1 Switch' on" - cset "name='Stereo DAC MIXR DAC L1 Switch' off" - - # speaker - cset "name='PDM1 L Mux' Stereo DAC" - cset "name='PDM1 R Mux' Stereo DAC" - - # headphone - cset "name='HPOVOL MIXL DAC1 Switch' on" - cset "name='HPOVOL MIXR DAC1 Switch' on" - cset "name='HPO MIX HPVOL Switch' on" - - # line out - # cset "name='OUT MIXL DAC L1 Switch' on" - # cset "name='OUT MIXR DAC R1 Switch' on" - # cset "name='LOUT MIX OUTMIX L Switch' on" - # cset "name='LOUT MIX OUTMIX R Switch' on" - - # Both the DMICs and the headset mic (even with the 20dB boost below) - # are quite soft, set the default capture volume to +12dB - # 47=0dB, 0.375dB/step, 79=+12dB - cset "name='ADC Capture Volume' 79" - cset "name='ADC Capture Switch' on" - # 0=0dB - cset "name='STO1 ADC Boost Gain Volume' 0" - - # Headset mic is quite soft, boost it a bit, 1 = 20dB which is the first - # available boost step - cset "name='IN1 Boost Volume' 1" - - # Start with all outputs / inputs disabled - cset "name='Ext Spk Switch' off" - cset "name='Headphone Switch' off" - cset "name='Int Mic Switch' off" - cset "name='Headset Mic Switch' off" - cset "name='Sto1 ADC MIXL ADC1 Switch' off" - cset "name='Sto1 ADC MIXR ADC1 Switch' off" - cset "name='Sto1 ADC MIXL ADC2 Switch' off" - cset "name='Sto1 ADC MIXR ADC2 Switch' off" - cset "name='RECMIXL BST1 Switch' off" - cset "name='RECMIXR BST1 Switch' off" - cset "name='RECMIXL BST2 Switch' off" - cset "name='RECMIXR BST2 Switch' off" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/HeadPhones.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/HeadPhones.conf deleted file mode 100644 index e22d4998..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/HeadPhones.conf +++ /dev/null @@ -1,25 +0,0 @@ -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker1" - "Speaker2" - ] - - EnableSequence [ - cset "name='Headphone Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Switch' off" - ] - - Value { - PlaybackPriority 300 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - PlaybackMixerElem "HP" - PlaybackMasterElem "DAC1" - PlaybackVolume "HP Playback Volume" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/HeadsetMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/HeadsetMic.conf deleted file mode 100644 index 103e93da..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/HeadsetMic.conf +++ /dev/null @@ -1,33 +0,0 @@ -SectionDevice."Headset" { - Comment "Headset Microphone" - - ConflictingDevice [ - "Mic1" - "Mic2" - ] - - EnableSequence [ - cset "name='Headset Mic Switch' on" - cset "name='RECMIXL BST1 Switch' on" - cset "name='RECMIXR BST1 Switch' on" - cset "name='Sto1 ADC MIXL ADC1 Switch' on" - cset "name='Sto1 ADC MIXR ADC1 Switch' on" - ] - - DisableSequence [ - cset "name='Headset Mic Switch' off" - cset "name='RECMIXL BST1 Switch' off" - cset "name='RECMIXR BST1 Switch' off" - cset "name='Sto1 ADC MIXL ADC1 Switch' off" - cset "name='Sto1 ADC MIXR ADC1 Switch' off" - ] - - Value { - CapturePriority 300 - CapturePCM "hw:${CardId}" - JackControl "Headset Mic Jack" - CaptureMixerElem "IN1 Boost" - CaptureMasterElem "ADC" - CaptureVolume "IN1 Boost Volume" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/MonoSpeaker.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/MonoSpeaker.conf deleted file mode 100644 index e4addf4f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/MonoSpeaker.conf +++ /dev/null @@ -1,30 +0,0 @@ -SectionDevice."Speaker2" { - Comment "Mono Speaker" - - ConflictingDevice [ - "Speaker1" - "Headphones" - ] - - EnableSequence [ - cset "name='Stereo DAC MIXR DAC R1 Switch' off" - cset "name='Stereo DAC MIXL DAC R1 Switch' on" - cset "name='Ext Spk Switch' on" - ] - - DisableSequence [ - cset "name='Ext Spk Switch' off" - cset "name='Stereo DAC MIXL DAC R1 Switch' off" - cset "name='Stereo DAC MIXR DAC R1 Switch' on" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - # The speaker ampl. path on the 5672 has no speaker vol control - # Use the digital DAC1 master control as MixerElem - PlaybackMixerElem "DAC1" - PlaybackVolume "DAC1 Playback Volume" - PlaybackSwitch "DAC1 Playback Switch" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/Speaker.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/Speaker.conf deleted file mode 100644 index 9674c6be..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5672/Speaker.conf +++ /dev/null @@ -1,26 +0,0 @@ -SectionDevice."Speaker1" { - Comment "Stereo Speakers" - - ConflictingDevice [ - "Speaker2" - "Headphones" - ] - - EnableSequence [ - cset "name='Ext Spk Switch' on" - ] - - DisableSequence [ - cset "name='Ext Spk Switch' off" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - # The speaker ampl. path on the 5672 has no speaker vol control - # Use the digital DAC1 master control as MixerElem - PlaybackMixerElem "DAC1" - PlaybackVolume "DAC1 Playback Volume" - PlaybackSwitch "DAC1 Playback Switch" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5682/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5682/init.conf deleted file mode 100644 index fb88a7dc..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt5682/init.conf +++ /dev/null @@ -1,24 +0,0 @@ -# RT5682 specific volume control settings - -LibraryConfig.remap.Config { - - ctl.default.remap { - "name='STO1 ADC Boost Gain Volume'" "name='STO1 ADC Boost Capture Volume'" - } - -} - -BootSequence [ - cset "name='rt5682 Stereo1 DAC MIXL DAC L1 Switch' 1" - cset "name='rt5682 Stereo1 DAC MIXR DAC R1 Switch' 1" - cset "name='rt5682 DAC L Mux' 1" - cset "name='rt5682 DAC R Mux' 1" - cset "name='rt5682 IF1 01 ADC Swap Mux' 2" - cset "name='rt5682 CBJ Boost Volume' 3" - cset "name='rt5682 Stereo1 ADC L Mux' 0" - cset "name='rt5682 Stereo1 ADC R Mux' 0" - cset "name='rt5682 Stereo1 ADC L1 Mux' 1" - cset "name='rt5682 Stereo1 ADC R1 Mux' 1" - cset "name='rt5682 Stereo1 ADC MIXL ADC2 Switch' 0" - cset "name='rt5682 Stereo1 ADC MIXR ADC2 Switch' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt700/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt700/init.conf deleted file mode 100644 index 406e2cb3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt700/init.conf +++ /dev/null @@ -1,9 +0,0 @@ -# RT700 specific volume control settings - -BootSequence [ - cset "name='DAC Front Playback Volume' 87" - cset "name='HPO Mux' 'Front'" - cset "name='ADC 09 Capture Volume' 63" - cset "name='ADC 22 Mux' 'MIC2'" - cset "name='AMIC Volume' 1" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt711-sdca/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt711-sdca/init.conf deleted file mode 100644 index 3149233c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt711-sdca/init.conf +++ /dev/null @@ -1,8 +0,0 @@ -# RT711-sdca specific volume control settings - -BootSequence [ - cset "name='rt711 FU05 Playback Volume' 87" - cset "name='rt711 ADC 22 Mux' 'MIC2'" - cset "name='rt711 FU0F Capture Volume' 57" - cset "name='rt711 FU0F Capture Switch' 1" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt711/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt711/init.conf deleted file mode 100644 index f3cea28c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt711/init.conf +++ /dev/null @@ -1,9 +0,0 @@ -# RT711 specific volume control settings - -BootSequence [ - cset "name='rt711 DAC Surr Playback Volume' 87" - cset "name='rt711 ADC 08 Capture Volume' 63" - cset "name='rt711 ADC 23 Mux' 'MIC2'" - cset "name='rt711 ADC 08 Capture Switch' 1" - cset "name='rt711 AMIC Volume' 1" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt713-dmic/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt713-dmic/init.conf deleted file mode 100644 index 6547a369..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt713-dmic/init.conf +++ /dev/null @@ -1,6 +0,0 @@ -# RT713-dmic specific volume control settings - -BootSequence [ - cset "name='rt713-dmic ADC 25 Mux' 'DMIC1'" - cset "name='rt713-dmic FU1E Capture Switch' 1" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt713-sdca/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt713-sdca/init.conf deleted file mode 100644 index df6a7aae..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt713-sdca/init.conf +++ /dev/null @@ -1,8 +0,0 @@ -# RT713-sdca specific volume control settings - -BootSequence [ - cset "name='rt713 FU05 Playback Volume' 87" - cset "name='rt713 ADC 23 Mux' 'MIC2'" - cset "name='rt713 FU0F Capture Volume' 57" - cset "name='rt713 FU0F Capture Switch' 1" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt715-sdca/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt715-sdca/init.conf deleted file mode 100644 index a3b22898..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt715-sdca/init.conf +++ /dev/null @@ -1,14 +0,0 @@ -# RT715-sdca (aka RT714) specific volume control settings - -BootSequence [ - cset "name='rt714 FU0A Capture Switch' 0" - cset "name='rt714 ADC 22 Mux' 'DMIC3'" - cset "name='rt714 ADC 23 Mux' 'DMIC4'" - cset "name='rt714 FU02 Capture Switch' 1" - cset "name='rt714 FU02 Capture Volume' 47" -] - -FixedBootSequence [ - exec "-/sbin/modprobe snd_ctl_led" - sysw "-/class/sound/ctl-led/mic/card${CardNumber}/attach:rt714 FU02 Capture Switch" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt715/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt715/init.conf deleted file mode 100644 index 2bbff073..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/rt715/init.conf +++ /dev/null @@ -1,31 +0,0 @@ -# RT715 specific volume control settings - -BootSequence [ - cset "name='rt715 DMIC3 Boost' 2" - cset "name='rt715 DMIC4 Boost' 2" - cset "name='rt715 ADC 24 Mux' 3" - cset "name='rt715 ADC 25 Mux' 4" -] - -If.adcxx { - Condition { - Type ControlExists - Control "name='rt715 ADC 07 Capture Switch'" - } - True.BootSequence [ - cset "name='rt715 ADC 27 Capture Switch' 1" - cset "name='rt715 ADC 07 Capture Switch' 1" - cset "name='rt715 ADC 07 Capture Volume' 58" - ] -} - -If.capturesw { - Condition { - Type ControlExists - Control "name='rt715 Capture Switch'" - } - True.FixedBootSequence [ - exec "-/sbin/modprobe snd_ctl_led" - sysw "-/class/sound/ctl-led/mic/card${CardNumber}/attach:rt715 Capture Switch" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/DefaultDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/DefaultDisableSeq.conf deleted file mode 100644 index 9df16641..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/DefaultDisableSeq.conf +++ /dev/null @@ -1,7 +0,0 @@ -DisableSequence [ - cset "name='RX INT7_1 MIX1 INP0' ZERO" - cset "name='RX INT8_1 MIX1 INP0' ZERO" - cset "name='RX INT1_2 MUX' ZERO" - cset "name='RX INT2_2 MUX' ZERO" - cset "name='CDC_IF TX0 MUX' ZERO" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/DefaultEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/DefaultEnableSeq.conf deleted file mode 100644 index 2dc5f2ee..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/DefaultEnableSeq.conf +++ /dev/null @@ -1,10 +0,0 @@ -EnableSequence [ - cset "name='SLIM RX0 MUX' AIF1_PB" - cset "name='SLIM RX1 MUX' AIF1_PB" - cset "name='SLIM RX2 MUX' AIF2_PB" - cset "name='SLIM RX3 MUX' AIF2_PB" - - - cset "name='AIF1_CAP Mixer SLIM TX0' 1" - cset "name='CDC_IF TX0 MUX' DEC0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/HeadphoneDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/HeadphoneDisableSeq.conf deleted file mode 100644 index 16b46256..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/HeadphoneDisableSeq.conf +++ /dev/null @@ -1,8 +0,0 @@ -DisableSequence [ - cset "name='COMP1 Switch' 0" - cset "name='COMP2 Switch' 0" - cset "name='RX INT1_1 MIX1 INP0' ZERO" - cset "name='RX INT2_1 MIX1 INP0' ZERO" - cset "name='RX INT1 DEM MUX' NORMAL_DSM_OUT" - cset "name='RX INT2 DEM MUX' NORMAL_DSM_OUT" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/HeadphoneEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/HeadphoneEnableSeq.conf deleted file mode 100644 index 500527d1..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/HeadphoneEnableSeq.conf +++ /dev/null @@ -1,8 +0,0 @@ -EnableSequence [ - cset "name='COMP1 Switch' 1" - cset "name='COMP2 Switch' 1" - cset "name='RX INT1_1 MIX1 INP0' RX2" - cset "name='RX INT2_1 MIX1 INP0' RX3" - cset "name='RX INT1 DEM MUX' CLSH_DSM_OUT" - cset "name='RX INT2 DEM MUX' CLSH_DSM_OUT" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/HeadphoneMicDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/HeadphoneMicDisableSeq.conf deleted file mode 100644 index fa87c477..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/HeadphoneMicDisableSeq.conf +++ /dev/null @@ -1,4 +0,0 @@ -DisableSequence [ - cset "name='AMIC MUX0' ZERO" - cset "name='ADC2 Volume' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/HeadphoneMicEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/HeadphoneMicEnableSeq.conf deleted file mode 100644 index a40c580a..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/HeadphoneMicEnableSeq.conf +++ /dev/null @@ -1,4 +0,0 @@ -EnableSequence [ - cset "name='AMIC MUX0' ADC2" - cset "name='ADC MUX0' AMIC" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/SpeakerDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/SpeakerDisableSeq.conf deleted file mode 100644 index 0d2e0115..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/SpeakerDisableSeq.conf +++ /dev/null @@ -1,6 +0,0 @@ -DisableSequence [ - cset "name='COMP7 Switch' 0" - cset "name='COMP8 Switch' 0" - cset "name='RX INT7_1 MIX1 INP0' ZERO" - cset "name='RX INT8_1 MIX1 INP0' ZERO" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/SpeakerEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/SpeakerEnableSeq.conf deleted file mode 100644 index 587e7c21..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/SpeakerEnableSeq.conf +++ /dev/null @@ -1,6 +0,0 @@ -EnableSequence [ - cset "name='COMP7 Switch' 1" - cset "name='COMP8 Switch' 1" - cset "name='RX INT7_1 MIX1 INP0' RX0" - cset "name='RX INT8_1 MIX1 INP0' RX1" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/init.conf deleted file mode 100644 index aa8e46af..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd934x/init.conf +++ /dev/null @@ -1,25 +0,0 @@ -# WCD934X specific volume control settings - -BootSequence [ - cset "name='RX1 Digital Volume' 80" - cset "name='RX2 Digital Volume' 80" - cset "name='RX7 Digital Volume' 80" - cset "name='RX8 Digital Volume' 80" - cset "name='ADC2 Volume' 12" -] - -LibraryConfig.remap.Config { - - ctl.default.map { - # Merge two mono controls into one stereo - "name='HP Digital Volume'" { - "name='RX1 Digital Volume'".vindex.0 0 - "name='RX2 Digital Volume'".vindex.1 0 - } - "name='Speaker Digital Volume'" { - "name='RX7 Digital Volume'".vindex.0 0 - "name='RX8 Digital Volume'".vindex.1 0 - } - } -} - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd938x/HeadphoneDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd938x/HeadphoneDisableSeq.conf deleted file mode 100644 index 9b66ccf4..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd938x/HeadphoneDisableSeq.conf +++ /dev/null @@ -1,8 +0,0 @@ -DisableSequence [ - cset "name='HPHL_RDAC Switch' 0" - cset "name='HPHR_RDAC Switch' 0" - cset "name='HPHL Switch' 0" - cset "name='HPHR Switch' 0" - cset "name='CLSH Switch' 0" - cset "name='LO Switch' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd938x/HeadphoneEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd938x/HeadphoneEnableSeq.conf deleted file mode 100644 index f9969380..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd938x/HeadphoneEnableSeq.conf +++ /dev/null @@ -1,10 +0,0 @@ -EnableSequence [ - cset "name='HPHL_RDAC Switch' 1" - cset "name='HPHR_RDAC Switch' 1" - cset "name='HPHL Switch' 1" - cset "name='HPHR Switch' 1" - cset "name='HPHR_COMP Switch' 0" - cset "name='HPHL_COMP Switch' 0" - cset "name='CLSH Switch' 1" - cset "name='LO Switch' 1" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd938x/HeadphoneMicDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd938x/HeadphoneMicDisableSeq.conf deleted file mode 100644 index 498b8b38..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd938x/HeadphoneMicDisableSeq.conf +++ /dev/null @@ -1,4 +0,0 @@ -DisableSequence [ - cset "name='ADC2_MIXER Switch' 0" - cset "name='ADC2 Switch' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd938x/HeadphoneMicEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd938x/HeadphoneMicEnableSeq.conf deleted file mode 100644 index 8ea2472b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd938x/HeadphoneMicEnableSeq.conf +++ /dev/null @@ -1,6 +0,0 @@ -EnableSequence [ - cset "name='ADC2_MIXER Switch' 1" - cset "name='HDR12 MUX' NO_HDR12" - cset "name='ADC2 MUX' INP2" - cset "name='ADC2 Switch' 1" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd938x/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd938x/init.conf deleted file mode 100644 index 256452bd..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd938x/init.conf +++ /dev/null @@ -1,13 +0,0 @@ -# WCD938X specific volume control settings - -LibraryConfig.remap.Config { - - ctl.default.map { - # Merge two mono controls into one stereo - "name='HP Volume'" { - "name='HPHL Volume'".vindex.0 0 - "name='HPHR Volume'".vindex.1 0 - } - } -} - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/AnalogMic1EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/AnalogMic1EnableSeq.conf deleted file mode 100644 index ed51c685..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/AnalogMic1EnableSeq.conf +++ /dev/null @@ -1,7 +0,0 @@ -EnableSequence [ - cset "name='ADC1_MIXER Switch' 1" - cset "name='ADC1 MUX' CH1_AMIC1" - cset "name='ADC1 Switch' 1" - cset "name='ADC1 Volume' 10" - cset "name='TX0 MODE' ADC_ULP" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/AnalogMic3EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/AnalogMic3EnableSeq.conf deleted file mode 100644 index b104bd67..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/AnalogMic3EnableSeq.conf +++ /dev/null @@ -1,7 +0,0 @@ -EnableSequence [ - cset "name='ADC1_MIXER Switch' 1" - cset "name='ADC1 MUX' CH1_AMIC3" - cset "name='ADC1 Switch' 1" - cset "name='ADC1 Volume' 10" - cset "name='TX0 MODE' ADC_ULP" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/AnalogMic4EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/AnalogMic4EnableSeq.conf deleted file mode 100644 index 2c5d021a..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/AnalogMic4EnableSeq.conf +++ /dev/null @@ -1,7 +0,0 @@ -EnableSequence [ - cset "name='ADC1_MIXER Switch' 1" - cset "name='ADC1 MUX' CH1_AMIC4" - cset "name='ADC1 Switch' 1" - cset "name='ADC1 Volume' 10" - cset "name='TX0 MODE' ADC_ULP" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/AnalogMic5EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/AnalogMic5EnableSeq.conf deleted file mode 100644 index fd45b6e2..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/AnalogMic5EnableSeq.conf +++ /dev/null @@ -1,7 +0,0 @@ -EnableSequence [ - cset "name='ADC1_MIXER Switch' 1" - cset "name='ADC1 MUX' CH1_AMIC5" - cset "name='ADC1 Switch' 1" - cset "name='ADC1 Volume' 10" - cset "name='TX0 MODE' ADC_ULP" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/AnalogMicDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/AnalogMicDisableSeq.conf deleted file mode 100644 index e002bb83..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/AnalogMicDisableSeq.conf +++ /dev/null @@ -1,5 +0,0 @@ -DisableSequence [ - cset "name='ADC1_MIXER Switch' 0" - cset "name='ADC1 MUX' CH1_AMIC_DISABLE" - cset "name='ADC1 Switch' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/DefaultEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/DefaultEnableSeq.conf deleted file mode 100644 index 5da67174..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/DefaultEnableSeq.conf +++ /dev/null @@ -1,4 +0,0 @@ -EnableSequence [ - cset "name='HPHR Volume' 20" - cset "name='HPHL Volume' 20" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/HeadphoneDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/HeadphoneDisableSeq.conf deleted file mode 100644 index 37b1faf8..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/HeadphoneDisableSeq.conf +++ /dev/null @@ -1,9 +0,0 @@ -DisableSequence [ - cset "name='HPHL_RDAC Switch' 0" - cset "name='HPHR_RDAC Switch' 0" - cset "name='HPHL_COMP Switch' 0" - cset "name='HPHR_COMP Switch' 0" - cset "name='HPHL Switch' 0" - cset "name='HPHR Switch' 0" - cset "name='CLSH Switch' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/HeadphoneEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/HeadphoneEnableSeq.conf deleted file mode 100644 index dd8260b1..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/HeadphoneEnableSeq.conf +++ /dev/null @@ -1,9 +0,0 @@ -EnableSequence [ - cset "name='HPHL_RDAC Switch' 1" - cset "name='HPHR_RDAC Switch' 1" - cset "name='HPHR_COMP Switch' 1" - cset "name='HPHL_COMP Switch' 1" - cset "name='HPHL Switch' 1" - cset "name='HPHR Switch' 1" - cset "name='CLSH Switch' 1" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/HeadphoneMicDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/HeadphoneMicDisableSeq.conf deleted file mode 100644 index 05e3d770..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/HeadphoneMicDisableSeq.conf +++ /dev/null @@ -1,6 +0,0 @@ -DisableSequence [ - cset "name='MBHC Switch' 0" - cset "name='ADC2_MIXER Switch' 0" - cset "name='ADC2 MUX' CH2_AMIC_DISABLE" - cset "name='ADC2 Switch' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/HeadphoneMicEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/HeadphoneMicEnableSeq.conf deleted file mode 100644 index b421c909..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/HeadphoneMicEnableSeq.conf +++ /dev/null @@ -1,8 +0,0 @@ -EnableSequence [ - cset "name='ADC2_MIXER Switch' 1" - cset "name='ADC2 MUX' CH2_AMIC2" - cset "name='ADC2 Switch' 1" - cset "name='ADC2 Volume' 10" - cset "name='TX1 MODE' ADC_LP" - cset "name='MBHC Switch' 1" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/init.conf deleted file mode 100644 index 9fb98aa8..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wcd939x/init.conf +++ /dev/null @@ -1,18 +0,0 @@ -# WCD939X specific volume control settings - -BootSequence [ - cset "name='ADC1 Volume' 12" - cset "name='ADC2 Volume' 12" -] - -LibraryConfig.remap.Config { - - ctl.default.map { - # Merge two mono controls into one stereo - "name='HP Volume'" { - "name='HPHL Volume'".vindex.0 0 - "name='HPHR Volume'".vindex.1 0 - } - } -} - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/EnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/EnableSeq.conf deleted file mode 100644 index 11166c07..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/EnableSeq.conf +++ /dev/null @@ -1,19 +0,0 @@ -EnableSequence [ - # Route AIF1 to the speakers and headphones - cset "name='SPKOUTL Input 1' AIF1RX1" - cset "name='SPKOUTR Input 1' AIF1RX2" - cset "name='HPOUT1L Input 1' AIF1RX1" - cset "name='HPOUT1R Input 1' AIF1RX2" - cset "name='HPOUT2L Input 1' AIF1RX1" - cset "name='HPOUT2R Input 1' AIF1RX2" - - # mics are quite soft by default, boost then - cset "name='IN1L Volume' 28" - cset "name='IN2L Volume' 28" - cset "name='IN3L Volume' 28" - - cset "name='Headphone Switch' off" - cset "name='Headset Mic Switch' off" - cset "name='Internal Mic Switch' off" - cset "name='Speaker Switch' off" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/HPOut2-Speaker.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/HPOut2-Speaker.conf deleted file mode 100644 index 375f9ba8..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/HPOut2-Speaker.conf +++ /dev/null @@ -1,22 +0,0 @@ -SectionDevice."Speaker" { - Comment "Speakers" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='HPOUT2 Digital Switch' on" - cset "name='Speaker Switch' on" - ] - - DisableSequence [ - cset "name='HPOUT2 Digital Switch' off" - cset "name='Speaker Switch' off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/HeadPhones.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/HeadPhones.conf deleted file mode 100644 index cb29347b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/HeadPhones.conf +++ /dev/null @@ -1,23 +0,0 @@ -SectionDevice."Headphones" { - Comment "Headphones" - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - } - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='HPOUT1 Digital Switch' on" - cset "name='Headphone Switch' on" - ] - - DisableSequence [ - cset "name='HPOUT1 Digital Switch' off" - cset "name='Headphone Switch' off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/IN1-HeadsetMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/IN1-HeadsetMic.conf deleted file mode 100644 index a6074873..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/IN1-HeadsetMic.conf +++ /dev/null @@ -1,24 +0,0 @@ -SectionDevice."Headset" { - Comment "Headset Microphone" - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='AIF1TX1 Input 1' IN1L" - cset "name='AIF1TX2 Input 1' IN1L" - - cset "name='Headset Mic Switch' on" - ] - - DisableSequence [ - cset "name='Headset Mic Switch' off" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - JackControl "Headset Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/IN1-InternalMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/IN1-InternalMic.conf deleted file mode 100644 index d9a70cec..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/IN1-InternalMic.conf +++ /dev/null @@ -1,23 +0,0 @@ -SectionDevice."Mic" { - Comment "Internal Microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='AIF1TX1 Input 1' IN1L" - cset "name='AIF1TX2 Input 1' IN1L" - - cset "name='Internal Mic Switch' on" - ] - - DisableSequence [ - cset "name='Internal Mic Switch' off" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/IN2-HeadsetMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/IN2-HeadsetMic.conf deleted file mode 100644 index 8fbbcb19..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/IN2-HeadsetMic.conf +++ /dev/null @@ -1,24 +0,0 @@ -SectionDevice."Headset" { - Comment "Headset Microphone" - - ConflictingDevice [ - "Mic" - ] - - EnableSequence [ - cset "name='AIF1TX1 Input 1' IN2L" - cset "name='AIF1TX2 Input 1' IN2L" - - cset "name='Headset Mic Switch' on" - ] - - DisableSequence [ - cset "name='Headset Mic Switch' off" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId}" - JackControl "Headset Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/IN3-InternalMic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/IN3-InternalMic.conf deleted file mode 100644 index 3a03ac3d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/IN3-InternalMic.conf +++ /dev/null @@ -1,23 +0,0 @@ -SectionDevice."Mic" { - Comment "Internal Microphone" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='AIF1TX1 Input 1' IN3L" - cset "name='AIF1TX2 Input 1' IN3L" - - cset "name='Internal Mic Switch' on" - ] - - DisableSequence [ - cset "name='Internal Mic Switch' off" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId}" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/Speaker.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/Speaker.conf deleted file mode 100644 index 9f631f56..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wm5102/Speaker.conf +++ /dev/null @@ -1,22 +0,0 @@ -SectionDevice."Speaker" { - Comment "Speakers" - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Speaker Digital Switch' on" - cset "name='Speaker Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Digital Switch' off" - cset "name='Speaker Switch' off" - ] -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa881x/DefaultEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa881x/DefaultEnableSeq.conf deleted file mode 100644 index 98310a9b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa881x/DefaultEnableSeq.conf +++ /dev/null @@ -1,10 +0,0 @@ -EnableSequence [ - cset "name='SpkrLeft COMP Switch' 1" - cset "name='SpkrLeft BOOST Switch' 1" - cset "name='SpkrLeft DAC Switch' 1" - cset "name='SpkrLeft VISENSE Switch' 0" - cset "name='SpkrRight COMP Switch' 1" - cset "name='SpkrRight BOOST Switch' 1" - cset "name='SpkrRight DAC Switch' 1" - cset "name='SpkrRight VISENSE Switch' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa881x/SpeakerDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa881x/SpeakerDisableSeq.conf deleted file mode 100644 index 9439eb8b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa881x/SpeakerDisableSeq.conf +++ /dev/null @@ -1,10 +0,0 @@ -DisableSequence [ - cset "name='SpkrLeft COMP Switch' 0" - cset "name='SpkrLeft BOOST Switch' 0" - cset "name='SpkrLeft DAC Switch' 0" - cset "name='SpkrLeft VISENSE Switch' 0" - cset "name='SpkrRight COMP Switch' 0" - cset "name='SpkrRight BOOST Switch' 0" - cset "name='SpkrRight DAC Switch' 0" - cset "name='SpkrRight VISENSE Switch' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa881x/SpeakerEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa881x/SpeakerEnableSeq.conf deleted file mode 100644 index 72a02ec9..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa881x/SpeakerEnableSeq.conf +++ /dev/null @@ -1,12 +0,0 @@ -EnableSequence [ - cset "name='SpkrLeft COMP Switch' 1" - cset "name='SpkrLeft BOOST Switch' 1" - cset "name='SpkrLeft DAC Switch' 1" - cset "name='SpkrLeft VISENSE Switch' 0" - cset "name='SpkrLeft PA Volume' 12" - cset "name='SpkrRight COMP Switch' 1" - cset "name='SpkrRight BOOST Switch' 1" - cset "name='SpkrRight DAC Switch' 1" - cset "name='SpkrRight VISENSE Switch' 0" - cset "name='SpkrRight PA Volume' 12" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa883x/DefaultEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa883x/DefaultEnableSeq.conf deleted file mode 100644 index a079cdc9..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa883x/DefaultEnableSeq.conf +++ /dev/null @@ -1,12 +0,0 @@ -EnableSequence [ - cset "name='SpkrLeft COMP Switch' 1" - cset "name='SpkrLeft BOOST Switch' 1" - cset "name='SpkrLeft DAC Switch' 1" - cset "name='SpkrLeft VISENSE Switch' 0" - cset "name='SpkrLeft WSA MODE' 0" - cset "name='SpkrRight COMP Switch' 1" - cset "name='SpkrRight BOOST Switch' 1" - cset "name='SpkrRight DAC Switch' 1" - cset "name='SpkrRight VISENSE Switch' 0" - cset "name='SpkrRight WSA MODE' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa883x/SpeakerDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa883x/SpeakerDisableSeq.conf deleted file mode 100644 index 9439eb8b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa883x/SpeakerDisableSeq.conf +++ /dev/null @@ -1,10 +0,0 @@ -DisableSequence [ - cset "name='SpkrLeft COMP Switch' 0" - cset "name='SpkrLeft BOOST Switch' 0" - cset "name='SpkrLeft DAC Switch' 0" - cset "name='SpkrLeft VISENSE Switch' 0" - cset "name='SpkrRight COMP Switch' 0" - cset "name='SpkrRight BOOST Switch' 0" - cset "name='SpkrRight DAC Switch' 0" - cset "name='SpkrRight VISENSE Switch' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa883x/SpeakerEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa883x/SpeakerEnableSeq.conf deleted file mode 100644 index a079cdc9..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa883x/SpeakerEnableSeq.conf +++ /dev/null @@ -1,12 +0,0 @@ -EnableSequence [ - cset "name='SpkrLeft COMP Switch' 1" - cset "name='SpkrLeft BOOST Switch' 1" - cset "name='SpkrLeft DAC Switch' 1" - cset "name='SpkrLeft VISENSE Switch' 0" - cset "name='SpkrLeft WSA MODE' 0" - cset "name='SpkrRight COMP Switch' 1" - cset "name='SpkrRight BOOST Switch' 1" - cset "name='SpkrRight DAC Switch' 1" - cset "name='SpkrRight VISENSE Switch' 0" - cset "name='SpkrRight WSA MODE' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa883x/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa883x/init.conf deleted file mode 100644 index ae7d0fb4..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa883x/init.conf +++ /dev/null @@ -1,12 +0,0 @@ -# WSA883x specific volume control settings -LibraryConfig.remap.Config { - - ctl.default.map { - # Merge two mono controls into one stereo - "name='Speakers Volume'" { - "name='SpkrLeft PA Volume'".vindex.0 0 - "name='SpkrRight PA Volume'".vindex.1 0 - } - } -} - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/four-speakers/DefaultEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/four-speakers/DefaultEnableSeq.conf deleted file mode 100644 index a8316bd5..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/four-speakers/DefaultEnableSeq.conf +++ /dev/null @@ -1,26 +0,0 @@ -EnableSequence [ - cset "name='WooferLeft COMP Switch' 1" - cset "name='WooferLeft BOOST Switch' 1" - cset "name='WooferLeft DAC Switch' 1" - cset "name='WooferLeft PBR Switch' 1" - cset "name='WooferLeft VISENSE Switch' 0" - cset "name='WooferLeft WSA MODE' 0" - cset "name='TwitterLeft COMP Switch' 1" - cset "name='TwitterLeft BOOST Switch' 1" - cset "name='TwitterLeft DAC Switch' 1" - cset "name='TwitterLeft PBR Switch' 1" - cset "name='TwitterLeft VISENSE Switch' 0" - cset "name='TwitterLeft WSA MODE' 0" - cset "name='WooferRight COMP Switch' 1" - cset "name='WooferRight BOOST Switch' 1" - cset "name='WooferRight DAC Switch' 1" - cset "name='WooferRight PBR Switch' 1" - cset "name='WooferRight VISENSE Switch' 0" - cset "name='WooferRight WSA MODE' 0" - cset "name='TwitterRight COMP Switch' 1" - cset "name='TwitterRight BOOST Switch' 1" - cset "name='TwitterRight DAC Switch' 1" - cset "name='TwitterRight PBR Switch' 1" - cset "name='TwitterRight VISENSE Switch' 0" - cset "name='TwitterRight WSA MODE' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/four-speakers/SpeakerSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/four-speakers/SpeakerSeq.conf deleted file mode 100644 index 7a370627..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/four-speakers/SpeakerSeq.conf +++ /dev/null @@ -1,53 +0,0 @@ -EnableSequence [ - cset "name='WooferLeft COMP Switch' 1" - cset "name='WooferLeft BOOST Switch' 1" - cset "name='WooferLeft DAC Switch' 1" - cset "name='WooferLeft PBR Switch' 1" - cset "name='WooferLeft VISENSE Switch' 0" - cset "name='WooferLeft WSA MODE' 0" - cset "name='WooferLeft PA Volume' 12" - cset "name='TwitterLeft COMP Switch' 1" - cset "name='TwitterLeft BOOST Switch' 1" - cset "name='TwitterLeft DAC Switch' 1" - cset "name='TwitterLeft PBR Switch' 1" - cset "name='TwitterLeft VISENSE Switch' 0" - cset "name='TwitterLeft WSA MODE' 0" - cset "name='TwitterLeft PA Volume' 12" - cset "name='WooferRight COMP Switch' 1" - cset "name='WooferRight BOOST Switch' 1" - cset "name='WooferRight DAC Switch' 1" - cset "name='WooferRight PBR Switch' 1" - cset "name='WooferRight VISENSE Switch' 0" - cset "name='WooferRight WSA MODE' 0" - cset "name='WooferRight PA Volume' 12" - cset "name='TwitterRight COMP Switch' 1" - cset "name='TwitterRight BOOST Switch' 1" - cset "name='TwitterRight DAC Switch' 1" - cset "name='TwitterRight PBR Switch' 1" - cset "name='TwitterRight VISENSE Switch' 0" - cset "name='TwitterRight WSA MODE' 0" - cset "name='TwitterRight PA Volume' 12" -] - -DisableSequence [ - cset "name='WooferLeft COMP Switch' 0" - cset "name='WooferLeft BOOST Switch' 0" - cset "name='WooferLeft DAC Switch' 0" - cset "name='WooferLeft PBR Switch' 0" - cset "name='WooferLeft VISENSE Switch' 0" - cset "name='TwitterLeft COMP Switch' 0" - cset "name='TwitterLeft BOOST Switch' 0" - cset "name='TwitterLeft DAC Switch' 0" - cset "name='TwitterLeft PBR Switch' 0" - cset "name='TwitterLeft VISENSE Switch' 0" - cset "name='WooferRight COMP Switch' 0" - cset "name='WooferRight BOOST Switch' 0" - cset "name='WooferRight DAC Switch' 0" - cset "name='WooferRight PBR Switch' 0" - cset "name='WooferRight VISENSE Switch' 0" - cset "name='TwitterRight COMP Switch' 0" - cset "name='TwitterRight BOOST Switch' 0" - cset "name='TwitterRight DAC Switch' 0" - cset "name='TwitterRight PBR Switch' 0" - cset "name='TwitterRight VISENSE Switch' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/four-speakers/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/four-speakers/init.conf deleted file mode 100644 index 22349ea9..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/four-speakers/init.conf +++ /dev/null @@ -1,13 +0,0 @@ -# WSA884x in four-speaker configuration, specific volume control settings -LibraryConfig.remap.Config { - ctl.default.map { - # Merge four mono controls into one - "name='Speakers Volume'" { - "name='WooferLeft PA Volume'".vindex.0 0 - "name='TwitterLeft PA Volume'".vindex.1 0 - "name='WooferRight PA Volume'".vindex.2 0 - "name='TwitterRight PA Volume'".vindex.3 0 - } - } -} - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/two-speakers/DefaultEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/two-speakers/DefaultEnableSeq.conf deleted file mode 100644 index a079cdc9..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/two-speakers/DefaultEnableSeq.conf +++ /dev/null @@ -1,12 +0,0 @@ -EnableSequence [ - cset "name='SpkrLeft COMP Switch' 1" - cset "name='SpkrLeft BOOST Switch' 1" - cset "name='SpkrLeft DAC Switch' 1" - cset "name='SpkrLeft VISENSE Switch' 0" - cset "name='SpkrLeft WSA MODE' 0" - cset "name='SpkrRight COMP Switch' 1" - cset "name='SpkrRight BOOST Switch' 1" - cset "name='SpkrRight DAC Switch' 1" - cset "name='SpkrRight VISENSE Switch' 0" - cset "name='SpkrRight WSA MODE' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/two-speakers/SpeakerSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/two-speakers/SpeakerSeq.conf deleted file mode 100644 index e86ea216..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/two-speakers/SpeakerSeq.conf +++ /dev/null @@ -1,29 +0,0 @@ -EnableSequence [ - cset "name='SpkrLeft COMP Switch' 1" - cset "name='SpkrLeft BOOST Switch' 1" - cset "name='SpkrLeft DAC Switch' 1" - cset "name='SpkrLeft PBR Switch' 1" - cset "name='SpkrLeft VISENSE Switch' 0" - cset "name='SpkrLeft WSA MODE' 0" - cset "name='SpkrLeft PA Volume' 12" - cset "name='SpkrRight COMP Switch' 1" - cset "name='SpkrRight BOOST Switch' 1" - cset "name='SpkrRight DAC Switch' 1" - cset "name='SpkrRight PBR Switch' 1" - cset "name='SpkrRight VISENSE Switch' 0" - cset "name='SpkrRight WSA MODE' 0" - cset "name='SpkrRight PA Volume' 12" -] - -DisableSequence [ - cset "name='SpkrLeft COMP Switch' 0" - cset "name='SpkrLeft BOOST Switch' 0" - cset "name='SpkrLeft DAC Switch' 0" - cset "name='SpkrLeft PBR Switch' 0" - cset "name='SpkrLeft VISENSE Switch' 0" - cset "name='SpkrRight COMP Switch' 0" - cset "name='SpkrRight BOOST Switch' 0" - cset "name='SpkrRight DAC Switch' 0" - cset "name='SpkrRight PBR Switch' 0" - cset "name='SpkrRight VISENSE Switch' 0" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/two-speakers/init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/two-speakers/init.conf deleted file mode 100644 index b6477a4c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/codecs/wsa884x/two-speakers/init.conf +++ /dev/null @@ -1,11 +0,0 @@ -# WSA884x in two-speaker configuration, specific volume control settings -LibraryConfig.remap.Config { - ctl.default.map { - # Merge two mono controls into one stereo - "name='Speakers Volume'" { - "name='SpkrLeft PA Volume'".vindex.0 0 - "name='SpkrRight PA Volume'".vindex.1 0 - } - } -} - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/ctl/remap.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/ctl/remap.conf deleted file mode 100644 index e19568e3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/ctl/remap.conf +++ /dev/null @@ -1,50 +0,0 @@ -# -# Remap controls -# - -# -# Macro CtlRemapMonoVolSw -# -# Arguments: -# Dst - Destination control name -# Src - Source control name -# Index - hardware index for value 0 (mono) -# - -DefineMacro.CtlRemapMonoVolSw { - LibraryConfig.pcm.SubstiConfig { - ctl.default.map { - "name='${var:__Dst} Volume'"."name='${var:__Src} Volume'" { - vindex.0 "${evali:$__Index}" - } - "name='${var:__Dst} Switch'"."name='${var:__Src} Switch'" { - vindex.0 "${evali:$__Index}" - } - } - } -} - -# -# Macro CtlRemapStereoVolSw -# -# Arguments: -# Dst - Destination control name -# Src - Source control name -# Index0 - hardware index for the application index 0 -# Index1 - hardware index for the application index 1 -# - -DefineMacro.CtlRemapStereoVolSw { - LibraryConfig.pcm.SubstiConfig { - ctl.default.map { - "name='${var:__Dst} Volume'"."name='${var:__Src} Volume'" { - vindex.0 "${evali:$__Index0}" - vindex.1 "${evali:$__Index1}" - } - "name='${var:__Dst} Switch'"."name='${var:__Src} Switch'" { - vindex.0 "${evali:$__Index0}" - vindex.1 "${evali:$__Index1}" - } - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/direct-verb.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/direct-verb.conf deleted file mode 100644 index d069fc22..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/direct-verb.conf +++ /dev/null @@ -1,27 +0,0 @@ -SectionDevice."Direct" { - Comment "Direct ${CardName}" - Value { - If.p { - Condition { - Type String - Empty "${var:-DirectPlaybackChannels}" - } - False { - PlaybackPriority 1000 - PlaybackChannels "${var:DirectPlaybackChannels}" - PlaybackPCM "hw:${CardId}" - } - } - If.c { - Condition { - Type String - Empty "${var:-DirectCaptureChannels}" - } - False { - CapturePriority 1000 - CaptureChannels "${var:DirectCaptureChannels}" - CapturePCM "hw:${CardId}" - } - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/direct.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/direct.conf deleted file mode 100644 index 3bb0dac4..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/direct.conf +++ /dev/null @@ -1,12 +0,0 @@ -If.direct { - Condition { - Type String - Empty "${var:-DirectCardName}" - } - True.Define.DirectCardName "${CardName}" -} - -SectionUseCase."Direct" { - Comment "Direct ${var:DirectCardName}" - File "/common/direct-verb.conf" -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/linked-card.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/linked-card.conf deleted file mode 100644 index a90f20e8..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/linked-card.conf +++ /dev/null @@ -1,3 +0,0 @@ -Syntax 3 - -Include.linked.File "/common/linked.conf" diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/linked.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/linked.conf deleted file mode 100644 index d7656a88..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/linked.conf +++ /dev/null @@ -1,3 +0,0 @@ -ValueDefaults { - Linked 1 -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/pcm/split.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/pcm/split.conf deleted file mode 100644 index 9ed2f956..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/common/pcm/split.conf +++ /dev/null @@ -1,371 +0,0 @@ -# -# Split multichannel PCM stream to channel groups -# - -# -# Macro SplitPCM -# -# Application variable: -# @SplitPCM - defined, return channel description using UCM values -# -# Arguments: -# Name - PCM name (alsa-lib) -# Direction - "Playback" or "Capture" -# [Format] - sample format like S16_LE or S32_LE -# Channels - application channels -# HWChannels - hardware channels -# HWChannelPos0 - channel position (MONO FR FL etc. - see alsa-lib's strings) -# [HWChannelPos1] - channel position (MONO FR FL etc. - see alsa-lib's strings) -# - -DefineMacro.SplitPCM.If.0 { - Condition { - Type String - Empty "${var:@SplitPCM}" - } - True { - If.period_time { - Condition { - Type String - Empty "${var:-SplitPCMPeriodTime}" - } - True.Define.__period_time 20000 - False.Define.__period_time "${var:SplitPCMPeriodTime}" - } - If.buffer_time { - Condition { - Type String - Empty "${var:-SplitPCMBufferTime}" - } - True.Define.__buffer_time 500000 - False.Define.__buffer_time "${var:SplitPCMBufferTime}" - } - If.format { - Condition { - Type String - Empty "${var:-__Format}" - } - True.Define.__Format S16_LE - } - - LibraryConfig.pcm.SubstiConfig.pcm."${var:__Name}" { - @args [ CARD DEV CHN0 ] - @args { - CARD.type string - DEV.type integer - CHN0.type integer - } - ipc_key 6678293 - type dshare - slave { - pcm { - type hw - card $CARD - device $DEV - chmap [ "${var:__HWChannelPos0}" ] - } - format "${var:__Format}" - channels "${evali:$__HWChannels}" - period_time "${evali:$__period_time}" - buffer_time "${evali:$__buffer_time}" - } - bindings.0 $CHN0 - } - - If.pos1 { - Condition { - Type String - Empty "${var:__HWChannelPos1}" - } - False.LibraryConfig.pos1.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:__HWChannelPos1}" ] - } - } - If.pos2 { - Condition { - Type String - Empty "${var:-__HWChannelPos2}" - } - False.LibraryConfig.pos2.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos2}" ] - } - } - If.pos3 { - Condition { - Type String - Empty "${var:-__HWChannelPos3}" - } - False.LibraryConfig.pos3.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos3}" ] - } - } - If.pos4 { - Condition { - Type String - Empty "${var:-__HWChannelPos4}" - } - False.LibraryConfig.pos4.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos4}" ] - } - } - If.pos5 { - Condition { - Type String - Empty "${var:-__HWChannelPos5}" - } - False.LibraryConfig.pos4.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos5}" ] - } - } - If.pos6 { - Condition { - Type String - Empty "${var:-__HWChannelPos6}" - } - False.LibraryConfig.pos6.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos6}" ] - } - } - If.pos7 { - Condition { - Type String - Empty "${var:-__HWChannelPos7}" - } - False.LibraryConfig.pos7.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos7}" ] - } - } - If.pos8 { - Condition { - Type String - Empty "${var:-__HWChannelPos8}" - } - False.LibraryConfig.pos8.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos8}" ] - } - } - If.pos9 { - Condition { - Type String - Empty "${var:-__HWChannelPos9}" - } - False.LibraryConfig.pos9.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos9}" ] - } - } - If.pos10 { - Condition { - Type String - Empty "${var:-__HWChannelPos10}" - } - False.LibraryConfig.pos10.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos10}" ] - } - } - If.pos11 { - Condition { - Type String - Empty "${var:-__HWChannelPos11}" - } - False.LibraryConfig.pos11.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos11}" ] - } - } - If.pos12 { - Condition { - Type String - Empty "${var:-__HWChannelPos12}" - } - False.LibraryConfig.pos12.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos12}" ] - } - } - If.pos13 { - Condition { - Type String - Empty "${var:-__HWChannelPos13}" - } - False.LibraryConfig.pos13.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos13}" ] - } - } - If.pos14 { - Condition { - Type String - Empty "${var:-__HWChannelPos14}" - } - False.LibraryConfig.pos14.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos14}" ] - } - } - If.pos15 { - Condition { - Type String - Empty "${var:-__HWChannelPos15}" - } - False.LibraryConfig.pos15.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos15}" ] - } - } - If.pos16 { - Condition { - Type String - Empty "${var:-__HWChannelPos16}" - } - False.LibraryConfig.pos16.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos16}" ] - } - } - If.pos17 { - Condition { - Type String - Empty "${var:-__HWChannelPos17}" - } - False.LibraryConfig.pos17.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos17}" ] - } - } - If.pos18 { - Condition { - Type String - Empty "${var:-__HWChannelPos18}" - } - False.LibraryConfig.pos18.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos18}" ] - } - } - If.pos19 { - Condition { - Type String - Empty "${var:-__HWChannelPos19}" - } - False.LibraryConfig.pos19.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos19}" ] - } - } - If.pos20 { - Condition { - Type String - Empty "${var:-__HWChannelPos20}" - } - False.LibraryConfig.pos20.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos20}" ] - } - } - If.pos21 { - Condition { - Type String - Empty "${var:-__HWChannelPos21}" - } - False.LibraryConfig.pos21.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos21}" ] - } - } - If.pos22 { - Condition { - Type String - Empty "${var:-__HWChannelPos22}" - } - False.LibraryConfig.pos22.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos22}" ] - } - } - If.pos23 { - Condition { - Type String - Empty "${var:-__HWChannelPos23}" - } - False.LibraryConfig.pos23.SubstiConfig.pcm."${var:__Name}" { - slave.pcm.chmap [ "${var:-__HWChannelPos23}" ] - } - } - - If.ch1 { - Condition { - Type RegexMatch - Regex "^([2-9]|[1-9][0-9])$" - String "${var:__Channels}" - } - True.LibraryConfig.ch1.SubstiConfig.pcm."${var:__Name}" { - @args.3 CHN1 - @args { CHN1.type integer } - bindings.1 $CHN1 - } - } - - If.dir { - Condition { - Type String - String1 "${var:__Direction}" - String2 "Capture" - } - True.LibraryConfig.dir.Config.pcm."${var:__Name}".type dsnoop - } - } -} - -# -# Macro SplitPCMDevice -# -# Application variable: -# @SplitPCM - defined, return channel description using UCM values -# -# Arguments: -# Name - PCM name (alsa-lib) -# Direction - "Playback" or "Capture" -# Device - hardware PCM device number (optional - default 0) -# Channels - count of application channels -# HWChannels - total channels (in hardware) -# Channel0 - channel index in stream for the destination channel 0 -# [Channel1] - channel index in stream for the destination channel 1 (optional) -# ChannelPos0 - channel position (MONO FR FL etc. - see alsa-lib's strings -# [ChannelPos1] - channel position (MONO FR FL etc. - see alsa-lib's strings) -# - -DefineMacro.SplitPCMDevice { - If.0 { - Condition { - Type String - Empty "${var:-__Device}" - } - True.Define.__Device "0" - } - If.1 { - Condition { - Type String - Empty "${var:@SplitPCM}" - } - False { - Value { - "${var:__Direction}Channels" "${var:__HWChannels}" - "${var:__Direction}PCM" "hw:${CardId},${var:__Device}" - "${var:__Direction}Channel0" "${var:__Channel0}" - "${var:__Direction}ChannelPos0" "${var:__ChannelPos0}" - } - If.ch1 { - Condition { - Type String - Empty "${var:-__Channel1}" - } - False.Value { - "${var:__Direction}Channel1" "${var:__Channel1}" - "${var:__Direction}ChannelPos1" "${var:__ChannelPos1}" - } - } - } - True { - Define.__pcmdev "${var:__Name}:${CardId},${var:__Device},${var:__Channel0}" - If.ch1 { - Condition { - Type String - Empty "${var:-__Channel1}" - } - False.Define.__pcmdev "${var:__pcmdev},${var:__Channel1}" - } - Value { - "${var:__Direction}Channels" "${var:__Channels}" - "${var:__Direction}PCM" "${var:__pcmdev}" - } - } - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/DB410c/DB410c.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/DB410c/DB410c.conf deleted file mode 120000 index 551122e1..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/DB410c/DB410c.conf +++ /dev/null @@ -1 +0,0 @@ -../../Qualcomm/apq8016-sbc/apq8016-sbc.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/DB820c/DB820c.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/DB820c/DB820c.conf deleted file mode 120000 index b8ceeaba..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/DB820c/DB820c.conf +++ /dev/null @@ -1 +0,0 @@ -../../Qualcomm/apq8096/apq8096.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/HDA-Intel/HDA-Intel.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/HDA-Intel/HDA-Intel.conf deleted file mode 120000 index 81a584bb..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/HDA-Intel/HDA-Intel.conf +++ /dev/null @@ -1 +0,0 @@ -../../HDA/HDA.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/SC7180/sc7180-rt5682-max98357a-1mic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/SC7180/sc7180-rt5682-max98357a-1mic.conf deleted file mode 120000 index 00f3e9e7..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/SC7180/sc7180-rt5682-max98357a-1mic.conf +++ /dev/null @@ -1 +0,0 @@ -../../Qualcomm/sc7180/rt5682-max98357a/sc7180-rt5682-max98357a-1mic.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/SOF/SOF.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/SOF/SOF.conf deleted file mode 120000 index 3d11c6d4..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/SOF/SOF.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/SOF/SOF.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/USB-Audio/USB-Audio.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/USB-Audio/USB-Audio.conf deleted file mode 120000 index bb29ced2..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/USB-Audio/USB-Audio.conf +++ /dev/null @@ -1 +0,0 @@ -../../USB-Audio/USB-Audio.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/VEYRON-I2S/VEYRON-I2S.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/VEYRON-I2S/VEYRON-I2S.conf deleted file mode 120000 index d9818adf..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/VEYRON-I2S/VEYRON-I2S.conf +++ /dev/null @@ -1 +0,0 @@ -../../Rockchip/max98090/max98090.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp/acp.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp/acp.conf deleted file mode 120000 index 7298c244..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp/acp.conf +++ /dev/null @@ -1 +0,0 @@ -../../common/linked-card.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp3x-es83xx/acp3x-es83xx.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp3x-es83xx/acp3x-es83xx.conf deleted file mode 120000 index 35a4deaf..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp3x-es83xx/acp3x-es83xx.conf +++ /dev/null @@ -1 +0,0 @@ -../../AMD/acp3x-es83xx/acp3x-es83xx.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp3xalc5682m98/acp3xalc5682m98.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp3xalc5682m98/acp3xalc5682m98.conf deleted file mode 120000 index 6e9eefc5..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp3xalc5682m98/acp3xalc5682m98.conf +++ /dev/null @@ -1 +0,0 @@ -../../AMD/acp3xalc5682m98/acp3xalc5682m98.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp5x/Valve-Jupiter-1.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp5x/Valve-Jupiter-1.conf deleted file mode 120000 index dd56fa5a..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp5x/Valve-Jupiter-1.conf +++ /dev/null @@ -1 +0,0 @@ -../../AMD/acp5x/acp5x.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp62/acp62.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp62/acp62.conf deleted file mode 120000 index 7298c244..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp62/acp62.conf +++ /dev/null @@ -1 +0,0 @@ -../../common/linked-card.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp63/acp63.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp63/acp63.conf deleted file mode 120000 index 7298c244..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp63/acp63.conf +++ /dev/null @@ -1 +0,0 @@ -../../common/linked-card.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp6x/acp6x.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp6x/acp6x.conf deleted file mode 120000 index 7298c244..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acp6x/acp6x.conf +++ /dev/null @@ -1 +0,0 @@ -../../common/linked-card.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acpd7219m98357/acpd7219m98357.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acpd7219m98357/acpd7219m98357.conf deleted file mode 120000 index 34238f04..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/acpd7219m98357/acpd7219m98357.conf +++ /dev/null @@ -1 +0,0 @@ -../../AMD/acpd7219m98357/acpd7219m98357.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bdw-rt5677/bdw-rt5677.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bdw-rt5677/bdw-rt5677.conf deleted file mode 120000 index c614a507..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bdw-rt5677/bdw-rt5677.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/bdw-rt5677/bdw-rt5677.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/broadwell-rt286/broadwell-rt286.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/broadwell-rt286/broadwell-rt286.conf deleted file mode 120000 index c15a3cf6..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/broadwell-rt286/broadwell-rt286.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/broadwell-rt286/broadwell-rt286.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/broxton-rt298/broxton-rt298.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/broxton-rt298/broxton-rt298.conf deleted file mode 120000 index 30b0ba4e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/broxton-rt298/broxton-rt298.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/broxton-rt298/broxton-rt298.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bytcht-cx2072x/bytcht-cx2072x.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bytcht-cx2072x/bytcht-cx2072x.conf deleted file mode 120000 index 5d784b5c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bytcht-cx2072x/bytcht-cx2072x.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/bytcht-cx2072x/bytcht-cx2072x.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bytcht-es8316/bytcht-es8316.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bytcht-es8316/bytcht-es8316.conf deleted file mode 120000 index 647b33eb..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bytcht-es8316/bytcht-es8316.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/bytcht-es8316/bytcht-es8316.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bytcr-rt5640/bytcr-rt5640.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bytcr-rt5640/bytcr-rt5640.conf deleted file mode 120000 index b96aeeb7..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bytcr-rt5640/bytcr-rt5640.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/bytcr-rt5640/bytcr-rt5640.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bytcr-rt5651/bytcr-rt5651.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bytcr-rt5651/bytcr-rt5651.conf deleted file mode 120000 index 31ff3299..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bytcr-rt5651/bytcr-rt5651.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/bytcr-rt5651/bytcr-rt5651.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bytcr-wm5102/bytcr-wm5102.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bytcr-wm5102/bytcr-wm5102.conf deleted file mode 120000 index 173eefe3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/bytcr-wm5102/bytcr-wm5102.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/bytcr-wm5102/bytcr-wm5102.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/cht-bsw-rt5672/cht-bsw-rt5672.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/cht-bsw-rt5672/cht-bsw-rt5672.conf deleted file mode 120000 index 04eb770c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/cht-bsw-rt5672/cht-bsw-rt5672.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/cht-bsw-rt5672/cht-bsw-rt5672.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/chtmax98090/chtmax98090.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/chtmax98090/chtmax98090.conf deleted file mode 120000 index f3d0cab0..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/chtmax98090/chtmax98090.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/chtmax98090/chtmax98090.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/chtnau8824/chtnau8824.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/chtnau8824/chtnau8824.conf deleted file mode 120000 index ae9a9c47..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/chtnau8824/chtnau8824.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/chtnau8824/chtnau8824.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/chtrt5645/chtrt5645.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/chtrt5645/chtrt5645.conf deleted file mode 120000 index bdc42b48..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/chtrt5645/chtrt5645.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/chtrt5645/chtrt5645.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/chtrt5650/chtrt5650.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/chtrt5650/chtrt5650.conf deleted file mode 120000 index b82a4e36..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/chtrt5650/chtrt5650.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/chtrt5650/chtrt5650.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/gx-sound-card/GXL-P241.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/gx-sound-card/GXL-P241.conf deleted file mode 120000 index a05d6573..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/gx-sound-card/GXL-P241.conf +++ /dev/null @@ -1 +0,0 @@ -../../Amlogic/p241/p241.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/gx-sound-card/LIBRETECH-CC.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/gx-sound-card/LIBRETECH-CC.conf deleted file mode 120000 index a05d6573..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/gx-sound-card/LIBRETECH-CC.conf +++ /dev/null @@ -1 +0,0 @@ -../../Amlogic/p241/p241.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/hda-dsp/hda-dsp.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/hda-dsp/hda-dsp.conf deleted file mode 120000 index 19209f24..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/hda-dsp/hda-dsp.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/hda-dsp/hda-dsp.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/kblrt5660/kblrt5660.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/kblrt5660/kblrt5660.conf deleted file mode 120000 index f00fa611..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/kblrt5660/kblrt5660.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/kblrt5660/kblrt5660.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8192_mt6359/mt8192_mt6359_rt1015p_rt5682.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8192_mt6359/mt8192_mt6359_rt1015p_rt5682.conf deleted file mode 120000 index 4425b199..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8192_mt6359/mt8192_mt6359_rt1015p_rt5682.conf +++ /dev/null @@ -1 +0,0 @@ -../../MediaTek/mt8192/mt6359-rt1015p-rt5682/mt8192_mt6359_rt1015p_rt5682.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8195_demo/mt8195_demo.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8195_demo/mt8195_demo.conf deleted file mode 120000 index fa4f185b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8195_demo/mt8195_demo.conf +++ /dev/null @@ -1 +0,0 @@ -../../MediaTek/mt8195_demo/mt8195_demo.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8365-evk/mt8365-evk.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8365-evk/mt8365-evk.conf deleted file mode 120000 index a46fe74e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8365-evk/mt8365-evk.conf +++ /dev/null @@ -1 +0,0 @@ -../../MediaTek/mt8365-evk/mt8365-evk.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8370-evk/mt8370-evk.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8370-evk/mt8370-evk.conf deleted file mode 120000 index fed8ef18..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8370-evk/mt8370-evk.conf +++ /dev/null @@ -1 +0,0 @@ -../../MediaTek/mt8370-evk/mt8370-evk.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8390-evk/mt8390-evk.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8390-evk/mt8390-evk.conf deleted file mode 120000 index 5b5c2b97..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8390-evk/mt8390-evk.conf +++ /dev/null @@ -1 +0,0 @@ -../../MediaTek/mt8390-evk/mt8390-evk.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8395-evk/mt8395-evk.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8395-evk/mt8395-evk.conf deleted file mode 120000 index 30557e3f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mt8395-evk/mt8395-evk.conf +++ /dev/null @@ -1 +0,0 @@ -../../MediaTek/mt8395-evk/mt8395-evk.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mtk-rt5650/mtk-rt5650.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mtk-rt5650/mtk-rt5650.conf deleted file mode 120000 index da13fa73..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/mtk-rt5650/mtk-rt5650.conf +++ /dev/null @@ -1 +0,0 @@ -../../MediaTek/mtk-rt5650/mtk-rt5650.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/rk3399-gru-soun/rk3399-gru-soun.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/rk3399-gru-soun/rk3399-gru-soun.conf deleted file mode 120000 index 9e7de935..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/rk3399-gru-soun/rk3399-gru-soun.conf +++ /dev/null @@ -1 +0,0 @@ -../../Rockchip/rk3399-gru-sound/rk3399-gru-sound.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/rk3588-es8316/rk3588-es8316.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/rk3588-es8316/rk3588-es8316.conf deleted file mode 120000 index ed1ddfae..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/rk3588-es8316/rk3588-es8316.conf +++ /dev/null @@ -1 +0,0 @@ -../../Rockchip/rk3588-es8316/rk3588-es8316.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/rockchip_es8316/rockchip_es8316.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/rockchip_es8316/rockchip_es8316.conf deleted file mode 120000 index 6d1864f7..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/rockchip_es8316/rockchip_es8316.conf +++ /dev/null @@ -1 +0,0 @@ -../../Rockchip/es8316/es8316.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sc8280xp/sc8280xp.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sc8280xp/sc8280xp.conf deleted file mode 120000 index aab068de..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sc8280xp/sc8280xp.conf +++ /dev/null @@ -1 +0,0 @@ -../../Qualcomm/sc8280xp/sc8280xp.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sdm845/DB845c.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sdm845/DB845c.conf deleted file mode 120000 index fad79da8..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sdm845/DB845c.conf +++ /dev/null @@ -1 +0,0 @@ -../../Qualcomm/sdm845/sdm845.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sdm845/LENOVO-81JL-LenovoYOGAC630_13Q50-LNVNB161216.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sdm845/LENOVO-81JL-LenovoYOGAC630_13Q50-LNVNB161216.conf deleted file mode 120000 index 6db2236d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sdm845/LENOVO-81JL-LenovoYOGAC630_13Q50-LNVNB161216.conf +++ /dev/null @@ -1 +0,0 @@ -../../Qualcomm/sdm845/Lenovo-YOGA-C630-13Q50.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/Librem 5 Devkit.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/Librem 5 Devkit.conf deleted file mode 120000 index 3bdfe208..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/Librem 5 Devkit.conf +++ /dev/null @@ -1 +0,0 @@ -../../NXP/iMX8/Librem_5_Devkit/Librem 5 Devkit.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/Librem 5.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/Librem 5.conf deleted file mode 120000 index c6879422..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/Librem 5.conf +++ /dev/null @@ -1 +0,0 @@ -../../NXP/iMX8/Librem_5/Librem 5.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/PinePhone.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/PinePhone.conf deleted file mode 120000 index fc21f35d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/PinePhone.conf +++ /dev/null @@ -1 +0,0 @@ -../../Allwinner/A64/PinePhone/PinePhone.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/rk817_ext.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/rk817_ext.conf deleted file mode 120000 index 6fa8db7d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/rk817_ext.conf +++ /dev/null @@ -1 +0,0 @@ -../../Rockchip/rk817-sound/rk817-sound.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/rk817_int.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/rk817_int.conf deleted file mode 120000 index 6fa8db7d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/rk817_int.conf +++ /dev/null @@ -1 +0,0 @@ -../../Rockchip/rk817-sound/rk817-sound.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/rockchip,es8316-codec.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/rockchip,es8316-codec.conf deleted file mode 120000 index 6d1864f7..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/simple-card/rockchip,es8316-codec.conf +++ /dev/null @@ -1 +0,0 @@ -../../Rockchip/es8316/es8316.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/skylake-rt286/skylake-rt286.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/skylake-rt286/skylake-rt286.conf deleted file mode 120000 index 79e02f36..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/skylake-rt286/skylake-rt286.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/skylake-rt286/skylake-rt286.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sm8250/Qualcomm-RB5-WSA8815-Speakers-DMIC0.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sm8250/Qualcomm-RB5-WSA8815-Speakers-DMIC0.conf deleted file mode 120000 index 9f551b74..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sm8250/Qualcomm-RB5-WSA8815-Speakers-DMIC0.conf +++ /dev/null @@ -1 +0,0 @@ -../../Qualcomm/sm8250/Qualcomm-RB5-WSA8815-Speakers-DMIC0.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sm8650/SM8650-MTP.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sm8650/SM8650-MTP.conf deleted file mode 120000 index 418e2a0b..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sm8650/SM8650-MTP.conf +++ /dev/null @@ -1 +0,0 @@ -../../Qualcomm/sm8650/MTP/SM8650-MTP.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sm8650/SM8650-QRD.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sm8650/SM8650-QRD.conf deleted file mode 120000 index 3d71c72f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sm8650/SM8650-QRD.conf +++ /dev/null @@ -1 +0,0 @@ -../../Qualcomm/sm8650/QRD/SM8650-QRD.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-ehl-rt5660/sof-ehl-rt5660.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-ehl-rt5660/sof-ehl-rt5660.conf deleted file mode 120000 index 88ed4eb6..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-ehl-rt5660/sof-ehl-rt5660.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/sof-ehl-rt5660/sof-ehl-rt5660.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-essx8336/sof-essx8336.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-essx8336/sof-essx8336.conf deleted file mode 120000 index 10a24186..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-essx8336/sof-essx8336.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/sof-essx8336/sof-essx8336.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-glkda7219ma/sof-glkda7219ma.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-glkda7219ma/sof-glkda7219ma.conf deleted file mode 120000 index c6469154..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-glkda7219ma/sof-glkda7219ma.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/sof-glkda7219max/sof-glkda7219max.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-hda-dsp/sof-hda-dsp.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-hda-dsp/sof-hda-dsp.conf deleted file mode 120000 index 5ba86cb1..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-hda-dsp/sof-hda-dsp.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/sof-hda-dsp/sof-hda-dsp.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-hda-dsp/sof-skl_hda_card.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-hda-dsp/sof-skl_hda_card.conf deleted file mode 120000 index 5ba86cb1..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-hda-dsp/sof-skl_hda_card.conf +++ /dev/null @@ -1 +0,0 @@ -../../Intel/sof-hda-dsp/sof-hda-dsp.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-mt8195_r101/sof-mt8195_r1019_5682.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-mt8195_r101/sof-mt8195_r1019_5682.conf deleted file mode 120000 index bc06786f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-mt8195_r101/sof-mt8195_r1019_5682.conf +++ /dev/null @@ -1 +0,0 @@ -../../MediaTek/mt8195-sof/mt6359-rt1019-rt5682/sof-mt8195-mt6359-rt1019-rt5682.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-skl_hda_card b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-skl_hda_card deleted file mode 120000 index 6f0f5a6f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-skl_hda_card +++ /dev/null @@ -1 +0,0 @@ -sof-hda-dsp \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-soundwire/sof-soundwire.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-soundwire/sof-soundwire.conf deleted file mode 120000 index 0d00b73f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/sof-soundwire/sof-soundwire.conf +++ /dev/null @@ -1 +0,0 @@ -../../sof-soundwire/sof-soundwire.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra-hda/tegra-hda.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra-hda/tegra-hda.conf deleted file mode 120000 index 0b4867c6..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra-hda/tegra-hda.conf +++ /dev/null @@ -1 +0,0 @@ -../../Tegra/tegra-hda/tegra-hda.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/ASUS Google Nexus 7 ALC5642.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/ASUS Google Nexus 7 ALC5642.conf deleted file mode 120000 index e598c9ce..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/ASUS Google Nexus 7 ALC5642.conf +++ /dev/null @@ -1 +0,0 @@ -../../Tegra/rt5640/Google-Nexus-7.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Acer Iconia Tab A500 WM8903.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Acer Iconia Tab A500 WM8903.conf deleted file mode 120000 index d000c29f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Acer Iconia Tab A500 WM8903.conf +++ /dev/null @@ -1 +0,0 @@ -../../Tegra/wm8903/Acer-A500.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus EeePad Slider WM8903.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus EeePad Slider WM8903.conf deleted file mode 120000 index ab543c4c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus EeePad Slider WM8903.conf +++ /dev/null @@ -1 +0,0 @@ -../../Tegra/wm8903/Asus-Transformer.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus EeePad Transformer WM8903.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus EeePad Transformer WM8903.conf deleted file mode 120000 index ab543c4c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus EeePad Transformer WM8903.conf +++ /dev/null @@ -1 +0,0 @@ -../../Tegra/wm8903/Asus-Transformer.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus Transformer Infinity TF700T RT5631.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus Transformer Infinity TF700T RT5631.conf deleted file mode 120000 index 5be7edf3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus Transformer Infinity TF700T RT5631.conf +++ /dev/null @@ -1 +0,0 @@ -../../Tegra/rt5631/Asus-Transformer.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus Transformer Pad TF300T WM8903.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus Transformer Pad TF300T WM8903.conf deleted file mode 120000 index ab543c4c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus Transformer Pad TF300T WM8903.conf +++ /dev/null @@ -1 +0,0 @@ -../../Tegra/wm8903/Asus-Transformer.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus Transformer Pad TF300TG RT5631.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus Transformer Pad TF300TG RT5631.conf deleted file mode 120000 index 5be7edf3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus Transformer Pad TF300TG RT5631.conf +++ /dev/null @@ -1 +0,0 @@ -../../Tegra/rt5631/Asus-Transformer.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus Transformer Pad TF300TL RT5631.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus Transformer Pad TF300TL RT5631.conf deleted file mode 120000 index 5be7edf3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus Transformer Pad TF300TL RT5631.conf +++ /dev/null @@ -1 +0,0 @@ -../../Tegra/rt5631/Asus-Transformer.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus Transformer Prime TF201 RT5631.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus Transformer Prime TF201 RT5631.conf deleted file mode 120000 index 5be7edf3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Asus Transformer Prime TF201 RT5631.conf +++ /dev/null @@ -1 +0,0 @@ -../../Tegra/rt5631/Asus-Transformer.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Compal PAZ00.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Compal PAZ00.conf deleted file mode 120000 index 99591259..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/Compal PAZ00.conf +++ /dev/null @@ -1 +0,0 @@ -../../Tegra/alc5632/alc5632.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/GoogleNyanBig.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/GoogleNyanBig.conf deleted file mode 120000 index 272a1fb3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/GoogleNyanBig.conf +++ /dev/null @@ -1 +0,0 @@ -../../Tegra/max98090/max98090.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/GoogleNyanBlaze.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/GoogleNyanBlaze.conf deleted file mode 120000 index 272a1fb3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/GoogleNyanBlaze.conf +++ /dev/null @@ -1 +0,0 @@ -../../Tegra/max98090/max98090.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/LG Optimus 4X HD MAX98089.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/LG Optimus 4X HD MAX98089.conf deleted file mode 120000 index e569b859..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/LG Optimus 4X HD MAX98089.conf +++ /dev/null @@ -1 +0,0 @@ -../../Tegra/max98089/lge-x3.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/LG Optimus Vu MAX98089.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/LG Optimus Vu MAX98089.conf deleted file mode 120000 index e569b859..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/tegra/LG Optimus Vu MAX98089.conf +++ /dev/null @@ -1 +0,0 @@ -../../Tegra/max98089/lge-x3.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/x1e80100/X1E80100-CRD.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/x1e80100/X1E80100-CRD.conf deleted file mode 120000 index 00134032..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.d/x1e80100/X1E80100-CRD.conf +++ /dev/null @@ -1 +0,0 @@ -../../Qualcomm/x1e80100/X1E80100-CRD.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.virt.d/.gitignore b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/conf.virt.d/.gitignore deleted file mode 100644 index e69de29b..00000000 diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/lib/card-init.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/lib/card-init.conf deleted file mode 100644 index 527a5e00..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/lib/card-init.conf +++ /dev/null @@ -1,10 +0,0 @@ -# -# Manage directory for the card specific configuration -# - -Define.LibDir "/var/lib/alsa/card${CardNumber}.conf.d" - -FixedBootSequence [ - exec "/bin/rm -rf ${var:LibDir}" - exec "/bin/mkdir -p -m 0755 ${var:LibDir}" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/lib/ctl-remap.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/lib/ctl-remap.conf deleted file mode 100644 index 06e775cb..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/lib/ctl-remap.conf +++ /dev/null @@ -1,22 +0,0 @@ -# -# This is generic UCM configuration for alsa-lib -# Users are not allowed to overwrite this configuration -# - -LibraryConfig.generic.Config { - - ctl.default { - @args [ CARD ] - @args.CARD.type string - type remap - child { - type hw - card $CARD - } - } - -} - -FixedBootSequence [ - cfg-save "${var:LibDir}/ctl-remap.conf:+ctl.default" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/lib/generic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/lib/generic.conf deleted file mode 100644 index 06f96fb6..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/lib/generic.conf +++ /dev/null @@ -1,29 +0,0 @@ -# -# This is generic UCM configuration for alsa-lib -# Only hw devices are exposed to the UCM application -# Users are not allowed to overwrite this configuration -# - -LibraryConfig.generic.Config { - - ctl.hw { - @args [ CARD ] - @args.CARD.type string - type hw - card $CARD - } - - pcm.hw { - @args [ CARD DEV SUBDEV ] - @args { - CARD.type string - DEV.type integer - SUBDEV.type integer - } - type hw - card $CARD - device $DEV - subdevice $SUBDEV - } - -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_apq8016_sbc.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_apq8016_sbc.conf deleted file mode 120000 index c217f6f7..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_apq8016_sbc.conf +++ /dev/null @@ -1 +0,0 @@ -../Qualcomm/apq8016-sbc/apq8016-sbc.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_apq8096.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_apq8096.conf deleted file mode 120000 index 2470d93f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_apq8096.conf +++ /dev/null @@ -1 +0,0 @@ -../Qualcomm/apq8096/apq8096.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_omap_abe_twl6040.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_omap_abe_twl6040.conf deleted file mode 120000 index 0e70a9e3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_omap_abe_twl6040.conf +++ /dev/null @@ -1 +0,0 @@ -../OMAP/abe-twl6040/abe-twl6040.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_rk3399_gru_sound.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_rk3399_gru_sound.conf deleted file mode 120000 index 9116f773..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_rk3399_gru_sound.conf +++ /dev/null @@ -1 +0,0 @@ -../Rockchip/rk3399-gru-sound/rk3399-gru-sound.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_rockchip_max98090.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_rockchip_max98090.conf deleted file mode 120000 index 10efb8a1..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_rockchip_max98090.conf +++ /dev/null @@ -1 +0,0 @@ -../Rockchip/max98090/max98090.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_sdm845.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_sdm845.conf deleted file mode 120000 index ce04e6a9..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_sdm845.conf +++ /dev/null @@ -1 +0,0 @@ -../Qualcomm/sdm845/sdm845.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_snow.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_snow.conf deleted file mode 120000 index f6fcdce5..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_snow.conf +++ /dev/null @@ -1 +0,0 @@ -../Samsung/snow/snow.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_tegra_alc5632.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_tegra_alc5632.conf deleted file mode 120000 index 8685001f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_tegra_alc5632.conf +++ /dev/null @@ -1 +0,0 @@ -../Tegra/alc5632/alc5632.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_tegra_max98090.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_tegra_max98090.conf deleted file mode 120000 index 406747c1..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/module/snd_soc_tegra_max98090.conf +++ /dev/null @@ -1 +0,0 @@ -../Tegra/max98090/max98090.conf \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/platforms/bytcr/PlatformDisableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/platforms/bytcr/PlatformDisableSeq.conf deleted file mode 100644 index cd48dc00..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/platforms/bytcr/PlatformDisableSeq.conf +++ /dev/null @@ -1,23 +0,0 @@ -# disable audio output path - -DisableSequence [ - cset "name='codec_out0 mix 0 pcm0_in Switch' off" - cset "name='modem_out mix 0 pcm0_in Switch' off" - - cset "name='media0_out mix 0 media0_in Switch' off" - cset "name='media0_out mix 0 media1_in Switch' off" - cset "name='media0_out mix 0 media3_in Switch' off" - - cset "name='media0_in Gain 0 Switch' off" - cset "name='media1_in Gain 0 Switch' off" - cset "name='media3_in Gain 0 Switch' off" - - cset "name='pcm0_in Gain 0 Switch' off" - cset "name='codec_out0 Gain 0 Switch' off" - cset "name='modem_out Gain 0 Switch' off" - - # disable audio input path - cset "name='pcm1_out Gain 0 Switch' off" - cset "name='codec_in0 Gain 0 Switch' off" - cset "name='modem_in Gain 0 Switch' off" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/platforms/bytcr/PlatformEnableSeq.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/platforms/bytcr/PlatformEnableSeq.conf deleted file mode 100644 index 65de7c2e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/platforms/bytcr/PlatformEnableSeq.conf +++ /dev/null @@ -1,118 +0,0 @@ -EnableSequence [ - - # media mixer settings - # compress - cset "name='media0_in Gain 0 Switch' on" - cset "name='media0_in Gain 0 Volume' 0" - - # normal - cset "name='media1_in Gain 0 Switch' on" - cset "name='media1_in Gain 0 Volume' 0" - # swm loopback - cset "name='media2_in Gain 0 Switch' off" - cset "name='media2_in Gain 0 Volume' 0%" - # deep buffer - cset "name='media3_in Gain 0 Switch' on" - cset "name='media3_in Gain 0 Volume' 0" - - cset "name='media0_out mix 0 media0_in Switch' on" - cset "name='media0_out mix 0 media1_in Switch' on" - cset "name='media0_out mix 0 media2_in Switch' off" - cset "name='media0_out mix 0 media3_in Switch' on" - - cset "name='media1_out mix 0 media0_in Switch' off" - cset "name='media1_out mix 0 media1_in Switch' off" - cset "name='media1_out mix 0 media2_in Switch' off" - cset "name='media1_out mix 0 media3_in Switch' off" - - cset "name='pcm0_in Gain 0 Switch' on" - cset "name='pcm0_in Gain 0 Volume' 0" - - cset "name='pcm1_in Gain 0 Switch' off" - cset "name='pcm1_in Gain 0 Volume' 0%" - - # codec0_out settings (used if SSP2 is connected) - cset "name='codec_out0 mix 0 codec_in0 Switch' off" - cset "name='codec_out0 mix 0 codec_in1 Switch' off" - cset "name='codec_out0 mix 0 media_loop1_in Switch' off" - cset "name='codec_out0 mix 0 media_loop2_in Switch' off" - cset "name='codec_out0 mix 0 pcm0_in Switch' on" - cset "name='codec_out0 mix 0 pcm1_in Switch' off" - cset "name='codec_out0 mix 0 sprot_loop_in Switch' off" - cset "name='codec_out0 Gain 0 Switch' on" - cset "name='codec_out0 Gain 0 Volume' 0" - - # modem_out settings (used if SSP0 is connected) - cset "name='modem_out mix 0 codec_in0 Switch' off" - cset "name='modem_out mix 0 codec_in1 Switch' off" - cset "name='modem_out mix 0 media_loop1_in Switch' off" - cset "name='modem_out mix 0 media_loop2_in Switch' off" - cset "name='modem_out mix 0 pcm0_in Switch' on" - cset "name='modem_out mix 0 pcm1_in Switch' off" - cset "name='modem_out mix 0 sprot_loop_in Switch' off" - cset "name='modem_out Gain 0 Switch' on" - cset "name='modem_out Gain 0 Volume' 0" - - # input settings - - # input used when SSP2 is connected - cset "name='codec_in0 Gain 0 Switch' on" - cset "name='codec_in0 Gain 0 Volume' 0" - - # input used when SSP0 is connected - cset "name='modem_in Gain 0 Switch' on" - cset "name='modem_in Gain 0 Volume' 0" - - # pcm1_out settings - cset "name='pcm1_out mix 0 codec_in0 Switch' on" - cset "name='pcm1_out mix 0 modem_in Switch' on" - cset "name='pcm1_out mix 0 codec_in1 Switch' off" - cset "name='pcm1_out mix 0 media_loop1_in Switch' off" - cset "name='pcm1_out mix 0 media_loop2_in Switch' off" - cset "name='pcm1_out mix 0 pcm0_in Switch' off" - cset "name='pcm1_out mix 0 pcm1_in Switch' off" - cset "name='pcm1_out mix 0 sprot_loop_in Switch' off" - - cset "name='pcm1_out Gain 0 Switch' on" - cset "name='pcm1_out Gain 0 Volume' 0" - - # disable codec_out1 - cset "name='codec_out1 mix 0 codec_in0 Switch' off" - cset "name='codec_out1 mix 0 codec_in1 Switch' off" - cset "name='codec_out1 mix 0 media_loop1_in Switch' off" - cset "name='codec_out1 mix 0 media_loop2_in Switch' off" - cset "name='codec_out1 mix 0 pcm0_in Switch' off" - cset "name='codec_out1 mix 0 pcm1_in Switch' off" - cset "name='codec_out1 mix 0 sprot_loop_in Switch' off" - cset "name='codec_out1 Gain 0 Switch' off" - cset "name='codec_out1 Gain 0 Volume' 0%" - - # disable codec_in1 - cset "name='codec_in1 Gain 0 Switch' off" - cset "name='codec_in1 Gain 0 Volume' 0%" - - # disable all loops - cset "name='media_loop1_out mix 0 codec_in0 Switch' off" - cset "name='media_loop1_out mix 0 codec_in1 Switch' off" - cset "name='media_loop1_out mix 0 media_loop1_in Switch' off" - cset "name='media_loop1_out mix 0 media_loop2_in Switch' off" - cset "name='media_loop1_out mix 0 pcm0_in Switch' off" - cset "name='media_loop1_out mix 0 pcm1_in Switch' off" - cset "name='media_loop1_out mix 0 sprot_loop_in Switch' off" - - cset "name='media_loop2_out mix 0 codec_in0 Switch' off" - cset "name='media_loop2_out mix 0 codec_in1 Switch' off" - cset "name='media_loop2_out mix 0 media_loop1_in Switch' off" - cset "name='media_loop2_out mix 0 media_loop2_in Switch' off" - cset "name='media_loop2_out mix 0 pcm0_in Switch' off" - cset "name='media_loop2_out mix 0 pcm1_in Switch' off" - cset "name='media_loop2_out mix 0 sprot_loop_in Switch' off" - - cset "name='sprot_loop_out mix 0 codec_in0 Switch' off" - cset "name='sprot_loop_out mix 0 codec_in1 Switch' off" - cset "name='sprot_loop_out mix 0 media_loop1_in Switch' off" - cset "name='sprot_loop_out mix 0 media_loop2_in Switch' off" - cset "name='sprot_loop_out mix 0 pcm0_in Switch' off" - cset "name='sprot_loop_out mix 0 pcm1_in Switch' off" - cset "name='sprot_loop_out mix 0 sprot_loop_in Switch' off" -] diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/Hdmi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/Hdmi.conf deleted file mode 100644 index 0507d8d9..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/Hdmi.conf +++ /dev/null @@ -1,30 +0,0 @@ -# Use case Configuration for sof-soundwire - -Include.hdmi.File "/codecs/hda/hdmi.conf" - -If.hdmi1 { - Condition { Type AlwaysTrue } - True.Macro.hdmi1.HDMI { - Number 1 - Device 5 - Priority 500 - } -} - -If.hdmi2 { - Condition { Type AlwaysTrue } - True.Macro.hdmi2.HDMI { - Number 2 - Device 6 - Priority 600 - } -} - -If.hdmi3 { - Condition { Type AlwaysTrue } - True.Macro.hdmi2.HDMI { - Number 3 - Device 7 - Priority 700 - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/HiFi.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/HiFi.conf deleted file mode 100644 index ffea077c..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/HiFi.conf +++ /dev/null @@ -1,35 +0,0 @@ -# Use case Configuration for sof-soundwire card - -SectionVerb { - EnableSequence [ - disdevall "" - ] - - Value.TQ "HiFi" -} - -If.spkdev { - Condition { - Type String - Empty "${var:SpeakerCodec1}" - } - False.Include.spkdev.File "/sof-soundwire/${var:SpeakerCodec1}.conf" -} - -If.micdev { - Condition { - Type String - Empty "${var:MicCodec1}" - } - False.Include.micdev.File "/sof-soundwire/${var:MicCodec1}.conf" -} - -If.hsdev { - Condition { - Type String - Empty "${var:HeadsetCodec1}" - } - False.Include.hsdev.File "/sof-soundwire/${var:HeadsetCodec1}.conf" -} - - diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/cs35l56.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/cs35l56.conf deleted file mode 100644 index f74b99af..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/cs35l56.conf +++ /dev/null @@ -1,40 +0,0 @@ -# Use case Configuration for sof-soundwire card - -# -# Arguments: -# ForAmps - regex filter for var:SpeakerAmps -# Amp - amplifier number 1-8 -# -DefineMacro.cs42l43spk.If.0 { - Condition { - Type RegexMatch - Regex "${var:__ForAmps}" - String "${var:SpeakerAmps}" - } - True { - EnableSequence [ - cset "name='AMP${var:__Amp} Speaker Switch' 1" - ] - DisableSequence [ - cset "name='AMP${var:__Amp} Speaker Switch' 0" - ] - } -} - -SectionDevice."Speaker" { - Comment "Speaker" - - Macro.num1.cs42l43spk { ForAmps "[1-8]" Amp 1 } - Macro.num2.cs42l43spk { ForAmps "[2-8]" Amp 2 } - Macro.num3.cs42l43spk { ForAmps "[3-8]" Amp 3 } - Macro.num4.cs42l43spk { ForAmps "[4-8]" Amp 4 } - Macro.num5.cs42l43spk { ForAmps "[5-8]" Amp 5 } - Macro.num6.cs42l43spk { ForAmps "[6-8]" Amp 6 } - Macro.num7.cs42l43spk { ForAmps "[78]" Amp 7 } - Macro.num8.cs42l43spk { ForAmps "8" Amp 8 } - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},2" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/cs42l43-dmic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/cs42l43-dmic.conf deleted file mode 100644 index d5f895d3..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/cs42l43-dmic.conf +++ /dev/null @@ -1,26 +0,0 @@ -# Use case Configuration for sof-soundwire card - -SectionDevice."Mic" { - Comment "Microphones" - - ConflictingDevice [ - "Headset" - ] - - EnableSequence [ - cset "name='cs42l43 DP1TX1 Input' 'Decimator 3'" - cset "name='cs42l43 DP1TX2 Input' 'Decimator 4'" - ] - - DisableSequence [ - cset "name='cs42l43 DP1TX1 Input' 'None'" - cset "name='cs42l43 DP1TX2 Input' 'None'" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},4" - CaptureMixer "default:${CardId}" - CaptureMixerElem "cs42l43 PDM2" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/cs42l43.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/cs42l43.conf deleted file mode 100644 index 1702cf0d..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/cs42l43.conf +++ /dev/null @@ -1,46 +0,0 @@ -# Use case Configuration for sof-soundwire card - -SectionDevice."Headphones" { - Comment "Headphones" - - EnableSequence [ - cset "name='cs42l43 Headphone L Input 1' 'DP5RX1'" - cset "name='cs42l43 Headphone R Input 1' 'DP5RX2'" - ] - - DisableSequence [ - cset "name='cs42l43 Headphone L Input 1' 'None'" - cset "name='cs42l43 Headphone R Input 1' 'None'" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId},0" - PlaybackVolume "cs42l43 Headphone Digital Volume" - JackControl "Headphone Jack" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - EnableSequence [ - cset "name='cs42l43 ADC1 Input' 'IN1'" - cset "name='cs42l43 Decimator 1 Mode' 'ADC'" - - cset "name='cs42l43 DP1TX1 Input' 'Decimator 1'" - cset "name='cs42l43 DP1TX2 Input' 'Decimator 1'" - ] - - DisableSequence [ - cset "name='cs42l43 DP1TX1 Input' 'None'" - cset "name='cs42l43 DP1TX2 Input' 'None'" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},4" - CaptureMixerElem "cs42l43 Decimator 1" - JackControl "Headset Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/dmic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/dmic.conf deleted file mode 100644 index c53d381a..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/dmic.conf +++ /dev/null @@ -1,22 +0,0 @@ -SectionDevice."Mic" { - Comment "Digital Microphone" - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},${find-device:type=pcm,stream=capture,field=id,regex='DMIC '}" - If.chn { - Condition { - Type RegexMatch - Regex "[34]" - String "${var:Mics1}" - } - True { - CaptureChannels 4 - } - } - CaptureMixerElem "Dmic0" - CaptureVolume "Dmic0 Capture Volume" - CaptureSwitch "Dmic0 Capture Switch" - CaptureMicInfoFile "${var:LibDir}/dmics-nhlt.json" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt1308.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt1308.conf deleted file mode 100644 index cce3d13f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt1308.conf +++ /dev/null @@ -1,46 +0,0 @@ -# Use case Configuration for sof-soundwire card - -# -# Arguments: -# ForAmps - regex filter for var:SpeakerAmps -# Amp - amplifier number (1,2 etc.) -# Sel - channel selection (LR LL RL RR) -# -DefineMacro.rt1308spk.If.0 { - Condition { - Type RegexMatch - Regex "${var:__ForAmps}" - String "${var:SpeakerAmps}" - } - True { - EnableSequence [ - cset "name='rt1308-${var:__Amp} RX Channel Select' ${var:__Sel}" - cset "name='rt1308-${var:__Amp} DAC L Switch' 1" - cset "name='rt1308-${var:__Amp} DAC R Switch' 1" - ] - DisableSequence [ - cset "name='rt1308-${var:__Amp} DAC L Switch' 0" - cset "name='rt1308-${var:__Amp} DAC R Switch' 0" - ] - } -} - -SectionDevice."Speaker" { - Comment "Speaker" - - Macro.num1.rt1308spk { ForAmps "[12]" Amp 1 Sel LL } - Macro.num2.rt1308spk { ForAmps "2" Amp 2 Sel RR } - - EnableSequence [ - cset "name='Speaker Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Switch' off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},2" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt1316.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt1316.conf deleted file mode 100644 index a8038b61..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt1316.conf +++ /dev/null @@ -1,65 +0,0 @@ -# Use case Configuration for sof-soundwire card - -# -# Arguments: -# ForAmps - regex filter for var:SpeakerAmps -# Amp - amplifier number (1,2 etc.) -# Sel - channel selection (L,R L,L L,R L,L+R R,L R,R R,L+R L+R,L L+R,R L+R,L+R) -# -DefineMacro.rt1316spk.If.0 { - Condition { - Type RegexMatch - Regex "${var:__ForAmps}" - String "${var:SpeakerAmps}" - } - True { - EnableSequence [ - cset "name='rt1316-${var:__Amp} RX Channel Select' ${var:__Sel}" - ] - If.lrswitch { - Condition { - Type ControlExists - Control "name='rt1316-${var:__Amp} DAC L Switch'" - } - True { - EnableSequence [ - cset "name='rt1316-${var:__Amp} DAC L Switch' 1" - cset "name='rt1316-${var:__Amp} DAC R Switch' 1" - ] - DisableSequence [ - cset "name='rt1316-${var:__Amp} DAC L Switch' 0" - cset "name='rt1316-${var:__Amp} DAC R Switch' 0" - ] - } - False { - EnableSequence [ - cset "name='rt1316-${var:__Amp} DAC Switch' 1" - ] - - DisableSequence [ - cset "name='rt1316-${var:__Amp} DAC Switch' 0" - ] - } - } - } -} - -SectionDevice."Speaker" { - Comment "Speaker" - - Macro.num1.rt1316spk { ForAmps "[12]" Amp 1 Sel "L,L" } - Macro.num2.rt1316spk { ForAmps "2" Amp 2 Sel "R,R" } - - EnableSequence [ - cset "name='Speaker Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Switch' off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},2" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt1318.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt1318.conf deleted file mode 100644 index e40c3be6..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt1318.conf +++ /dev/null @@ -1,44 +0,0 @@ -# Use case Configuration for sof-soundwire card - -# -# Arguments: -# ForAmps - regex filter for var:SpeakerAmps -# Amp - amplifier number (1,2 etc.) -# Sel - channel selection (L,R L,L L,R L,L+R R,L R,R R,L+R L+R,L L+R,R L+R,L+R) -# -DefineMacro.rt1318spk.If.0 { - Condition { - Type RegexMatch - Regex "${var:__RegEx}" - String "${var:SpeakerAmps}" - } - True { - EnableSequence [ - cset "name='rt1308-${var:__Amp} RX Channel Select' ${var:__Sel}" - cset "name='rt1308-${var:__Amp} DAC Switch' 1" - ] - DisableSequence [ - cset "name='rt1308-${var:__Amp} DAC Switch' 0" - ] - } -} - -SectionDevice."Speaker" { - Comment "Speaker" - - Macro.num1.rt1318spk { ForAmps "[12]" Amp 1 Sel "L,L" } - Macro.num2.rt1318spk { ForAmps "2" Amp 2 Sel "R,R" } - - EnableSequence [ - cset "name='Speaker Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Switch' off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId},2" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt5682.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt5682.conf deleted file mode 100644 index 092ac9c8..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt5682.conf +++ /dev/null @@ -1,50 +0,0 @@ -# Use case Configuration for sof-soundwire card - -SectionDevice."Headphones" { - Comment "Headphones" - - EnableSequence [ - cset "name='Headphone Switch' on" - cset "name='rt5682 HPOL Playback Switch' 1" - cset "name='rt5682 HPOR Playback Switch' 1" - ] - - DisableSequence [ - cset "name='rt5682 HPOL Playback Switch' 0" - cset "name='rt5682 HPOR Playback Switch' 0" - cset "name='Headphone Switch' off" - - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - EnableSequence [ - cset "name='Headset Mic Switch' on" - cset "name='rt5682 STO1 ADC Capture Switch' 1" - cset "name='rt5682 RECMIX1L CBJ Switch' 1" - cset "name='rt5682 Stereo1 ADC MIXL ADC1 Switch' 1" - cset "name='rt5682 Stereo1 ADC MIXR ADC1 Switch' 1" - ] - - DisableSequence [ - cset "name='rt5682 STO1 ADC Capture Switch' 0" - cset "name='rt5682 RECMIX1L CBJ Switch' 0" - cset "name='rt5682 Stereo1 ADC MIXL ADC1 Switch' 0" - cset "name='rt5682 Stereo1 ADC MIXR ADC1 Switch' 0" - cset "name='Headset Mic Switch' off" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},1" - JackControl "Headset Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt700.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt700.conf deleted file mode 100644 index ab647f7f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt700.conf +++ /dev/null @@ -1,62 +0,0 @@ -# Use case Configuration for sof-soundwire card - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speaker" - ] - - EnableSequence [ - cset "name='Headphones Switch' on" - ] - - DisableSequence [ - cset "name='Headphones Switch' off" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - } -} - -SectionDevice."Speaker" { - Comment "Speaker" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Speaker Switch' on" - ] - - DisableSequence [ - cset "name='Speaker Switch' off" - ] - - Value { - PlaybackPriority 100 - PlaybackPCM "hw:${CardId}" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - EnableSequence [ - cset "name='ADC 09 Capture Switch' 1" - ] - - DisableSequence [ - cset "name='ADC 09 Capture Switch' 0" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},1" - JackControl "Headset Mic Jack" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt711-sdca.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt711-sdca.conf deleted file mode 100644 index a8e555ef..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt711-sdca.conf +++ /dev/null @@ -1,40 +0,0 @@ -# Use case Configuration for sof-soundwire card - -SectionDevice."Headphones" { - Comment "Headphones" - - EnableSequence [ - cset "name='Headphone Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Switch' off" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - EnableSequence [ - cset "name='rt711 FU0F Capture Switch' 1" - ] - - DisableSequence [ - cset "name='rt711 FU0F Capture Switch' 0" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},1" - JackControl "Headset Mic Jack" - CaptureSwitch "rt711 FU0F Capture Switch" - CaptureVolume "rt711 FU0F Capture Volume" - CaptureMixerElem "rt711 FU0F" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt711.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt711.conf deleted file mode 100644 index 63f9d21e..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt711.conf +++ /dev/null @@ -1,39 +0,0 @@ -# Use case Configuration for sof-soundwire card - -SectionDevice."Headphones" { - Comment "Headphones" - - EnableSequence [ - cset "name='Headphone Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Switch' off" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - EnableSequence [ - cset "name='rt711 ADC 08 Capture Switch' 1" - ] - - DisableSequence [ - cset "name='rt711 ADC 08 Capture Switch' 0" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},1" - JackControl "Headset Mic Jack" - CaptureSwitch "rt711 ADC 08 Capture Switch" - CaptureVolume "rt711 ADC 08 Capture Volume" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt713-dmic.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt713-dmic.conf deleted file mode 100644 index dc5fe0ec..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt713-dmic.conf +++ /dev/null @@ -1,21 +0,0 @@ -# Use case Configuration for sof-soundwire card - -SectionDevice."Mic" { - Comment "SoundWire microphones" - - EnableSequence [ - cset "name='rt713-dmic FU1E Capture Switch' 1" - ] - - DisableSequence [ - cset "name='rt713-dmic FU1E Capture Switch' 0" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},4" - CaptureSwitch "rt713-dmic FU1E Capture Switch" - CaptureVolume "rt713-dmic FU1E Capture Volume" - CaptureMixerElem "rt713-dmic FU1E" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt713-sdca.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt713-sdca.conf deleted file mode 100644 index f1cee7c7..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt713-sdca.conf +++ /dev/null @@ -1,40 +0,0 @@ -# Use case Configuration for sof-soundwire card - -SectionDevice."Headphones" { - Comment "Headphones" - - EnableSequence [ - cset "name='Headphone Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Switch' off" - ] - - Value { - PlaybackPriority 200 - PlaybackPCM "hw:${CardId}" - JackControl "Headphone Jack" - } -} - -SectionDevice."Headset" { - Comment "Headset Microphone" - - EnableSequence [ - cset "name='rt713 FU0F Capture Switch' 1" - ] - - DisableSequence [ - cset "name='rt713 FU0F Capture Switch' 0" - ] - - Value { - CapturePriority 200 - CapturePCM "hw:${CardId},1" - JackControl "Headset Mic Jack" - CaptureSwitch "rt713 FU0F Capture Switch" - CaptureVolume "rt713 FU0F Capture Volume" - CaptureMixerElem "rt713 FU0F" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt715-sdca.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt715-sdca.conf deleted file mode 100644 index 268a247f..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt715-sdca.conf +++ /dev/null @@ -1,22 +0,0 @@ -# Use case Configuration for sof-soundwire card - -SectionDevice."Mic" { - Comment "SoundWire microphones" - - EnableSequence [ - cset "name='rt714 FU02 Capture Switch' 1" - ] - - DisableSequence [ - cset "name='rt714 FU02 Capture Switch' 0" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},4" - CaptureSwitch "rt714 FU02 Capture Switch" - CaptureVolume "rt714 FU02 Capture Volume" - CaptureMixerElem "rt714 FU02" - CaptureMicInfoFile "${var:LibDir}/dmics-nhlt.json" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt715.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt715.conf deleted file mode 100644 index 090b6630..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/rt715.conf +++ /dev/null @@ -1,31 +0,0 @@ -# Use case Configuration for sof-soundwire card - -If.hwctl { - Condition { - Type ControlExists - Control "name='rt715 Capture Volume'" - } - True.Define.rt715ctl "rt715 Capture" - False.Define.rt715ctl "PGA5.0 5 Master Capture" -} - -SectionDevice."Mic" { - Comment "SoundWire microphones" - - EnableSequence [ - cset "name='${var:rt715ctl} Switch' 1" - ] - - DisableSequence [ - cset "name='${var:rt715ctl} Switch' 0" - ] - - Value { - CapturePriority 100 - CapturePCM "hw:${CardId},4" - CaptureSwitch "${var:rt715ctl} Switch" - CaptureVolume "${var:rt715ctl} Volume" - CaptureMixerElem "${var:rt715ctl}" - CaptureMicInfoFile "${var:LibDir}/dmics-nhlt.json" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/sof-soundwire.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/sof-soundwire.conf deleted file mode 100644 index 35a262c4..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/sof-soundwire/sof-soundwire.conf +++ /dev/null @@ -1,105 +0,0 @@ -Syntax 6 - -SectionUseCase."HiFi" { - File "/sof-soundwire/HiFi.conf" - Comment "Play HiFi quality Music" -} - -Include.card-init.File "/lib/card-init.conf" -Include.ctl-remap.File "/lib/ctl-remap.conf" - -Define { - SpeakerCodec1 "" - SpeakerChannels1 "2" - SpeakerAmps1 "0" - HeadsetCodec1 "" - MicCodec1 "" - Mics1 "0" -} - -DefineRegex { - SpeakerCodec { - Regex " spk:([a-z0-9]+(-sdca)?)" - String "${CardComponents}" - } - SpeakerChannels { - Regex " cfg-spk:([0-9]+)" - String "${CardComponents}" - } - SpeakerAmps { - Regex " cfg-amp:([0-9]+)" - String "${CardComponents}" - } - HeadsetCodec { - Regex " hs:([a-z0-9]+(-sdca)?)" - String "${CardComponents}" - } - MicCodec { - Regex " mic:([a-z0-9]+(-dmic)?+(-sdca)?)" - String "${CardComponents}" - } - Mics { - Regex " cfg-mics:([1-9][0-9]*)" - String "${CardComponents}" - } -} - -If.hs_init { - Condition { - Type RegexMatch - Regex "(cs42l43|rt5682|rt700|rt711|rt713(-sdca)?)" - String "${var:HeadsetCodec1}" - } - True.Include.hs_init.File "/codecs/${var:HeadsetCodec1}/init.conf" -} - -If.mic_init { - Condition { - Type RegexMatch - Regex "(rt713-dmic|rt715(-sdca)?)" - String "${var:MicCodec1}" - } - True.Include.mic_init.File "/codecs/${var:MicCodec1}/init.conf" -} - -If.mic_init_rt715 { - Condition { - Type String - Needle "rt715" - Haystack "${var:MicCodec1}" - } - True.BootSequence [ - sysw "-/class/sound/ctl-led/mic/card${CardNumber}/detach:PGA5.0 5 Master Capture Switch" - ] -} - -If.pga_init_pga2 { - Condition { - Type ControlExists - Control "name='PGA2.0 2 Master Capture Switch'" - } - True.BootSequence [ - cset "name='PGA2.0 2 Master Capture Switch' 1" - ] -} - -If.pga_init_pga5 { - Condition { - Type ControlExists - Control "name='PGA5.0 5 Master Capture Switch'" - } - True.BootSequence [ - cset "name='PGA5.0 5 Master Capture Switch' 1" - ] -} - -If.mics-array { - Condition { - Type String - Empty "${var:Mics1}" - } - False.FixedBootSequence { - # dmic array info - exec "-nhlt-dmic-info -o ${var:LibDir}/dmics-nhlt.json" - } -} diff --git a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/ucm.conf b/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/ucm.conf deleted file mode 100644 index fb1a0bef..00000000 --- a/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/ucm.conf +++ /dev/null @@ -1,172 +0,0 @@ -# -# This is the toplevel file included from the alsa-lib. -# -# It allows to add extra lookups for the old kernels or so. -# -# You may specify the directory (relative to the toplevel) and -# the master configuration file which defines the verbs. -# - -# -# Syntax version is reset for the master configuration file. -# - -Syntax 4 - -Define.V1 "" # non-empty string to enable ucm v1 paths -Define.V2ConfD yes # empty string to disable -Define.V2Module "" # non-empty string to enable module name lookups (obsolete) -Define.V2Name "" # non-empty string to enable driver & card name lookups (obsolete) - -Include.libgen.File "/lib/generic.conf" # private alsa-lib configuration - -If.driver { - Condition { - Type String - Empty "${CardNumber}" - } - True { - # - # The probed path for no-hw-card: - # - # ucm2/conf.virt.d/${OpenName}.conf - # ucm2/${OpenName}/${OpenName}.conf - # - UseCasePath { - virt { - Directory "conf.virt.d" - File "${OpenName}.conf" - } - legacy { - Directory "${OpenName}" - File "${OpenName}.conf" - } - } - } - False { - - # - # The probed path when hw-card is found: - # - # ucm2/conf.d/[${CardDriver}|${KernelDriver}]/${CardLongName}.conf - # ucm2/conf.d/[${CardDriver}|${KernelDriver}]/[${CardDriver}|${KernelDriver}].conf - # ucm2/${KernelModule}/${KernelModule}.conf (obsolete) - # ucm2/${CardDriver}/${CardLongName}.conf (obsolete) - # ucm2/${CardDriver}/${CardDriver}.conf (obsolete) - # - - If.V2ConfD { - Condition { - Type String - Empty "${var:V2ConfD}" - } - False { - Define.Driver "${CardDriver}" - If.nodrv { - Condition { - Type String - Empty "${var:Driver}" - } - True.Define { - KernelDriverPath "class/sound/card${CardNumber}/device/driver" - Driver "${sys:$KernelDriverPath}" - } - } - UseCasePath.confd1 { - Directory "conf.d/${var:Driver}" - File "${CardLongName}.conf" - } - UseCasePath.confd2 { - Directory "conf.d/${var:Driver}" - File "${var:Driver}.conf" - } - } - } - If.V2Module { - Condition { - Type String - Empty "${var:V2Module}" - } - False { - Define.KernelModulePath "class/sound/card${CardNumber}/device/driver/module" - Define.KernelModule "$${sys:$KernelModulePath}" - UseCasePath.module { - Directory "module" - File "${var:KernelModule}.conf" - } - } - } - If.V2Name { - Condition { - Type String - Empty "${var:V2Name}" - } - False.UseCasePath { - longname { - Directory "${CardDriver}" - File "${CardLongName}.conf" - } - driver { - Directory "${CardDriver}" - File "${CardDriver}.conf" - } - } - } - } -} - -If.V1 { - Condition { - Type String - Empty "${var:V1}" - } - False.If.v1_driver { - Condition { - Type String - Empty "${CardNumber}" - } - True { - # - # The probed path for no-hw-card: - # - # ucm/${OpenName}/${OpenName}.conf - # - UseCasePath.v1_legacy { - Version 1 - Directory "${OpenName}" - File "${OpenName}.conf" - } - } - False { - # - # The ucm v1 probed path when hw-card is found: - # - # ucm/${CardLongName}/${CardLongName}.conf - # ucm/${CardName}/${CardName}.conf or \ - # ucm/${OpenName}/${OpenName}.conf - # - UseCasePath.v1_longname { - Version 1 - Directory "${CardLongName}" - File "${CardLongName}.conf" - } - If.v1_hw { - Condition { - Type String - Haystack "${OpenName}" - Needle "hw:" - } - True.UseCasePath.v1_cardnamme { - Version 1 - Directory "${CardName}" - File "${CardName}.conf" - } - False.UseCasePath.v1_openname { - Version 1 - Directory "${OpenName}" - File "${OpenName}.conf" - } - } - } - } -}