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

libusbk for windows ARM64? #40

Open
Sourab1801 opened this issue Jun 24, 2022 · 11 comments
Open

libusbk for windows ARM64? #40

Sourab1801 opened this issue Jun 24, 2022 · 11 comments

Comments

@Sourab1801
Copy link

Hello @mcuee , when you are going to launch libusbk for windows 10 arm 64 bit?

@TravisRo
Copy link
Collaborator

I don't have any plans for a libusbK ARM driver but we might be able to get the libusbK library working so it could be used with the WinUSB driver (assuming there is one)

@mcuee
Copy link
Owner

mcuee commented Jun 25, 2022

@TravisRo
Yes there are WinUSB driver for Windows on ARM.

Ref: similar request for Zadig.
pbatard/libwdi#155

@Sourab1801
Copy link
Author

Thamks for reply @TravisRo & @mcuee ,
so WinUSB will work behalf of libusbk driver?
Actually i worked on windows 10 with libusbk driver support, Now i am using windows 10 on arm on raspberry pi 4 and i want to use libusbk driver but libusbk is not supported in WINDOWS 10 ARM, So as per your suggestion I have to use Winusb driver behalf of libusbk in windows arm os it will act like libusbk driver ?

@mcuee
Copy link
Owner

mcuee commented Jun 25, 2022

If you use libusbk API or libusb-1.0 API, then both libusbk.sys and WinUSB driver are supported.

Hwoever, currently libusbk API (libusbk.dll) does not support Windows on ARM yet.

If you use libusb-1.0 API (libusb-1.0.dll), it has support for Windows on ARM already. But since Zadig (as well as libusbk-inf-wizard) does not work under Windows on ARM yet, you may need to change your device firmware to add WinUSB Compat ID (Microsoft OS Descriptor) so that WinUSB driver can be automatically installed.

@mcuee
Copy link
Owner

mcuee commented Jun 25, 2022

BTW, this is the same as #35

@mcuee
Copy link
Owner

mcuee commented Feb 8, 2023

Here is the ARM64 VS2019 build for libusbK: the library (DLL and static lib), kBench, kList and dpscat. Hopefully someone can test it to see if it works or not. Only device with WinUSB driver is supported.

Take note libusbK.sys as it is not meant for ARM/ARM64 platform.

libusbK_bin_arm64.zip

To use WinUSB under ARM64, please refer to this libwdi issue.
pbatard/libwdi#155 (comment)

@mcuee
Copy link
Owner

mcuee commented Feb 8, 2023

@Sourab1801

Please give the above libusbK ARM64 binary a try to see if it works or not. Thanks.

@mcuee
Copy link
Owner

mcuee commented Feb 8, 2023

@ArminiusTux

Please give the above libusbK ARM64 binary a try. You can try to run things like dpscat and kList. Thanks.

@mcuee mcuee changed the title libusbk for windows ARM? libusbk for windows ARM64? Sep 24, 2023
@jensenhuangyankai
Copy link

hi @mcuee, I'm a bit new to this project, but I'm interested in testing for ARM64. How can I install the binary you mentioned earlier?

@mcuee
Copy link
Owner

mcuee commented Aug 30, 2024

hi @mcuee, I'm a bit new to this project, but I'm interested in testing for ARM64. How can I install the binary you mentioned earlier?

Please try PR#52.

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

No branches or pull requests

4 participants