mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-01 22:58:49 -04:00
conf/ucm: bytcr-rt5640: Add default DisableSequence
Add a disable sequence powering off the SST mixer elements, loosely based on the default DisableSequence from: https://github.com/plbossart/UCM/blob/master/chtnau8824/HiFi.conf Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
a5343f6fb6
commit
642b360add
9 changed files with 35 additions and 1 deletions
|
|
@ -11,6 +11,8 @@ SectionVerb {
|
||||||
]
|
]
|
||||||
|
|
||||||
DisableSequence [
|
DisableSequence [
|
||||||
|
cdev "hw:bytcrrt5640"
|
||||||
|
<bytcr/PlatformDisableSeq.conf>
|
||||||
]
|
]
|
||||||
|
|
||||||
Value {
|
Value {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,8 @@ SectionVerb {
|
||||||
]
|
]
|
||||||
|
|
||||||
DisableSequence [
|
DisableSequence [
|
||||||
|
cdev "hw:bytcrrt5640"
|
||||||
|
<bytcr/PlatformDisableSeq.conf>
|
||||||
]
|
]
|
||||||
|
|
||||||
Value {
|
Value {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,8 @@ SectionVerb {
|
||||||
]
|
]
|
||||||
|
|
||||||
DisableSequence [
|
DisableSequence [
|
||||||
|
cdev "hw:bytcrrt5640"
|
||||||
|
<bytcr/PlatformDisableSeq.conf>
|
||||||
]
|
]
|
||||||
|
|
||||||
Value {
|
Value {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,8 @@ SectionVerb {
|
||||||
]
|
]
|
||||||
|
|
||||||
DisableSequence [
|
DisableSequence [
|
||||||
|
cdev "hw:bytcrrt5640"
|
||||||
|
<bytcr/PlatformDisableSeq.conf>
|
||||||
]
|
]
|
||||||
|
|
||||||
Value {
|
Value {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,8 @@ SectionVerb {
|
||||||
]
|
]
|
||||||
|
|
||||||
DisableSequence [
|
DisableSequence [
|
||||||
|
cdev "hw:bytcrrt5640"
|
||||||
|
<bytcr/PlatformDisableSeq.conf>
|
||||||
]
|
]
|
||||||
|
|
||||||
Value {
|
Value {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,8 @@ SectionVerb {
|
||||||
]
|
]
|
||||||
|
|
||||||
DisableSequence [
|
DisableSequence [
|
||||||
|
cdev "hw:bytcrrt5640"
|
||||||
|
<bytcr/PlatformDisableSeq.conf>
|
||||||
]
|
]
|
||||||
|
|
||||||
Value {
|
Value {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,8 @@ SectionVerb {
|
||||||
]
|
]
|
||||||
|
|
||||||
DisableSequence [
|
DisableSequence [
|
||||||
|
cdev "hw:bytcrrt5640"
|
||||||
|
<bytcr/PlatformDisableSeq.conf>
|
||||||
]
|
]
|
||||||
|
|
||||||
Value {
|
Value {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
alsaconfigdir = @ALSA_CONFIG_DIR@
|
alsaconfigdir = @ALSA_CONFIG_DIR@
|
||||||
ucmdir = $(alsaconfigdir)/ucm/bytcr
|
ucmdir = $(alsaconfigdir)/ucm/bytcr
|
||||||
ucm_DATA = PlatformEnableSeq.conf
|
ucm_DATA = PlatformEnableSeq.conf PlatformDisableSeq.conf
|
||||||
EXTRA_DIST = $(ucm_DATA)
|
EXTRA_DIST = $(ucm_DATA)
|
||||||
|
|
|
||||||
20
src/conf/ucm/bytcr/PlatformDisableSeq.conf
Normal file
20
src/conf/ucm/bytcr/PlatformDisableSeq.conf
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
# disable audio output path
|
||||||
|
cset "name='codec_out0 mix 0 pcm0_in Switch' off"
|
||||||
|
cset "name='modem_out mix 0 pcm0_in Switch' off"
|
||||||
|
|
||||||
|
cset "name='media0_out mix 0 media0_in Switch' off"
|
||||||
|
cset "name='media0_out mix 0 media1_in Switch' off"
|
||||||
|
cset "name='media0_out mix 0 media3_in Switch' off"
|
||||||
|
|
||||||
|
cset "name='media0_in Gain 0 Switch' off"
|
||||||
|
cset "name='media1_in Gain 0 Switch' off"
|
||||||
|
cset "name='media3_in Gain 0 Switch' off"
|
||||||
|
|
||||||
|
cset "name='pcm0_in Gain 0 Switch' off"
|
||||||
|
cset "name='codec_out0 Gain 0 Switch' off"
|
||||||
|
cset "name='modem_out Gain 0 Switch' off"
|
||||||
|
|
||||||
|
# disable audio input path
|
||||||
|
cset "name='pcm1_out Gain 0 Switch' off"
|
||||||
|
cset "name='codec_in0 Gain 0 Switch' off"
|
||||||
|
cset "name='modem_in Gain 0 Switch' off"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue