Touchscreen Configuration

Before starting, make sure you have enabled touchscreen support in the device tree of the STK

To set up the Touchscreen on STKa335x or STKa6x start with a simple fb_test to make sure the device is working properly.

After startup, run the command

 fb_test 

which launches a variety of tests, consisting of both black and white and coloured images.

Afterwards, calibrate the Touchscreen with

 ts_calibrate 

Sometimes the system does not recognize that a touchscreen device is connected. If so, you will have to export Tslib before starting the calibration. Should this be the case, run the command “export TSLIB_TSDEVICE=/dev/input/event2”, then recalibrate.

To make sure everything is working as intended, run

 ts_test