| Server IP : 54.233.248.239 / Your IP : 172.28.20.13 Web Server : Apache System : Linux ip-172-28-29-189 6.5.0-1014-aws #14~22.04.1-Ubuntu SMP Thu Feb 15 15:27:06 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.2.34-43+ubuntu22.04.1+deb.sury.org+1 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, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/alsa/ucm2/Tegra/wm8903/ |
Upload File : |
# Use case Configuration for Acer Iconia Tab A500
SectionVerb {
EnableSequence [
# WM8903 Output Configuration
cset "name='Digital Playback Volume' 80"
cset "name='Headphone Volume' 42"
cset "name='Line Out Volume' 42"
cset "name='DAC Boost Volume' 0"
# WM8903 Output Routing
cset "name='Left Output Mixer DACL Switch' on"
cset "name='Left Output Mixer DACR Switch' off"
cset "name='Right Output Mixer DACL Switch' off"
cset "name='Right Output Mixer DACR Switch' on"
# WM8903 Input Configuration
cset "name='Digital Capture Volume' 120"
cset "name='DRC Compressor Threshold Volume' 124"
cset "name='DRC Compressor Slope R0' 1"
cset "name='DRC Compressor Slope R1' 1"
cset "name='DRC Maximum Gain Volume' 1"
cset "name='DRC Minimum Gain Volume' 0"
cset "name='DRC Volume' 13"
# WM8903 Input Routing
cset "name='Left Input PGA Switch' on"
cset "name='Right Input PGA Switch' on"
# Tegra-specific switches
cset "name='Int Spk Switch' on"
cset "name='Int Mic Switch' on"
]
}
SectionDevice."Speakers" {
Comment "Speakers"
ConflictingDevice [
"Headphones"
]
EnableSequence [
cset "name='Headphone Switch' off"
cset "name='Line Out Switch' on"
]
Value {
PlaybackPCM "hw:${CardId}"
PlaybackMixerElem "Line Out"
}
}
SectionDevice."Headphones" {
Comment "Headphones"
ConflictingDevice [
"Speakers"
]
EnableSequence [
cset "name='Line Out Switch' off"
cset "name='Headphone Switch' on"
]
Value {
PlaybackPCM "hw:${CardId}"
PlaybackMixerElem "Headphone"
JackControl "Headphone Jack"
}
}
SectionDevice."InternalMic" {
Comment "Internal Microphone"
ConflictingDevice [
"HeadsetMic"
]
EnableSequence [
cset "name='Left Input PGA Volume' 31"
cset "name='Right Input PGA Volume' 31"
cset "name='Left Input Inverting Mux' IN1L"
cset "name='Right Input Inverting Mux' IN1R"
cset "name='DRC Switch' on"
]
Value {
CapturePCM "hw:${CardId}"
CaptureMixerElem "Digital"
}
}
SectionDevice."HeadsetMic" {
Comment "Headset Microphone"
ConflictingDevice [
"InternalMic"
]
EnableSequence [
cset "name='Left Input PGA Volume' 25"
cset "name='Right Input PGA Volume' 25"
cset "name='Left Input Inverting Mux' IN2L"
cset "name='Right Input Inverting Mux' IN2R"
cset "name='DRC Switch' off"
]
Value {
CapturePCM "hw:${CardId}"
CaptureMixerElem "Digital"
JackControl "Mic Jack"
}
}