1, Install Xinput
You need to install the LCD driver first beforce this Step,
follow the document <How to install the LCD driver (En).pdf>
cd /boot
cd LCD-show
sudo dpkg -i -B xinput-calibrator_0.7.5-1_armhf.deb
2, execute the command of the touch calibration:
DISPLAY=:0.0 xinput_calibrator
The screen will pop up touch calibration display, and now use the touch pen click successively four calibration points to complete the calibration.
New touch parameters would be shown after the calibration, as follows:
3, modify the touch parameters after calibration and save
sudo nano /etc/X11/xorg.conf.d/99-calibration.conf
As following:
Note: Only the resistive touch screen needs to be calibrated, 7”and 10.1”capacitive touch screen do not need to do calibration as this page.