forked from alsa-project/alsa-ucm-conf
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Lenovo ThinkSmart View (CD-18781) config
Signed-off-by: Felix Kaechele <felix@kaechele.ca>
- Loading branch information
Showing
2 changed files
with
63 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
SectionVerb { | ||
EnableSequence [ | ||
cset "name='QUAT_MI2S_RX Audio Mixer MultiMedia1' 1" | ||
cset "name='MultiMedia2 Mixer TERT_MI2S_TX' 1" | ||
] | ||
DisableSequence [ | ||
cset "name='QUAT_MI2S_RX Audio Mixer MultiMedia1' 0" | ||
cset "name='MultiMedia2 Mixer TERT_MI2S_TX' 0" | ||
] | ||
|
||
Value { | ||
TQ "HiFi" | ||
} | ||
} | ||
|
||
SectionDevice."Speaker" { | ||
Comment "Speaker" | ||
|
||
Value { | ||
PlaybackPCM "hw:${CardId},0" | ||
PlaybackPriority 100 | ||
PlaybackChannels 2 | ||
} | ||
} | ||
|
||
SectionDevice."Microphone" { | ||
Comment "Stereo Microphone" | ||
|
||
EnableSequence [ | ||
cset "name='DEC1 MUX' DMIC1" | ||
cset "name='DEC2 MUX' DMIC2" | ||
cset "name='CIC1 MUX' DMIC" | ||
cset "name='CIC2 MUX' DMIC" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='DEC1 MUX' ZERO" | ||
cset "name='DEC2 MUX' ZERO" | ||
] | ||
|
||
Value { | ||
CapturePCM "hw:${CardId},1" | ||
CaptureChannels 2 | ||
CapturePriority 100 | ||
} | ||
} |
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,17 @@ | ||
Syntax 6 | ||
|
||
SectionUseCase."HiFi" { | ||
File "/Lenovo/cd-18781y/HiFi.conf" | ||
Comment "Play and record HiFi quality Music" | ||
} | ||
|
||
Include.card-init.File "/lib/card-init.conf" | ||
Include.ctl-remap.File "/lib/ctl-remap.conf" | ||
|
||
BootSequence [ | ||
# DMIC1 | ||
cset "name='TX1 Digital Volume' 115" | ||
|
||
# DMIC2 | ||
cset "name='TX2 Digital Volume' 115" | ||
] |