udev: drop the version field in device groups

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>
(cherry picked from commit 57c5a409d6)
This commit is contained in:
Benjamin Tissoires 2017-10-26 10:17:06 +02:00 committed by Peter Hutterer
parent 7cfb0c7e29
commit 368e6fa8d3

View file

@ -128,11 +128,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);
}