Autoprobing happens during PreInit already, probing again during DEVICE_OPEN (when the device is enabled) is superfluous. If you need this for hotplugging, use hotplugging instead.
Signed-off-by: Peter Hutterer <[email protected]> --- src/xf86Wacom.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/src/xf86Wacom.c b/src/xf86Wacom.c index a518b62..5165771 100644 --- a/src/xf86Wacom.c +++ b/src/xf86Wacom.c @@ -907,11 +907,6 @@ static int wcmDevOpen(DeviceIntPtr pWcm) /* open file, if not already open */ if (common->fd_refs == 0) { - /* Autoprobe if necessary */ - if ((common->wcmFlags & AUTODEV_FLAG) && - !(common->wcmDevice = wcmEventAutoDevProbe (local))) - xf86Msg(X_ERROR, "%s: Cannot probe device\n", local->name); - if ((wcmOpen (local) != Success) || (local->fd < 0) || !common->wcmDevice) { -- 1.7.0.1 ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
