@@ -159,6 +159,8 @@ QInputDevice *QInputDeviceManagerPrivate::addDevice(struct udev_device *udev)
160 eventPath = inputDevice->devicePath();
160 eventPath = inputDevice->devicePath();
162+ qDebug() << "Input device added:" << inputDevice->name() << inputDevice->devicePath() << inputDevice->type();
162 fd = open(eventPath.toLatin1(), O_RDONLY|O_NONBLOCK);
164 fd = open(eventPath.toLatin1(), O_RDONLY|O_NONBLOCK);
163 if (fd == -1) {
165 if (fd == -1) {
164 return inputDevice;
166 return inputDevice;
@@ -193,8 +195,6 @@ QInputDevice *QInputDeviceManagerPrivate::addDevice(struct udev_device *udev)
196− qDebug() << "Input device added:" << inputDevice->name() << inputDevice->devicePath() << inputDevice->type();
198 return inputDevice;
198 return inputDevice;