}
}
+If.msi-meg-unify {
+ Condition {
+ Type RegexMatch
+ String "${CardComponents}"
+ Regex "USB(0db0:82c7)"
+ }
+ True.Define {
+ HeadphonesName ""
+ SpdifName ""
+ }
+}
+
SectionVerb {
EnableSequence [
disdevall ""
Variant."HiFi 7+1".Value.PlaybackChannels 8
}
-SectionDevice."Headphones" {
- Comment "${var:HeadphonesName}"
+If.headphones {
+ Condition {
+ Type String
+ Empty "${var:HeadphonesName}"
+ }
+ False.SectionDevice."Headphones" {
+ Comment "${var:HeadphonesName}"
- EnableSequence [
- cset "name='${var:HeadphonesMixer} Playback Switch' on"
- ]
+ EnableSequence [
+ cset "name='${var:HeadphonesMixer} Playback Switch' on"
+ ]
- DisableSequence [
- cset "name='${var:HeadphonesMixer} Playback Switch' off"
- ]
+ DisableSequence [
+ cset "name='${var:HeadphonesMixer} Playback Switch' off"
+ ]
- Value {
- PlaybackPriority 300
- PlaybackPCM "${var:HeadphonesPCM}"
- JackControl "${var:HeadphonesJack}"
- PlaybackMixerElem "${var:HeadphonesMixer}"
+ Value {
+ PlaybackPriority 300
+ PlaybackPCM "${var:HeadphonesPCM}"
+ JackControl "${var:HeadphonesJack}"
+ PlaybackMixerElem "${var:HeadphonesMixer}"
+ }
}
}
# 0b05:1a20 ASUS ROG STRIX Z690-I Gaming Wifi
# 0db0:1feb MSI Edge Wifi Z690
# 0db0:419c MSI MPG X570S Carbon Max Wifi
+ # 0db0:82c7 MSI MEG Z690I Unify
# 0db0:a073 MSI MAG X570S Torpedo Max
- Regex "USB((0b05:(1996|1a2[07]))|(0db0:(1feb|419c|a073)))"
+ Regex "USB((0b05:(1996|1a2[07]))|(0db0:(1feb|419c|82c7|a073)))"
}
True.Define.ProfileName "Realtek/ALC4080"
}