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

WinUSB drivers #112

Open
zakaria-chahboun opened this issue Jul 4, 2022 · 3 comments
Open

WinUSB drivers #112

zakaria-chahboun opened this issue Jul 4, 2022 · 3 comments

Comments

@zakaria-chahboun
Copy link

Hi!
I want to work with usb devices in Go, On linux i just have to install libsub, But on windows i have to install a lot of building tools, some times it doesn't work properly!
I just want to install WinUSB drivers like https://github.com/node-usb/node-usb did! (it's a corossplatform usb support on javascript node)

can gousb just rely on Zadig drivers without any building steps?

Thanks!

@dolmen
Copy link

dolmen commented Jul 4, 2022

If you are using only HID devices, what about package github.com/karalabe/hid? The original author is not responding, but I maintain a fork where I have fixed all the pending issues. The module embeds libusb and hidapi for cross-platform support without requiring to install drivers. The API is quite limited though.

@zakaria-chahboun
Copy link
Author

@dolmen I actually want to list all USB devices with their interface class such as "printer", After getting what i want, It should return to me information like vid pid path etc ...

I don't face any problem with Linux, But on windows it require a lot of building tools, And it have failed!
is you fork works for my case?
Thanks!

@zakaria-chahboun
Copy link
Author

@dolmen
i have followed these instruction on windows, it's helped me so much!
#100

For that i thank god about Linux package managers, Windows is just messy! 🤣

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

2 participants