From 8203752e8981bbfb6fe26599e73678bf556ce0d2 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 11 Sep 2017 17:01:25 -0500 Subject: mb/google/stout: Use board-specific PS2M HID/CID to enable multitouch Use board-specific ASL for PS2-attached trackpad rather than the EC/SIO default, so that Windows installs a multitouch-capable driver rather than the standard PS2 mouse driver. TEST=build/boot Win11 on google/stout, verify trackpad is multitouch capable. Change-Id: Id93bbe53f35b1e2c35e36d8175889786b9f5de8b Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/75176 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/mainboard/google/stout/acpi/superio.asl | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/src/mainboard/google/stout/acpi/superio.asl b/src/mainboard/google/stout/acpi/superio.asl index 967da18be7..32ed70a978 100644 --- a/src/mainboard/google/stout/acpi/superio.asl +++ b/src/mainboard/google/stout/acpi/superio.asl @@ -4,7 +4,30 @@ #include "../ec.h" #define SIO_EC_ENABLE_PS2K // Enable PS/2 Keyboard -#define SIO_ENABLE_PS2M // Enable PS/2 Mouse + +/* SIO_EC_ENABLE_PS2M is not defined in favor of custom ASL below */ /* ACPI code for EC SuperIO functions */ #include + +/* Use multitouch trackpad */ +Scope (\_SB.PCI0.LPCB.SIO) +{ + Device (PS2M) + { + Name (_HID, EISAID("LEN2011")) + Name (_CID, EISAID("PNP0F13")) + + Method (_STA, 0, NotSerialized) + { + Return (0x0F) + } + + Name (_CRS, ResourceTemplate() + { + FixedIO (0x60, 0x01) + FixedIO (0x64, 0x01) + IRQNoFlags () {12} + }) + } +} -- cgit v1.2.1