-
Notifications
You must be signed in to change notification settings - Fork 9
Issue installing driver error 10 #19
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
Comments
hi,
try installing the self-signed driver:
#13 (comment)
Vito
|
I have the same issue on an ARM Surface Laptop 7. After the error occurs, the device shows with an exclamation mark in Device Manager, and gestures don't work. Your self-signed driver can't easily be installed, either, as I get an error that the certificate chain could not be validated (even after installing the cert in I'm pretty sure I've tried all possible orders / combinations, while making sure that the drivers is cleaned up in between attempts via forced uninstall. I also have an AMD64 based machine, where everything worked perfectly on the first try, so I'm pretty sure the ARM drivers just don't work. Can I help you in any way to debug this and get it working? |
hi, can you try to open Vito |
Here you go, I hope this helps: setupapi.dev.log I'm not 100% sure what stage this is, but I think it was my last installation attempt before giving up. If you need more info or a clean attempt from the start, please let me know. |
unfortunately the log you attached refers to a successful attempt, probably the installation of the original imbushuo driver. I am interested in seeing everything that is logged when trying to install my self-signed driver. Could you clean everything with Also, as a further test I would ask you to import the certificate also in the Trusted Publishers, in addition to the Trusted Root Certification Authorities (where it should already be present). Thank you, Vito |
Thanks, I've now done the following:
The result is that the device is shown with a warning, and shows error 10. Gestures don't work, and the control panel from your source has no effect (and shows an error when trying to install your DLL, which as I understand is expected, as the self-signed driver installs itself directly). I've attached the full |
Thank you for your detailed reporting. I realize only now that we were referring to different procedures 😀 Thanks for your patience. To install the self signed driver (in order to generate useful information in
Thank you again for your patience, Vito |
@vitoplantamura no worries, and thanks for your help, I appreciate it! 🙂 The steps you describe are exactly what I did in my previous post, and what the output log refers to. I saw now that I didn't describe well what I did in my third step. I first installed the certificate and then the driver, and still got an error. |
ah ok! 😀 Googling for the error message in your VirtualDrivers/Virtual-Display-Driver#197 In this project, the installation procedure is the same as our self signed driver. Unfortunately I think there is little we can do: they write: "Custom root certs no longer are checked in windows arm64". I'll do some more research: if I find anything else relevant I'll let you know in this issue. Thank you, Vito |
@vitoplantamura good find, thanks! Do you think the "error 10" is related to the driver signing at all? I'm asking because I was able to install the unsigned driver by disabling enforced driver signing in advanced startup options, but that didn't solve this error. |
good question: since DSE is disabled, the problem should be elsewhere.
To verify this hypothesis, just see if the driver DLL is loaded: with DSE
disabled, plug in the MT2 and with Resource Monitor look for
AmtPtpDeviceUsbUm.dll. If the DLL is loaded, the problem is in the code.
Link (second answer):
https://superuser.com/questions/117902/find-out-which-process-is-locking-a-file-or-folder-in-windows
Thank you, Vito
|
Thanks, I've tried that now as follows:
It doesn't look like it's being loaded Edit: I repeated the procedure with the regular driver (this one), and got the same result. As I mentioned before, it's possible to install it and select it for the MT2, but it just doesn't work on my ARM machine. Edit 2: what may be even more interesting is that the imbushuo driver actually did work for the Lightning-port MT2 via Bluetooth on this machine, which I was able to test briefly before I got the USB-C version myself. Edit 3: I connected the Lightning port version again, and it worked immediately out of the box. Some screenshots: What's interesting is that even after setting the correct drivers, the Lightning-port one is identified as a USB device (path Edit 4: I got it working, and it was a very simple mistake. I had changed the driver in Device Manager before installing your control panel driver, that's what causes the error. Sorry for taking your time with this, and thanks a lot for your help! |
It was not a waste of time, as we discovered the limits of self-signing on Windows on ARM. A question: so on your ARM Surface Laptop 7 with a USB-C Magic Trackpad, my Control Panel now works? Can you for example change the haptic feedback options? Thank you, Vito |
Glad to hear there was some insight to be gained :) Yes, I can make changes on the ARM Laptop with the USB C Trackpad, and they are applied (I disabled the "ignore input from the finger used to click the force touch button" option, for example). Let me know if I can assist you with anything else! |
I originally found this https://github.com/maashrafh/MagicTrackpad2ForWindows which appears to be the same exact project as this. The only difference is that one has a side note at the bottom for updating the drivers manually in device manager since just clicking install doesnt fix the trackpad for usb-c. However when I try to do that I get the windows error 10 that says this
Any idea on how to fix this issue?
The text was updated successfully, but these errors were encountered: