mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
conf/ucm: bytcht-es8316: Add long-name UCM profiles
After recent kernel work, the kernel now sets a long-name for bytcht-es8316 boards which indicates if a single (mono) speaker or stereo speakers are used and if in1 or in2 is used for the internal mic (the headset mic will be on the other input). This commit adds UCM profiles for bytcht-es8316 boards using these new long-names, based on the generic bytcht-es8316 profile. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
506cca6eaa
commit
f664a7aec9
14 changed files with 148 additions and 0 deletions
|
|
@ -721,6 +721,10 @@ AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \
|
|||
src/conf/ucm/broadwell-rt286/Makefile \
|
||||
src/conf/ucm/broxton-rt298/Makefile \
|
||||
src/conf/ucm/bytcht-es8316/Makefile \
|
||||
src/conf/ucm/bytcht-es8316-mono-spk-in1-mic/Makefile \
|
||||
src/conf/ucm/bytcht-es8316-mono-spk-in2-mic/Makefile \
|
||||
src/conf/ucm/bytcht-es8316-stereo-spk-in1-mic/Makefile \
|
||||
src/conf/ucm/bytcht-es8316-stereo-spk-in2-mic/Makefile \
|
||||
src/conf/ucm/bytcr-rt5640/Makefile \
|
||||
src/conf/ucm/bytcr-rt5640-mono-spk-dmic1-mic/Makefile \
|
||||
src/conf/ucm/bytcr-rt5640-mono-spk-in1-mic/Makefile \
|
||||
|
|
|
|||
|
|
@ -5,6 +5,10 @@ ASUSTeKCOMPUTERINC.-T100HAN-1.0-T100HAN \
|
|||
broadwell-rt286 \
|
||||
broxton-rt298 \
|
||||
bytcht-es8316 \
|
||||
bytcht-es8316-mono-spk-in1-mic \
|
||||
bytcht-es8316-mono-spk-in2-mic \
|
||||
bytcht-es8316-stereo-spk-in1-mic \
|
||||
bytcht-es8316-stereo-spk-in2-mic \
|
||||
bytcr-rt5640 \
|
||||
bytcr-rt5640-mono-spk-dmic1-mic \
|
||||
bytcr-rt5640-mono-spk-in1-mic \
|
||||
|
|
|
|||
23
src/conf/ucm/bytcht-es8316-mono-spk-in1-mic/HiFi.conf
Normal file
23
src/conf/ucm/bytcht-es8316-mono-spk-in1-mic/HiFi.conf
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
SectionVerb {
|
||||
EnableSequence [
|
||||
cdev "hw:bytchtes8316"
|
||||
<platforms/bytcr/PlatformEnableSeq.conf>
|
||||
<codecs/es8316/EnableSeq.conf>
|
||||
]
|
||||
|
||||
DisableSequence [
|
||||
cdev "hw:bytchtes8316"
|
||||
<platforms/bytcr/PlatformDisableSeq.conf>
|
||||
]
|
||||
|
||||
Value {
|
||||
PlaybackPCM "hw:bytchtes8316"
|
||||
CapturePCM "hw:bytchtes8316"
|
||||
}
|
||||
}
|
||||
|
||||
<codecs/es8316/MonoSpeaker.conf>
|
||||
<codecs/es8316/HeadPhones.conf>
|
||||
|
||||
<codecs/es8316/IN1-InternalMic.conf>
|
||||
<codecs/es8316/IN2-HeadsetMic.conf>
|
||||
4
src/conf/ucm/bytcht-es8316-mono-spk-in1-mic/Makefile.am
Normal file
4
src/conf/ucm/bytcht-es8316-mono-spk-in1-mic/Makefile.am
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
alsaconfigdir = @ALSA_CONFIG_DIR@
|
||||
ucmdir = $(alsaconfigdir)/ucm/bytcht-es8316-mono-spk-in1-mic
|
||||
ucm_DATA = bytcht-es8316-mono-spk-in1-mic.conf HiFi.conf
|
||||
EXTRA_DIST = $(ucm_DATA)
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
SectionUseCase."HiFi" {
|
||||
File "../bytcht-es8316-mono-spk-in1-mic/HiFi.conf"
|
||||
Comment "Play HiFi quality Music"
|
||||
}
|
||||
|
||||
SectionDefaults [
|
||||
cdev "hw:bytchtes8316"
|
||||
]
|
||||
23
src/conf/ucm/bytcht-es8316-mono-spk-in2-mic/HiFi.conf
Normal file
23
src/conf/ucm/bytcht-es8316-mono-spk-in2-mic/HiFi.conf
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
SectionVerb {
|
||||
EnableSequence [
|
||||
cdev "hw:bytchtes8316"
|
||||
<platforms/bytcr/PlatformEnableSeq.conf>
|
||||
<codecs/es8316/EnableSeq.conf>
|
||||
]
|
||||
|
||||
DisableSequence [
|
||||
cdev "hw:bytchtes8316"
|
||||
<platforms/bytcr/PlatformDisableSeq.conf>
|
||||
]
|
||||
|
||||
Value {
|
||||
PlaybackPCM "hw:bytchtes8316"
|
||||
CapturePCM "hw:bytchtes8316"
|
||||
}
|
||||
}
|
||||
|
||||
<codecs/es8316/MonoSpeaker.conf>
|
||||
<codecs/es8316/HeadPhones.conf>
|
||||
|
||||
<codecs/es8316/IN1-HeadsetMic.conf>
|
||||
<codecs/es8316/IN2-InternalMic.conf>
|
||||
4
src/conf/ucm/bytcht-es8316-mono-spk-in2-mic/Makefile.am
Normal file
4
src/conf/ucm/bytcht-es8316-mono-spk-in2-mic/Makefile.am
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
alsaconfigdir = @ALSA_CONFIG_DIR@
|
||||
ucmdir = $(alsaconfigdir)/ucm/bytcht-es8316-mono-spk-in2-mic
|
||||
ucm_DATA = bytcht-es8316-mono-spk-in2-mic.conf HiFi.conf
|
||||
EXTRA_DIST = $(ucm_DATA)
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
SectionUseCase."HiFi" {
|
||||
File "../bytcht-es8316-mono-spk-in2-mic/HiFi.conf"
|
||||
Comment "Play HiFi quality Music"
|
||||
}
|
||||
|
||||
SectionDefaults [
|
||||
cdev "hw:bytchtes8316"
|
||||
]
|
||||
23
src/conf/ucm/bytcht-es8316-stereo-spk-in1-mic/HiFi.conf
Normal file
23
src/conf/ucm/bytcht-es8316-stereo-spk-in1-mic/HiFi.conf
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
SectionVerb {
|
||||
EnableSequence [
|
||||
cdev "hw:bytchtes8316"
|
||||
<platforms/bytcr/PlatformEnableSeq.conf>
|
||||
<codecs/es8316/EnableSeq.conf>
|
||||
]
|
||||
|
||||
DisableSequence [
|
||||
cdev "hw:bytchtes8316"
|
||||
<platforms/bytcr/PlatformDisableSeq.conf>
|
||||
]
|
||||
|
||||
Value {
|
||||
PlaybackPCM "hw:bytchtes8316"
|
||||
CapturePCM "hw:bytchtes8316"
|
||||
}
|
||||
}
|
||||
|
||||
<codecs/es8316/Speaker.conf>
|
||||
<codecs/es8316/HeadPhones.conf>
|
||||
|
||||
<codecs/es8316/IN1-InternalMic.conf>
|
||||
<codecs/es8316/IN2-HeadsetMic.conf>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
alsaconfigdir = @ALSA_CONFIG_DIR@
|
||||
ucmdir = $(alsaconfigdir)/ucm/bytcht-es8316-stereo-spk-in1-mic
|
||||
ucm_DATA = bytcht-es8316-stereo-spk-in1-mic.conf HiFi.conf
|
||||
EXTRA_DIST = $(ucm_DATA)
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
SectionUseCase."HiFi" {
|
||||
File "../bytcht-es8316-stereo-spk-in1-mic/HiFi.conf"
|
||||
Comment "Play HiFi quality Music"
|
||||
}
|
||||
|
||||
SectionDefaults [
|
||||
cdev "hw:bytchtes8316"
|
||||
]
|
||||
23
src/conf/ucm/bytcht-es8316-stereo-spk-in2-mic/HiFi.conf
Normal file
23
src/conf/ucm/bytcht-es8316-stereo-spk-in2-mic/HiFi.conf
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
SectionVerb {
|
||||
EnableSequence [
|
||||
cdev "hw:bytchtes8316"
|
||||
<platforms/bytcr/PlatformEnableSeq.conf>
|
||||
<codecs/es8316/EnableSeq.conf>
|
||||
]
|
||||
|
||||
DisableSequence [
|
||||
cdev "hw:bytchtes8316"
|
||||
<platforms/bytcr/PlatformDisableSeq.conf>
|
||||
]
|
||||
|
||||
Value {
|
||||
PlaybackPCM "hw:bytchtes8316"
|
||||
CapturePCM "hw:bytchtes8316"
|
||||
}
|
||||
}
|
||||
|
||||
<codecs/es8316/Speaker.conf>
|
||||
<codecs/es8316/HeadPhones.conf>
|
||||
|
||||
<codecs/es8316/IN1-HeadsetMic.conf>
|
||||
<codecs/es8316/IN2-InternalMic.conf>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
alsaconfigdir = @ALSA_CONFIG_DIR@
|
||||
ucmdir = $(alsaconfigdir)/ucm/bytcht-es8316-stereo-spk-in2-mic
|
||||
ucm_DATA = bytcht-es8316-stereo-spk-in2-mic.conf HiFi.conf
|
||||
EXTRA_DIST = $(ucm_DATA)
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
SectionUseCase."HiFi" {
|
||||
File "../bytcht-es8316-stereo-spk-in2-mic/HiFi.conf"
|
||||
Comment "Play HiFi quality Music"
|
||||
}
|
||||
|
||||
SectionDefaults [
|
||||
cdev "hw:bytchtes8316"
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue