e_input: fix not to do unnecessary udev-lookups and loops