added a new way to avoid udev timeouts and cleaned up the insert detection methods.