xf86-input-evdev: Changes to 'evdev-2.0-branch'

Peter Hutterer whot at kemper.freedesktop.org
Mon Sep 8 23:59:28 PDT 2008


 man/evdev.man |    5 +
 src/evdev.c   |  268 +++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 src/evdev.h   |   16 +++
 3 files changed, 268 insertions(+), 21 deletions(-)

New commits:
commit 32768f8acd49f49a3daa7965fc2672ca13306780
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Thu Sep 4 18:41:13 2008 +0930

    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



More information about the xorg-commit mailing list