Touchscreen is "mirrored": the mouse pointer moves in opposite direction as touch!

Hi @JohnnyPaycheck!

Try running xinput_calibrator in the terminal (via SSH, serial or in the board itself). It will run the same calibration that is run on startup, but it will output something like this on the terminal:

Doing dynamic recalibration:
	Setting calibration data: 151, 4079, 3713, 181
	--> Making the calibration permanent <--
  copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf' (/usr/share/X11/xorg.conf.d/ in some distro's)
Section "InputClass"
	Identifier	"calibration"
	MatchProduct	"AD7879 Touchscreen"
	Option	"Calibration"	"151 4079 3713 181"
	Option	"SwapAxes"	"0"
EndSection

So create the file /usr/share/X11/xorg.conf.d/99-calibration.conf, copy the snippet to it and save. Your changes should be saved after reboot.

Best regards,

Gustavo.