forked from alsa-project/alsa-ucm-conf
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c5d0741
commit 6b395ae
Showing
4 changed files
with
95 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,24 @@ | ||
Syntax 6 | ||
|
||
Comment "Fennel14 internal card" | ||
|
||
SectionUseCase."HiFi" { | ||
File "HiFi.conf" | ||
Comment "Default" | ||
} | ||
|
||
BootSequence [ | ||
# Speaker | ||
cset "name='I2S3_CH1 DL1_CH1' 1" | ||
cset "name='I2S3_CH2 DL1_CH2' 1" | ||
cset "name='Speakers Switch' 1" | ||
|
||
# Internal Mic | ||
cset "name='MTKAIF_DMIC' 1" | ||
cset "name='Mt6358 Mic Type Mux' 2" | ||
cset "name='UL3_CH1 ADDA_UL_CH1' 1" | ||
cset "name='UL3_CH2 ADDA_UL_CH2' 1" | ||
|
||
# Headset | ||
cset "name='Headphone Volume' 56" | ||
cset "name='Capture Digital Volume' 113" | ||
cset "name='Mic Volume' 3" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 25 additions & 2 deletions
27
ucm2/conf.d/mt8183_mt6358_t/mt8183_mt6358_ts3a227_max98357.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,31 @@ | ||
Comment "Krane internal card" | ||
|
||
Syntax 6 | ||
|
||
SectionUseCase."HiFi" { | ||
File "HiFi.conf" | ||
Comment "Default" | ||
} | ||
|
||
BootSequence [ | ||
# Speakers | ||
cset "name='I2S3_CH1 DL1_CH1' 1" | ||
cset "name='I2S3_CH2 DL1_CH2' 1" | ||
|
||
# Headphones | ||
cset "name='Headphone Volume' 17" | ||
cset "name='ADDA_DL_CH1 DL1_CH1' 0" | ||
cset "name='ADDA_DL_CH2 DL1_CH2' 0" | ||
cset "name='HPL Mux' 0" | ||
cset "name='HPR Mux' 0" | ||
|
||
# Internal Mic | ||
cset "name='MTKAIF_DMIC' 1" | ||
cset "name='Mic Type Mux' 2" | ||
cset "name='UL3_CH1 ADDA_UL_CH1' 1" | ||
cset "name='UL3_CH2 ADDA_UL_CH2' 1" | ||
|
||
# Headset Mic | ||
cset "name='PGA L Mux' 0" | ||
cset "name='ADC L Mux' 0" | ||
cset "name='PGA Volume' 0" | ||
cset "name='UL3_CH1 ADDA_UL_CH1' 0" | ||
] |