From 8eff9cd26aeda7f1a3c3e9b942fa220045f8dcb7 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 3 May 2014 11:04:52 +0000 Subject: [PATCH] [I8042PRT] Apply a workaround by hto to fix mouse / touchpad on some notebooks. CORE-6901 svn path=/trunk/; revision=63126 --- reactos/drivers/input/i8042prt/pnp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reactos/drivers/input/i8042prt/pnp.c b/reactos/drivers/input/i8042prt/pnp.c index 8dd6f1ba642..f1132bab652 100644 --- a/reactos/drivers/input/i8042prt/pnp.c +++ b/reactos/drivers/input/i8042prt/pnp.c @@ -479,7 +479,10 @@ StartProcedure( /* Start the mouse */ Irql = KeAcquireInterruptSpinLock(DeviceExtension->HighestDIRQLInterrupt); - i8042IsrWritePort(DeviceExtension, MOU_CMD_RESET, CTRL_WRITE_MOUSE); + /* HACK: the mouse has already been reset in i8042DetectMouse. This second + reset prevents some touchpads/mice from working (Dell D531, D600). + See CORE-6901 + i8042IsrWritePort(DeviceExtension, MOU_CMD_RESET, CTRL_WRITE_MOUSE); */ KeReleaseInterruptSpinLock(DeviceExtension->HighestDIRQLInterrupt, Irql); }