add dock and trackball hotplugging support