Skip to content

pyusb isoc transfer under Windows, macOS and Linux #380

@mcuee

Description

@mcuee

So far I have not been able to get pyusb isoc transfer to work under macOS and Windows. On Windows I think libusb-1.0 itself has some issues. So I will test out macOS and Linux first.

I am using Cyusb FX3 known good Firmware isoloop and isosrcsink.
https://github.com/hantianjz/cy_fx3_sdk/tree/master/cyusb_linux_1.0.5/fx3_images

Issues:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/homebrew/lib/python3.9/site-packages/usb/core.py", line 408, in write
    return self.device.write(self, data, timeout)
  File "/opt/homebrew/lib/python3.9/site-packages/usb/core.py", line 979, in write
    return fn(
  File "/opt/homebrew/lib/python3.9/site-packages/usb/backend/libusb1.py", line 874, in iso_write
    return handler.submit(self.ctx)
  File "/opt/homebrew/lib/python3.9/site-packages/usb/backend/libusb1.py", line 680, in submit
    _check(_lib.libusb_submit_transfer(self.transfer))
  File "/opt/homebrew/lib/python3.9/site-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions