Hi,
I have Volumio installed on a Pi Zero 2 with a 4.3” resistive touch screen with HDMI input and USB controller. Till recently everything was fine, but suddenly the cursor on the screen has started to behave erratically, as if the x and y axes are swapped. (see here Watch Pi Display | Streamable )
I removed the screen to a PC to make a cross check and the behavior was as on Pi, but after I made a calibration procedure it was fine, so I assumed it was not a hardware problem.
I installed the screen again on the PI Zero and follow the procedure Touch Screen calibration · Issue #409 · volumio/volumio-plugins · GitHub to do the calibration, but although the command was executed, the display was remaining to the default Volumio one without the calibration crosshair.
The Xinput calibrator return on the terminal the following result:
volumio@volumio:~$ DISPLAY=:0.0 xinput_calibrator
Warning: multiple calibratable devices found, calibrating last one (eGalax Inc. USB TouchController)
use --device to select another one.
Calibrating EVDEV driver for “eGalax Inc. USB TouchController” id=9
current calibration values (from XInput): min_x=0, max_x=4095 and min_y=0, max_y=4095
So, I removed again the screen to another Pi running Trixie, made the calibration successfully and passed the calibration values to the 99-calibration.conf file on Volumio Pi. Finaly, I start Volumio and find that after all that effort the problem still remains and the calibration has no any effect on the touch screen.
Did I something wrong? Is there any way to fix the problem?
Here is some information about my system.
SBC : Raspberry Pi Zero 2 w, Touch Screen: 480x272 resistive touch display
OS: Volumio 3.912, Touch Display Plugin: version 3.5.1
userconfig.txt file text:
dtoverlay=vc4-kms-v3d-pizero
max_usb_current=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 480 272 60 6 0 0 0
hdmi_drive=1
dtoverlay=gpio-poweroff,gpiopin=22
dtoverlay=gpio-shutdown,gpio_pin=3
xorg.conf.d files:
volumio@volumio:/etc/X11/xorg.conf.d$ ls -la
total 6
drwxr-xr-x 2 root root 1024 Mar 12 12:07 .
drwxr-xr-x 1 root root 1024 Mar 12 10:45 …
-rw-rw-rw- 1 root root 300 Mar 12 10:43 95-touch_display-plugin.conf
-rw-r–r-- 1 root root 428 Mar 12 12:07 99-calibration.conf
-rw-rw-rw- 1 root root 132 Mar 12 10:43 99-vc4.conf
99-calibration.conf file data:
Section “InputClass”
Identifier “calibration”
MatchProduct “eGalax Inc. USB TouchController”
MatchIsTouchscreen “on”
Driver “evdev”
Option “MinX” “25907”
Option “MaxX” “26112”
Option “MinY” “40101”
Option “MaxY” “39802”
Option “SwapXY” “1”
Option “InvertX” “0”
Option “InvertY” “0”
EndSection