CheckingMTDevice

Revision 1 as of 2010-08-16 19:53:10

Clear message

Finding out your multi-touch device ID

Using the lsinput command you can check what input device corresponds to your multi-touch device. lsinput is part of the input-utils package which is not installed by default.

Here is sample output for an Apple Magic Trackpad:

$ sudo lsinput

/dev/input/event7
   bustype : BUS_BLUETOOTH
   vendor  : 0x5ac
   product : 0x30e
   version : 352
   name    : "Apple Wireless Trackpad"
   phys    : "00:0F:3D:3D:7C:5C"
   uniq    : "D8:A2:5E:F6:BE:08"
   bits ev : EV_SYN EV_KEY EV_REL EV_MSC

Testing multi-touch input activity

To test for multi-touch input, you will then need to use mtdev-test which is part of the mtdev-tools package. This package is not installed by default.

Here is an example of testing output with mtdev-test:

$ sudo /dev/input/event7

012a7c6adc9d 00 2 0001 -1
012a7c6adc9d 00 0 0000 0
012a7c6adfc7 00 4 0004 589825
012a7c6adfc7 00 1 0110 1
012a7c6adfc7 00 0 0000 0
012a7c6ae075 00 4 0004 589825
012a7c6ae075 00 1 0110 0
012a7c6ae075 00 0 0000 0
012a7c6ae2f6 00 4 0004 589825
012a7c6ae2f6 00 1 0110 1
012a7c6ae2f6 00 0 0000 0
012a7c6ae388 00 4 0004 589825
012a7c6ae388 00 1 0110 0
012a7c6ae388 00 0 0000 0