aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-09-04 18:41:13 +0930
committerPeter Hutterer <peter.hutterer@redhat.com>2008-09-04 20:17:29 +0930
commit32768f8acd49f49a3daa7965fc2672ca13306780 (patch)
tree978846df883db895f8cb7ebbd50c4d524656200c /man
parentevdev 2.0.4 (diff)
downloadxf86-input-evdev-32768f8acd49f49a3daa7965fc2672ca13306780.tar.gz
xf86-input-evdev-32768f8acd49f49a3daa7965fc2672ca13306780.tar.bz2
xf86-input-evdev-32768f8acd49f49a3daa7965fc2672ca13306780.zip
Attempt to re-open devices on read errors.
Coming back from resume may leave us with a file descriptor that can be opened but fails on the first read (ENODEV). In this case, try to open the device until it becomes available or until the predefined count expires. To be safe, we cache the information from the device and compare against it when we re-open. This way we ensure that if the topology changes under us, we don't open a completely different device. If a device has changed, we disable it. Adds option "ReopenAttempts" <int> Conflicts: man/evdev.man src/evdev.c src/evdev.h
Diffstat (limited to 'man')
-rw-r--r--man/evdev.man5
1 files changed, 5 insertions, 0 deletions
diff --git a/man/evdev.man b/man/evdev.man
index f438f78..530f979 100644
--- a/man/evdev.man
+++ b/man/evdev.man
@@ -67,6 +67,11 @@ button event is registered.
Sets the timeout (in milliseconds) that the driver waits before deciding
if two buttons where pressed "simultaneously" when 3 button emulation is
enabled. Default: 50.
+.TP 7
+.BI "Option \*qReopenAttempts\*q \*q" integer \*q
+Number of reopen attempts after a read error occurs on the device (e.g. after
+waking up from suspend). In between each attempt is a 100ms wait. Default: 10.
+
.SH AUTHORS
Kristian Høgsberg.
.SH "SEE ALSO"