Restart USB hubs without restarting the whole computer

Try this (you may need to disable SIP first):

sudo nvram boot-args="usb=0x20"

This will prevent your USB hubs from entering low power mode, which is one possible cause of unreliable reenumeration for noncompliant devices. It’s just a hunch since we haven’t done a deep dive but it’s a good quick first pass. If that doesn’t help, we can also try disabling deep idle:

sudo nvram boot-args="usb=0x60"

Make sure you reboot after running either one.