How to invert a touch react along Y-axis in Torizon Core running in IMX6DL?

Hello world,
I’m running Torizon core in IMX6DL, I have touch screen LCD display which is connected to Generic RGB connector of Colibri Evaluatiion Board v3.2, and i’m running Wayland-base container, so when i try to access GUI interface I noted that y axis is inverted.
I folllowed this link Touch Screen Calibration (Linux) | Toradex Developer Center

and ran commands in Wayland-base container terminal
but it shows error ‘No such file or Directory’
So an anyone tell how to invert this?

Hello @Nolan_Maverick,

Thanks for reaching out!
You are referring to the touchscreen calibration for Linux. Please follow this document for calibration in TorizonCore: Touch Screen Calibration (Torizon) | Toradex Developer Center
Please let us know how it goes.

i’m getting this error
weston-touch-calibrator error: ":0" was not found
when I try to execute

docker run -ti --rm --privileged -v /dev:/dev -v /run/udev/:/run/udev/ -v /etc/udev/rules.d:/etc/udev/rules.d torizon/weston-touch-calibrator:$CT_TAG_WESTON_TOUCH_CALIBRATOR

Hi @Nolan_Maverick ,

The link you are looking for is this one:

There you will see the command for inverting the Y-axis.

If you copy-paste this command it won’t work. You will have to adapt it a bit.

  1. Create a file with the name libinput.rules (any where on your system)
  2. Fill it with the content shown in the command on the article.

For example by running
echo ‘ENV{LIBINPUT_CALIBRATION_MATRIX}=“1 0 0 0 -1 1”’ | sudo tee ~/inverter/libinput.rules

After this you would have to share this directory as a volume to the weston container. In the container this volume will have to be shared to the exact location shown in the original command (so /etc/udev/rules.d/)

Let me know if this helps you.

Best Regards