-
Notifications
You must be signed in to change notification settings - Fork 12
Investigate using usbdk on windows #22
Comments
I prototyped this on the |
I didn't know that libusb supported usbdk as a backend, I thought this was going to be a lot more work! From my 10 minutes of research, usbdk should bypass whatever driver windows wants to use for the device but testing is required of course. Worst case we create 2 libusb contexts, set the option on one of them and enumerate both. I should be able to work on this if I ever get probe-rs working with my micro. |
Yeah, that's a reasonable workaround I think. |
I got this working: master...mattico:72d8ac9 Some notes to myself:
|
This was mentioned in #6 but not fixed by #21 so I wanted to open an issue to keep tracking the idea.
Using libusb on windows requires replacing a device's driver with a libusb one, e.g. using Zadig.
https://github.com/daynix/UsbDk could be used instead, which detaches the device from its drivers and Windows' PNP stack at runtime allowing the device to be controlled without needing to replace its driver.
The text was updated successfully, but these errors were encountered: