mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
Create shared {En,Dis}ableSeq.conf components for rt5645 variants
Factor out the common enable and disable sequences used
in rt5645 variants, including the rt5650. Move the sequences
into a new component directory codecs/rt5645/ along with
a Makefile.
Some lines like
cset "name='Stereo1 ADC1 Mux' 1"
and
cset "name='I2S2 Func Switch' on"
are not set set in the chtrt5650 UCM sequences and thus are not present
in the new component, in order to maximize reuse.
Signed-off-by: Russell Parker <russell.parker7@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
f91cc3c7d6
commit
e850d8e2e3
10 changed files with 78 additions and 298 deletions
|
|
@ -761,6 +761,7 @@ AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \
|
|||
src/conf/ucm/codecs/Makefile \
|
||||
src/conf/ucm/codecs/nau8824/Makefile \
|
||||
src/conf/ucm/codecs/rt5640/Makefile \
|
||||
src/conf/ucm/codecs/rt5645/Makefile \
|
||||
src/conf/ucm/codecs/rt5651/Makefile \
|
||||
src/conf/ucm/platforms/Makefile \
|
||||
src/conf/ucm/platforms/bytcr/Makefile \
|
||||
|
|
|
|||
|
|
@ -12,53 +12,9 @@ SectionVerb {
|
|||
cdev "hw:chtrt5645"
|
||||
|
||||
<platforms/bytcr/PlatformEnableSeq.conf>
|
||||
<codecs/rt5645/EnableSeq.conf>
|
||||
|
||||
# Output Configuration
|
||||
cset "name='DAC1 L Mux' IF1 DAC"
|
||||
cset "name='DAC1 R Mux' IF1 DAC"
|
||||
cset "name='DAC1 MIXL DAC1 Switch' 1"
|
||||
cset "name='DAC1 MIXR DAC1 Switch' 1"
|
||||
cset "name='Stereo DAC MIXL DAC L1 Switch' 1"
|
||||
cset "name='Stereo DAC MIXR DAC R1 Switch' 1"
|
||||
|
||||
cset "name='DAC L2 Mux' IF2 DAC"
|
||||
cset "name='DAC R2 Mux' IF2 DAC"
|
||||
cset "name='Mono DAC MIXL DAC L2 Switch' on"
|
||||
cset "name='Mono DAC MIXR DAC R2 Switch' on"
|
||||
cset "name='DAC2 Playback Switch' on"
|
||||
|
||||
cset "name='HPOVOL MIXL DAC1 Switch' on"
|
||||
cset "name='HPOVOL MIXR DAC1 Switch' on"
|
||||
cset "name='HPOVOL MIXL DAC2 Switch' on"
|
||||
cset "name='HPOVOL MIXR DAC2 Switch' on"
|
||||
cset "name='HPO MIX HPVOL Switch' on"
|
||||
cset "name='HPOVOL L Switch' on"
|
||||
cset "name='HPOVOL R Switch' on"
|
||||
|
||||
cset "name='SPK MIXL DAC L1 Switch' on"
|
||||
cset "name='SPK MIXR DAC R1 Switch' on"
|
||||
cset "name='SPK MIXL DAC L2 Switch' on"
|
||||
cset "name='SPK MIXR DAC R2 Switch' on"
|
||||
cset "name='SPOL MIX SPKVOL L Switch' on"
|
||||
cset "name='SPOR MIX SPKVOL R Switch' on"
|
||||
cset "name='SPKVOL L Switch' on"
|
||||
cset "name='SPKVOL R Switch' on"
|
||||
|
||||
# Input Configuration
|
||||
cset "name='Stereo1 DMIC Mux' 0"
|
||||
cset "name='Stereo1 ADC1 Mux' 1"
|
||||
cset "name='Stereo1 ADC2 Mux' 1"
|
||||
cset "name='ADC Capture Switch' on"
|
||||
# 55/63
|
||||
cset "name='ADC Capture Volume' 55"
|
||||
# set ADC Boost to 0/3, higher vals cause a lot of white noise
|
||||
cset "name='ADC Boost Capture Volume' 0"
|
||||
# 55/63
|
||||
cset "name='Mono ADC Capture Volume' 55"
|
||||
# 0/3
|
||||
cset "name='Mono ADC Boost Capture Volume' 0"
|
||||
# 27/31
|
||||
cset "name='IN Capture Volume' 27"
|
||||
cset "name='I2S2 Func Switch' on"
|
||||
# 3/12 the headphone mic tends to be quite loud
|
||||
cset "name='IN1 Boost' 3"
|
||||
|
|
@ -69,21 +25,7 @@ SectionVerb {
|
|||
DisableSequence [
|
||||
cdev "hw:chtrt5645"
|
||||
|
||||
# Disable audio output path
|
||||
cset "name='codec_out1 mix 0 pcm0_in Switch' off"
|
||||
cset "name='media0_out mix 0 media1_in Switch' off"
|
||||
|
||||
cset "name='media1_in Gain 0 Switch' off"
|
||||
cset "name='pcm0_in Gain 0 Switch' off"
|
||||
cset "name='codec_out1 Gain 0 Switch' off"
|
||||
|
||||
# Disable audio input path
|
||||
cset "name='pcm1_out mix 0 media_loop2_in Switch' off"
|
||||
cset "name='media_loop2_out mix 0 codec_in0 Switch' off"
|
||||
|
||||
cset "name='media_loop2_out Gain 0 Switch' off"
|
||||
cset "name='pcm1_out Gain 0 Switch' off"
|
||||
cset "name='codec_in0 Gain 0 Switch' off"
|
||||
<codecs/rt5645/DisableSeq.conf>
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12,53 +12,9 @@ SectionVerb {
|
|||
cdev "hw:chtrt5645"
|
||||
|
||||
<platforms/bytcr/PlatformEnableSeq.conf>
|
||||
<codecs/rt5645/EnableSeq.conf>
|
||||
|
||||
# Output Configuration
|
||||
cset "name='DAC1 L Mux' IF1 DAC"
|
||||
cset "name='DAC1 R Mux' IF1 DAC"
|
||||
cset "name='DAC1 MIXL DAC1 Switch' 1"
|
||||
cset "name='DAC1 MIXR DAC1 Switch' 1"
|
||||
cset "name='Stereo DAC MIXL DAC L1 Switch' 1"
|
||||
cset "name='Stereo DAC MIXR DAC R1 Switch' 1"
|
||||
|
||||
cset "name='DAC L2 Mux' IF2 DAC"
|
||||
cset "name='DAC R2 Mux' IF2 DAC"
|
||||
cset "name='Mono DAC MIXL DAC L2 Switch' on"
|
||||
cset "name='Mono DAC MIXR DAC R2 Switch' on"
|
||||
cset "name='DAC2 Playback Switch' on"
|
||||
|
||||
cset "name='HPOVOL MIXL DAC1 Switch' on"
|
||||
cset "name='HPOVOL MIXR DAC1 Switch' on"
|
||||
cset "name='HPOVOL MIXL DAC2 Switch' on"
|
||||
cset "name='HPOVOL MIXR DAC2 Switch' on"
|
||||
cset "name='HPO MIX HPVOL Switch' on"
|
||||
cset "name='HPOVOL L Switch' on"
|
||||
cset "name='HPOVOL R Switch' on"
|
||||
|
||||
cset "name='SPK MIXL DAC L1 Switch' on"
|
||||
cset "name='SPK MIXR DAC R1 Switch' on"
|
||||
cset "name='SPK MIXL DAC L2 Switch' on"
|
||||
cset "name='SPK MIXR DAC R2 Switch' on"
|
||||
cset "name='SPOL MIX SPKVOL L Switch' on"
|
||||
cset "name='SPOR MIX SPKVOL R Switch' on"
|
||||
cset "name='SPKVOL L Switch' on"
|
||||
cset "name='SPKVOL R Switch' on"
|
||||
|
||||
# Input Configuration
|
||||
cset "name='Stereo1 DMIC Mux' 0"
|
||||
cset "name='Stereo1 ADC1 Mux' 1"
|
||||
cset "name='Stereo1 ADC2 Mux' 1"
|
||||
cset "name='ADC Capture Switch' on"
|
||||
# 55/63
|
||||
cset "name='ADC Capture Volume' 55"
|
||||
# set ADC Boost to 0/3, higher vals cause a lot of white noise
|
||||
cset "name='ADC Boost Capture Volume' 0"
|
||||
# 55/63
|
||||
cset "name='Mono ADC Capture Volume' 55"
|
||||
# 0/3
|
||||
cset "name='Mono ADC Boost Capture Volume' 0"
|
||||
# 27/31
|
||||
cset "name='IN Capture Volume' 27"
|
||||
cset "name='I2S2 Func Switch' on"
|
||||
# 3/12 the headphone mic tends to be quite loud
|
||||
cset "name='IN1 Boost' 3"
|
||||
|
|
@ -69,21 +25,7 @@ SectionVerb {
|
|||
DisableSequence [
|
||||
cdev "hw:chtrt5645"
|
||||
|
||||
# Disable audio output path
|
||||
cset "name='codec_out1 mix 0 pcm0_in Switch' off"
|
||||
cset "name='media0_out mix 0 media1_in Switch' off"
|
||||
|
||||
cset "name='media1_in Gain 0 Switch' off"
|
||||
cset "name='pcm0_in Gain 0 Switch' off"
|
||||
cset "name='codec_out1 Gain 0 Switch' off"
|
||||
|
||||
# Disable audio input path
|
||||
cset "name='pcm1_out mix 0 media_loop2_in Switch' off"
|
||||
cset "name='media_loop2_out mix 0 codec_in0 Switch' off"
|
||||
|
||||
cset "name='media_loop2_out Gain 0 Switch' off"
|
||||
cset "name='pcm1_out Gain 0 Switch' off"
|
||||
cset "name='codec_in0 Gain 0 Switch' off"
|
||||
<codecs/rt5645/DisableSeq.conf>
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12,53 +12,9 @@ SectionVerb {
|
|||
cdev "hw:chtrt5645"
|
||||
|
||||
<platforms/bytcr/PlatformEnableSeq.conf>
|
||||
<codecs/rt5645/EnableSeq.conf>
|
||||
|
||||
# Output Configuration
|
||||
cset "name='DAC1 L Mux' IF1 DAC"
|
||||
cset "name='DAC1 R Mux' IF1 DAC"
|
||||
cset "name='DAC1 MIXL DAC1 Switch' 1"
|
||||
cset "name='DAC1 MIXR DAC1 Switch' 1"
|
||||
cset "name='Stereo DAC MIXL DAC L1 Switch' 1"
|
||||
cset "name='Stereo DAC MIXR DAC R1 Switch' 1"
|
||||
|
||||
cset "name='DAC L2 Mux' IF2 DAC"
|
||||
cset "name='DAC R2 Mux' IF2 DAC"
|
||||
cset "name='Mono DAC MIXL DAC L2 Switch' on"
|
||||
cset "name='Mono DAC MIXR DAC R2 Switch' on"
|
||||
cset "name='DAC2 Playback Switch' on"
|
||||
|
||||
cset "name='HPOVOL MIXL DAC1 Switch' on"
|
||||
cset "name='HPOVOL MIXR DAC1 Switch' on"
|
||||
cset "name='HPOVOL MIXL DAC2 Switch' on"
|
||||
cset "name='HPOVOL MIXR DAC2 Switch' on"
|
||||
cset "name='HPO MIX HPVOL Switch' on"
|
||||
cset "name='HPOVOL L Switch' on"
|
||||
cset "name='HPOVOL R Switch' on"
|
||||
|
||||
cset "name='SPK MIXL DAC L1 Switch' on"
|
||||
cset "name='SPK MIXR DAC R1 Switch' on"
|
||||
cset "name='SPK MIXL DAC L2 Switch' on"
|
||||
cset "name='SPK MIXR DAC R2 Switch' on"
|
||||
cset "name='SPOL MIX SPKVOL L Switch' on"
|
||||
cset "name='SPOR MIX SPKVOL R Switch' on"
|
||||
cset "name='SPKVOL L Switch' on"
|
||||
cset "name='SPKVOL R Switch' on"
|
||||
|
||||
# Input Configuration
|
||||
cset "name='Stereo1 DMIC Mux' 0"
|
||||
cset "name='Stereo1 ADC1 Mux' 1"
|
||||
cset "name='Stereo1 ADC2 Mux' 1"
|
||||
cset "name='ADC Capture Switch' on"
|
||||
# 55/63
|
||||
cset "name='ADC Capture Volume' 55"
|
||||
# set ADC Boost to 0/3, higher vals cause a lot of white noise
|
||||
cset "name='ADC Boost Capture Volume' 0"
|
||||
# 55/63
|
||||
cset "name='Mono ADC Capture Volume' 55"
|
||||
# 0/3
|
||||
cset "name='Mono ADC Boost Capture Volume' 0"
|
||||
# 27/31
|
||||
cset "name='IN Capture Volume' 27"
|
||||
cset "name='I2S2 Func Switch' on"
|
||||
# 3/12 the headphone mic tends to be quite loud
|
||||
cset "name='IN1 Boost' 3"
|
||||
|
|
@ -69,21 +25,7 @@ SectionVerb {
|
|||
DisableSequence [
|
||||
cdev "hw:chtrt5645"
|
||||
|
||||
# Disable audio output path
|
||||
cset "name='codec_out1 mix 0 pcm0_in Switch' off"
|
||||
cset "name='media0_out mix 0 media1_in Switch' off"
|
||||
|
||||
cset "name='media1_in Gain 0 Switch' off"
|
||||
cset "name='pcm0_in Gain 0 Switch' off"
|
||||
cset "name='codec_out1 Gain 0 Switch' off"
|
||||
|
||||
# Disable audio input path
|
||||
cset "name='pcm1_out mix 0 media_loop2_in Switch' off"
|
||||
cset "name='media_loop2_out mix 0 codec_in0 Switch' off"
|
||||
|
||||
cset "name='media_loop2_out Gain 0 Switch' off"
|
||||
cset "name='pcm1_out Gain 0 Switch' off"
|
||||
cset "name='codec_in0 Gain 0 Switch' off"
|
||||
<codecs/rt5645/DisableSeq.conf>
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
SectionVerb {
|
||||
# ALSA PCM
|
||||
Value {
|
||||
|
|
@ -13,53 +12,9 @@ SectionVerb {
|
|||
cdev "hw:chtrt5645"
|
||||
|
||||
<platforms/bytcr/PlatformEnableSeq.conf>
|
||||
<codecs/rt5645/EnableSeq.conf>
|
||||
|
||||
# Output Configuration
|
||||
cset "name='DAC1 L Mux' IF1 DAC"
|
||||
cset "name='DAC1 R Mux' IF1 DAC"
|
||||
cset "name='DAC1 MIXL DAC1 Switch' 1"
|
||||
cset "name='DAC1 MIXR DAC1 Switch' 1"
|
||||
cset "name='Stereo DAC MIXL DAC L1 Switch' 1"
|
||||
cset "name='Stereo DAC MIXR DAC R1 Switch' 1"
|
||||
|
||||
cset "name='DAC L2 Mux' IF2 DAC"
|
||||
cset "name='DAC R2 Mux' IF2 DAC"
|
||||
cset "name='Mono DAC MIXL DAC L2 Switch' on"
|
||||
cset "name='Mono DAC MIXR DAC R2 Switch' on"
|
||||
cset "name='DAC2 Playback Switch' on"
|
||||
|
||||
cset "name='HPOVOL MIXL DAC1 Switch' on"
|
||||
cset "name='HPOVOL MIXR DAC1 Switch' on"
|
||||
cset "name='HPOVOL MIXL DAC2 Switch' on"
|
||||
cset "name='HPOVOL MIXR DAC2 Switch' on"
|
||||
cset "name='HPO MIX HPVOL Switch' on"
|
||||
cset "name='HPOVOL L Switch' on"
|
||||
cset "name='HPOVOL R Switch' on"
|
||||
|
||||
cset "name='SPK MIXL DAC L1 Switch' on"
|
||||
cset "name='SPK MIXR DAC R1 Switch' on"
|
||||
cset "name='SPK MIXL DAC L2 Switch' on"
|
||||
cset "name='SPK MIXR DAC R2 Switch' on"
|
||||
cset "name='SPOL MIX SPKVOL L Switch' on"
|
||||
cset "name='SPOR MIX SPKVOL R Switch' on"
|
||||
cset "name='SPKVOL L Switch' on"
|
||||
cset "name='SPKVOL R Switch' on"
|
||||
|
||||
# Input Configuration
|
||||
cset "name='Stereo1 DMIC Mux' 0"
|
||||
cset "name='Stereo1 ADC1 Mux' 1"
|
||||
cset "name='Stereo1 ADC2 Mux' 1"
|
||||
cset "name='ADC Capture Switch' on"
|
||||
# 55/63
|
||||
cset "name='ADC Capture Volume' 55"
|
||||
# set ADC Boost to 0/3, higher vals cause a lot of white noise
|
||||
cset "name='ADC Boost Capture Volume' 0"
|
||||
# 55/63
|
||||
cset "name='Mono ADC Capture Volume' 55"
|
||||
# 0/3
|
||||
cset "name='Mono ADC Boost Capture Volume' 0"
|
||||
# 27/31
|
||||
cset "name='IN Capture Volume' 27"
|
||||
cset "name='I2S2 Func Switch' on"
|
||||
# 3/12 the headphone mic tends to be quite loud
|
||||
cset "name='IN1 Boost' 3"
|
||||
|
|
@ -70,21 +25,7 @@ SectionVerb {
|
|||
DisableSequence [
|
||||
cdev "hw:chtrt5645"
|
||||
|
||||
# Disable audio output path
|
||||
cset "name='codec_out1 mix 0 pcm0_in Switch' off"
|
||||
cset "name='media0_out mix 0 media1_in Switch' off"
|
||||
|
||||
cset "name='media1_in Gain 0 Switch' off"
|
||||
cset "name='pcm0_in Gain 0 Switch' off"
|
||||
cset "name='codec_out1 Gain 0 Switch' off"
|
||||
|
||||
# Disable audio input path
|
||||
cset "name='pcm1_out mix 0 media_loop2_in Switch' off"
|
||||
cset "name='media_loop2_out mix 0 codec_in0 Switch' off"
|
||||
|
||||
cset "name='media_loop2_out Gain 0 Switch' off"
|
||||
cset "name='pcm1_out Gain 0 Switch' off"
|
||||
cset "name='codec_in0 Gain 0 Switch' off"
|
||||
<codecs/rt5645/DisableSeq.conf>
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,73 +13,19 @@ SectionVerb {
|
|||
cdev "hw:chtrt5650"
|
||||
|
||||
<platforms/bytcr/PlatformEnableSeq.conf>
|
||||
<codecs/rt5645/EnableSeq.conf>
|
||||
|
||||
# Output Configuration
|
||||
cset "name='DAC1 L Mux' IF1 DAC"
|
||||
cset "name='DAC1 R Mux' IF1 DAC"
|
||||
cset "name='DAC1 MIXL DAC1 Switch' 1"
|
||||
cset "name='DAC1 MIXR DAC1 Switch' 1"
|
||||
cset "name='Stereo DAC MIXL DAC L1 Switch' 1"
|
||||
cset "name='Stereo DAC MIXR DAC R1 Switch' 1"
|
||||
cset "name='Speaker HWEQ' 1,164,237,135,1,165,0,0,1,166,237,135,1,167,0,0,1,192,30,196,1,193,0,0,1,194,30,196,1,195,0,0,1,196,31,180,1,197,0,75,1,198,31,180,1,199,31,180,1,200,0,75,1,201,31,180,0,177,51,224"
|
||||
cset "name='DAC1 Playback Volume' 77,77"
|
||||
|
||||
cset "name='Speaker ClassD Playback Volume' 4"
|
||||
|
||||
cset "name='DAC L2 Mux' IF2 DAC"
|
||||
cset "name='DAC R2 Mux' IF2 DAC"
|
||||
cset "name='Mono DAC MIXL DAC L2 Switch' on"
|
||||
cset "name='Mono DAC MIXR DAC R2 Switch' on"
|
||||
cset "name='DAC2 Playback Switch' on"
|
||||
|
||||
cset "name='HPOVOL MIXL DAC1 Switch' on"
|
||||
cset "name='HPOVOL MIXR DAC1 Switch' on"
|
||||
cset "name='HPOVOL MIXL DAC2 Switch' on"
|
||||
cset "name='HPOVOL MIXR DAC2 Switch' on"
|
||||
cset "name='HPO MIX HPVOL Switch' on"
|
||||
cset "name='HPOVOL L Switch' on"
|
||||
cset "name='HPOVOL R Switch' on"
|
||||
|
||||
cset "name='SPK MIXL DAC L1 Switch' on"
|
||||
cset "name='SPK MIXR DAC R1 Switch' on"
|
||||
cset "name='SPK MIXL DAC L2 Switch' on"
|
||||
cset "name='SPK MIXR DAC R2 Switch' on"
|
||||
cset "name='SPOL MIX SPKVOL L Switch' on"
|
||||
cset "name='SPOR MIX SPKVOL R Switch' on"
|
||||
cset "name='SPKVOL L Switch' on"
|
||||
cset "name='SPKVOL R Switch' on"
|
||||
|
||||
# Input Configuration
|
||||
cset "name='Stereo1 DMIC Mux' 0"
|
||||
cset "name='Stereo1 ADC2 Mux' 1"
|
||||
cset "name='ADC Capture Switch' on"
|
||||
cset "name='ADC Capture Volume' 74"
|
||||
cset "name='ADC Boost Capture Volume' 3"
|
||||
cset "name='Mono ADC Capture Volume' 74"
|
||||
cset "name='Mono ADC Boost Capture Volume' 2"
|
||||
cset "name='IN Capture Volume' 63"
|
||||
cset "name='RT5650 IF1 ADC Mux' 0"
|
||||
cset "name='I2S2 Func Switch' off"
|
||||
cset "name='RT5650 IF1 ADC Mux' 0"
|
||||
]
|
||||
|
||||
DisableSequence [
|
||||
cdev "hw:chtrt5650"
|
||||
|
||||
# Disable audio output path
|
||||
cset "name='codec_out1 mix 0 pcm0_in Switch' off"
|
||||
cset "name='media0_out mix 0 media1_in Switch' off"
|
||||
|
||||
cset "name='media1_in Gain 0 Switch' off"
|
||||
cset "name='pcm0_in Gain 0 Switch' off"
|
||||
cset "name='codec_out1 Gain 0 Switch' off"
|
||||
|
||||
# Disable audio input path
|
||||
cset "name='pcm1_out mix 0 media_loop2_in Switch' off"
|
||||
cset "name='media_loop2_out mix 0 codec_in0 Switch' off"
|
||||
|
||||
cset "name='media_loop2_out Gain 0 Switch' off"
|
||||
cset "name='pcm1_out Gain 0 Switch' off"
|
||||
cset "name='codec_in0 Gain 0 Switch' off"
|
||||
<codecs/rt5645/DisableSeq.conf>
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
SUBDIRS=\
|
||||
rt5640 \
|
||||
rt5645 \
|
||||
rt5651 \
|
||||
nau8824
|
||||
|
|
|
|||
15
src/conf/ucm/codecs/rt5645/DisableSeq.conf
Normal file
15
src/conf/ucm/codecs/rt5645/DisableSeq.conf
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Disable audio output path
|
||||
cset "name='codec_out1 mix 0 pcm0_in Switch' off"
|
||||
cset "name='media0_out mix 0 media1_in Switch' off"
|
||||
|
||||
cset "name='media1_in Gain 0 Switch' off"
|
||||
cset "name='pcm0_in Gain 0 Switch' off"
|
||||
cset "name='codec_out1 Gain 0 Switch' off"
|
||||
|
||||
# Disable audio input path
|
||||
cset "name='pcm1_out mix 0 media_loop2_in Switch' off"
|
||||
cset "name='media_loop2_out mix 0 codec_in0 Switch' off"
|
||||
|
||||
cset "name='media_loop2_out Gain 0 Switch' off"
|
||||
cset "name='pcm1_out Gain 0 Switch' off"
|
||||
cset "name='codec_in0 Gain 0 Switch' off"
|
||||
46
src/conf/ucm/codecs/rt5645/EnableSeq.conf
Normal file
46
src/conf/ucm/codecs/rt5645/EnableSeq.conf
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Output Configuration
|
||||
cset "name='DAC1 L Mux' IF1 DAC"
|
||||
cset "name='DAC1 R Mux' IF1 DAC"
|
||||
cset "name='DAC1 MIXL DAC1 Switch' 1"
|
||||
cset "name='DAC1 MIXR DAC1 Switch' 1"
|
||||
cset "name='Stereo DAC MIXL DAC L1 Switch' 1"
|
||||
cset "name='Stereo DAC MIXR DAC R1 Switch' 1"
|
||||
|
||||
cset "name='DAC L2 Mux' IF2 DAC"
|
||||
cset "name='DAC R2 Mux' IF2 DAC"
|
||||
cset "name='Mono DAC MIXL DAC L2 Switch' on"
|
||||
cset "name='Mono DAC MIXR DAC R2 Switch' on"
|
||||
cset "name='DAC2 Playback Switch' on"
|
||||
|
||||
cset "name='HPOVOL MIXL DAC1 Switch' on"
|
||||
cset "name='HPOVOL MIXR DAC1 Switch' on"
|
||||
cset "name='HPOVOL MIXL DAC2 Switch' on"
|
||||
cset "name='HPOVOL MIXR DAC2 Switch' on"
|
||||
cset "name='HPO MIX HPVOL Switch' on"
|
||||
cset "name='HPOVOL L Switch' on"
|
||||
cset "name='HPOVOL R Switch' on"
|
||||
|
||||
cset "name='SPK MIXL DAC L1 Switch' on"
|
||||
cset "name='SPK MIXR DAC R1 Switch' on"
|
||||
cset "name='SPK MIXL DAC L2 Switch' on"
|
||||
cset "name='SPK MIXR DAC R2 Switch' on"
|
||||
cset "name='SPOL MIX SPKVOL L Switch' on"
|
||||
cset "name='SPOR MIX SPKVOL R Switch' on"
|
||||
cset "name='SPKVOL L Switch' on"
|
||||
cset "name='SPKVOL R Switch' on"
|
||||
|
||||
# Input Configuration
|
||||
cset "name='Stereo1 DMIC Mux' 0"
|
||||
cset "name='Stereo1 ADC2 Mux' 1"
|
||||
cset "name='ADC Capture Switch' on"
|
||||
|
||||
# 55/63
|
||||
cset "name='ADC Capture Volume' 55"
|
||||
# set ADC Boost to 0/3, higher vals cause a lot of white noise
|
||||
cset "name='ADC Boost Capture Volume' 0"
|
||||
# 55/63
|
||||
cset "name='Mono ADC Capture Volume' 55"
|
||||
# 0/3
|
||||
cset "name='Mono ADC Boost Capture Volume' 0"
|
||||
# 27/31
|
||||
cset "name='IN Capture Volume' 27"
|
||||
4
src/conf/ucm/codecs/rt5645/Makefile.am
Normal file
4
src/conf/ucm/codecs/rt5645/Makefile.am
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
alsaconfigdir = @ALSA_CONFIG_DIR@
|
||||
ucmdir = $(alsaconfigdir)/ucm/codecs/rt5645
|
||||
ucm_DATA = DisableSeq.conf EnableSeq.conf
|
||||
EXTRA_DIST = $(ucm_DATA)
|
||||
Loading…
Add table
Add a link
Reference in a new issue