How can I check to make sure my Dell XT2/HP tx2/Lenovo T410s MT device is working?

Asked by Duncan McGreggor

You need to make sure you know your input device, first. See above.

First, evtest the dev node. For example, if you've got an MT device at /dev/input/event5, then do the following:

  sudo evtest /dev/input/event5

You should see lots of data printed when interacting with the device.

If, however, you see no data or evtest doesn't support your MT device, you can use lsusb against the usbmon functionality of the debug filesystem instead:

  sudo cat /sys/kernel/debug/usb/usbmon/ \
   `lsusb | \
    grep -i N-Trig | \
    cut -f 2 -d ' ' | \
    sed 's/^0\+//' | sed 's/$/u/'`

What this basically does is tells you (hopefully) that the device is connected and recognized at the raw USB device level. usbmon show you the traffic between the device and the kernel.

Question information

Language:
English Edit question
Status:
Solved
For:
Open Input Framework Edit question
Assignee:
No assignee Edit question
Solved by:
Duncan McGreggor
Solved:
Last query:
Last reply:
Revision history for this message
Duncan McGreggor (oubiwann) said :
#1

Answer is in the description.

Revision history for this message
Duncan McGreggor (oubiwann) said :
#2

Duncan McGreggor suggests this article as an answer to your question:
FAQ #1258: “How can I check to make sure my MT device is working?”.