The hotplug handling is done by a separated thread running the function wait_for_hotplug in devusb.cc. The function will simply loop on doing its check and calling sleep(3). Some things here are quite dubitous (the call to sleep for example). I think it's important to rework this part.
The hotplug handling is done by a separated thread running the function wait_for_hotplug in devusb.cc. The function will simply loop on doing its check and calling sleep(3). Some things here are quite dubitous (the call to sleep for example). I think it's important to rework this part.