40 lines
717 B
Plaintext
40 lines
717 B
Plaintext
# Use case Configuration for sof-soundwire card
|
|
|
|
SectionDevice."Headphones" {
|
|
Comment "Headphones"
|
|
|
|
EnableSequence [
|
|
cset "name='Headphone Switch' on"
|
|
]
|
|
|
|
DisableSequence [
|
|
cset "name='Headphone Switch' off"
|
|
]
|
|
|
|
Value {
|
|
PlaybackPriority 200
|
|
PlaybackPCM "hw:${CardId}"
|
|
JackControl "Headphone Jack"
|
|
}
|
|
}
|
|
|
|
SectionDevice."Headset" {
|
|
Comment "Headset Microphone"
|
|
|
|
EnableSequence [
|
|
cset "name='rt711 ADC 08 Capture Switch' 1"
|
|
]
|
|
|
|
DisableSequence [
|
|
cset "name='rt711 ADC 08 Capture Switch' 0"
|
|
]
|
|
|
|
Value {
|
|
CapturePriority 200
|
|
CapturePCM "hw:${CardId},1"
|
|
JackControl "Headset Mic Jack"
|
|
CaptureSwitch "rt711 ADC 08 Capture Switch"
|
|
CaptureVolume "rt711 ADC 08 Capture Volume"
|
|
}
|
|
}
|