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