[I8042PRT]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 3 May 2014 11:04:52 +0000 (11:04 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 3 May 2014 11:04:52 +0000 (11:04 +0000)
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

index 8dd6f1b..f1132ba 100644 (file)
@@ -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);
     }