pyusb isoc transfer under Windows, macOS and Linux
See original GitHub issueSo 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
Issue Analytics
- State:
- Created 2 years ago
- Comments:43 (43 by maintainers)
Top Results From Across the Web
Developers - pyusb isoc transfer under macOS and Linux -
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...
Read more >[pyusb-users] Python and USB HID Device
as the driver under Windows and then use pyusb with it. ... pyusb with no issues. libusb under Linux can detach ... support...
Read more >Installing Python & PyUSB | Hacking the Kinect
The nicest way to do this is to use lsusb (Linux) or system_profiler (Mac) which is a "list usb" program available for Linux...
Read more >Connecting USB devices to WSL - Windows Command Line
From within WSL, run lsusb to list the attached USB devices. You should see the device you just attached and be able to...
Read more >ReSpeaker Mic Array v2.1 - Seeed Wiki
1 supports USB Audio Class 1.0 (UAC 1.0) directly. All major Operating System, including Windows,macOS, and Linux are compatible with UAC 1.0, while...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Some testing results under Windows with libusb-1.0.26rc1. Isoc transfer seems to work now under Windows with libusbk driver. https://github.com/libusb/libusb/issues/1099
@jonasmalacofilho I think the staging tree is good. As for the following, hopefully you can fix it.
@tormodvolden I have add the C example and issue here. Please take a look if the C code is correct or not. Thanks. https://github.com/libusb/libusb/issues/1104#issuecomment-1084586649