From b6eb43b537d36f9651ff943ae8d4fab5595ebcf9 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 19 May 2015 10:24:36 +1000 Subject: [PATCH] path: be more lenient waiting for udev to settle things Running tests in parallel can exceed the current 100ms max timeout for udev to settle things. Since this pretty much only triggers in test cases anyway, let's be more lenient here. Signed-off-by: Peter Hutterer --- src/path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path.c b/src/path.c index 832a1fd8..f9b1a6c2 100644 --- a/src/path.c +++ b/src/path.c @@ -310,7 +310,7 @@ udev_device_from_devnode(struct libinput *libinput, dev = udev_device_new_from_devnum(udev, 'c', st.st_rdev); count++; - if (count > 10) { + if (count > 50) { log_bug_libinput(libinput, "udev device never initialized (%s)\n", devnode);