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
libusb0 backend kernel driver detach for macOS with libusb 1.0.25 #374
Comments
Take note macOS users will use libusb-compat-0.1 which is just a wrapper of libusb-1.0. |
We don't restrict kernel detachment on Darwin, even on libusb0: we only check that Lines 648 to 652 in 5d7cb25
What I think will be an issue is our Lines 620 to 646 in 5d7cb25
Can we assume all Darwin users will be running libusb-compat-0.1? Because if that's the case, the required change is trivial ( |
Yes we can safe to assume all Darwin users to use libusb-compat-0.1 now (or even since many years ago). Nathan has been with the libusb project since the 0.1 days. |
One of the major change for the upcoming libusb 1.0.25 release is to add kernel driver detaching for macOS. This change should not affect libusb1 backend of pyusb. However, the current libusb0 has hard coded codes saying the feature is only available for Linux. This may need to be fixed.
libusb/libusb#911
https://github.com/libusb/libusb/blob/master/ChangeLog
2021-05-16: v1.0.25-pre
The text was updated successfully, but these errors were encountered: