Hi, Thanks to @gvolt advice, I have successfully connected my 3.5" screen, I’ve detailed what I’ve done here.
A little detail that bother me : I can’t make touch to the borders of the screen (about 4 millimeters). Something like that (the cursor can’t go over the red zone) :
I presume that I have to modify 99-calibration.conf but it doesn’t seems to have any effect.
Do I need to use evdev to calibrate ? How to choose the right values ?
Here my actual configuration :
cat /boot/config.txt
initramfs volumio.initrd
gpu_mem=32
max_usb_current=1
dtparam=audio=on
audio_pwm_mode=2
dtparam=i2c_arm=on
disable_splash=1
hdmi_force_hotplug=1
force_eeprom_read=0
include userconfig.txt
cat /boot/userconfig.txt
dtparam=spi=on
dtoverlay=tft35a:rotate=90
ls -al /etc/X11/xorg.conf.d
95-touch_display-plugin.conf
99-calibration.conf
99-swapxy.conf
99-swapxy.conf.save
cat /etc/X11/xorg.conf.d/99-calibration.conf
Section "InputClass"
Identifier "calibration"
MatchProduct "ADS7846 Touchscreen"
Option "Calibration" "268 3880 227 3936"
Option "SwapAxes" "0"
EndSection
cat /etc/X11/xorg.conf.d/99-swapxy.conf
Section "InputClass"
Identifier "SwapXY"
Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
MatchIsTouchscreen "on"
EndSection
cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf
Section "Device"
Identifier "Allwinner A10/A13/A20 FBDEV"
Driver "fbdev"
Option "fbdev" "/dev/fb1"
Option "SwapbuffersWait" "true"
EndSection