Link changes, update input info from report

This commit is contained in:
Hoang Hong Quan
2024-10-08 16:58:13 +07:00
parent 3a72714cd3
commit 0c4606a9ec
3 changed files with 19 additions and 22 deletions
+2 -3
View File
@@ -2885,10 +2885,9 @@ DefinitionBlock ("", "SSDT", 2, "ZPSS", "SURFACE", 0x00001000)
selected_patches.append("Surface Patch")
else:
if "Intel" in hardware_report.get("CPU").get("Manufacturer"):
for input in hardware_report.get("Input").keys():
if "I2C" in input:
for device_name, device_info in hardware_report.get("Input").items():
if "I2C" in device_info.get("Device Type", "None"):
selected_patches.append("GPI0")
break
if hardware_report.get("Motherboard").get("Chipset") in ("C600/X79", "C610/X99", "Wellsburg"):
selected_patches.append("UNC")