hi spikerguy, at first thank you for your message and for your link
utouch is not available in ubuntu 20.04, so i installed only xinput-calibrator, but the output of this was this:
Calibrating standard Xorg driver “silead_ts”
current calibration values: min_x=0, max_x=65535 and min_y=0, max_y=65535
If these values are estimated wrong, either supply it manually with the --precalib option, or run the ‘get_precalib.sh’ script to automatically get it (through HAL).
→ Making the calibration permanent ←
copy the snippet below into ‘/etc/X11/xorg.conf.d/99-calibration.conf’ (/usr/share/X11/xorg.conf.d/ in some distro’s)
Section “InputClass”
Identifier “calibration”
MatchProduct “silead_ts”
Option “MinX” “32207”
Option “MaxX” “32184”
Option “MinY” “14600”
Option “MaxY” “14454”
Option “SwapXY” “1” # unless it was already set to 1
Option “InvertX” “0” # unless it was already set
Option “InvertY” “0” # unless it was already set
EndSection
i think, that MinX, MaxX, MinY, MaxY have wrong values
i tried instruction from your link or from this link Chuwi Hi10 Air Linux Installation Guide | Page 5 | XDA Forums but unfortunately nothing works (maybe I did it wrong)
I tried this tutorial Ubuntu 18.10 calibration. · Issue #95 · onitake/gsl-firmware · GitHub and make script
#!/bin/bash
set -e
TOUCHSCREEN=‘silead_ts’
XDISPLAY=‘DSI-1’
TRANSFORM=‘libinput Calibration Matrix’
X_SCALE=2.17
Y_SCALE=3.22
X_OFFSET=-0.045
Y_OFFSET=-0.004
if [ -z “$1” ]; then
ROTATION=right
else
ROTATION=$1
fi
xrandr --output $XDISPLAY --rotate $ROTATION
xinput set-prop ‘silead_ts’ --type=float “$TRANSFORM” 0 $Y_SCALE $Y_OFFSET $X_SCALE 0 $X_OFFSET 0 0 1
xinput --map-to-output “$TOUCHSCREEN” “$XDISPLAY”
the touchscreen works better, but it is not exactly calibrated yet
I don’t know how to calculate X_SCALE, Y_SCALE, X_OFFSET and Y_OFFSET for Chuwi Minibook yet
maybe it will help someone or someone tell me how to do it