3 ms·
> sleep 1 One second latency ... not ideal. Is there any way to sleepwait on a USB config change instead? [EDIT]: this might help: https://stackoverflow.com
by ur-whale 5y ago
> sleep 1
One second latency ... not ideal.
Is there any way to sleepwait on a USB config change instead?
[EDIT]: this might help:
https://stackoverflow.com/questions/469243/how-can-i-listen-for-usb-device-inserted-events-in-linux-in-python https://stackoverflow.com/questions/469243/how-can-i-listen-...