I have reached a point in my life where this script is hella useful.
http://billauer.co.il/blog/2013/02/usb-reset-ehci-uhci-linux/
I'm not sure how I got here, but it's an interesting place to be...
Also, USB gets cranky when you do too much of it
@rey if only I could get something​ to cut the power to my usb devices. Sometimes the mircocontroller crashes on my rudder pedals and even switching on/off the computer doesn't fix it.
@rey I could build something that cuts power if it doesn't detect the USB start of frame signal. hmmm