From 26fd33a92aff0096abf56de9a8675d6f0d1a84c1 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Fri, 6 Jun 2025 18:42:35 -0500 Subject: [PATCH] mb/starlabs/starlite_adl/acpi: Fix _GPE callback type The GPIO which is used to determine whether the keyboard is connected or not is dual-edge triggered, not level triggered, so adjust the method name to reflect that. This ensures that the keyboard status is updated on both connection and disconnection. TEST=build/boot starlite_adl, verify tablet mode is correctly detected when the keyboard is detached under both Windows and Linux. Change-Id: I6c539fa264a2910589846e58d851acbe7c00900e Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/87993 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes Reviewed-by: Paul Menzel --- src/mainboard/starlabs/starlite_adl/acpi/mainboard.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/starlabs/starlite_adl/acpi/mainboard.asl b/src/mainboard/starlabs/starlite_adl/acpi/mainboard.asl index de4f6f6807..f9d095244a 100644 --- a/src/mainboard/starlabs/starlite_adl/acpi/mainboard.asl +++ b/src/mainboard/starlabs/starlite_adl/acpi/mainboard.asl @@ -6,7 +6,7 @@ Scope (\_SB) { Scope (_GPE) { - Method (_L0F, 0, NotSerialized) + Method (_E0F, 0, NotSerialized) { \_SB.PCI0.LPCB.EC.VBTN.UPDK() }