On Tue, Sep 7, 2021 at 5:41 PM fishx2000--- via pyusb-users <pyusb-users@lists.sourceforge.net> wrote: > > Hi.. > > When running on MacOS using pyusb, I failed to read/write HID interface. > > error message is as follows: > 'Access denies(insufficient permissions)' error. > > and libusb provides more information: > libusb: error [darwin_claim_interface] USBInterfaceOpen: another process has > device opened for exclusive access > > after doing some search, it seems there is no way to avoid this issue on > MacOS... > Is there any suggestions about this ? >
Please use HIDAPI and Cython-hidapi. That is the right library and Python binding to use for HID devices (with different transport: USB, Bluetooth, or even I2C, SPI, etc). https://github.com/libusb/libusb/wiki/FAQ#Does_libusb_support_USB_HID_devices -- Xiaofan _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users