From a4eba7f09f1be92e84c8d20ebf07fbdbba56cf8f Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Fri, 17 Feb 2017 13:30:57 -0600 Subject: mb/google/butterfly: Adjust touchpad ACPI for Windows drivers Adjust the touchpad HID/CID/HRV to allow coolstar's crostouchpad Windows drivers to properly attach. Change the interrupt type from EDGE to LEVEL. TEST=build/boot google/butterfly, verify touchpad functional under both Windows 10/11 and Linux, verify Windows overlay driver correctly remaps top row keys. Change-Id: I971795becfb05fb42921ff6f40a20892f4f5654a Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/75179 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/mainboard/google/butterfly/acpi/mainboard.asl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/mainboard/google/butterfly/acpi/mainboard.asl b/src/mainboard/google/butterfly/acpi/mainboard.asl index 3552e29ad8..f96dc11b00 100644 --- a/src/mainboard/google/butterfly/acpi/mainboard.asl +++ b/src/mainboard/google/butterfly/acpi/mainboard.asl @@ -15,11 +15,9 @@ Scope (\_SB) { Device (TPAD) { - Name (_UID, 1) - - // Report as a Sleep Button device so Linux will - // automatically enable it as a wake source - Name(_HID, EisaId("PNP0C0E")) + Name(_HID, "CYSM0000") + Name(_UID, 1) + Name(_HRV, 2) // Trackpad Wake is GPIO11, wake from S3 Name(_PRW, Package() { BOARD_TRACKPAD_WAKE_GPIO, 0x03 }) @@ -27,7 +25,7 @@ Scope (\_SB) { Name(_CRS, ResourceTemplate() { // PIRQG -> GSI22 - Interrupt (ResourceConsumer, EDGE, ActiveLow) + Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, ) { BOARD_TRACKPAD_IRQ } -- cgit v1.2.1