python-libusb1 icon indicating copy to clipboard operation
python-libusb1 copied to clipboard

Python ctype-based wrapper around libusb1

Results 19 python-libusb1 issues
Sort by recently updated
recently updated
newest added

Dear vpelletier, Is there any way to force usbDK support? I've seen the pyusb conversation about it [here](https://github.com/pyusb/pyusb/issues/200) However, when I use python-libusb1 to set option to 1: ![image](https://github.com/vpelletier/python-libusb1/assets/57133270/4656c181-715e-4732-93ea-30ec7ce03634) I...

When running code that works fine on CPython under PyPy, I'm getting a `ValueError` raised here: ``` def __registerFinalizer(self, handle, finalizer): if handle in self.__finalizer_dict: finalizer.detach() raise ValueError self.__finalizer_dict[handle] =...

I tried to use this library to access android devices via python script. So far I can: 1. my script works on Ubuntu and Mac 2. on Windows, my driver...

```python import usb1 VENDOR_ID = 0x04b4 PRODUCT_ID = 0x0008 STREAM_IO_INTERFACE = 3 STREAM_IN_ENDPOINT = 0x85 with usb1.USBContext() as context: handle = context.openByVendorIDAndProductID( VENDOR_ID, PRODUCT_ID, skip_on_error=True, ) if handle is None:...

Should fix #103 I am not fully sure, python 3.13 does not have another impact tho

Unit tests are failing with python 3.13 (found on fedora rawhide): ``` ====================================================================== FAIL: testDefaultEnumScope (usb1.testUSB1.USBTransferTests.testDefaultEnumScope) Enum instances must only affect the scope they are created in. ---------------------------------------------------------------------- Traceback (most...

Hello, In release notes it states that latest release v3.1.0 contains libusb in version 1.0.26, which is incorrect, it has 1.0.25. Any chance for update?

Hi, The library raises an error "usb1.USBErrorAccess: LIBUSB_ERROR_ACCESS [-3]" when using "device.claimInterface(0)" function with my macbook. Running the code with sudo still cannot make it work. However, the same code...

While reviewing the Debian package, I noticed an inconsistency in the licensing information. Setup.cfg lists the license as LGPLv2.1+. https://github.com/vpelletier/python-libusb1/blob/master/setup.cfg#L15 But it also lists the license as LGPLv2+. https://github.com/vpelletier/python-libusb1/blob/master/setup.cfg#L8 I...