Device Interfaces - atmel-maxtouch/mxt-app GitHub Wiki
Finding and Specifying Device
The following section describes the format of the commands and arguments used with mxt-app. Some commands will only work if the device feature is available, for example, on-demand tests may not be available in all products.
By default, mxt-app will scan available devices and connect to the first I2C device it finds at address 0x4A over the sysfs interface. If a different DEVICESTRING is given, the mxt-app will scan for this device at the specific device location defined in the string. See the following commands and options examples below:
-q [--query] : Scan for devices and output a list.
-d [--device] DEVICESTRING : Connect to a particular device specified by DEVICESTRING which is given
in the same format as output by –query.
There are several connection modes supported for hardware access and used along with the DEVICESTRING argument.