When select() reports a hidraw fd as readable but os.read() returns empty bytes, that's EOF per POSIX — the device has been removed. Previously this was silently treated as no data, causing the listener to loop indefinitely on a gone device instead of cleaning up. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| common.py | ||
| hidapi_impl.py | ||
| hidconsole.py | ||
| udev_impl.py | ||