ENV{PRODUCT} is set only on the /sys/class/input/inputXX node, not on the event node itself. Thus, we never set the properties on the device node itself.
Match on ATTRS{id/vendor} and {id/product} instead, this way we can apply the various ID_INPUT_ tags directly on the node. Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> --- tools/generate-udev-rules.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/generate-udev-rules.c b/tools/generate-udev-rules.c index d717f4b..338ab82 100644 --- a/tools/generate-udev-rules.c +++ b/tools/generate-udev-rules.c @@ -113,7 +113,8 @@ static char * generate_uinput_match (WacomDevice *device, const WacomMatch *matc } matchstr = g_strdup_printf("ENV{DEVPATH}==\"/devices/virtual/*\", " - "ENV{PRODUCT}==\"*/%x/%x/*\", " + "ATTRS{id/vendor}==\"%04x\", " + "ATTRS{id/product}==\"%04x\", " "ENV{UINPUT_DEVICE}=\"1\", " "ENV{UINPUT_SUBSYSTEM}=\"%s\", " "ENV{ID_VENDOR_ID}=\"%04x\", " -- 2.3.5 ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel