Ubuntu – How to identify relation between HID /dev/input/* files and real hardware

inputinput-devicestouchscreenxinput

My friend had problems with touchscreen (they are gone after two reboots) after her sister used her laptop and when I tried to help I didn't find a way to identify /dev/input/* files. One way I've found was to grep in $ dmesg (/var/log/kern.log) but it doesn't work for me.

Does any standard method exist?

Best Answer

You may use the tool lsinput that you can get installing the package input-utils.

sudo apt-get install input-utils
sudo lsinput