-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kukui: ucm and adjustments for fennel14 audio
based on #54 (comment) from @BenjaminWegener
- Loading branch information
1 parent
6e587ac
commit 89676f8
Showing
3 changed files
with
103 additions
and
1 deletion.
There are no files selected for viewing
81 changes: 81 additions & 0 deletions
81
systems/chromebook_kukui/extra-files/usr/share/alsa/ucm2/mt8183_da7219_r/HiFi.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 |
---|---|---|
@@ -0,0 +1,81 @@ | ||
SectionVerb { | ||
EnableSequence [ | ||
cdev "hw:mt8183da7219rt1" | ||
cset "name='Headphone Volume' 0" | ||
# cset "name='UL3_CH1 ADDA_UL_CH1' 0" | ||
# cset "name='UL3_CH2 ADDA_UL_CH2' 0" | ||
cset "name='I2S3_CH1 DL1_CH1' 1" | ||
cset "name='I2S3_CH2 DL1_CH2' 1" | ||
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" | ||
] | ||
DisableSequence [ | ||
] | ||
} | ||
SectionDevice."Headphone" { | ||
Value { | ||
PlaybackPCM "hw:mt8183da7219rt1,0" | ||
JackDev "mt8183_da7219_rt1015p Headset Jack" | ||
JackSwitch "2" | ||
} | ||
|
||
ConflictingDevice [ | ||
"Speaker" | ||
] | ||
|
||
EnableSequence [ | ||
cdev "hw:mt8183da7219rt1" | ||
cset "name='I2S3_CH1 DL1_CH1' 1" | ||
cset "name='I2S3_CH2 DL1_CH2' 1" | ||
] | ||
DisableSequence [ | ||
cdev "hw:mt8183da7219rt1" | ||
cset "name='I2S3_CH1 DL1_CH1' 0" | ||
cset "name='I2S3_CH2 DL1_CH2' 0" | ||
] | ||
} | ||
SectionDevice."Speaker" { | ||
Value { | ||
PlaybackPCM "hw:mt8183da7219rt1,0" | ||
DspName "speaker_eq" | ||
} | ||
|
||
ConflictingDevice [ | ||
"Headphone" | ||
] | ||
|
||
EnableSequence [ | ||
cdev "hw:mt8183da7219rt1" | ||
cset "name='I2S3_CH1 DL1_CH1' 1" | ||
cset "name='I2S3_CH2 DL1_CH2' 1" | ||
] | ||
DisableSequence [ | ||
cdev "hw:mt8183da7219rt1" | ||
cset "name='I2S3_CH1 DL1_CH1' 0" | ||
cset "name='I2S3_CH2 DL1_CH2' 0" | ||
] | ||
} | ||
|
||
SectionDevice."Internal Mic" { | ||
Value { | ||
CapturePCM "hw:mt8183da7219rt1,5" | ||
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1" | ||
IntrinsicSensitivity "-600" | ||
} | ||
EnableSequence [ | ||
cdev "hw:mt8183da7219rt1" | ||
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" | ||
] | ||
DisableSequence [ | ||
cdev "hw:mt8183da7219rt1" | ||
cset "name='MTKAIF_DMIC' 0" | ||
cset "name='Mt6358 Mic Type Mux' 0" | ||
cset "name='UL3_CH1 ADDA_UL_CH1' 0" | ||
cset "name='UL3_CH2 ADDA_UL_CH2' 0" | ||
] | ||
} |
8 changes: 8 additions & 0 deletions
8
...romebook_kukui/extra-files/usr/share/alsa/ucm2/mt8183_da7219_r/mt8183_da7219_rt1015p.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Syntax 2 | ||
|
||
Comment "Kukui internal card" | ||
|
||
SectionUseCase."HiFi" { | ||
File "HiFi.conf" | ||
Comment "Default" | ||
} |
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
89676f8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!