all: use ${CardId}

pull/1/head
WeirdTreeThing 2023-05-26 09:54:55 -04:00
parent 7a0f779d91
commit 4880d36926
No known key found for this signature in database
GPG Key ID: 1F56A4B52998B851
32 changed files with 109 additions and 110 deletions

View File

@ -15,7 +15,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofnau8825,0" PlaybackPCM "hw:${CardId},0"
DspName "speaker_eq" DspName "speaker_eq"
} }
EnableSequence [ EnableSequence [
@ -31,7 +31,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofnau8825,1" PlaybackPCM "hw:${CardId},1"
JackControl "Headphone Jack" JackControl "Headphone Jack"
DspName "headphone_eq" DspName "headphone_eq"
} }
@ -48,7 +48,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofnau8825,99" CapturePCM "hw:${CardId},99"
CaptureChannels 4 CaptureChannels 4
} }
} }
@ -58,7 +58,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofnau8825,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack" JackControl "Headset Mic Jack"
} }

View File

@ -19,7 +19,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofrt5682,0" PlaybackPCM "hw:${CardId},0"
DspName "speaker_eq" DspName "speaker_eq"
} }
EnableSequence [ EnableSequence [
@ -35,7 +35,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1" PlaybackMixerElem "DAC1"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -56,7 +56,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofrt5682,99" CapturePCM "hw:${CardId},99"
CaptureChannels 4 CaptureChannels 4
} }
} }
@ -66,7 +66,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofrt5682,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack" JackControl "Headset Mic Jack"
} }

View File

@ -20,7 +20,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofrt5682,0" PlaybackPCM "hw:${CardId},0"
} }
EnableSequence [ EnableSequence [
cset "name='Spk Switch' on" cset "name='Spk Switch' on"
@ -35,7 +35,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1" PlaybackMixerElem "DAC1"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -56,7 +56,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofrt5682,99" CapturePCM "hw:${CardId},99"
CaptureChannels 4 CaptureChannels 4
} }
} }
@ -66,7 +66,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofrt5682,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack" JackControl "Headset Mic Jack"
} }

View File

@ -17,7 +17,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofrt5682,0" PlaybackPCM "hw:${CardId},0"
DspName "speaker_eq" DspName "speaker_eq"
} }
EnableSequence [ EnableSequence [
@ -33,7 +33,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1" PlaybackMixerElem "DAC1"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -54,7 +54,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofrt5682,99" CapturePCM "hw:${CardId},99"
CaptureChannels 4 CaptureChannels 4
} }
} }
@ -64,7 +64,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofrt5682,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack" JackControl "Headset Mic Jack"
} }

View File

@ -28,7 +28,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofrt5682,0" PlaybackPCM "hw:${CardId},0"
DspName "speaker_eq" DspName "speaker_eq"
} }
EnableSequence [ EnableSequence [
@ -44,7 +44,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1" PlaybackMixerElem "DAC1"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -69,7 +69,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofrt5682,99" CapturePCM "hw:${CardId},99"
CaptureChannels 4 CaptureChannels 4
} }
} }
@ -79,7 +79,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofrt5682,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack" JackControl "Headset Mic Jack"
} }

View File

@ -33,7 +33,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofbxtda7219max" PlaybackPCM "hw:${CardId},0"
} }
EnableSequence [ EnableSequence [
cset "name='Spk Switch' on" cset "name='Spk Switch' on"
@ -48,7 +48,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofbxtda7219max,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Headphone" PlaybackMixerElem "Headphone"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -67,7 +67,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofbxtda7219max,99" CapturePCM "hw:${CardId},99"
CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1" CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2600" IntrinsicSensitivity "-2600"
} }
@ -78,7 +78,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofbxtda7219max,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack" JackControl "Headset Mic Jack"
} }

View File

