Greetings,
I had some success calibrating the screen with the following procedure:
- Run
xinput_calibration -v
- Add the section that xinput_calibration suggests to
/usr/share/X11/xorg.conf.d/99-calibration.conf. Also take note of the coordinates of points 0 (x0, y0) and point 3 (x3, y3) as given by xinput_calibration.
- Now leave as the only option in that section
Option "CalibrationMatrix" "a 0 c 0 e f 0 0 1" where numbers a, c, e and f are calculated as follows
width=1920
height=1200
a = (width * 6 / 8) / (x3 - x0)
c = ((width / 8) - (a * x0)) / width
e = (height * 6 / 8) / (y3 - y0)
f = ((height / 8) - (e * y0)) / height
For example, in my case the result was
Option "CalibrationMatrix" "2.0571 0 0.005 0 -2.7108 0.99247 0 0 1"
That is enough to make the touchscreen work more or less, depending on the accuracy of the input when running xinput_calibration
I hope that it helps!
Greetings,
I had some success calibrating the screen with the following procedure:
xinput_calibration -v/usr/share/X11/xorg.conf.d/99-calibration.conf. Also take note of the coordinates of points 0 (x0, y0) and point 3 (x3, y3) as given by xinput_calibration.Option "CalibrationMatrix" "a 0 c 0 e f 0 0 1"where numbers a, c, e and f are calculated as followswidth=1920height=1200a = (width * 6 / 8) / (x3 - x0)c = ((width / 8) - (a * x0)) / widthe = (height * 6 / 8) / (y3 - y0)f = ((height / 8) - (e * y0)) / heightFor example, in my case the result was
Option "CalibrationMatrix" "2.0571 0 0.005 0 -2.7108 0.99247 0 0 1"That is enough to make the touchscreen work more or less, depending on the accuracy of the input when running
xinput_calibrationI hope that it helps!