I recently started using a KVM switch, so that I can share my usb mouse and keyboard between my linux and windows notebooks, when working at my desk. My windows machine handles the switch seamlessly, whereas my ubuntu system takes 5-10 seconds to re-recognize the mouse and keyboard.
Is there some way I can speed this up?