projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75fd354
)
path: be more lenient waiting for udev to settle things
author
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 19 May 2015 00:24:36 +0000
(10:24 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 19 May 2015 00:49:49 +0000
(10:49 +1000)
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 <peter.hutterer@who-t.net>
src/path.c
patch
|
blob
|
history
diff --git
a/src/path.c
b/src/path.c
index 832a1fd8c20077a530ed178fab2f28791306b8fb..f9b1a6c2333d8879a428261b0467cdaa0b1a8011 100644
(file)
--- 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 >
1
0) {
+ if (count >
5
0) {
log_bug_libinput(libinput,
"udev device never initialized (%s)\n",
devnode);