2024-05-15, 07:30 PM
(This post was last modified: 2024-05-16, 02:24 AM by oshinnflyer.)
I have OpenPlotter 4 installed on my RPi5 with a EdaTec screen. Initially, when I tried installing OP4, it wouldn't recognize the screen, but Ray from Edatec support was able to provide a PDF with instructions on how to add support, which helped me get the screen to work with OP4.
After install on initial launch, the orientation was in Portrait mode, but I was able to get that rotated 270º using the Screen Configurator tool via the GUI. However, the touch coordinate transformation matrix didn't update along with it. Since the RP4 is on Wayland, I can't use xinput to re-map it. Thoughts on how to fix this?
Thanks in advance!
~Emma
EDIT (SOLVED):
Ray from Edatec again was an absolute CHAMP...
Here are the instructions:
1. Open the 40-libinput.conf configuration file
2. Modify the touchscreen section and add the following information, depending on your desired orientation (operating clockwise):
90º rotation:
180º rotation:
270º rotation:
3. Save the file, reboot, and voila!
After install on initial launch, the orientation was in Portrait mode, but I was able to get that rotated 270º using the Screen Configurator tool via the GUI. However, the touch coordinate transformation matrix didn't update along with it. Since the RP4 is on Wayland, I can't use xinput to re-map it. Thoughts on how to fix this?
Thanks in advance!
~Emma
EDIT (SOLVED):
Ray from Edatec again was an absolute CHAMP...
Here are the instructions:
1. Open the 40-libinput.conf configuration file
Code:
sudo nano /usr/share/X11/xorg.conf.d/40-libinput.conf
2. Modify the touchscreen section and add the following information, depending on your desired orientation (operating clockwise):
90º rotation:
Code:
Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"
180º rotation:
Code:
Option "CalibrationMatrix" "-1 0 1 0 -1 1 0 0 1"
270º rotation:
Code:
Option "CalibrationMatrix" "0 -1 1 1 0 0 0 0 1"
3. Save the file, reboot, and voila!