imbushuo / mac-precision-touchpad

Windows Precision Touchpad Driver Implementation for Apple MacBook / Magic Trackpad
Other
8.89k stars 562 forks source link

Trackpad doesn't work after sleep #203

Closed vsegdacocacola closed 3 years ago

vsegdacocacola commented 5 years ago

Laptop: Macbook Pro 15 Late 2016 (A1707) OS: Windows 10 Pro 1903 (Build 18362.239) Driver version: 20.52.33.805 (20/07/2019)

After awake from sleep tochpad is irresponsible. Device manager gives an error for Apple SPI Precision Touchpad Device "Windows has stopped this device because it has reported problems. (Code 43)" and device is marked with exclamation mark.

In Windows System logs there is message:

The system has returned from a low power state.
Sleep Time: ‎2019‎-‎07‎-‎23T08:33:53.621268000Z
Wake Time: ‎2019‎-‎07‎-‎23T10:11:24.829314100Z
Wake Source: Device -Apple SPI Device

No any other errors identified related to this device.

Walkarounds:

  1. Touchpad works normally after reboot
  2. Disabling and then enabling Apple SPI Precision Touchpad Device fix the issue. Can be automated using bat script and DevCon,exe from Windowd Driver Kit.
imbushuo commented 3 years ago

Fixed as of today using a workaround. The defect is that you might have to wait for 5 seconds from wakeup to have a fully functional touchpad.

bxff commented 3 years ago

@imbushuo, Don't get me wrong, but does this also fix the problem where some people also have a frozen keyboard, whose power-off key only works?

imbushuo commented 3 years ago

Yes they are the same thing, so this fix should also applicable to that scenario.