109 lines
1.7 KiB
Plaintext
109 lines
1.7 KiB
Plaintext
# Use case Configuration for WM8903 based ASUS Transformers
|
|
|
|
SectionDevice."Speaker" {
|
|
Comment "Speaker"
|
|
|
|
ConflictingDevice [
|
|
"Headphones"
|
|
]
|
|
|
|
EnableSequence [
|
|
cset "name='Speaker Switch' on"
|
|
cset "name='Int Spk Switch' on"
|
|
]
|
|
|
|
DisableSequence [
|
|
cset "name='Int Spk Switch' off"
|
|
cset "name='Speaker Switch' off"
|
|
]
|
|
|
|
Value {
|
|
PlaybackPCM "hw:${CardId}"
|
|
PlaybackChannels 2
|
|
PlaybackPriority 200
|
|
|
|
PlaybackMixerElem "Speaker"
|
|
}
|
|
}
|
|
|
|
SectionDevice."Headphones" {
|
|
Comment "Headphones"
|
|
|
|
ConflictingDevice [
|
|
"Speaker"
|
|
]
|
|
|
|
EnableSequence [
|
|
cset "name='Headphone Switch' on"
|
|
]
|
|
|
|
DisableSequence [
|
|
cset "name='Headphone Switch' off"
|
|
]
|
|
|
|
Value {
|
|
PlaybackPCM "hw:${CardId}"
|
|
PlaybackChannels 2
|
|
PlaybackPriority 100
|
|
|
|
PlaybackMixerElem "Headphone"
|
|
|
|
JackControl "Headphone Jack"
|
|
}
|
|
}
|
|
|
|
SectionDevice."Mic1" {
|
|
Comment "Internal Microphone"
|
|
|
|
ConflictingDevice [
|
|
"Mic2"
|
|
]
|
|
|
|
EnableSequence [
|
|
cset "name='Int Mic Switch' on"
|
|
cset "name='ADC Input' DMIC"
|
|
]
|
|
|
|
DisableSequence [
|
|
cset "name='Int Mic Switch' off"
|
|
]
|
|
|
|
Value {
|
|
CapturePCM "hw:${CardId}"
|
|
CapturePriority 200
|
|
}
|
|
}
|
|
|
|
SectionDevice."Mic2" {
|
|
Comment "External Microphone"
|
|
|
|
ConflictingDevice [
|
|
"Mic1"
|
|
]
|
|
|
|
EnableSequence [
|
|
cset "name='Mic Jack Switch' on"
|
|
cset "name='ADC Input' ADC"
|
|
|
|
cset "name='Left Capture Mux' Left"
|
|
|
|
cset "name='Left Input Mux' IN1L"
|
|
cset "name='Left Input Inverting Mux' IN2L"
|
|
cset "name='Left Input Mode Mux' Differential Mic"
|
|
|
|
cset "name='Left Input PGA Switch' on"
|
|
]
|
|
|
|
DisableSequence [
|
|
cset "name='Mic Jack Switch' off"
|
|
cset "name='Left Input PGA Switch' off"
|
|
]
|
|
|
|
Value {
|
|
CapturePCM "hw:${CardId}"
|
|
CapturePriority 100
|
|
|
|
JackControl "Mic Jack"
|
|
}
|
|
}
|