| Server IP : 150.230.34.123 / Your IP : 216.73.217.23 Web Server : LiteSpeed System : Linux amd-instance-20210802-1657 5.15.0-1042-oracle #48~20.04.1-Ubuntu SMP Mon Aug 21 18:27:46 UTC 2023 x86_64 User : ubuntu ( 1001) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/alsa/ucm2/DB410c/ |
Upload File : |
# Use case configuration for DB410c board.
# Author: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
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 "plughw:${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 "plughw:${CardId},1"
}
}
SectionDevice."Earpiece" {
Comment "Earpiece playback"
ConflictingDevice [
"Speaker"
"Headphones"
]
Value {
PlaybackPriority 100
PlaybackPCM "plughw:${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 "plughw:${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 "plughw:${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 "plughw:${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 "plughw:${CardId},2"
}
}