[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf.spec
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -1,8 +1,8 @@
<services>
<service name="tar_git">
<param name="url">https://github.com/sailfish-on-dontbeevil/alsa-ucm-conf</param>
- <param name="branch">main</param>
- <param name="revision"></param>
+ <param name="branch"></param>
+ <param name="revision">1.2.9.1</param>
<param name="token"/>
<param name="debian">N</param>
<param name="dumb">N</param>
|
[-]
[+]
|
Deleted |
_service:tar_git:alsa-ucm-conf-1.2.8+main.20221118204713.3d2cdcd.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/Focusrite/Scarlett-2i4-gen2-HiFi.conf
^
|
@@ -1,95 +0,0 @@
-Include.pcm_split.File "/common/pcm/split.conf"
-
-Macro [
- {
- SplitPCM {
- Name "scarlett2i4_stereo_out"
- Direction Playback
- Format S32_LE
- Channels 2
- HWChannels 4
- HWChannelPos0 FL
- HWChannelPos1 FR
- HWChannelPos2 FL
- HWChannelPos3 FR
- }
- }
- {
- SplitPCM {
- Name "scarlett2i4_mono_in"
- Direction Capture
- Format S32_LE
- Channels 1
- HWChannels 2
- HWChannelPos0 MONO
- HWChannelPos1 MONO
- }
- }
-]
-
-SectionDevice."Line1" {
- Comment "Line 1-2"
- Value {
- PlaybackPriority 200
- }
- Macro.pcm_split.SplitPCMDevice {
- Name "scarlett2i4_stereo_out"
- Direction Playback
- HWChannels 4
- Channels 2
- Channel0 0
- Channel1 1
- ChannelPos0 FL
- ChannelPos1 FR
- }
-}
-
-SectionDevice."Line2" {
- Comment "Line 3-4"
-
- Value {
- PlaybackPriority 100
- }
- Macro.pcm_split.SplitPCMDevice {
- Name "scarlett2i4_stereo_out"
- Direction Playback
- HWChannels 4
- Channels 2
- Channel0 2
- Channel1 3
- ChannelPos0 FL
- ChannelPos1 FR
- }
-}
-
-SectionDevice."Mic1" {
- Comment "Input 1"
-
- Value {
- CapturePriority 200
- }
- Macro.pcm_split.SplitPCMDevice {
- Name "scarlett2i4_mono_in"
- Direction Capture
- HWChannels 2
- Channels 1
- Channel0 0
- ChannelPos0 MONO
- }
-}
-
-SectionDevice."Mic2" {
- Comment "Input 2"
-
- Value {
- CapturePriority 100
- }
- Macro.pcm_split.SplitPCMDevice {
- Name "scarlett2i4_mono_in"
- Direction Capture
- HWChannels 2
- Channels 1
- Channel0 1
- ChannelPos0 MONO
- }
-}
|
[-]
[+]
|
Deleted |
_service:tar_git:alsa-ucm-conf-1.2.8+main.20221118204713.3d2cdcd.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/Focusrite/Scarlett-2i4-gen2.conf
^
|
@@ -1,11 +0,0 @@
-Comment "Focusrite Scarlett 2i4 Gen 2"
-
-SectionUseCase."HiFi" {
- Comment "Default"
- File "/USB-Audio/Focusrite/Scarlett-2i4-gen2-HiFi.conf"
-}
-
-Define.DirectPlaybackChannels 4
-Define.DirectCaptureChannels 2
-
-Include.dhw.File "/common/direct.conf"
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/README.md
^
|
@@ -11,14 +11,14 @@
Example:
```
-tar xvjf alsa-ucm-conf-1.2.6.2.tar.bz2 -C /usr/share/alsa --strip-components=1 "*/ucm" "*/ucm2"
+tar xvjf alsa-ucm-conf-1.2.6.2.tar.bz2 -C /usr/share/alsa --strip-components=1 --wildcards "*/ucm" "*/ucm2"
```
The latest configuration can be obtained with those commands:
```
curl -L -o alsa-ucm-conf.tar.gz https://github.com/alsa-project/alsa-ucm-conf/archive/refs/heads/master.tar.gz
-tar xvzf alsa-ucm-conf.tar.gz -C /usr/share/alsa --strip-components=1 "*/ucm" "*/ucm2"
+tar xvzf alsa-ucm-conf.tar.gz -C /usr/share/alsa --strip-components=1 --wildcards "*/ucm" "*/ucm2"
```
### Validation
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/VERSION
^
|
@@ -1 +1 @@
-1.2.8
+1.2.9
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/AMD/acp5x/HiFi.conf
^
|
@@ -0,0 +1,136 @@
+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"
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/AMD/acp5x/acp5x.conf
^
|
@@ -0,0 +1,53 @@
+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"
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Allwinner/A64/PinePhone/HiFi.conf
^
|
@@ -0,0 +1,109 @@
+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"
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Allwinner/A64/PinePhone/PinePhone.conf
^
|
@@ -0,0 +1,67 @@
+Syntax 2
+
+# https://wiki.pine64.org/index.php/PinePhone
+# https://files.pine64.org/doc/PinePhone/PinePhone%20v1.2%20Released%20Schematic.pdf
+# https://xnux.eu/devices/feature/audio-pp.html
+
+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
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Allwinner/A64/PinePhone/VoiceCall.conf
^
|
@@ -0,0 +1,114 @@
+SectionVerb {
+ EnableSequence [
+ cset "name='AIF2 Digital DAC Playback Switch' on"
+ cset "name='AIF2 ADC Mixer ADC Capture Switch' on"
+ ]
+
+ 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"
+ }
+}
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/DEBUG.md
^
|
@@ -98,7 +98,8 @@
Testing changes in the UCM configuration
----------------------------------------
-The sound server must be reloaded to reload 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
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/HDA/DualCodecs/HiFi.conf
^
|
@@ -66,13 +66,20 @@
}
True.Value.PlaybackMixerElem "Front"
}
- If.1 {
+ # make S/PDIF output working when no analog jacks are connected
+ If.speaker {
Condition {
Type ControlExists
- Control "iface=CARD,name='Line Out Front Jack'"
+ 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"
}
- True.Value.JackControl "Line Out Front Jack"
- False.Value.JackControl "Line Out Jack"
}
}
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/HDA/HDA.conf
^
|
@@ -3,7 +3,7 @@
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|acp6x)$'}"
+Define.AcpCardId "$${find-card:field=name,return=id,regex='^acp(|6[23x])$'}"
Define.DeviceMic "Mic"
If.dualcodec {
@@ -55,6 +55,7 @@
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"
]
}
}
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Intel/sof-essx8336/HiFi.conf
^
|
@@ -82,6 +82,7 @@
DisableSequence [
cset "name='Speaker Switch' off"
]
+
Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId}"
@@ -99,6 +100,14 @@
"Speaker"
]
+ EnableSequence [
+ cset "name='Headphone Switch' on"
+ ]
+
+ DisableSequence [
+ cset "name='Headphone Switch' off"
+ ]
+
Value {
PlaybackPriority 300
PlaybackPCM "hw:${CardId}"
@@ -123,12 +132,12 @@
}
EnableSequence [
- cset "name='Headset Switch' on"
+ cset "name='Headset Mic Switch' on"
cset "name='Digital Mic Mux' 'dmic disable'"
]
DisableSequence [
- cset "name='Headset Switch' on"
+ cset "name='Headset Mic Switch' off"
]
Value {
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Intel/sof-essx8336/sof-essx8336.conf
^
|
@@ -32,7 +32,7 @@
Haystack "${CardComponents}"
Needle "cfg-dmics:"
}
- True.Define.DeviceDmic "Dmic"
+ True.Define.DeviceDmic "Mic"
}
SectionUseCase."HiFi" {
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Intel/sof-hda-dsp/HiFi.conf
^
|
@@ -22,6 +22,7 @@
Value {
CapturePriority 100
CapturePCM "hw:${CardId},6"
+ CaptureMicInfoFile "${var:LibDir}/dmics-nhlt.json"
If.chn {
Condition {
Type RegexMatch
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf
^
|
@@ -3,14 +3,28 @@
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"
- True.Define.DeviceMic "Mic2"
+ 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" {
@@ -51,6 +65,19 @@
]
}
+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
@@ -73,6 +100,7 @@
}
True.BootSequence [
cset "name='Dmic0 Capture Volume' 70%"
+ cset "name='Dmic0 Capture Switch' on"
]
}
}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/MediaTek/mt8192/mt6359-rt1015p-rt5682/HiFi.conf
^
|
@@ -0,0 +1,88 @@
+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
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/MediaTek/mt8192/mt6359-rt1015p-rt5682/init.conf
^
|
@@ -0,0 +1,24 @@
+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"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/MediaTek/mt8192/mt6359-rt1015p-rt5682/mt8192_mt6359_rt1015p_rt5682.conf
^
|
@@ -0,0 +1,11 @@
+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"
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/MediaTek/mt8195_demo/HiFi.conf
^
|
@@ -1,3 +1,60 @@
+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"
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/MediaTek/mt8195_demo/mt8195_demo.conf
^
|
@@ -1,4 +1,4 @@
-Syntax 3
+Syntax 2
SectionUseCase."HiFi" {
File "/MediaTek/mt8195_demo/HiFi.conf"
@@ -16,12 +16,12 @@
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='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"
@@ -30,6 +30,10 @@
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"
@@ -38,26 +42,4 @@
cset "name='O007 I009 Switch' on"
cset "name='O008 I010 Switch' on"
cset "name='O009 I011 Switch' on"
- 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"
]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/MediaTek/mt8365-evk/HiFi.conf
^
|
@@ -0,0 +1,141 @@
+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"
+ ]
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/MediaTek/mt8365-evk/mt8365-evk.conf
^
|
@@ -0,0 +1,39 @@
+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"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/NXP/iMX8/Librem_5/HiFi.conf
^
|
@@ -0,0 +1,151 @@
+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"
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/NXP/iMX8/Librem_5/Librem 5.conf
^
|
@@ -0,0 +1,25 @@
+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"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Qualcomm/sc8280xp/HiFi.conf
^
|
@@ -0,0 +1,83 @@
+# Use case configuration for LenovoX13s.
+# Author: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
+
+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.wcde.File "/codecs/wcd938x/DefaultEnableSeq.conf"
+ Include.wsae.File "/codecs/wsa883x/DefaultEnableSeq.conf"
+
+ Value {
+ TQ "HiFi"
+ }
+}
+
+SectionDevice."Speaker" {
+ Comment "Speaker playback"
+
+ Include.wcdspke.File "/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf"
+ Include.wcdspkd.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}"
+ }
+}
+
+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"
+ }
+}
+
+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"
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf
^
|
@@ -0,0 +1,10 @@
+Syntax 4
+
+SectionUseCase."HiFi" {
+ File "/Qualcomm/sc8280xp/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/wcd938x/init.conf"
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Qualcomm/sc8280xp/sc8280xp.conf
^
|
@@ -0,0 +1,11 @@
+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"
+}
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Rockchip/max98090/HiFi.conf
^
|
@@ -110,14 +110,12 @@
cset "name='Int Mic Switch' off"
cset "name='DMIC Mux' ADC"
cset "name='Headset Mic Switch' on"
- cset "name='Record Path DC Blocking' on"
]
DisableSequence [
cset "name='Headset Mic Switch' off"
cset "name='DMIC Mux' DMIC"
cset "name='Int Mic Switch' on"
- cset "name='Record Path DC Blocking' off"
]
}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Rockchip/rk3588-es8316/HiFi.conf
^
|
@@ -0,0 +1,42 @@
+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"
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Rockchip/rk3588-es8316/rk3588-es8316.conf
^
|
@@ -0,0 +1,26 @@
+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"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Rockchip/rk817-sound/HiFi.conf
^
|
@@ -0,0 +1,68 @@
+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"
+ ]
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Rockchip/rk817-sound/rk817-sound.conf
^
|
@@ -0,0 +1,6 @@
+Syntax 4
+
+SectionUseCase."HiFi" {
+ File "/Rockchip/rk817-sound/HiFi.conf"
+ Comment "Play HiFi quality music"
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Tegra/max98089/lge-x3-HiFi.conf
^
|
@@ -0,0 +1,148 @@
+# 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"
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Tegra/max98089/lge-x3-VoiceCall.conf
^
|
@@ -0,0 +1,125 @@
+# 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
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Tegra/max98089/lge-x3.conf
^
|
@@ -0,0 +1,47 @@
+# 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"
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Tegra/rt5631/Asus-Transformer-HiFi.conf
^
|
@@ -0,0 +1,101 @@
+# 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"
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Tegra/rt5631/Asus-Transformer.conf
^
|
@@ -0,0 +1,65 @@
+# 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"
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Tegra/wm8903/Asus-Transformer-HiFi.conf
^
|
@@ -0,0 +1,108 @@
+# 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"
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/Tegra/wm8903/Asus-Transformer.conf
^
|
@@ -0,0 +1,37 @@
+# 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"
+}
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/Arturia/Minifuse-12-HiFi.conf
^
|
@@ -23,6 +23,7 @@
SplitPCM {
Name "minifuse12_stereo_out"
Direction Playback
+ Format S32_LE
Channels 2
HWChannels 4
HWChannelPos0 FL
@@ -35,6 +36,7 @@
SplitPCM {
Name "minifuse12_stereo_in"
Direction Capture
+ Format S32_LE
Channels 2
HWChannels 4
HWChannelPos0 FL
@@ -47,6 +49,7 @@
SplitPCM {
Name "minifuse12_mono_in"
Direction Capture
+ Format S32_LE
Channels 1
HWChannels 4
HWChannelPos0 MONO
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/Arturia/Minifuse-4-HiFi.conf
^
|
@@ -0,0 +1,181 @@
+Include.pcm_split.File "/common/pcm/split.conf"
+
+Macro [
+ {
+ SplitPCM {
+ Name "minifuse4_stereo_out"
+ Direction Playback
+ Channels 2
+ HWChannels 6
+ HWChannelPos0 FL
+ HWChannelPos1 FR
+ HWChannelPos2 FL
+ HWChannelPos3 FR
+ HWChannelPos4 FL
+ HWChannelPos5 FR
+ }
+ }
+ {
+ SplitPCM {
+ Name "minifuse4_stereo_in"
+ Direction Capture
+ Channels 2
+ HWChannels 6
+ HWChannelPos0 FL
+ HWChannelPos1 FR
+ HWChannelPos2 FL
+ HWChannelPos3 FR
+ HWChannelPos4 FL
+ HWChannelPos5 FR
+ }
+ }
+ {
+ SplitPCM {
+ Name "minifuse4_mono_in"
+ Direction Capture
+ 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
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/Arturia/Minifuse-4.conf
^
|
@@ -0,0 +1,11 @@
+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"
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/Digidesign/Digidesign-Mbox-3-HiFi.conf
^
|
@@ -0,0 +1,126 @@
+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
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/Digidesign/Digidesign-Mbox-3.conf
^
|
@@ -0,0 +1,11 @@
+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"
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/Focusrite/Scarlett-2i-HiFi.conf
^
|
@@ -0,0 +1,123 @@
+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
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/Focusrite/Scarlett-2i.conf
^
|
@@ -0,0 +1,65 @@
+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"
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/Realtek/ALC1220-VB-Desktop-HiFi.conf
^
|
@@ -1,3 +1,4 @@
+Define.LineDev 0
Define.Mic1Dev 1
Define.Mic2Dev 2
@@ -8,8 +9,9 @@
Needle "USB0414:a00d"
}
True.Define {
+ LineDev 1
Mic1Dev 2
- Mic2Dev 1
+ Mic2Dev 0
}
}
@@ -47,7 +49,7 @@
Comment "Line In"
Value {
CapturePriority 100
- CapturePCM "hw:${CardId}"
+ CapturePCM "hw:${CardId},${var:LineDev}"
JackControl "Line Jack"
CaptureMixerElem "Line"
}
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf
^
|
@@ -68,11 +68,25 @@
Condition {
Type RegexMatch
String "${CardComponents}"
- Regex "USB(0b05:1996|0db0:1feb)"
+ Regex "USB(0b05:1996|0b05:1a52|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
@@ -88,6 +102,20 @@
}
}
+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
@@ -98,6 +126,19 @@
HeadphonesName ""
SpdifName ""
}
+}
+
+If.asus-rog-strix {
+ Condition {
+ Type RegexMatch
+ String "${CardComponents}"
+ Regex "USB(0b05:1999)"
+ }
+ True.Define {
+ Line1PCM "hw:${CardId},3"
+ HeadphonesName ""
+ SpdifName ""
+ }
}
SectionVerb {
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/Roland/BridgeCast-Hifi.conf
^
|
@@ -0,0 +1,166 @@
+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 "Mic"
+
+ Value {
+ CapturePriority 100
+ }
+ 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 "StreamMix"
+
+ 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 "Unknown"
+
+ Value {
+ CapturePriority 300
+ }
+ Macro.pcm_split.SplitPCMDevice {
+ Name "bc_stereo_in"
+ Direction Capture
+ HWChannels 6
+ Channels 2
+ Channel0 4
+ Channel1 5
+ ChannelPos0 FL
+ ChannelPos1 FR
+ }
+}
+
+
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/Sony/Inzone-H9-H7-HiFi.conf
^
|
@@ -0,0 +1,15 @@
+SectionDevice."Headset" {
+ Comment "Chat"
+ Value {
+ PlaybackPCM "hw:${CardId},0"
+ CapturePCM "hw:${CardId},0"
+ CaptureChannels 1
+ }
+}
+
+SectionDevice."Headphones" {
+ Comment "Game"
+ Value {
+ PlaybackPCM "hw:${CardId},1"
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/Sony/Inzone-H9-H7.conf
^
|
@@ -0,0 +1,6 @@
+Comment "Sony Corp. INZONE H9 / INZONE H7"
+
+SectionUseCase."HiFi" {
+ Comment "Default"
+ File "/USB-Audio/Sony/Inzone-H9-H7-HiFi.conf"
+}
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/USB-Audio.conf
^
|
@@ -4,6 +4,14 @@
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
@@ -37,20 +45,41 @@
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
# 0db0:005a MSI MPG Z690 CARBON WIFI
# 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: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: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
- Regex "USB((0414:a00e)|(0b05:(1996|1a(16|2[07])))|(0db0:(005a|151f|1feb|419c|82c7|a073|a47c|b202|d6e7)))"
+ Regex "USB((0414:a0(0e|1[0124]))|(0b05:(19(84|9[69])|1a(16|2[07]|5[23c])))|(0db0:(005a|151f|1feb|3130|36e7|419c|422d|4240|62a4|6c[0c]9|7696|82c7|8af7|961e|a073|a47c|a74b|b202|d1d7|d6e7)))"
}
True.Define.ProfileName "Realtek/ALC4080"
}
@@ -75,11 +104,29 @@
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 "USB0499:1700"
+ Needle "USB054c:0e53"
}
- True.Define.ProfileName "Steinberg/UR44"
+ 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-m24 {
@@ -126,6 +173,15 @@
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
@@ -135,14 +191,22 @@
True.Define.ProfileName "GoXLR/GoXLR"
}
-If.focusrite-scarlett-2i4-gen2 {
+If.focusrite-scarlett-2i {
Condition {
- Type String
- Haystack "${CardComponents}"
- Needle "USB1235:8200"
+ 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-2i4-gen2"
+ ProfileName "Focusrite/Scarlett-2i"
}
}
@@ -224,6 +288,15 @@
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
@@ -251,6 +324,17 @@
True.Define.ProfileName "Audient/Audient-iD4-0009"
}
+If.ua-volt2 {
+ Condition {
+ Type String
+ Haystack "${CardComponents}"
+ Needle "USB2b5a:0021"
+ }
+ True.Define {
+ ProfileName "UniversalAudio/Volt2"
+ }
+}
+
If.mixremap {
Condition {
Type String
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/UniversalAudio/Volt2-HiFi.conf
^
|
@@ -0,0 +1,54 @@
+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
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/USB-Audio/UniversalAudio/Volt2.conf
^
|
@@ -0,0 +1,11 @@
+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"
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf
^
|
@@ -0,0 +1,11 @@
+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"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf
^
|
@@ -0,0 +1,12 @@
+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"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/qcom-lpass/tx-macro/DMIC0DisableSeq.conf
^
|
@@ -0,0 +1,4 @@
+DisableSequence [
+ cset "name='TX DMIC MUX0' ZERO"
+ cset "name='TX_AIF1_CAP Mixer DEC0' 0"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/qcom-lpass/tx-macro/DMIC0EnableSeq.conf
^
|
@@ -0,0 +1,9 @@
+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"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/qcom-lpass/tx-macro/HeadphoneMicDisableSeq.conf
^
|
@@ -0,0 +1,5 @@
+DisableSequence [
+ cset "name='TX SMIC MUX0' ZERO"
+ cset "name='TX_AIF1_CAP Mixer DEC0' 0"
+ cset "name='TX1 MODE' ADC_INVALID"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/qcom-lpass/tx-macro/HeadphoneMicEnableSeq.conf
^
|
@@ -0,0 +1,7 @@
+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"
+]
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/qcom-lpass/va-macro/DMIC0EnableSeq.conf
^
|
@@ -1,4 +1,5 @@
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"
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/qcom-lpass/va-macro/DMIC1DisableSeq.conf
^
|
@@ -0,0 +1,5 @@
+DisableSequence [
+ cset "name='VA DMIC MUX1' ZERO"
+ cset "name='VA_DEC1 Volume' 0"
+ cset "name='VA_AIF1_CAP Mixer DEC1' 0"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/qcom-lpass/va-macro/DMIC1EnableSeq.conf
^
|
@@ -0,0 +1,6 @@
+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"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/wcd938x/DefaultEnableSeq.conf
^
|
@@ -0,0 +1,6 @@
+EnableSequence [
+ cset "name='RX_RX0 Digital Volume' 80"
+ cset "name='RX_RX1 Digital Volume' 80"
+ cset "name='HPHR Volume' 20"
+ cset "name='HPHL Volume' 20"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/wcd938x/HeadphoneDisableSeq.conf
^
|
@@ -0,0 +1,8 @@
+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"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/wcd938x/HeadphoneEnableSeq.conf
^
|
@@ -0,0 +1,8 @@
+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='CLSH Switch' 1"
+ cset "name='LO Switch' 1"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/wcd938x/HeadphoneMicDisableSeq.conf
^
|
@@ -0,0 +1,4 @@
+DisableSequence [
+ cset "name='ADC2_MIXER Switch' 0"
+ cset "name='ADC2 Switch' 0"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/wcd938x/HeadphoneMicEnableSeq.conf
^
|
@@ -0,0 +1,7 @@
+EnableSequence [
+ cset "name='ADC2_MIXER Switch' 1"
+ cset "name='HDR12 MUX' NO_HDR12"
+ cset "name='ADC2 MUX' INP2"
+ cset "name='ADC2 Switch' 1"
+ cset "name='ADC2 Volume' 10"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/wcd938x/init.conf
^
|
@@ -0,0 +1,19 @@
+# WCD938X specific volume control settings
+
+BootSequence [
+ cset "name='RX_RX0 Digital Volume' 80"
+ cset "name='RX_RX1 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='RX_RX0 Digital Volume'".vindex.0 0
+ "name='RX_RX1 Digital Volume'".vindex.1 0
+ }
+ }
+}
+
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/wsa883x/DefaultEnableSeq.conf
^
|
@@ -0,0 +1,12 @@
+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"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/wsa883x/SpeakerDisableSeq.conf
^
|
@@ -0,0 +1,10 @@
+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"
+]
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/codecs/wsa883x/SpeakerEnableSeq.conf
^
|
@@ -0,0 +1,14 @@
+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='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"
+ cset "name='SpkrRight WSA MODE' 0"
+]
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/common/pcm/split.conf
^
|
@@ -323,13 +323,12 @@
#
DefineMacro.SplitPCMDevice {
- Define.__dev ""
If.0 {
Condition {
Type String
- Empty "${var:__dev}"
+ Empty "${var:__Device}"
}
- True.Define.__dev "0"
+ True.Define.__Device "0"
}
If.1 {
Condition {
@@ -339,7 +338,7 @@
False {
Value {
"${var:__Direction}Channels" "${var:__HWChannels}"
- "${var:__Direction}PCM" "hw:${CardId},${var:__dev}"
+ "${var:__Direction}PCM" "hw:${CardId},${var:__Device}"
"${var:__Direction}Channel0" "${var:__Channel0}"
"${var:__Direction}ChannelPos0" "${var:__ChannelPos0}"
}
@@ -355,7 +354,7 @@
}
}
True {
- Define.__pcmdev "${var:__Name}:${CardId},${var:__dev},${var:__Channel0}"
+ Define.__pcmdev "${var:__Name}:${CardId},${var:__Device},${var:__Channel0}"
If.ch1 {
Condition {
Type String
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/acp5x/Valve-Jupiter-1.conf
^
|
+(symlink to ../../AMD/acp5x/acp5x.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/acp62/acp62.conf
^
|
+(symlink to ../../common/linked-card.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/acp63/acp63.conf
^
|
+(symlink to ../../common/linked-card.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/mt8192_mt6359/mt8192_mt6359_rt1015p_rt5682.conf
^
|
+(symlink to ../../MediaTek/mt8192/mt6359-rt1015p-rt5682/mt8192_mt6359_rt1015p_rt5682.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/mt8365-evk/mt8365-evk.conf
^
|
+(symlink to ../../MediaTek/mt8365-evk/mt8365-evk.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/rk3588-es8316/rk3588-es8316.conf
^
|
+(symlink to ../../Rockchip/rk3588-es8316/rk3588-es8316.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/sc8280xp/sc8280xp.conf
^
|
+(symlink to ../../Qualcomm/sc8280xp/sc8280xp.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/simple-card/Librem 5.conf
^
|
+(symlink to ../../NXP/iMX8/Librem_5/Librem 5.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/simple-card/PinePhone.conf
^
|
+(symlink to ../../Allwinner/A64/PinePhone/PinePhone.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/simple-card/rk817_ext.conf
^
|
+(symlink to ../../Rockchip/rk817-sound/rk817-sound.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/simple-card/rk817_int.conf
^
|
+(symlink to ../../Rockchip/rk817-sound/rk817-sound.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/tegra/Asus EeePad Slider WM8903.conf
^
|
+(symlink to ../../Tegra/wm8903/Asus-Transformer.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/tegra/Asus EeePad Transformer WM8903.conf
^
|
+(symlink to ../../Tegra/wm8903/Asus-Transformer.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/tegra/Asus Transformer Infinity TF700T RT5631.conf
^
|
+(symlink to ../../Tegra/rt5631/Asus-Transformer.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/tegra/Asus Transformer Pad TF300T WM8903.conf
^
|
+(symlink to ../../Tegra/wm8903/Asus-Transformer.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/tegra/Asus Transformer Pad TF300TG RT5631.conf
^
|
+(symlink to ../../Tegra/rt5631/Asus-Transformer.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/tegra/Asus Transformer Pad TF300TL RT5631.conf
^
|
+(symlink to ../../Tegra/rt5631/Asus-Transformer.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/tegra/Asus Transformer Prime TF201 RT5631.conf
^
|
+(symlink to ../../Tegra/rt5631/Asus-Transformer.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/tegra/LG Optimus 4X HD MAX98089.conf
^
|
+(symlink to ../../Tegra/max98089/lge-x3.conf)
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/conf.d/tegra/LG Optimus Vu MAX98089.conf
^
|
+(symlink to ../../Tegra/max98089/lge-x3.conf)
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/sof-soundwire/dmic.conf
^
|
@@ -17,5 +17,6 @@
CaptureMixerElem "Dmic0"
CaptureVolume "Dmic0 Capture Volume"
CaptureSwitch "Dmic0 Capture Switch"
+ CaptureMicInfoFile "${var:LibDir}/dmics-nhlt.json"
}
}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/sof-soundwire/rt1318-1.conf
^
|
@@ -0,0 +1,20 @@
+# Use case Configuration for sof-soundwire card
+
+SectionDevice."Speaker" {
+ Comment "Speaker"
+
+ EnableSequence [
+ cset "name='rt1318-1 DAC Switch' 1"
+ cset "name='Speaker Switch' on"
+ ]
+
+ DisableSequence [
+ cset "name='rt1318-1 DAC Switch' 0"
+ cset "name='Speaker Switch' off"
+ ]
+
+ Value {
+ PlaybackPriority 100
+ PlaybackPCM "hw:${CardId},2"
+ }
+}
|
[-]
[+]
|
Added |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/sof-soundwire/rt1318-2.conf
^
|
@@ -0,0 +1,25 @@
+# Use case Configuration for sof-soundwire card
+
+SectionDevice."Speaker" {
+ Comment "Speaker"
+
+ EnableSequence [
+ cset "name='rt1318-1 RX Channel Select' L,L"
+ cset "name='rt1318-2 RX Channel Select' R,R"
+
+ cset "name='rt1318-1 DAC Switch' 1"
+ cset "name='rt1318-2 DAC Switch' 1"
+ cset "name='Speaker Switch' on"
+ ]
+
+ DisableSequence [
+ cset "name='rt1318-1 DAC Switch' 0"
+ cset "name='rt1318-2 DAC Switch' 0"
+ cset "name='Speaker Switch' off"
+ ]
+
+ Value {
+ PlaybackPriority 100
+ PlaybackPCM "hw:${CardId},2"
+ }
+}
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/sof-soundwire/rt715-sdca.conf
^
|
@@ -12,10 +12,11 @@
]
Value {
- CapturePriority 100
- CapturePCM "hw:${CardId},4"
- CaptureSwitch "rt714 FU02 Capture Switch"
- CaptureVolume "rt714 FU02 Capture Volume"
- CaptureMixerElem "rt714 FU02"
+ 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"
}
}
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/sof-soundwire/rt715.conf
^
|
@@ -26,5 +26,6 @@
CaptureSwitch "${var:rt715ctl} Switch"
CaptureVolume "${var:rt715ctl} Volume"
CaptureMixerElem "${var:rt715ctl}"
+ CaptureMicInfoFile "${var:LibDir}/dmics-nhlt.json"
}
}
|
[-]
[+]
|
Changed |
_service:tar_git:alsa-ucm-conf-1.2.9.1.tar.bz2/alsa-ucm-conf/ucm2/sof-soundwire/sof-soundwire.conf
^
|
@@ -61,3 +61,45 @@
}
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"
+ }
+}
|