InputDevice: show devicename on debug output
authorMirakels <mirakels@openpli.org>
Fri, 4 Dec 2015 11:09:02 +0000 (12:09 +0100)
committerMirakels <mirakels@openpli.org>
Fri, 4 Dec 2015 11:09:02 +0000 (12:09 +0100)
lib/python/Components/InputDevice.py

index 0d6e188..9d511d9 100644 (file)
@@ -40,7 +40,7 @@ class inputDevices:
                                self.name = self.name[:self.name.find("\0")]
                                os_close(self.fd)
                        except (IOError,OSError), err:
-                               print '[iInputDevices] getInputDevices  <ERROR: ioctl(EVIOCGNAME): ' + str(err) + ' >'
+                               print '[iInputDevices] getInputDevices " + evdev + " <ERROR: ioctl(EVIOCGNAME): ' + str(err) + ' >'
                                self.name = None
 
                        if self.name: