Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 10 down vote accepted

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

sudo apt-get install input-utils
sudo lsinput
share|improve this answer

I am not an expert on this (just looked a bit when trying to detect if an external mouse is connected, which is quite a treat)... have you tried this?

grep "/dev/input/event" /var/log/Xorg.0.log

there is a lot of info there. And no, I do not think IDs corresponds, I have 11 /dev/input/event# and 13 ID in xinput...

share|improve this answer
Thanks, but Xorg log didn't show all of them. – int_ua Jan 6 '12 at 11:53

And if you don't have Internet connection:
cat /proc/bus/input/devices | grep "Name\|Handlers"


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.