diff options
author | Peter Hutterer <peter.hutterer@redhat.com> | 2008-08-26 14:33:40 +0930 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-09-04 18:33:39 +0930 |
commit | 9930477cbeb4acfd070ae70894d13ffabfc347b8 (patch) | |
tree | a9f58016b8ad839c7ea3752981dea561f87c611b /man | |
parent | 4509ec1daf8a03b261c1fa8aa48b5def3f336aed (diff) |
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>
Diffstat (limited to 'man')
-rw-r--r-- | man/evdev.man | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/man/evdev.man b/man/evdev.man index 91894dd..98268c8 100644 --- a/man/evdev.man +++ b/man/evdev.man @@ -141,6 +141,11 @@ emulation mode. Button number is mapped to the negative Y axis motion and button number .I N2 is mapped to the positive Y axis motion. Default: "4 5" +.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" |