mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-26 07:00:11 -05:00
conf/ucm: bytcr-rt5640: Add generic bytcr-rt5640 UCM profile
This commit adds the generic UCM profile for bytcr-rt5640 boards from: https://github.com/plbossart/UCM, plus the fixes from this pull-req: https://github.com/plbossart/UCM/pull/31 The profile has been split up into separate per input / output files to allow for creation of long-name profiles with the specific input / output combinations found on a board without needing to copy and paste things. Note this profile exports all inputs and both stereo/mono speaker setups even though a typical device will not use all. Ideally a long-name based device specific profile made up of the various parts should be used instead. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
ad5aea8922
commit
0f6f2a854f
16 changed files with 522 additions and 0 deletions
50
src/conf/ucm/rt5640/IN1-InternalMic.conf
Normal file
50
src/conf/ucm/rt5640/IN1-InternalMic.conf
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
SectionDevice."IN1-InternalMics" {
|
||||
Comment "Internal IN1 analog Mic capture"
|
||||
|
||||
ConflictingDevice [
|
||||
"DigitalMics"
|
||||
"HeadsetMic"
|
||||
"IN3-InternalMics"
|
||||
]
|
||||
|
||||
EnableSequence [
|
||||
cdev "hw:bytcrrt5640"
|
||||
|
||||
cset "name='Internal Mic Switch' on"
|
||||
|
||||
cset "name='RECMIXL BST1 Switch' on"
|
||||
cset "name='RECMIXR BST1 Switch' on"
|
||||
cset "name='RECMIXL BST3 Switch' off"
|
||||
cset "name='RECMIXR BST3 Switch' off"
|
||||
|
||||
cset "name='Stereo ADC MIXL ADC1 Switch' on"
|
||||
cset "name='Stereo ADC MIXR ADC1 Switch' on"
|
||||
|
||||
cset "name='Mono ADC MIXL ADC1 Switch' on"
|
||||
cset "name='Mono ADC MIXR ADC1 Switch' on"
|
||||
|
||||
cset "name='Mono ADC Capture Switch' on"
|
||||
]
|
||||
|
||||
DisableSequence [
|
||||
cdev "hw:bytcrrt5640"
|
||||
|
||||
cset "name='Stereo ADC MIXL ADC1 Switch' off"
|
||||
cset "name='Stereo ADC MIXR ADC1 Switch' off"
|
||||
|
||||
cset "name='RECMIXL BST1 Switch' off"
|
||||
cset "name='RECMIXR BST1 Switch' off"
|
||||
|
||||
cset "name='Internal Mic Switch' off"
|
||||
|
||||
cset "name='Mono ADC MIXL ADC1 Switch' off"
|
||||
cset "name='Mono ADC MIXR ADC1 Switch' off"
|
||||
|
||||
cset "name='Mono ADC Capture Switch' off"
|
||||
|
||||
]
|
||||
|
||||
Value {
|
||||
CaptureChannels 2
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue