Skip to content

Commit

Permalink
ucm2: add acpd7219m98357
Browse files Browse the repository at this point in the history
For "grunt" chromebooks

Closes: #361
Signed-off-by: WeirdTreeThing <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
WeirdTreeThing authored and perexg committed Oct 30, 2023
1 parent b422a8e commit 4e0e342
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 0 deletions.
77 changes: 77 additions & 0 deletions ucm2/AMD/acpd7219m98357/HiFi.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
SectionVerb {
EnableSequence [
cset "name='Playback Digital Volume' 111"
cset "name='Playback Digital Switch' on"
cset "name='Out DACL Mux' DAIL"
cset "name='Out DACR Mux' DAIR"
cset "name='Mixer Out FilterL DACL Switch' on"
cset "name='Mixer Out FilterR DACR Switch' on"
cset "name='ST Mixer Out FilterL Out FilterL Switch' on"
cset "name='ST Mixer Out FilterR Out FilterR Switch' on"
cset "name='Headphone Switch' off"
cset "name='Headset Mic Switch' off"
cset "name='Mic Volume' 5"
cset "name='Capture Digital Volume' 111"
cset "name='Capture Digital Switch' on"
cset "name='Mixin Volume' 10"
cset "name='Mixin Switch' on"
cset "name='Mixer In Mic Switch' on"
cset "name='Out DAIL Mux' ADC"
cset "name='Out DAIR Mux' ADC"
cset "name='Gain Ramp Rate' 1"
]
}

SectionDevice."Speaker" {
Comment "Speaker"

Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId},2"
}
}

SectionDevice."Headphones" {
Comment "Headphones"

Value {
PlaybackPriority 200
PlaybackPCM "hw:${CardId},0"
PlaybackMixerElem "Headphone"
JackControl "Headphone Jack"
}
EnableSequence [
cset "name='Headphone Switch' on"
]
DisableSequence [
cset "name='Headphone Switch' off"
]
}

SectionDevice."Mic" {
Comment "Internal Microphone"

Value {
CapturePriority 100
CapturePCM "hw:${CardId},4"
}
}

SectionDevice."Headset" {
Comment "Headset Microphone"

Value {
CapturePriority 200
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
JackControl "Headset Mic Jack"
}
EnableSequence [
cset "name='Headset Mic Switch' on"
cset "name='Mic Switch' on"
]
DisableSequence [
cset "name='Headset Mic Switch' off"
cset "name='Mic Switch' off"
]
}
6 changes: 6 additions & 0 deletions ucm2/AMD/acpd7219m98357/acpd7219m98357.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Syntax 6

SectionUseCase."HiFi" {
File "HiFi.conf"
Comment "Default"
}
1 change: 1 addition & 0 deletions ucm2/conf.d/acpd7219m98357/acpd7219m98357.conf

0 comments on commit 4e0e342

Please sign in to comment.