pbatard / libwdi

Windows Driver Installer library for USB devices
GNU General Public License v3.0
1.9k stars 466 forks source link

Regarding libusbk driver on windows 10 arm64 on Raspberry pi 4 #263

Closed Sourab1801 closed 2 years ago

Sourab1801 commented 2 years ago

Hello @pbatard , I am sourabh, actually i am using windows 10 on ARM64 OS on my Raspberry pi 4 ,i want to install libusbk driver on my system and i am trying to install it but gives me the Error: Driver Installation: FAILED (Attempting to use 32 bit installer on 64 bit machine).

Can you tell me what i am doing wrong. Thank you.

pbatard commented 2 years ago

Well, there are 2 issues here:

In short, what you are attempting to do (run Zadig on Windows ARM64 in the hope that you can install the libusbK driver) will not work, because it is missing both a relevant libusbK driver for that platform as well as the ability to perform its installation.

Sourab1801 commented 2 years ago

hii @pbatard , I am really sorry for sending 2 times .

Actually i want to connect my Kinect v2 camera with this driver (libusbk). i tried it on normal windows 10. But now i am working with raspberry pi 4 so i want to connect my kinectv2 with raspberry pi 4 .

Above you told that we can install driver manually. can you please help me in that how can i do this? Thank you.

pbatard commented 2 years ago

Above you told that we can install driver manually.

No. What I told you is that, EVEN IF you had an ARM64 version of the libusbK driver, since libwdi does not support Windows on ARM64, you would still have to install it manually. But I also made it clear that there is NO ARM64 version of the libusbK driver, which means that there is no possibility of installing the driver manually.

I also cannot guide you through an ARM64 driver installation at this stage, even if you have an ARM64 driver, as this is something I have not carried out, and won't have time to carry out for the foreseeable future.

In other words, you won't be able to solve your issue. You need to find a different way to access your Kinect camera on ARM64.

Sourab1801 commented 2 years ago

Thanks for reply.

I have small doubt , is there any possibility with windows 11 Arm 64 bit version.

pbatard commented 2 years ago

is there any possibility with windows 11 Arm 64 bit version

Well, there is always a possibility. But it will require a lot of work, time and money because:

  1. You'll need to invest your own time using the libusbK source to compile an ARM64 version of the driver (libusbK is open source).
  2. You'll need to invest your own money purchasing an EV certificate so that you can sign the driver (because EV certificates are expensive)
  3. You'll need to invest your own time going through the driver signature process with Microsoft, so that Windows 11 will allow its installation.
  4. You'll need to invest your own time researching how to write a .inf file that Windows 11 will accept for your driver installation.

2 & 3 can be skipped if you are happy to run Windows in test mode, but this too is something you will have to research for yourself. 1 & 4 is not something you can skip (and there again, you will have to do your own research on how to accomplish that, because I'm afraid I can't help you).

mcuee commented 1 year ago

Reference here: there will be no libusbK.sys for Windows on ARM/ARM64. Please use WinUSB driver.