CheckingMTDevice

Differences between revisions 2 and 3
Revision 2 as of 2010-08-24 08:20:24
Size: 1313
Editor: adsl-82-148-50-182
Comment:
Revision 3 as of 2010-08-24 22:22:36
Size: 1311
Editor: ua-178
Comment: removed MAC addresses specific to the device
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Line 15: Line 14:
   phys : "00:0F:3D:3D:7C:5C"
   uniq : "D8:A2:5E:F6:BE:08"
   phys : "XX:XX:XX:XX:XX:XX"
   uniq : "XX:XX:XX:XX:XX:XX"

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    : "XX:XX:XX:XX:XX:XX"
   uniq    : "XX:XX:XX:XX:XX:XX"
   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 mtdev-test /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

Multitouch/Testing/CheckingMTDevice (last edited 2012-09-04 16:21:00 by bd3c1d59)