Skip to content

Instantly share code, notes, and snippets.

@d-georgiev-91
Created January 5, 2021 21:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d-georgiev-91/8b25532c17c924115093abd74f2b33d5 to your computer and use it in GitHub Desktop.
Save d-georgiev-91/8b25532c17c924115093abd74f2b33d5 to your computer and use it in GitHub Desktop.
:: fix-lenovo-w540-trackpad-buttons.bat
:: Author: d-georgiev-91
:: Version 1.0
:: Descrption: The following script aims to fix Lenovo Thinkpad w540 when the default trackpad is replaced with three buttons trackpad from Lenovo Thinkpad w541. When the UltraNav drivers are installed the three buttons does not work at all, because the install configures the UltraNav for the W540 trackpad. In order to fix that registry should be altered.
@ECHO UltraNav fix initiated...
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SynTP\Parameters /f /v ExtraCapabilities7Add /t REG_DWORD /d 0x00010000
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SynTP\Parameters /f /v ExtraCapabilities7Mask /t REG_DWORD /d 0xffffffff
@ECHO OFF
PAUSE
@The4thHorstman
Copy link

Thank you so much for making this, I can now see the correct touchpad configuration.
I am also a w540 owner who swapped in the touchpad from the w541 however I keep having a problem that I was hoping you might have some insight on.
When I installed the driver gggr07ww.exe (version 19.017.142) and ran your .bat file the touchpad and buttons worked perfectly. However, sometimes after a restart nothing works. Other times, only the touchpad works and the buttons do not.
I set up a group policy editor in Windows 10 to prevent the driver from updating as well.
I am obviously missing something and I would greatly appreciate it you have any insight,
Chris

@d-georgiev-91
Copy link
Author

Thank you so much for making this, I can now see the correct touchpad configuration.
I am also a w540 owner who swapped in the touchpad from the w541 however I keep having a problem that I was hoping you might have some insight on.
When I installed the driver gggr07ww.exe (version 19.017.142) and ran your .bat file the touchpad and buttons worked perfectly. However, sometimes after a restart nothing works. Other times, only the touchpad works and the buttons do not.
I set up a group policy editor in Windows 10 to prevent the driver from updating as well.
I am obviously missing something and I would greatly appreciate it you have any insight,
Chris

@The4thHorstman I think I've used this driver for the touchpad and didn't have any issues so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment