-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add support for libusb-compat-0.1 #7
Comments
I'm using the package libusb-compat myself, and it simply provides a library called libusb-0.1.so, while libusb itself provides libusb-1.0.so. Is there another platform that creates libusb-compat-0.1.so? |
Fair point. I guess I didn't understand exactly how |
That is exactly what it looks like. Do you have an example where this is not the case? I will separately have a more in-depth look at libusb-compat. |
I am but a newbie to not only Common Lisp but also USB, so maybe this is all wrong... I'm migrating a Python script someone wrote to control some keyboard features and the original code detaches, sends a control message, and re-attaches to kernel. It seems libusb 1.0 exposes a function to enable auto-detaching from the kernel Right now in this package, by targeting 0.1, there's a function to detach from the kernel ( I have no clue how different the behaviour is using reset vs auto-detach vs detach/attach manually, maybe this is all irrelevant 🙃 |
A package called
libusb-compat-0.1
exists to provide a "shim" allowinglibusb-1.0
to fulfil a dependancy onlibusb-0.1
.Maybe change the binding to look for
libusb-compat-0.1
first, and bind to that in preference to the others? This would allow the library to targetlibusb-1.0
on systems lackinglibusb-0.1
.The text was updated successfully, but these errors were encountered: