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

PyUSB #4

Open
joeadam opened this issue Nov 15, 2021 · 0 comments
Open

PyUSB #4

joeadam opened this issue Nov 15, 2021 · 0 comments

Comments

@joeadam
Copy link

joeadam commented Nov 15, 2021

Great library!

For me to get it to work I had to change the order of imports in __init (https://github.com/drbild/cp2130/blob/master/cp2130/__init__.py#32) as the usb import did not raise an exception, but it then failed with LIBUSB_ERROR_NOT_SUPPORTED [-12] error. However import pyusb first worked well

I also had to remove the call to is_kernel_driver_active in https://github.com/drbild/cp2130/blob/master/cp2130/usb/pyusb.py as it was marked as NotImplemented.

I have pyusb 1.2.1 installed. (import usb, usn._version.version)

@drbild drbild added bug and removed bug labels May 4, 2022
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