Hi @Ahmet_Cihan_AKINCA,
I want to save touch-panel calibration permanently. I used weston-touch-calibrator, It calibers touch panel but does not save calibration after weston restart or reboot. I followed your post but no success. My weston.ini, save-calibration.sh as follows.
Weston.ini as follow.
*************************************
[core]
#gbm-format=argb8888
idle-time=0
require-input=false
use-g2d=1
xwayland=true
repaint-window=16
#enable-overlay-view=1
[shell]
size=960x480
panel-position=top
locking=false
allow-zap=true
num-workspaces=1
[libinput]
touchscreen_calibrator=true
calibration_helper=/usr/bin/save-calibration.sh
#calibration_helper=/bin/echo
[output]
name=DSI-1
mode=960x480@24
transform=rotate-90
#[output]
#name=HDMI-A-2
#mode=off
# WIDTHxHEIGHT Resolution size width and height in pixels
# off Disables the output
# preferred Uses the preferred mode
# current Uses the current crt controller mode
#transform=rotate-90
[screen-share]
command=@bindir@/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize
[launcher]
icon=/home/root/.nxp-demo-experience/icon/icon_demo_launcher.png
path=/usr/bin/demoexperience
[launcher]
icon=/usr/share/weston/terminal.png
path=/usr/bin/weston-terminal
***********************************************
save-calibration.sh as follow.
***********************************************
#!/bin/bash
# Store the transformation arguments for the resistive touchscreen as udev rule
echo 'SUBSYSTEM=="input", KERNEL=="event[0-9]*", ENV{ID_INPUT_TOUCHSCREEN}=="1", ENV{LIBINPUT_CALIBRATION_MATRIX}="'$2 $3 $4 $5 $6 $7'"' >> /etc/udev/rules.d/touchscreen.rules
***********************************************
Please provide a lead.
Thanks,
Ajita