using level trigger instead of edge trigger on linux