On 2023-06-05 10:20 AM, Benjamin Tissoires wrote: > > On Jun 03 2023, Mark Lord wrote: .. >> I wonder if this code could be re-worked to not even do this (waiting) >> from the _probe() function? It ought to be able to throw it on a workqueue >> or something, rather than stalling system boot for a minimum of 5-seconds >> (or much longer as as-is). > > That's an option, but the fact that I can not replicate locally with the > exact same hardware seems to indicate that we would just be papering > over the issue. > > Here, I admittely have the USB receiver running through USB-C ports, and > the communication never fails and I get immediate bring ups of the > devices. Which means I am not hitting that path. > > The hidpp driver should have everything ready to delay the init in a > workqueue, but the impacted users would still get a delay when they plug > in the device (which is better than stalling the boot, I agree). .. Oddly, it's only a boot-time thing. If I unplug the Logitech Unifying receiver, wait a few seconds, and then plug it back in.. my mouse, keyboard, and touchpad all work immediately. Unlike during boot. -- Mark Lord