-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
usb.core.USBError: timeout error #40
Comments
@aaltulea
|
I found a solution for me! I got the same error under Fedora 38 but also https://github.com/dirkhillbrecht/led-name-badge-ls32/tree/fixhidapi did not solve my problem. I realized that the script was not using pyhidapi at all.
I fixed the problem by creating a symlink to my shared object file:
After that I could use the script without any problems. Note that it now displays the message "via pyHIDAPI" when running. |
Hi there
Thanks for making this script. It works well. I wanted to provide some clarification for those who encounter the following error when trying to write to the led matrix S1144 on Windows 11 (using libusb, not pyhidapi):
usb.core.USBError: [Errno None] b'libusb0-dll:err [_usb_reap_async] timeout error\n'
I managed to get around this by adding
else
branch at the end of the script, as follows:It seems that calling
dev.reset()
is necessary to avoid device hang-ups, and is essential for the "no charging screen" hack that you mentioned before.This is what I ran:
python.exe "C:\Users\X\Downloads\led_py\led-badge-11x44.py" -s8 -m4 ++++++
python.exe "C:\Users\X\Downloads\led_py\led-badge-11x44.py" -m9 hello
For clock (run in cmd):
Thanks
The text was updated successfully, but these errors were encountered: