udev: drop the version field in device groups
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>
Thu, 26 Oct 2017 08:17:06 +0000 (10:17 +0200)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 26 Oct 2017 08:25:54 +0000 (18:25 +1000)
The version field is a per device information. We have
no guarantees a touchscreen and a tablet device will share
the same version of the firmware (especially if both
firmwares are from different vendors).

Fixes the touch arbitration for the Dell Canvas 27

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
udev/libinput-device-group.c

index a9d69ef..dc0daa7 100644 (file)
@@ -216,11 +216,10 @@ int main(int argc, char **argv)
 #endif
            snprintf(group,
                     sizeof(group),
-                    "%x/%x/%x/%x:%s",
+                    "%x/%x/%x:%s",
                     bustype,
                     vendor_id,
                     product_id,
-                    version,
                     phys);
        }