From d98efeefa8086640ab5fca310de1750962f88756 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Mon, 5 Aug 2024 01:26:26 -0700 Subject: [PATCH] wmi: Add Framework 16 Display Driver Signed-off-by: Daniel Schaefer --- framework_lib/src/wmi.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/framework_lib/src/wmi.rs b/framework_lib/src/wmi.rs index e971016..cb1e758 100644 --- a/framework_lib/src/wmi.rs +++ b/framework_lib/src/wmi.rs @@ -103,10 +103,9 @@ const PNP_DRIVERS: &[&str] = &[ // Not using the one here, because it doesn't show up when the card isn't plugged in // Genesys Logic Framework SD Expansion Card USB\VID_32AC&PID_0009&REV_0003 4.5.10.201 + // Both present in system drivers // MediaTek, Inc. RZ616 Wi-Fi 6E 160MHz PCI\VEN_14C3&DEV_0616&SUBSYS_E61614C3&REV_00 3.3.0.908 - "RZ616 Wi-Fi 6E 160MHz", // Mediatek Inc. RZ616 Bluetooth(R) Adapter USB\VID_0E8D&PID_E616&REV_0100&MI_00 1.1037.0.395 - "RZ616 Bluetooth(R) Adapter", // For both of these WMI shows 31.0.24018.2001 instead of 23.40.18.02. But it's actually the same version // 31.0.22024.17002 instead of 23.20.24.17 @@ -114,6 +113,9 @@ const PNP_DRIVERS: &[&str] = &[ "AMD Radeon(TM) 780M", // Advanced Micro Devices, Inc. AMD Radeon(TM) RX 7700S PCI\VEN_1002&DEV_7480&SUBSYS_0007F111&REV_C1 31.0.24018.2001 "AMD Radeon(TM) RX 7700S", + + // Framework Framework NE160QDM-NZ6 MONITOR\BOE0BC9 1.0.0.0 + "Framework NE160QDM-NZ6", ]; const PRODUCTS: &[&str] = &[ @@ -256,9 +258,9 @@ pub fn print_drivers() { //"IntelPMT", // Intel(R) Platform Monitoring Technology Service // Mediatek PCI LE Extensible Wireless LAN Card Driver mtkwlex 3.3.0.0908 C:\Windows\system32\drivers\mtkwl6ex.sys - // ("mtkwlex", Some("RZ616 WiFi Driver")), + ("mtkwlex", Some("RZ616 WiFi Driver")), // MTK BT Filter Driver MTKBTFilterx64 1.1037.0.395 TK C:\Windows\system32\drivers\mtkbtfilterx.sys - // ("MTKBTFilterx64", Some("RZ616 Bluetooth Driver")), + ("MTKBTFilterx64", Some("RZ616 Bluetooth Driver")), ]); let results: Vec> = wmi_con