i tried this like quashaza wrote with a 3.5 kuman - GPIO-Display and had to change it a bit.
so i will write it down for others and me for later use:
first get ssh to work (volumio.local/dev/)
than connected to ssh (pw and user: volumio) do the following:
sudo apt-get update
than get the lcd-files:
git clone https://github.com/goodtft/LCD-show.git
cd LCD-show
sudo mkdir /etc/X11/xorg.conf.d
sudo mkdir /share/etc/X11/xorg.conf.d
sudo cp ./usr/tft35a-overlay.dtb /boot/overlays/
sudo cp ./usr/tft35a-overlay.dtb /boot/overlays/tft35a.dtbo
sudo cp -rf ./usr/99-calibration.conf-35 /etc/X11/xorg.conf.d/99-calibration.conf
add following to /boot/config.cfg
dtparam=spi=on
dtoverlay=tft35a
then execute
sudo dpkg --configure -a
sudo apt install keyboard-configuration
now restart (sudo reboot)
and install the Touch Display Plugin via the webbrowser-interface (volumio.local)
activate the plugin
connect again to volumio via ssh, then
create a file called “99-fbturbo.conf”
sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf
and fill it with the following lines:
[code] Section “Device”
Identifier “Allwinner A10/A13 FBDEV”
Driver “fbturbo”
Option “fbdev” “/dev/fb1”
Option "SwapbuffersWait" "true"
EndSection[/code]
save this and reboot once more again
– the display should work now with touchscreen, but the x-axis are inverted –
change the following line in the /boot/config.txt
dtoverlay=tft35a
to
dtoverlay=tft35a, cs = 1, penirq = 25, penirq_pull = 2, speed = 50000, keep_vref_on = 0, swapxy = 0, pmax = 255, xohms = 150, xmin = 0, xmax = 65535, ymin = 0, ymax = 65535
if it doesnt work now, after a restart you can get your own xmin/max and ymin/max doing the following:
apt-get purge xserver-xorg-input-all xserver-xorg-input-libinput
apt-get install xserver-xorg-input-evdev
sudo apt-get install xinput-calibrator
this resets the xserver-config and installs the needed tool xinput-calibrator
starting this tool with following line:
sudo DISPLAY=:0 xinput_calibrator
this will result in a message like this:
Calibrating EVDEV driver for "ADS7846 Touchscreen" id=6
current calibration values (from XInput): min_x=3936, max_x=227 and min_y=268, max_y=3880
the min and max settings go to the config.txt
and now it should work properly!