Skip to content

Commit

Permalink
wmi: Add Framework 16 Display Driver
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Schaefer <dhs@frame.work>
  • Loading branch information
JohnAZoidberg committed Aug 5, 2024
1 parent ffb73a1 commit d98efee
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions framework_lib/src/wmi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,19 @@ 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
// Advanced Micro Devices, Inc. AMD Radeon(TM) 780M PCI\VEN_1002&DEV_15BF&SUBSYS_0005F111&REV_C1 31.0.24018.2001
"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] = &[
Expand Down Expand Up @@ -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<HashMap<String, Variant>> = wmi_con
Expand Down

0 comments on commit d98efee

Please sign in to comment.