From: Timo Kreuzer Date: Sat, 3 May 2014 11:04:52 +0000 (+0000) Subject: [I8042PRT] X-Git-Tag: backups/0.3.17@66124~1410 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=8eff9cd26aeda7f1a3c3e9b942fa220045f8dcb7 [I8042PRT] Apply a workaround by hto to fix mouse / touchpad on some notebooks. CORE-6901 svn path=/trunk/; revision=63126 --- 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); }