summaryrefslogtreecommitdiff
path: root/synaptics.c
diff options
context:
space:
mode:
Diffstat (limited to 'synaptics.c')
-rw-r--r--synaptics.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/synaptics.c b/synaptics.c
index 73ed7b7..66c8b41 100644
--- a/synaptics.c
+++ b/synaptics.c
@@ -524,6 +524,10 @@ DeviceOn(DeviceIntPtr dev)
local->fd = xf86OpenSerial(local->options);
if (local->fd == -1) {
+ SetDeviceAndProtocol(local);
+ local->fd = xf86OpenSerial(local->options);
+ }
+ if (local->fd == -1) {
xf86Msg(X_WARNING, "%s: cannot open input device\n", local->name);
return !Success;
}