TQMa8MxML - YOCTO Linux BSP documentation


Buttons

There are three GPIO buttons on the MBa8Mx. They are bound to the gpio-keys driver, and can be tested with the evtest tool.

GPIO Button Overview

Reference Button
S1 BTN0
S2 BTN1
S3 BTN2

GPIO Button Location

The buttons are accessible via the input device interface. You can identify the correct event node and test the buttons using the evtest tool:

evtest

Select the number corresponding to the “gpio-keys” device.

Alternatively, if the event node is known (e.g. /dev/input/event1), you can run it directly:

evtest /dev/input/event1