i have installed an old Lenovo display (1600x900), a Raspberry Pi3 and a 15,4 tochscreen in a picture frame. Everything works but the tochscreen cannot be calibrated. If I enter
Code: Select all
xinput_calibrator -v
Code: Select all
root@DietPi:~# xinput_calibrator -v
DEBUG: XInputExtension version is 2.3
DEBUG: Skipping virtual master devices and devices without axis valuators.
DEBUG: Skipping device 'Virtual core XTEST pointer' id=4, does not report Absolute events.
DEBUG: Skipping device 'HID 046a:0023' id=7, does not report Absolute events.
DEBUG: Skipping device 'HID 046a:0023' id=8, does not report Absolute events.
DEBUG: Selected device: eGalax Inc. USB TouchController
DEBUG: Not usbtouchscreen calibrator: Not a usbtouchscreen device
DEBUG: Not evdev calibrator: Evdev: invalid "Evdev Axis Calibration" property format
Calibrating standard Xorg driver "eGalax Inc. USB TouchController"
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).
DEBUG: Found that 'eGalax Inc. USB TouchController' is a sysfs name.
DEBUG: Adding click 0 (X=343, Y=193)
DEBUG: Adding click 1 (X=1281, Y=187)
DEBUG: Adding click 2 (X=332, Y=699)
DEBUG: Adding click 3 (X=1277, Y=703)
--> Making the calibration permanent <--
DEBUG: Found that 'eGalax Inc. USB TouchController' is a sysfs name.
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 "eGalax Inc. USB TouchController"
Option "MinX" "7397"
Option "MaxX" "58814"
Option "MinY" "7634"
Option "MaxY" "57246"
Option "SwapXY" "0" # unless it was already set to 1
Option "InvertX" "0" # unless it was already set
Option "InvertY" "0" # unless it was already set
EndSection
root@DietPi:~#
To me, it looks like the calibration was successful, but the resolution of the touchscreen doesn't seem to match that of the display.
Translated with www.DeepL.com/Translator