I experience an issue with a Colibri T20 based Embedded Device with a LVDS touchscreen.
I have generated a core-image-x11 with Yocto and i’ve installed xinput_calibrator in order to have the touchscreen correctly setup.
I followed the article touch-screen-(linux) but after reboot, when I launch our application, the mouse pointer does not follow my finger.
My touchscreen is used in a 480x800 resolution as our application is setup for a portrait application.
xinput_calibrator --device 6 and clicked on the corner widgets with the mouse.
Doing dynamic recalibration: Setting calibration data: -165, 4539, -211, 4333 --> Making the calibration permanent <-- copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf' Section "InputClass" Identifier "calibration" MatchProduct "wm97xx touchscreen" Option "Calibration" "-165 4539 -211 4333" Option "SwapAxes" "0" EndSection
I followed the recommandations so I’ve created the file
/etc/X11/xorg.conf.d/99-calibration.conf and copy/paste the code snippet above.
Launched our application…but it does not work correctly.
Furthermore, when I move my finger horizontally, the cursor moves vertically and vice-versa.
However, SwapAxes = 0…
But even if I modify with
SwapAxes "1" is doesn’t work much better.
It looks like the calibration settings are not used…or mus-used.
Any suggestion ?