From b19514e64abe1161cc9328efb99f7943413dcac0 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Mon, 5 Aug 2024 20:42:33 +0700 Subject: [PATCH] Only disable unsupported storage --- Scripts/acpi_guru.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/acpi_guru.py b/Scripts/acpi_guru.py index d5f4cfc..75d3100 100644 --- a/Scripts/acpi_guru.py +++ b/Scripts/acpi_guru.py @@ -816,7 +816,7 @@ DefinitionBlock ("", "SSDT", 2, "ZPSS", "UsbReset", 0x00001000) def disable_unsupported_device(self, unsupported_devices): for device_name, device_props in unsupported_devices.items(): - if device_props.get("Bus Type").startswith("USB"): + if not "Storage" in device_name: continue comment = "Disable {}".format(device_name.split(": ")[-1])