How to distinguish two usb touchscreen devices with same pid/vid in linux I have two same usb touchscreen devices. I want to use them without errors when I start the computer. So I need to use “xinput map-to-output ” to distinguish them. However, They are almost the same. They have the same PID/VID, same vendor, same manufacture and same names.
Xinput map-to-output .XID sometimes changes, and a shell can not be always useful. I don’t know how to solve it when the XIDs exchange. Any suggestions on how to solve this are appreciated.