Touchscreen rotation in Wayland Khadas Ubuntu 5.4 fenix 1.4

Does anybody knows how to rotate the touchscreen in Wayland ? (Khadas Ubuntu runs under Wayland graphical server)

I use a vertical Screen I can rotate the display but the touchscreen doesn’t follow

In the past I used xinput and transformation matrix. But this doesn’t work under wayland, and I cannot come back to Xorg-server, the system doesn’t boot If I deactivate Wayland.

thank you very much in advance for your help

Solved !

  1. identify the input :

khadas@Khadas:~$ lsusb

Bus 001 Device 009: ID 222a:0001 ILI Technology Corp. Multi-Touch Screen

then create a udev.rules

khadas@Khadas:~$ sudo nano /etc/udev/rules.d/99-calibration.rules

ATTRS{idVendor}==“222a”, ATTRS{idProduct}==“0001”, ENV{LIBINPUT_CALIBRATION_MATRIX}=“0 -1 1 1 0 0 0 0 1”

reboot, and everything is fine :laughing: :grinning: :sweat: :sweat_smile: :smiley: