On Mon, Oct 04, 2021 at 04:58:00PM +0000, Sagar Biddanda wrote: > Chromium only shows proper touchscreen behavior when the supplied ID > argument is 7 in the case of the below devices. Note that the xinput IDs are > subject to change during a reboot, so I can't just use 7 all the time. > > I understand I can whitelist manufacturer strings but I would like something > reliable that always works and doesn't depend on manufacturer strings > staying the same.
Not sure I understand what you want to do, but for quite a few years now all input drivers that matter implement the "Device Node" device property. That will contain the evdev node used by the device which you can use to match up with information from udev. Cheers, Peter
