Works with the same topology as CRD device. Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/755 Signed-off-by: Konstantin Shabanov <mail@etehtsea.me> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
63 lines
1.9 KiB
Text
63 lines
1.9 KiB
Text
Syntax 4
|
|
|
|
Define.DMI_info "${sys:devices/virtual/dmi/id/board_vendor}-${sys:devices/virtual/dmi/id/product_family}-${sys:devices/virtual/dmi/id/board_name}"
|
|
|
|
# 2x WSA Speakers | 2x Microphones | 3x DP/HDMI | 1x WCD Headset
|
|
If.LENOVOT14s {
|
|
Condition {
|
|
Type RegexMatch
|
|
String "${var:DMI_info}"
|
|
Regex "LENOVO.*(Think(Pad T14s Gen 6.*|Book 16 G7 QOY)|Ideapad.*5.*)|(HP.*Omnibook X.*)|ASUSTeK COMPUTER.*ASUS (Zenbook A14|Vivobook S 15|Vivobook 16|Vivobook 14)|(Microsoft Corporation.*Surface.*Microsoft Surface Laptop, 7th Edition)"
|
|
}
|
|
True.Include.t14s.File "/Qualcomm/x1e80100/LENOVO-T14s.conf"
|
|
}
|
|
|
|
# 4x WSA Speakers | 4x Microphones | 3x DP/HDMI
|
|
If.LENOVOSlim7x {
|
|
Condition {
|
|
Type RegexMatch
|
|
String "${var:DMI_info}"
|
|
Regex "LENOVO.*(Yoga Slim 7|YOGA Air 14s).*"
|
|
}
|
|
True.Include.7x.File "/Qualcomm/x1e80100/LENOVO-Slim-7x.conf"
|
|
}
|
|
|
|
# 2x WSA Speakers | ?x Microphones | 2x DP/HDMI
|
|
If.SURFACEPro12in {
|
|
Condition {
|
|
Type RegexMatch
|
|
String "${var:DMI_info}"
|
|
Regex "Microsoft Corporation.*Surface.*Surface Pro 12in 1st Ed with Snapdragon"
|
|
}
|
|
True.Include.7x.File "/Qualcomm/x1e80100/MICROSOFT-Surface-Pro-12in.conf"
|
|
}
|
|
|
|
# 4x WSA Speakers | 2x Microphones | 2x DP/HDMI | 1x WCD Headset
|
|
If.DellLatitude7455 {
|
|
Condition {
|
|
Type RegexMatch
|
|
String "${var:DMI_info}"
|
|
Regex "Dell Inc.*(Latitude|Inspiron).*"
|
|
}
|
|
True.Include.latitude.File "/Qualcomm/x1e80100/Dell-Latitude-7455.conf"
|
|
}
|
|
|
|
# 4x WSA Speakers | 2x Microphones | 2x DP/HDMI
|
|
If.DellXps9345 {
|
|
Condition {
|
|
Type RegexMatch
|
|
String "${var:DMI_info}-${sys:devices/virtual/dmi/id/product_name}"
|
|
Regex "Dell Inc.*XPS 13 9345.*"
|
|
}
|
|
True.Include.xps.File "/Qualcomm/x1e80100/Dell-Xps-9345.conf"
|
|
}
|
|
|
|
# 4x WSA Speakers | 2x Microphones | 2x DP/HDMI | 1x WCD Headset
|
|
If.HONORMagicBookArt {
|
|
Condition {
|
|
Type RegexMatch
|
|
String "${var:DMI_info}"
|
|
Regex "HONOR.*MagicBook.*MRO-XXX-PCB"
|
|
}
|
|
True.Include.magicbook.File "/Qualcomm/x1e80100/X1E80100-CRD.conf"
|
|
}
|