diff --git a/ucm2/USB-Audio/USB-Audio.conf b/ucm2/USB-Audio/USB-Audio.conf index a29f33c5..ed5e1ac6 100644 --- a/ucm2/USB-Audio/USB-Audio.conf +++ b/ucm2/USB-Audio/USB-Audio.conf @@ -23,24 +23,21 @@ If.linked { } If.realtek-alc1220-vb { - Condition { Type RegexMatch String "${CardComponents}" # 0414:a002 Gigabyte TRX40 Aorus Pro WiFi - # 0414:a00d Gigabyte TRX40 Aorus Pro WiFi Rev 1.2 # 0b05:1917 ASUS ROG Strix # 0b05:1918 ASUS PRIME TRX40 PRO-S # 0db0:0d64 MSI TRX40 Creator # 0db0:543d MSI TRX40 # 26ce:0a01 Asrock TRX40 Creator - Regex "USB((0414:a00[2d])|(0b05:191[78])|(0db0:(0d64|543d))|(26ce:0a01))" + Regex "USB((0414:a002)|(0b05:191[78])|(0db0:(0d64|543d))|(26ce:0a01))" } True.Define.ProfileName "Realtek/ALC1220-VB-Desktop" } If.realtek-alc4080 { - Condition { Type RegexMatch String "${CardComponents}" @@ -86,6 +83,25 @@ If.realtek-alc4080 { True.Define.ProfileName "Realtek/ALC4080" } +If.realtek-gigabyte-a00d { + Condition { + Type String + Haystack "${CardComponents}" + # 0414:a00d Gigabyte TRX40 Aorus Pro WiFi Rev 1.2 + # 0414:a00d Gigabyte Z590 AORUS ULTRA + Needle "USB0414:a00d" + } + True { + Condition { + Type String + Haystack "${sys:devices/virtual/dmi/id/product_name}" + Needle "Z590" + } + True.Define.ProfileName "Realtek/ALC4080" + False.Define.ProfileName "Realtek/ALC1220-VB-Desktop" + } +} + If.gigabyte-aorus-main { Condition { Type String