Hi,
I’m developing an application in toradex colibri imx7 board. In that, I’m facing an issue on touchscreen. In that, the orientation was wrongly pointed and I need to do the calibration for it. From my observation, the touch was tilted to 270 degree and flipped with Y-direction. I tried the calibration setup from the below link.
As per the document, I can do the one process at a time either I can tilt to some degrees (90, 180, and 270) or I can do change of direction by (x, y and xy). I can’t understand how to do both in the configuration setup.
I also tried the calibration by using “xinput_calibrator” command. That is also not helping to solve the problem. I captured the statement while executing the command as below.
root@colibri-imx7-emmc:/sys/class/pwm/pwmchip1# xinput_calibrator
Calibrating EVDEV driver for “AD7879 Touchscreen” id=7
** current calibration values (from XInput): min_x=1586, max_x=1591 and min_y=2794, max_y=2726**
INFO: width=640, height=480
Doing dynamic recalibration:
** Swapping X and Y axis…**
** Setting calibration data: 1588, 1588, 2749, 2749**
** → 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” “1588 1588 2749 2749”**
** Option “SwapAxes” “1”**
EndSection
Kindly help me to get the right position for calibration setup.