I am seeing the following message in the Linux kernel log:
usb usb1-port5: disabled by hub (EMI?), re-enabling...
After that USB devices are disconnected. In some cases they reconnect immediately, in other cases they don't. In the latter cases, I also see:
usb usb1-port5: Cannot enable. Maybe the USB cable is bad?
What causes these issues and how to avoid the bad effects?
In this particular case, a wireless USB stick is connected directly to a USB port. The issue does not correlate to a particular time of day. Using a different USB port makes no difference. Using a different wireless USB stick makes no difference. Using a different mainboard makes a difference. Disconnecting other USB devices makes no difference.
Even though presenting details here, answer can and should try to cover more settings to be useful to others.