Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation on Windows on ARM devices #6

Open
reagag opened this issue Aug 22, 2024 · 7 comments
Open

Installation on Windows on ARM devices #6

reagag opened this issue Aug 22, 2024 · 7 comments

Comments

@reagag
Copy link

reagag commented Aug 22, 2024

Hi!
I've been using your driver on my x86 laptop for around a month and it has been working great.
Recently switched over to one of the newer Snapdragon X ARM laptops and hit a roadblock trying to install the driver.

I'm able to install the imbushuo drivers no problem, but am hitting a roadblock making changes via your .exe .
Getting the error: C:\Windows\System32\DriverStore\FlleRepository\amtptpdevice.inf_amd64_5de6239780ba286e\AmtPtpDevicelJsblJm.dll" doesn't exist.

When I checked the files, I only have a folder called: "C:\Windows\System32\DriverStore\FlleRepository\amtptpdevice.inf_arm64_5de6239780ba286e\AmtPtpDevicelJsblJm.dll"
With the key difference being the actual file being labelled with the arm64, not amd64.

Do you know what to do in this case? Thanks!

@vitoplantamura
Copy link
Owner

vitoplantamura commented Aug 22, 2024 via email

@reagag
Copy link
Author

reagag commented Aug 22, 2024 via email

@vitoplantamura
Copy link
Owner

so the goal is to replace this file:

C:\Windows\System32\DriverStore\FileRepository\amtptpdevice.inf_arm64_5de6239780ba286e\AmtPtpDeviceUsbUm.dll

with the one attached to this message.

If you try to overwrite that file in the Windows Driver Store right away, you should get an error. To enable copying, follow these steps:

  1. Disconnect the MT2 from the USB port.

  2. set the file owner to your user (i.e. the user with whom you are logged in to Windows).

  3. give your user FullControl permission to that file.

  4. try to overwrite the file again.

Let me know,

Thank you, Vito

AmtPtpDeviceUsbUm_ARM64_20240823.zip

@reagag
Copy link
Author

reagag commented Aug 24, 2024

Is the arm driver the one made by imbushuo? I currently have that one installed. Even after replacing it with the build that you provided, the same error still pops up.

C:\Windows\System32\DriverStore\FlleRepository\amtptpdevice.inf_amd64_5de6239780ba286e\AmtPtpDevicelJsblJm.dll" doesn't exist.

I think the issue is that the .exe file is trying to target the amd64 version of the folder, which doesn't exist on ARM computers since they will be installing the driver under a folder titled with arm64 in it.

Screenshot for clarity.
image

Would it be possible rewrite and publish a version of the .exe that targets the arm64 version of the Driver Store folder instead? I'd try to but unfortunately don't know how haha.

@vitoplantamura
Copy link
Owner

vitoplantamura commented Aug 24, 2024 via email

@vivlim
Copy link

vivlim commented Aug 29, 2024

That worked for me on my Surface Pro 11. Everything seems to be working and the trackpad feels fantastic to use. Nice work!

I'll document the steps I took to get it set up since the permissions ui is a bit fiddly.

  1. Download imbusho's driver, specifically the arm64 version on this release
  2. Unzip the contents.
  3. Right click drivers\arm64\AmtPtpDevice.inf and click "Install" (and click through the dialog that pops up)
  4. Go to C:\Windows\System32\DriverStore\FileRepository\amtptpdevice.inf_arm64_fd8449c22cc620c8 in explorer
  5. Right click AmtPtpDeviceUsbUm.dll and click Properties.
  6. Switch to the Security tab. It should look like this:
    image
  7. Click the Advanced button at the bottom
  8. In this dialog, click the 'Change' link near the top
    image
  9. Type in your username and press enter. The 'Advanced Security Settings for AmtPtpDeviceUsbUm.dll' dialog should now list you as the owner, instead of SYSTEM.
  10. Press OK.
  11. Now the 'Edit...' button in the Security tab should look like this. It doesn't have the shield icon, indicating that your user owns the file and can directly change its permissions.
    image
  12. Click "Add", type your username again, and press enter.
  13. Select your user and tick all the boxes in the allow column. It should look like this when you're done:
    image
  14. Click OK twice to close the properties.
  15. Now download and extract the zip vitoplantamura shared earlier in the thread: AmtPtpDeviceUsbUm_ARM64_20240823.zip
  16. Overwrite C:\Windows\System32\DriverStore\FileRepository\amtptpdevice.inf_arm64_fd8449c22cc620c8\AmtPtpDeviceUsbUm.dll with the file from the zip.
  17. Plug in the MT2.
  18. If you don't already have it, download AmtPtpControlPanel.exe and open it.
  19. The options in the control panel should affect the trackpad after clicking apply. I turned on "maximum haptic feedback" which made it very obvious that the control panel is working. (it is very loud!)

@vitoplantamura
Copy link
Owner

vitoplantamura commented Aug 30, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants