open/close /dev/uinput smoothly