@ -31,7 +31,7 @@ SectionVerb {
SectionDevice."Headphone" { SectionDevice."Headphone" {
Comment "Headphone" Comment "Headphone"
Value { Value {
PlaybackPCM "hw:avsda7219,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Headphone" PlaybackMixerElem "Headphone"
JackDev "avs_da7219 Headset Jack" JackDev "avs_da7219 Headset Jack"
JackSwitch "2" JackSwitch "2"
@ -51,7 +51,7 @@ SectionDevice."Headphone" {
SectionDevice."Mic" { SectionDevice."Mic" {
Comment "Mic" Comment "Mic"
Value { Value {
CapturePCM "hw:avsda7219,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackDev "avs_da7219 Headset Jack" JackDev "avs_da7219 Headset Jack"
} }

View File

@ -19,7 +19,7 @@ If.4ch {
Comment "Internal Microphone" Comment "Internal Microphone"
Value { Value {
CapturePCM "hw:avsdmic,2" CapturePCM "hw:${CardId},2"
CaptureChannels 4 CaptureChannels 4
CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1" CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2600" IntrinsicSensitivity "-2600"
@ -42,7 +42,7 @@ If.4ch {
Comment "Internal Microphone" Comment "Internal Microphone"
Value { Value {
CapturePCM "hw:avsdmic,2" CapturePCM "hw:${CardId},2"
CaptureChannels 2 CaptureChannels 2
CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1" CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2600" IntrinsicSensitivity "-2600"

View File

@ -11,7 +11,7 @@ SectionVerb {
SectionDevice."Speaker" { SectionDevice."Speaker" {
Comment "Speaker" Comment "Speaker"
Value { Value {
PlaybackPCM "hw:avsmax98357a,1" PlaybackPCM "hw:${CardId},1"
DspName "speaker_eq" DspName "speaker_eq"
} }
EnableSequence [ EnableSequence [

View File

@ -82,7 +82,7 @@ SectionDevice."Speaker" {
Comment "Speaker" Comment "Speaker"
Value { Value {
PlaybackPCM "hw:avsmax98373,1" PlaybackPCM "hw:${CardId},1"
DspName "speaker_eq" DspName "speaker_eq"
} }
EnableSequence [ EnableSequence [

View File

@ -22,7 +22,7 @@ SectionDevice."Speaker" {
Comment "Speaker" Comment "Speaker"
Value { Value {
PlaybackPCM "hw:avsmax98927,1" PlaybackPCM "hw:${CardId},1"
DspName "speaker_eq" DspName "speaker_eq"
} }
EnableSequence [ EnableSequence [

View File

@ -17,7 +17,7 @@ SectionVerb {
SectionDevice."Headphone" { SectionDevice."Headphone" {
Comment "Headphone" Comment "Headphone"
Value { Value {
PlaybackPCM "hw:avsnau8825,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Headphone" PlaybackMixerElem "Headphone"
JackDev "avs_nau8825 Headset Jack" JackDev "avs_nau8825 Headset Jack"
JackSwitch "2" JackSwitch "2"
@ -33,7 +33,7 @@ SectionDevice."Headphone" {
SectionDevice."Mic" { SectionDevice."Mic" {
Comment "Mic" Comment "Mic"
Value { Value {
CapturePCM "hw:avsnau8825,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackDev "avs_nau8825 Headset Jack" JackDev "avs_nau8825 Headset Jack"
} }

View File

@ -18,7 +18,7 @@ SectionVerb {
SectionDevice."Speaker" { SectionDevice."Speaker" {
Comment "Speaker" Comment "Speaker"
Value { Value {
PlaybackPCM "hw:avsssm4567adi,1" PlaybackPCM "hw:${CardId},1"
DspName "speaker_eq" DspName "speaker_eq"
} }
EnableSequence [ EnableSequence [

View File

@ -11,7 +11,7 @@ SectionVerb {
SectionDevice."HDMI1".0 { SectionDevice."HDMI1".0 {
Comment "HDMI1" Comment "HDMI1"
Value { Value {
PlaybackPCM "hw:hdaudioB0D2,1" PlaybackPCM "hw:${CardId},1"
JackDev "hdaudioB0D2 HDMI/DP,pcm=1" JackDev "hdaudioB0D2 HDMI/DP,pcm=1"
} }
EnableSequence [ EnableSequence [
@ -23,7 +23,7 @@ SectionDevice."HDMI1".0 {
SectionDevice."HDMI2".0 { SectionDevice."HDMI2".0 {
Comment "HDMI2" Comment "HDMI2"
Value { Value {
PlaybackPCM "hw:hdaudioB0D2,2" PlaybackPCM "hw:${CardId},2"
JackDev "hdaudioB0D2 HDMI/DP,pcm=2" JackDev "hdaudioB0D2 HDMI/DP,pcm=2"
} }
EnableSequence [ EnableSequence [
@ -35,7 +35,7 @@ SectionDevice."HDMI2".0 {
SectionDevice."HDMI3".0 { SectionDevice."HDMI3".0 {
Comment "HDMI3" Comment "HDMI3"
Value { Value {
PlaybackPCM "hw:hdaudioB0D2,3" PlaybackPCM "hw:${CardId},3"
JackDev "hdaudioB0D2 HDMI/DP,pcm=3" JackDev "hdaudioB0D2 HDMI/DP,pcm=3"
} }
EnableSequence [ EnableSequence [

View File

@ -49,7 +49,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofrt5682srt101" PlaybackPCM "hw:${CardId},0"
} }
EnableSequence [ EnableSequence [
cset "name='Left Spk Switch' on" cset "name='Left Spk Switch' on"
@ -66,7 +66,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofrt5682srt101" PlaybackPCM "hw:${CardId},0"
PlaybackMixerElem "DAC1" PlaybackMixerElem "DAC1"
JackControl "Headset Jack" JackControl "Headset Jack"
} }
@ -83,7 +83,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofrt5682srt101,1" CapturePCM "hw:${CardId},1"
CaptureChannels 4 CaptureChannels 4
} }
} }
@ -93,7 +93,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofrt5682srt101" CapturePCM "hw:${CardId},0"
JackControl "Headset Jack" JackControl "Headset Jack"
} }
EnableSequence [ EnableSequence [

View File

@ -9,7 +9,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofcmlrt1011rt5,5" PlaybackPCM "hw:${CardId},5"
} }
EnableSequence [ EnableSequence [
cset "name='TL Ext Spk Switch' on" cset "name='TL Ext Spk Switch' on"
@ -31,7 +31,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofcmlrt1011rt5,0" PlaybackPCM "hw:${CardId},0"
PlaybackMixerElem "DAC1" PlaybackMixerElem "DAC1"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -52,7 +52,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofcmlrt1011rt5,1" CapturePCM "hw:${CardId},1"
CaptureChannels 4 CaptureChannels 4
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1" CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2800" IntrinsicSensitivity "-2800"
@ -64,7 +64,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofcmlrt1011rt5,0" CapturePCM "hw:${CardId},0"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack" JackControl "Headset Mic Jack"
} }

View File

@ -74,7 +74,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofcmlda7219max" PlaybackPCM "hw:${CardId},0"
} }
EnableSequence [ EnableSequence [
cset "name='Spk Switch' on" cset "name='Spk Switch' on"
@ -89,7 +89,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofcmlda7219max,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Headphone" PlaybackMixerElem "Headphone"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -108,7 +108,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofcmlda7219max,2" CapturePCM "hw:${CardId},2"
CaptureChannels 4 CaptureChannels 4
} }
Macro.pcm_split.SplitPCMDevice { Macro.pcm_split.SplitPCMDevice {
@ -129,7 +129,7 @@ SectionDevice."Mic 1" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofcmlda7219max,2" CapturePCM "hw:${CardId},2"
CaptureChannels 4 CaptureChannels 4
} }
Macro.pcm_split.SplitPCMDevice { Macro.pcm_split.SplitPCMDevice {
@ -150,7 +150,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofcmlda7219max,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack" JackControl "Headset Mic Jack"
} }

View File

@ -64,7 +64,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofrt5682,5" PlaybackPCM "hw:${CardId},5"
} }
EnableSequence [ EnableSequence [
cset "name='Spk Switch' on" cset "name='Spk Switch' on"
@ -79,7 +79,7 @@ SectionDevice."Headphones" {
Value { Value {
Playback Priority Playback Priority
PlaybackPCM "hw:sofrt5682,0" PlaybackPCM "hw:${CardId},0"
PlaybackMixerElem "DAC1" PlaybackMixerElem "DAC1"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -102,7 +102,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofrt5682,1" CapturePCM "hw:${CardId},1"
CaptureChannels 4 CaptureChannels 4
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1" CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2400" IntrinsicSensitivity "-2400"
@ -125,7 +125,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofrt5682,0" CapturePCM "hw:${CardId},0"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack" JackControl "Headset Mic Jack"
} }

View File

@ -20,7 +20,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofcs42l42" PlaybackPCM "hw:${CardId},0"
} }
EnableSequence [ EnableSequence [
cset "name='Spk Switch' on" cset "name='Spk Switch' on"
@ -35,7 +35,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofcs42l42,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Mixer" PlaybackMixerElem "Mixer"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -54,7 +54,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofcs42l42,99" CapturePCM "hw:${CardId},99"
CaptureChannels 4 CaptureChannels 4
CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1" CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2600" IntrinsicSensitivity "-2600"
@ -66,7 +66,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofcs42l42,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack" JackControl "Headset Mic Jack"
} }

View File

@ -33,7 +33,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofglkda7219max" PlaybackPCM "hw:${CardId},0"
} }
EnableSequence [ EnableSequence [
cset "name='Spk Switch' on" cset "name='Spk Switch' on"
@ -48,7 +48,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofglkda7219max,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Headphone" PlaybackMixerElem "Headphone"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -67,7 +67,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofglkda7219max,99" CapturePCM "hw:${CardId},99"
CaptureChannels 4 CaptureChannels 4
CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1" CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2600" IntrinsicSensitivity "-2600"
@ -79,7 +79,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofglkda7219max,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack" JackControl "Headset Mic Jack"
} }

View File

@ -30,7 +30,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofglkrt5682max" PlaybackPCM "hw:${CardId},0"
} }
EnableSequence [ EnableSequence [
cset "name='Spk Switch' on" cset "name='Spk Switch' on"
@ -45,7 +45,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofglkrt5682max,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1" PlaybackMixerElem "DAC1"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -68,7 +68,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofglkrt5682max,99" CapturePCM "hw:${CardId},99"
CaptureChannels 4 CaptureChannels 4
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1" CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2600" IntrinsicSensitivity "-2600"
@ -80,7 +80,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofglkrt5682max,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack" JackControl "Headset Mic Jack"
} }

View File

@ -19,7 +19,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofcs42l42,0" PlaybackPCM "hw:${CardId},0"
} }
EnableSequence [ EnableSequence [
cset "name='Spk Switch' on" cset "name='Spk Switch' on"
@ -34,7 +34,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofcs42l42,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Mixer" PlaybackMixerElem "Mixer"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -53,7 +53,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofcs42l42,5" CapturePCM "hw:${CardId},5"
CaptureChannels 4 CaptureChannels 4
} }
} }
@ -63,7 +63,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofcs42l42,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackDev "sof-cs42l42 Headset Jack" JackDev "sof-cs42l42 Headset Jack"
} }

View File

@ -33,7 +33,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofda7219max983" PlaybackPCM "hw:${CardId},0"
} }
EnableSequence [ EnableSequence [
cset "name='Spk Switch' on" cset "name='Spk Switch' on"
@ -48,7 +48,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofda7219max983,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "Headphone" PlaybackMixerElem "Headphone"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -67,7 +67,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofda7219max983,5" CapturePCM "hw:${CardId},5"
CaptureChannels 4 CaptureChannels 4
CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1" CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-3100" IntrinsicSensitivity "-3100"
@ -79,7 +79,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofda7219max983,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack" JackControl "Headset Mic Jack"
} }

View File

@ -30,7 +30,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofrt5682,0" PlaybackPCM "hw:${CardId},0"
DspName "speaker_eq" DspName "speaker_eq"
} }
EnableSequence [ EnableSequence [
@ -48,7 +48,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1" PlaybackMixerElem "DAC1"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -71,7 +71,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofrt5682,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackDev "sof-rt5682 Headset Jack" JackDev "sof-rt5682 Headset Jack"
} }
@ -88,7 +88,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofrt5682,5" CapturePCM "hw:${CardId},5"
CaptureChannels 4 CaptureChannels 4
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1" CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-3200" IntrinsicSensitivity "-3200"

View File

@ -29,7 +29,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofrt5682,0" PlaybackPCM "hw:${CardId},0"
DspName "speaker_eq" DspName "speaker_eq"
} }
EnableSequence [ EnableSequence [
@ -47,7 +47,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1" PlaybackMixerElem "DAC1"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -70,7 +70,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofrt5682,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackDev "sof-rt5682 Headset Jack" JackDev "sof-rt5682 Headset Jack"
} }
@ -87,7 +87,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofrt5682,5" CapturePCM "hw:${CardId},5"
CaptureChannels 4 CaptureChannels 4
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1" CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-3100" IntrinsicSensitivity "-3100"

View File

@ -3,7 +3,6 @@ SectionVerb {
FullySpecifiedUCM "1" FullySpecifiedUCM "1"
} }
EnableSequence [ EnableSequence [
cdev "hw:Generic"
cset "name='IEC958 Playback Switch' on" cset "name='IEC958 Playback Switch' on"
cset "name='IEC958 Playback Switch',index=1 on" cset "name='IEC958 Playback Switch',index=1 on"
cset "name='IEC958 Playback Switch',index=2 on" cset "name='IEC958 Playback Switch',index=2 on"
@ -17,7 +16,7 @@ SectionDevice."HDMI1" {
Comment "HDMI1" Comment "HDMI1"
Value { Value {
PlaybackPCM "hw:Generic,3" PlaybackPCM "hw:${CardId},3"
JackDev "HD-Audio Generic HDMI/DP,pcm=3" JackDev "HD-Audio Generic HDMI/DP,pcm=3"
} }
EnableSequence [ EnableSequence [
@ -30,7 +29,7 @@ SectionDevice."HDMI2" {
Comment "HDMI2" Comment "HDMI2"
Value { Value {
PlaybackPCM "hw:Generic,7" PlaybackPCM "hw:${CardId},7"
JackDev "HD-Audio Generic HDMI/DP,pcm=7" JackDev "HD-Audio Generic HDMI/DP,pcm=7"
} }
EnableSequence [ EnableSequence [
@ -43,7 +42,7 @@ SectionDevice."HDMI3" {
Comment "HDMI3" Comment "HDMI3"
Value { Value {
PlaybackPCM "hw:Generic,8" PlaybackPCM "hw:${CardId},8"
JackDev "HD-Audio Generic HDMI/DP,pcm=8" JackDev "HD-Audio Generic HDMI/DP,pcm=8"
} }
EnableSequence [ EnableSequence [
@ -56,7 +55,7 @@ SectionDevice."HDMI4" {
Comment "HDMI4" Comment "HDMI4"
Value { Value {
PlaybackPCM "hw:Generic,9" PlaybackPCM "hw:${CardId},9"
JackDev "HD-Audio Generic HDMI/DP,pcm=9" JackDev "HD-Audio Generic HDMI/DP,pcm=9"
} }
EnableSequence [ EnableSequence [

View File

@ -14,7 +14,7 @@ SectionDevice."HDMI1" {
Comment "HDMI1" Comment "HDMI1"
Value { Value {
PlaybackPCM "hw:HDMI,3" PlaybackPCM "hw:${CardId},3"
JackDev "HDA ATI HDMI HDMI/DP,pcm=3" JackDev "HDA ATI HDMI HDMI/DP,pcm=3"
} }
EnableSequence [ EnableSequence [
@ -27,7 +27,7 @@ SectionDevice."HDMI2" {
Comment "HDMI2" Comment "HDMI2"
Value { Value {
PlaybackPCM "hw:HDMI,7" PlaybackPCM "hw:${CardId},7"
JackDev "HDA ATI HDMI HDMI/DP,pcm=7" JackDev "HDA ATI HDMI HDMI/DP,pcm=7"
} }
EnableSequence [ EnableSequence [

View File

@ -32,7 +32,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:acpd7219m98357,2" PlaybackPCM "hw:${CardId},2"
DspName "speaker_eq" DspName "speaker_eq"
} }
} }
@ -42,7 +42,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:acpd7219m98357,0" PlaybackPCM "hw:${CardId},0"
PlaybackMixerElem "Headphone" PlaybackMixerElem "Headphone"
JackControl "Headset Jack" JackControl "Headset Jack"
} }
@ -59,7 +59,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:acpd7219m98357,4" CapturePCM "hw:${CardId},4"
DspName "dmic_eq" DspName "dmic_eq"
} }
} }
@ -69,7 +69,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:acpd7219m98357,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Jack" JackControl "Headset Jack"
DependentPCM "hw:acpd7219m98357,4" DependentPCM "hw:acpd7219m98357,4"

View File

@ -39,7 +39,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofrt5682" PlaybackPCM "hw:${CardId},0"
EchoReferenceDev "Echo Reference" EchoReferenceDev "Echo Reference"
} }
EnableSequence [ EnableSequence [
@ -61,7 +61,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1" PlaybackMixerElem "DAC1"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -82,7 +82,7 @@ SectionDevice."Echo Reference" {
Comment "Echo Reference" Comment "Echo Reference"
Value { Value {
CapturePCM "hw:sofrt5682,0" CapturePCM "hw:${CardId},0"
} }
} }
@ -91,7 +91,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofrt5682,99" CapturePCM "hw:${CardId},99"
CaptureChannels 4 CaptureChannels 4
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1" CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-3200" IntrinsicSensitivity "-3200"
@ -106,7 +106,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofrt5682,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack" JackControl "Headset Mic Jack"
} }

View File

@ -65,7 +65,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofrt5682,0" PlaybackPCM "hw:${CardId},0"
} }
EnableSequence [ EnableSequence [
cset "name='Spk Switch' on" cset "name='Spk Switch' on"
@ -82,7 +82,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1" PlaybackMixerElem "DAC1"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -106,7 +106,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePrioirty 100 CapturePrioirty 100
CapturePCM "hw:sofrt5682,99" CapturePCM "hw:${CardId},99"
CaptureChannels 4 CaptureChannels 4
} }
Macro.pcm_split.SplitPCMDevice { Macro.pcm_split.SplitPCMDevice {
@ -127,7 +127,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofrt5682,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack" JackControl "Headset Mic Jack"
} }

View File

@ -29,7 +29,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofrt5682" PlaybackPCM "hw:${CardId},0"
DspName "speaker_eq" DspName "speaker_eq"
} }
EnableSequence [ EnableSequence [
@ -47,7 +47,7 @@ SectionDevice."Headphones" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1" PlaybackMixerElem "DAC1"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -71,7 +71,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofrt5682,99" CapturePCM "hw:${CardId},99"
CaptureChannels 4 CaptureChannels 4
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1" CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2600" IntrinsicSensitivity "-2600"
@ -83,7 +83,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofrt5682,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackDev "sof-rt5682 Headset Jack" JackDev "sof-rt5682 Headset Jack"
} }

View File

@ -81,7 +81,7 @@ SectionDevice."Speaker" {
Value { Value {
PlaybackPriority 100 PlaybackPriority 100
PlaybackPCM "hw:sofrt5682" PlaybackPCM "hw:${CardId},0"
} }
EnableSequence [ EnableSequence [
cset "name='Left Spk Switch' on" cset "name='Left Spk Switch' on"
@ -100,7 +100,7 @@ SectionDevice."Headphone" {
Value { Value {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:sofrt5682,1" PlaybackPCM "hw:${CardId},1"
PlaybackMixerElem "DAC1" PlaybackMixerElem "DAC1"
JackControl "Headphone Jack" JackControl "Headphone Jack"
} }
@ -124,7 +124,7 @@ SectionDevice."Mic" {
Value { Value {
CapturePriority 100 CapturePriority 100
CapturePCM "hw:sofrt5682,99" CapturePCM "hw:${CardId},99"
CaptureChannels 4 CaptureChannels 4
#IntrinsicSensitivity "-2500" #IntrinsicSensitivity "-2500"
CaptureMixer "default:${CardId}" CaptureMixer "default:${CardId}"
@ -148,7 +148,7 @@ SectionDevice."Headset" {
Value { Value {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:sofrt5682,1" CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack" JackControl "Headset Mic Jack"
} }