The touchscreen in the HP Spectre x360 is made by Elantech rather than
Wacom. Adding this devd rule starts webcamd properly for such devices,
enabling their use with the X evdev driver.
Could you dump the device and configuration descriptor of your device?
usbconfig -d X.Y dump_curr_config_desc dump_device_desc
I wonder if the rule can be made more generic?
Else patch looks good.
No, sometimes the device use 0xff for some ID fields which means propritary driver. It might be better to match that than vendor/product.
Sorry, I still don't quite understand: when you say, "it might be better to match that", what "that" are you referring to? To "some ID fields"? I don't see any 0xff values in the usbconfig output that I posted...
I'm not at all familiar with devd, so I don't really know how to make the rule more generic. If you could suggest a different rule then I'd be happy to test it...