version 1.0 without libudev