ucm2: Toradex: apalis-imx8: Set default values for input and output devices
Add EnableSequence/DisableSequence entries for the Mic input device. Align BootSequence with other Toradex NXP module configurations. Remove Lineout from the BootSequence, as the codec Lineout output pin is not connected on the Apalis iMX8. Previously uninitialized configurations were set unpredictably at boot, causing high-noise input/output behavior. Set these configs explicitly to ensure the sound card starts in a known working state. Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/761 Signed-off-by: Leonardo Costa <leonardo.costa@toradex.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
88ed03c411
commit
51f7d780da
2 changed files with 23 additions and 3 deletions
|
|
@ -17,3 +17,21 @@ SectionDevice."Headphones" {
|
|||
PlaybackSwitch "Headphone Switch"
|
||||
}
|
||||
}
|
||||
|
||||
SectionDevice."Mic" {
|
||||
Comment "Microphone"
|
||||
|
||||
EnableSequence [
|
||||
cset "name='Capture Switch' on"
|
||||
]
|
||||
|
||||
DisableSequence [
|
||||
cset "name='Capture Switch' off"
|
||||
]
|
||||
|
||||
Value {
|
||||
CapturePCM "hw:${CardId}"
|
||||
CaptureVolume "Capture Volume"
|
||||
CaptureSwitch "Capture Switch"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,8 +9,10 @@ SectionUseCase."HiFi" {
|
|||
|
||||
BootSequence [
|
||||
cset "name='Headphone Playback Switch' on"
|
||||
cset "name='Headphone Playback Volume' 50%"
|
||||
cset "name='Headphone Playback Volume' 114"
|
||||
|
||||
cset "name='Lineout Playback Switch' on"
|
||||
cset "name='Lineout Playback Volume' 50%"
|
||||
cset "name='PCM Playback Volume' 144"
|
||||
|
||||
cset "name='Capture Switch' on"
|
||||
cset "name='Capture Volume' 12"
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue