Volumio with 3.5" TFT Touch Screen (GPIO) RPi 3B+

This indicates the Touch Display plugin has not been installed correctly. This can happen when the download of software packages (which happens in the background during plugin installation) fails.

I suggest to uninstall the plugin and re-install it.

For your Kuman screen the tft35a-overlay should be correct.

1 Like

It appears the displays running with the tft35a-overlay are using framebuffer 1. I edited my post accordingly with an additional step to change fb0 to fb1 in “/usr/share/X11/xorg.conf.d/99-fbturbo.conf”.

Hi there, hope that my (little) experience here can help the ones that have got the Waveshare 640x480 3.5inch IPS Display capacitive touchscreeen.
This one:

Here is the log, has been pretty easy with the help of gVolt https://community.volumio.com/t/volumio-with-3-5-tft-touch-screen-gpio-rpi-3b/11265/165 and the official Waveshare instructions (https://www.waveshare.com/w/upload/1/1f/Working_with_Volumio.pdf).

                   ___
                  /\_ \                        __
     __  __    ___\//\ \    __  __    ___ ___ /\_\    ___
    /\ \/\ \  / __`\\ \ \  /\ \/\ \ /' __` __`\/\ \  / __`\
    \ \ \_/ |/\ \L\ \\_\ \_\ \ \_\ \/\ \/\ \/\ \ \ \/\ \L\ \
     \ \___/ \ \____//\____\\ \____/\ \_\ \_\ \_\ \_\ \____/
      \/__/   \/___/ \/____/ \/___/  \/_/\/_/\/_/\/_/\/___/

         Free Audiophile Linux Music Player - Version 2.0


volumio@volumiotouch2:~$ sudo nano /boot/config.txt
(I’ve added the following, as per Waveshare instructions)

gpio=0-9=a2
gpio=12-17=a2
gpio=20-25=a2
dtoverlay=dpi18
enable_dpi_lcd=1
display_default_lcd=1
extra_transpose_buffer=2
dpi_group=2
dpi_mode=87
dpi_output_format=0x6f006
hdmi_timings=640 0 20 10 10 480 0 10 5 5 0 0 0 60 0 60000000 1
dtoverlay=waveshare-35dpi-3b-4b
dtoverlay=waveshare-35dpi-3b
dtoverlay=waveshare-35dpi-4b

[sudo] password for volumio:
volumio@volumiotouch2:~$ wget https://www.waveshare.com/w/upload/c/c7/3.5DPI_DTBO.zip
2021-10-24 08:59:57 (5.50 MB/s) - ‘3.5DPI_DTBO.zip’ saved [1815/1815]

volumio@volumiotouch2:~$ sudo apt-get update

volumio@volumiotouch2:~$ sudo apt-get install unzip

Setting up unzip (6.0-16+deb8u3) …

volumio@volumiotouch2:~$ unzip 3.5DPI_DTBO.zip
Archive: 3.5DPI_DTBO.zip
inflating: waveshare-35dpi-3b-4b.dtbo
inflating: waveshare-35dpi-3b.dtbo
inflating: waveshare-35dpi-4b.dtbo

volumio@volumiotouch2:~$ sudo cp waveshare-35dpi-3b.dtbo /boot/overlays/waveshare-35dpi-3b.dtbo
volumio@volumiotouch2:~$ sudo cp waveshare-35dpi-3b-4b.dtbo /boot/overlays/waveshare-35dpi-3b-4b.dtbo
volumio@volumiotouch2:~$ sudo cp waveshare-35dpi-4b.dtbo /boot/overlays/waveshare-35dpi-4b.dtbo

volumio@volumiotouch2:~$ sudo nano /boot/userconfig.txt
(I’ve added the following, as per gVoltinstructions)

dtparam=spi=on
dtoverlay=tft35a

volumio@volumiotouch2:~$ sudo reboot

Then I’ve installed & activated the plugin via web GUI.
Worked right away

1 Like

Thank you for the report. :slight_smile:

Two remarks:

  1. These lines would not be necessary IMHO:

The options above are meant for an SPI display while you have a DPI display.

  1. You might try moving the lines you added to “/boot/config.txt” to “/boot/userconfig.txt” and check if they still work. Using “userconfig.txt” has the advantage that it survives Volumio updates.

@moderators Since this thread is about SPI type displays maybe move gattoner’s and my post to a new thread with the title “Volumio with Waveshare 3.5inch DPI LCD”.

2 Likes

HEllo Guys.

I’m trying to use this 3.2’’ TFT screen: 3.2inch RPi Display - LCD wiki

The screen itself is working fine, however, i don’t have any response when i touch the touchscreen.
I have also tried “evtest” without any success.

FYI, here is my config:

volumio@chaine:~$ 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

include userconfig.txt

#### Volumio i2s setting below: do not alter ####
dtoverlay=hifiberry-dac
volumio@chaine:~$ cat /boot/userconfig.txt
# Add your custom config.txt options to this file, which will be preserved during updates
#hdmi_force_hotplug=1
dtparam=i2c_arm=on
dtparam=spi=on
#enable_uart=1
dtoverlay=tft9341:rotate=270
volumio@chaine:~$ ls -al /boot/overlays
total 549
drwxrwxrwx 2 root root  16896 Nov 28 12:02 .
drwxrwxrwx 5 root root   4096 Jan  1  1970 ..
-rw-rw-rw- 1 root root   4096 Nov 28 13:14 ._README
-rw-rw-rw- 1 root root 117211 Oct  6 12:41 README
-rw-rw-rw- 1 root root    569 Oct  6 12:41 act-led.dtbo
-rw-rw-rw- 1 root root   1027 Oct  6 12:41 adau1977-adc.dtbo
-rw-rw-rw- 1 root root   1587 Oct  6 12:41 adau7002-simple.dtbo
-rw-rw-rw- 1 root root   2425 Oct  6 12:41 ads1015.dtbo
-rw-rw-rw- 1 root root   2425 Oct  6 12:41 ads1115.dtbo
-rw-rw-rw- 1 root root   2402 Oct  6 12:41 ads7846.dtbo
-rw-rw-rw- 1 root root   1952 Oct  6 12:41 adv7282m.dtbo
-rw-rw-rw- 1 root root   2436 Oct  6 12:41 adv728x-m.dtbo
-rw-rw-rw- 1 root root   1387 Oct  6 12:41 akkordion-iqdacplus.dtbo
-rw-rw-rw- 1 root root   1473 Oct  6 12:41 allo-boss-dac-pcm512x-audio.dtbo
-rw-rw-rw- 1 root root   1208 Oct  6 12:41 allo-digione.dtbo
-rw-rw-rw- 1 root root   1659 Oct  6 12:41 allo-katana-dac-audio.dtbo
-rw-rw-rw- 1 root root   1011 Oct  6 12:41 allo-piano-dac-pcm512x-audio.dtbo
-rw-rw-rw- 1 root root   1585 Oct  6 12:41 allo-piano-dac-plus-pcm512x-audio.dtbo
-rw-rw-rw- 1 root root   3895 Oct  6 12:41 anyspi.dtbo
-rw-rw-rw- 1 root root   1338 Oct  6 12:41 apds9960.dtbo
-rw-rw-rw- 1 root root   1454 Oct  6 12:41 applepi-dac.dtbo
-rw-rw-rw- 1 root root   1632 Oct  6 12:41 at86rf233.dtbo
-rw-rw-rw- 1 root root   1866 Oct  6 12:41 audioinjector-addons.dtbo
-rw-rw-rw- 1 root root   1602 Oct  6 12:41 audioinjector-isolated-soundcard.dtbo
-rw-rw-rw- 1 root root   1890 Oct  6 12:41 audioinjector-ultra.dtbo
-rw-rw-rw- 1 root root    787 Oct  6 12:41 audioinjector-wm8731-audio.dtbo
-rw-rw-rw- 1 root root   2187 Oct  6 12:41 audiosense-pi.dtbo
-rw-rw-rw- 1 root root    833 Oct  6 12:41 audremap.dtbo
-rw-rw-rw- 1 root root   2927 Oct  6 12:41 balena-fin.dtbo
-rw-rw-rw- 1 root root   1429 Jan 11  2021 bassowl.dtbo
-rw-rw-rw- 1 root root    449 Oct  6 12:41 bmp085_i2c-sensor.dtbo
-rw-rw-rw- 1 root root   1019 Oct  6 12:41 dht11.dtbo
-rw-rw-rw- 1 root root   1027 Oct  6 12:41 dionaudio-loco-v2.dtbo
-rw-rw-rw- 1 root root    663 Oct  6 12:41 dionaudio-loco.dtbo
-rw-rw-rw- 1 root root    954 Oct  6 12:41 disable-bt.dtbo
-rw-rw-rw- 1 root root    387 Oct  6 12:41 disable-wifi.dtbo
-rw-rw-rw- 1 root root    951 Oct  6 12:41 dpi18.dtbo
-rw-rw-rw- 1 root root    975 Oct  6 12:41 dpi24.dtbo
-rw-rw-rw- 1 root root   5869 Oct  6 12:41 draws.dtbo
-rw-rw-rw- 1 root root    293 Oct  6 12:41 dwc-otg.dtbo
-rw-rw-rw- 1 root root    801 Oct  6 12:41 dwc2.dtbo
-rw-rw-rw- 1 root root   1279 Oct  6 12:41 enc28j60-spi2.dtbo
-rw-rw-rw- 1 root root   1403 Oct  6 12:41 enc28j60.dtbo
-rw-rw-rw- 1 root root   1562 Oct  6 12:41 exc3000.dtbo
-rw-rw-rw- 1 root root   1932 Oct  6 12:41 fe-pi-audio.dtbo
-rw-rw-rw- 1 root root   1437 Oct  6 12:41 goodix.dtbo
-rw-rw-rw- 1 root root   1259 Oct  6 12:41 googlevoicehat-soundcard.dtbo
-rw-rw-rw- 1 root root   1259 Oct  6 12:41 gpio-fan.dtbo
-rw-rw-rw- 1 root root   1096 Oct  6 12:41 gpio-ir-tx.dtbo
-rw-rw-rw- 1 root root   1259 Oct  6 12:41 gpio-ir.dtbo
-rw-rw-rw- 1 root root   1373 Oct  6 12:41 gpio-key.dtbo
-rw-rw-rw- 1 root root    274 Oct  6 12:41 gpio-no-bank0-irq.dtbo
-rw-rw-rw- 1 root root    258 Oct  6 12:41 gpio-no-irq.dtbo
-rw-rw-rw- 1 root root   1053 Oct  6 12:41 gpio-poweroff.dtbo
-rw-rw-rw- 1 root root   1345 Oct  6 12:41 gpio-shutdown.dtbo
-rw-rw-rw- 1 root root   1662 Oct  6 12:41 hd44780-lcd.dtbo
-rw-rw-rw- 1 root root   1166 Oct  6 12:41 hdmi-backlight-hwhack-gpio.dtbo
-rw-rw-rw- 1 root root    779 Oct  6 12:41 hifiberry-amp.dtbo
-rw-rw-rw- 1 root root    655 Oct  6 12:41 hifiberry-dac.dtbo
-rw-rw-rw- 1 root root   1762 Oct  6 12:41 hifiberry-dacplus.dtbo
-rw-rw-rw- 1 root root   2008 Oct  6 12:41 hifiberry-dacplusadc.dtbo
-rw-rw-rw- 1 root root   1925 Oct  6 12:41 hifiberry-dacplusadcpro.dtbo
-rw-rw-rw- 1 root root    699 Oct  6 12:41 hifiberry-dacplusdsp.dtbo
-rw-rw-rw- 1 root root   2011 Oct  6 12:41 hifiberry-dacplushd.dtbo
-rw-rw-rw- 1 root root   1125 Oct  6 12:41 hifiberry-digi-pro.dtbo
-rw-rw-rw- 1 root root    959 Oct  6 12:41 hifiberry-digi.dtbo
-rw-rw-rw- 1 root root   2444 Oct  6 12:41 hy28a.dtbo
-rw-rw-rw- 1 root root   2893 Oct  6 12:41 hy28b-2017.dtbo
-rw-rw-rw- 1 root root   2915 Oct  6 12:41 hy28b.dtbo
-rw-rw-rw- 1 root root    893 Oct  6 12:41 i-sabre-q2m.dtbo
-rw-rw-rw- 1 root root    270 Oct  6 12:41 i2c-bcm2708.dtbo
-rw-rw-rw- 1 root root   1087 Oct  6 12:41 i2c-gpio.dtbo
-rw-rw-rw- 1 root root   2185 Oct  6 12:41 i2c-mux.dtbo
-rw-rw-rw- 1 root root    648 Oct  6 12:41 i2c-pwm-pca9685a.dtbo
-rw-rw-rw- 1 root root   5249 Oct  6 12:41 i2c-rtc-gpio.dtbo
-rw-rw-rw- 1 root root   4761 Oct  6 12:41 i2c-rtc.dtbo
-rw-rw-rw- 1 root root   5030 Oct  6 12:41 i2c-sensor.dtbo
-rw-rw-rw- 1 root root   1674 Oct  6 12:41 i2c0-bcm2708.dtbo
-rw-rw-rw- 1 root root   1396 Oct  6 12:41 i2c0.dtbo
-rw-rw-rw- 1 root root   1283 Oct  6 12:41 i2c1-bcm2708.dtbo
-rw-rw-rw- 1 root root   1004 Oct  6 12:41 i2c1.dtbo
-rw-rw-rw- 1 root root    907 Oct  6 12:41 i2c3.dtbo
-rw-rw-rw- 1 root root    907 Oct  6 12:41 i2c4.dtbo
-rw-rw-rw- 1 root root    911 Oct  6 12:41 i2c5.dtbo
-rw-rw-rw- 1 root root    909 Oct  6 12:41 i2c6.dtbo
-rw-rw-rw- 1 root root    307 Oct  6 12:41 i2s-gpio28-31.dtbo
-rw-rw-rw- 1 root root   1373 Oct  6 12:41 ilitek251x.dtbo
-rw-rw-rw- 1 root root   3293 Oct  6 12:41 imx219.dtbo
-rw-rw-rw- 1 root root    895 Oct  6 12:41 iqaudio-codec.dtbo
-rw-rw-rw- 1 root root   1272 Oct  6 12:41 iqaudio-dac.dtbo
-rw-rw-rw- 1 root root   1511 Oct  6 12:41 iqaudio-dacplus.dtbo
-rw-rw-rw- 1 root root   1326 Oct  6 12:41 iqaudio-digi-wm8804-audio.dtbo
-rw-rw-rw- 1 root root   2433 Oct  6 12:41 irs1125.dtbo
-rw-rw-rw- 1 root root   5188 Oct  6 12:41 jedec-spi-nor.dtbo
-rw-rw-rw- 1 root root   1640 Oct  6 12:41 justboom-both.dtbo
-rw-rw-rw- 1 root root   1276 Oct  6 12:41 justboom-dac.dtbo
-rw-rw-rw- 1 root root    955 Oct  6 12:41 justboom-digi.dtbo
-rw-rw-rw- 1 root root   1916 Oct  6 12:41 ltc294x.dtbo
-rw-rw-rw- 1 root root   1933 Oct  6 12:41 max98357a.dtbo
-rw-rw-rw- 1 root root   1605 Oct  6 12:41 mbed-dac.dtbo
-rw-rw-rw- 1 root root   1658 Oct  6 12:41 mcp23017.dtbo
-rw-rw-rw- 1 root root  15205 Oct  6 12:41 mcp23s17.dtbo
-rw-rw-rw- 1 root root   1797 Oct  6 12:41 mcp2515-can0.dtbo
-rw-rw-rw- 1 root root   1797 Oct  6 12:41 mcp2515-can1.dtbo
-rw-rw-rw- 1 root root   4213 Oct  6 12:41 mcp3008.dtbo
-rw-rw-rw- 1 root root   4213 Oct  6 12:41 mcp3202.dtbo
-rw-rw-rw- 1 root root   2854 Oct  6 12:41 mcp342x.dtbo
-rw-rw-rw- 1 root root   3414 Oct  6 12:41 media-center.dtbo
-rw-rw-rw- 1 root root   1693 Oct  6 12:41 merus-amp.dtbo
-rw-rw-rw- 1 root root    720 Oct  6 12:41 midi-uart0.dtbo
-rw-rw-rw- 1 root root    857 Oct  6 12:41 midi-uart1.dtbo
-rw-rw-rw- 1 root root   1446 Oct  6 12:41 miniuart-bt.dtbo
-rw-rw-rw- 1 root root   1221 Oct  6 12:41 mmc.dtbo
-rw-rw-rw- 1 root root    796 Oct  6 12:41 mpu6050.dtbo
-rw-rw-rw- 1 root root   2826 Oct  6 12:41 mz61581.dtbo
-rw-rw-rw- 1 root root   2597 Oct  6 12:41 ov5647.dtbo
-rw-rw-rw- 1 root root   2356 Oct  6 12:41 papirus.dtbo
-rw-rw-rw- 1 root root    569 Oct  6 12:41 pi3-act-led.dtbo
-rw-rw-rw- 1 root root    954 Oct  6 12:41 pi3-disable-bt.dtbo
-rw-rw-rw- 1 root root    387 Oct  6 12:41 pi3-disable-wifi.dtbo
-rw-rw-rw- 1 root root   1446 Oct  6 12:41 pi3-miniuart-bt.dtbo
-rw-rw-rw- 1 root root   2334 Oct  6 12:41 pibell.dtbo
-rw-rw-rw- 1 root root   1594 Oct  6 12:41 piglow.dtbo
-rw-rw-rw- 1 root root   2689 Oct  6 12:41 piscreen.dtbo
-rw-rw-rw- 1 root root   2593 Oct  6 12:41 piscreen2r.dtbo
-rw-rw-rw- 1 root root   2454 Oct  6 12:41 pisound.dtbo
-rw-rw-rw- 1 root root   1520 Oct  6 12:41 pitft22.dtbo
-rw-rw-rw- 1 root root   2361 Oct  6 12:41 pitft28-capacitive.dtbo
-rw-rw-rw- 1 root root   2746 Oct  6 12:41 pitft28-resistive.dtbo
-rw-rw-rw- 1 root root   2766 Oct  6 12:41 pitft35-resistive.dtbo
-rw-rw-rw- 1 root root   1145 Oct  6 12:41 pps-gpio.dtbo
-rw-rw-rw- 1 root root   1096 Oct  6 12:41 pwm-2chan.dtbo
-rw-rw-rw- 1 root root   1031 Oct  6 12:41 pwm-ir-tx.dtbo
-rw-rw-rw- 1 root root    985 Oct  6 12:41 pwm.dtbo
-rw-rw-rw- 1 root root   1395 Oct  6 12:41 qca7000.dtbo
-rw-rw-rw- 1 root root   1922 Oct  6 12:41 rotary-encoder.dtbo
-rw-rw-rw- 1 root root    489 Oct  6 12:41 rpi-backlight.dtbo
-rw-rw-rw- 1 root root   3542 Oct  6 12:41 rpi-cirrus-wm5102.dtbo
-rw-rw-rw- 1 root root    643 Oct  6 12:41 rpi-dac.dtbo
-rw-rw-rw- 1 root root   2574 Oct  6 12:41 rpi-display.dtbo
-rw-rw-rw- 1 root root   1018 Oct  6 12:41 rpi-ft5406.dtbo
-rw-rw-rw- 1 root root   2937 Oct  6 12:41 rpi-poe.dtbo
-rw-rw-rw- 1 root root    771 Oct  6 12:41 rpi-proto.dtbo
-rw-rw-rw- 1 root root    893 Oct  6 12:41 rpi-sense.dtbo
-rw-rw-rw- 1 root root    567 Oct  6 12:41 rpi-tv.dtbo
-rw-rw-rw- 1 root root   1298 Oct  6 12:41 rra-digidac1-wm8741-audio.dtbo
-rw-rw-rw- 1 root root   1219 Oct  6 12:41 sc16is750-i2c.dtbo
-rw-rw-rw- 1 root root   1356 Oct  6 12:41 sc16is752-i2c.dtbo
-rw-rw-rw- 1 root root   1851 Oct  6 12:41 sc16is752-spi1.dtbo
-rw-rw-rw- 1 root root    968 Oct  6 12:41 sdhost.dtbo
-rw-rw-rw- 1 root root   1889 Oct  6 12:41 sdio.dtbo
-rw-rw-rw- 1 root root    804 Oct  6 12:41 sdtweak.dtbo
-rw-rw-rw- 1 root root   2095 Oct  6 12:41 sh1106-spi.dtbo
-rw-rw-rw- 1 root root    404 Oct  6 12:41 smi-dev.dtbo
-rw-rw-rw- 1 root root   1476 Oct  6 12:41 smi-nand.dtbo
-rw-rw-rw- 1 root root    981 Oct  6 12:41 smi.dtbo
-rw-rw-rw- 1 root root    630 Oct  6 12:41 spi-gpio35-39.dtbo
-rw-rw-rw- 1 root root    795 Oct  6 12:41 spi-gpio40-45.dtbo
-rw-rw-rw- 1 root root    635 Oct  6 12:41 spi-rtc.dtbo
-rw-rw-rw- 1 root root    895 Oct  6 12:41 spi0-cs.dtbo
-rw-rw-rw- 1 root root    456 Oct  6 12:41 spi0-hw-cs.dtbo
-rw-rw-rw- 1 root root   1523 Oct  6 12:41 spi1-1cs.dtbo
-rw-rw-rw- 1 root root   1896 Oct  6 12:41 spi1-2cs.dtbo
-rw-rw-rw- 1 root root   2269 Oct  6 12:41 spi1-3cs.dtbo
-rw-rw-rw- 1 root root   1523 Oct  6 12:41 spi2-1cs.dtbo
-rw-rw-rw- 1 root root   1896 Oct  6 12:41 spi2-2cs.dtbo
-rw-rw-rw- 1 root root   2269 Oct  6 12:41 spi2-3cs.dtbo
-rw-rw-rw- 1 root root   1289 Oct  6 12:41 spi3-1cs.dtbo
-rw-rw-rw- 1 root root   1662 Oct  6 12:41 spi3-2cs.dtbo
-rw-rw-rw- 1 root root   1289 Oct  6 12:41 spi4-1cs.dtbo
-rw-rw-rw- 1 root root   1662 Oct  6 12:41 spi4-2cs.dtbo
-rw-rw-rw- 1 root root   1289 Oct  6 12:41 spi5-1cs.dtbo
-rw-rw-rw- 1 root root   1662 Oct  6 12:41 spi5-2cs.dtbo
-rw-rw-rw- 1 root root   1289 Oct  6 12:41 spi6-1cs.dtbo
-rw-rw-rw- 1 root root   1662 Oct  6 12:41 spi6-2cs.dtbo
-rw-rw-rw- 1 root root   2096 Oct  6 12:41 ssd1306-spi.dtbo
-rw-rw-rw- 1 root root   1122 Oct  6 12:41 ssd1306.dtbo
-rw-rw-rw- 1 root root   2044 Oct  6 12:41 ssd1351-spi.dtbo
-rw-rw-rw- 1 root root   1968 Oct  6 12:41 superaudioboard.dtbo
-rw-rw-rw- 1 root root  35570 Oct  6 12:41 sx150x.dtbo
-rw-rw-rw- 1 root root   4285 Feb  7  2021 taudac.dtbo
-rw-rw-rw- 1 root root   1529 Oct  6 12:41 tc358743-audio.dtbo
-rw-rw-rw- 1 root root   2465 Oct  6 12:41 tc358743.dtbo
-rw-rw-rw- 1 root root   2305 Nov 28 12:02 tft9341-overlay.dtb
-rw-rw-rw- 1 root root   2305 Nov 28 12:02 tft9341.dtbo
-rw-rw-rw- 1 root root   4822 Oct  6 12:41 tinylcd35.dtbo
-rw-rw-rw- 1 root root    779 Oct  6 12:41 tpm-slb9670.dtbo
-rw-rw-rw- 1 root root    928 Oct  6 12:41 uart0.dtbo
-rw-rw-rw- 1 root root    980 Oct  6 12:41 uart1.dtbo
-rw-rw-rw- 1 root root    589 Oct  6 12:41 uart2.dtbo
-rw-rw-rw- 1 root root    589 Oct  6 12:41 uart3.dtbo
-rw-rw-rw- 1 root root    589 Oct  6 12:41 uart4.dtbo
-rw-rw-rw- 1 root root    589 Oct  6 12:41 uart5.dtbo
-rw-rw-rw- 1 root root   3532 Oct  6 12:41 udrc.dtbo
-rw-rw-rw- 1 root root   2460 Oct  6 12:41 upstream.dtbo
-rw-rw-rw- 1 root root   1255 Oct  6 12:41 vc4-fkms-v3d.dtbo
-rw-rw-rw- 1 root root   1112 Oct  6 12:41 vc4-kms-kippah-7inch.dtbo
-rw-rw-rw- 1 root root   2337 Oct  6 12:41 vc4-kms-v3d.dtbo
-rw-rw-rw- 1 root root    758 Oct  6 12:41 vga666.dtbo
-rw-rw-rw- 1 root root   1171 Oct  6 12:41 w1-gpio-pullup.dtbo
-rw-rw-rw- 1 root root   1036 Oct  6 12:41 w1-gpio.dtbo
-rw-rw-rw- 1 root root   1558 Oct  6 12:41 w5500.dtbo
-rw-rw-rw- 1 root root   1056 Oct  6 12:41 wittypi.dtbo
volumio@chaine:~$ ls -al /usr/share/X11/xorg.conf.d
total 40
drwxr-xr-x 2 root root 4096 Nov 28 16:24 .
drwxr-xr-x 1 root root 4096 Nov 28 15:04 ..
-rw-r--r-- 1 root root 1099 Sep 24  2016 10-evdev.conf
-rw-r--r-- 1 root root 1350 Nov 11  2016 10-quirks.conf
-rw-r--r-- 1 root root  788 Sep 30  2016 40-libinput.conf
-rw-r--r-- 1 root root 1099 Nov 28 17:34 45-evdev.conf
-rw-r--r-- 1 root root 2747 Oct 28  2016 70-wacom.conf
-rw-r--r-- 1 root root  609 Nov 28 13:01 99-fbturbo.conf
volumio@chaine:~$ ls -al /etc/X11/xorg.conf.d
total 24
drwxr-xr-x 2 root root 4096 Nov 28 17:59 .
drwxr-xr-x 1 root root 4096 Nov 28 15:07 ..
-rw-r--r-- 1 root root  316 Nov 28 17:59 95-touch_display-plugin.conf
-rwxr-xr-x 1 root root  228 Nov 28 16:52 99-calibration.conf
volumio@chaine:~$ cat /var/log/Xorg.0.log
[    17.572]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[    17.572] X Protocol Version 11, Revision 0
[    17.572] Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
[    17.572] Current Operating System: Linux chaine 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l
[    17.572] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  plymouth.ignore-serial-consoles dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0xF dwc_otg.nak_holdoff=1 console=ttyS0,115200 kgdboc=ttyS0,115200 console=tty1 imgpart=/dev/mmcblk0p2 imgfile=/volumio_current.sqsh elevator=noop rootwait bootdelay=5 logo.nologo vt.global_cursor_default=0 loglevel=0 snd-bcm2835.enable_compat_alsa=1 snd_bcm2835.enable_headphones=1
[    17.572] Build Date: 11 November 2016  11:59:59AM
[    17.572] xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
[    17.572] Current version of pixman: 0.33.3
[    17.572] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    17.572] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    17.573] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 28 17:58:24 2021
[    17.587] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    17.587] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    17.619] (==) No Layout section.  Using the first Screen section.
[    17.619] (==) No screen section available. Using defaults.
[    17.619] (**) |-->Screen "Default Screen Section" (0)
[    17.619] (**) |   |-->Monitor "<default monitor>"
[    17.626] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    17.626] (**) |   |-->Device "Allwinner A10/A13/A20 FBDEV"
[    17.626] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    17.626] (==) Automatically adding devices
[    17.626] (==) Automatically enabling devices
[    17.627] (==) Automatically adding GPU devices
[    17.634] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    17.681] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    17.681] 	Entry deleted from font path.
[    17.699] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[    17.699] (==) ModulePath set to "/usr/lib/xorg/modules"
[    17.699] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    17.699] (II) Loader magic: 0x694f20
[    17.699] (II) Module ABI versions:
[    17.699] 	X.Org ANSI C Emulation: 0.4
[    17.699] 	X.Org Video Driver: 20.0
[    17.699] 	X.Org XInput driver : 22.1
[    17.699] 	X.Org Server Extension : 9.0
[    17.706] (--) using VT number 2

[    17.707] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    17.707] (II) no primary bus or device found
[    17.715] (II) LoadModule: "glx"
[    17.734] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    17.908] (II) Module glx: vendor="X.Org Foundation"
[    17.908] 	compiled for 1.18.4, module version = 1.0.0
[    17.908] 	ABI class: X.Org Server Extension, version 9.0
[    17.908] (==) AIGLX enabled
[    17.908] (II) LoadModule: "fbturbo"
[    17.909] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[    17.921] (II) Module fbturbo: vendor="X.Org Foundation"
[    17.921] 	compiled for 1.18.4, module version = 0.5.1
[    17.921] 	Module class: X.Org Video Driver
[    17.921] 	ABI class: X.Org Video Driver, version 20.0
[    17.921] (II) FBTURBO: driver for framebuffer: fbturbo
[    17.924] (WW) Falling back to old probe method for fbturbo
[    17.924] (II) Loading sub module "fbdevhw"
[    17.924] (II) LoadModule: "fbdevhw"
[    17.925] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    17.928] (II) Module fbdevhw: vendor="X.Org Foundation"
[    17.928] 	compiled for 1.18.4, module version = 0.0.2
[    17.928] 	ABI class: X.Org Video Driver, version 20.0
[    17.928] (II) FBTURBO(0): using /dev/fb1
[    17.928] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    17.928] (II) FBTURBO(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 16/16
[    17.928] (==) FBTURBO(0): Depth 16, (==) framebuffer bpp 16
[    17.928] (==) FBTURBO(0): RGB weight 565
[    17.928] (==) FBTURBO(0): Default visual is TrueColor
[    17.928] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0)
[    17.928] (II) FBTURBO(0): hardware: fb_ili9340 (video memory: 150kB)
[    17.928] (**) FBTURBO(0): Option "fbdev" "/dev/fb1"
[    17.929] (**) FBTURBO(0): Option "SwapbuffersWait" "true"
[    17.929] (II) FBTURBO(0): processor: Unknown
[    17.929] (II) FBTURBO(0): checking modes against framebuffer device...
[    17.929] (II) FBTURBO(0): checking modes against monitor...
[    17.929] (--) FBTURBO(0): Virtual size is 320x240 (pitch 320)
[    17.929] (**) FBTURBO(0):  Built-in mode "current"
[    17.929] (==) FBTURBO(0): DPI set to (96, 96)
[    17.929] (II) Loading sub module "fb"
[    17.929] (II) LoadModule: "fb"
[    17.929] (II) Loading /usr/lib/xorg/modules/libfb.so
[    17.937] (II) Module fb: vendor="X.Org Foundation"
[    17.937] 	compiled for 1.18.4, module version = 1.0.0
[    17.937] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    17.938] (II) FBTURBO(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
[    17.965] (II) FBTURBO(0): using backing store heuristics
[    17.976] (II) FBTURBO(0): can't load 'g2d_23' kernel module
[    17.977] (II) FBTURBO(0): failed to enable the use of sunxi display controller
[    17.977] (II) FBTURBO(0): No sunxi-g2d hardware detected (check /dev/disp and /dev/g2d)
[    17.977] (II) FBTURBO(0): G2D hardware acceleration can't be enabled
[    17.977] (II) FBTURBO(0): enabled VFP/NEON optimizations
[    17.977] (==) FBTURBO(0): Backing store enabled
[    17.987] (==) FBTURBO(0): DPMS enabled
[    17.987] (II) FBTURBO(0): failed to enable hardware cursor
[    17.987] (II) FBTURBO(0): no 3D acceleration because the driver has been compiled without libUMP
[    17.987] (II) FBTURBO(0): if this is wrong and needs to be fixed, please check ./configure log
[    17.992] (==) RandR enabled
[    18.032] (II) SELinux: Disabled on system
[    18.046] (II) AIGLX: Screen 0 is not DRI2 capable
[    18.046] (EE) AIGLX: reverting to software rendering
[    19.779] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    19.781] (II) AIGLX: Loaded and initialized swrast
[    19.781] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    20.301] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/event0)
[    20.301] (**) ADS7846 Touchscreen: Applying InputClass "evdev touchscreen catchall"
[    20.301] (**) ADS7846 Touchscreen: Applying InputClass "libinput touchscreen catchall"
[    20.301] (**) ADS7846 Touchscreen: Applying InputClass "evdev touchscreen catchall"
[    20.301] (**) ADS7846 Touchscreen: Applying InputClass "Touch rotation"
[    20.301] (**) ADS7846 Touchscreen: Applying InputClass "calibration"
[    20.301] (II) LoadModule: "evdev"
[    20.301] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    20.328] (II) Module evdev: vendor="X.Org Foundation"
[    20.329] 	compiled for 1.18.4, module version = 2.10.3
[    20.329] 	Module class: X.Org XInput Driver
[    20.329] 	ABI class: X.Org XInput driver, version 22.1
[    20.329] (II) Using input driver 'evdev' for 'ADS7846 Touchscreen'
[    20.329] (**) ADS7846 Touchscreen: always reports core events
[    20.329] (**) evdev: ADS7846 Touchscreen: Device: "/dev/input/event0"
[    20.329] (--) evdev: ADS7846 Touchscreen: Vendor 0 Product 0
[    20.329] (--) evdev: ADS7846 Touchscreen: Found absolute axes
[    20.329] (--) evdev: ADS7846 Touchscreen: Found x and y absolute axes
[    20.329] (--) evdev: ADS7846 Touchscreen: Found absolute touchscreen
[    20.329] (**) Option "SwapAxes" "1"
[    20.329] (II) evdev: ADS7846 Touchscreen: Configuring as touchscreen
[    20.329] (**) evdev: ADS7846 Touchscreen: YAxisMapping: buttons 4 and 5
[    20.329] (**) evdev: ADS7846 Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    20.329] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input0/event0"
[    20.329] (II) XINPUT: Adding extended input device "ADS7846 Touchscreen" (type: TOUCHSCREEN, id 6)
[    20.329] (II) evdev: ADS7846 Touchscreen: initialized for absolute axes.
[    20.330] (**) ADS7846 Touchscreen: (accel) keeping acceleration scheme 1
[    20.330] (**) ADS7846 Touchscreen: (accel) acceleration profile 0
[    20.330] (**) ADS7846 Touchscreen: (accel) acceleration factor: 2.000
[    20.330] (**) ADS7846 Touchscreen: (accel) acceleration threshold: 4
[    20.331] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/mouse0)
[    20.331] (**) ADS7846 Touchscreen: Applying InputClass "calibration"
[    20.331] (II) Using input driver 'evdev' for 'ADS7846 Touchscreen'
[    20.331] (**) ADS7846 Touchscreen: always reports core events
[    20.331] (**) evdev: ADS7846 Touchscreen: Device: "/dev/input/mouse0"
[    20.332] (EE) evdev: ADS7846 Touchscreen: Unable to query fd: Inappropriate ioctl for device
[    20.470] (EE) PreInit returned 2 for "ADS7846 Touchscreen"
[    20.470] (II) UnloadModule: "evdev"

There is an error when loading evdev module, but not sure why .
Any clue ?

@gvolt can you assist @grostim

Try renaming 40-libinput.conf

sudo mv /usr/share/X11/xorg.conf.d/40-libinput.conf /usr/share/X11/xorg.conf.d/40-libinput.conf.bak

Then disable and enable the Touch Display plugin. If touch doesn’t work, again post the result of

cat /var/log/Xorg.0.log

I have done the usggested modification, but I have still no luck with my touchscreen:

volumio@chaine:~$ cat /var/log/Xorg.0.log
[    16.528]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[    16.529] X Protocol Version 11, Revision 0
[    16.529] Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
[    16.529] Current Operating System: Linux chaine 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l
[    16.529] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  plymouth.ignore-serial-consoles dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0xF dwc_otg.nak_holdoff=1 console=ttyS0,115200 kgdboc=ttyS0,115200 console=tty1 imgpart=/dev/mmcblk0p2 imgfile=/volumio_current.sqsh elevator=noop rootwait bootdelay=5 logo.nologo vt.global_cursor_default=0 loglevel=0 snd-bcm2835.enable_compat_alsa=1 snd_bcm2835.enable_headphones=1
[    16.529] Build Date: 11 November 2016  11:59:59AM
[    16.529] xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
[    16.529] Current version of pixman: 0.33.3
[    16.529] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    16.529] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    16.529] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 28 17:58:23 2021
[    16.543] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    16.543] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    16.578] (==) No Layout section.  Using the first Screen section.
[    16.578] (==) No screen section available. Using defaults.
[    16.578] (**) |-->Screen "Default Screen Section" (0)
[    16.578] (**) |   |-->Monitor "<default monitor>"
[    16.586] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    16.586] (**) |   |-->Device "Allwinner A10/A13/A20 FBDEV"
[    16.586] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    16.586] (==) Automatically adding devices
[    16.586] (==) Automatically enabling devices
[    16.586] (==) Automatically adding GPU devices
[    16.593] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    16.635] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    16.635] 	Entry deleted from font path.
[    16.645] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[    16.645] (==) ModulePath set to "/usr/lib/xorg/modules"
[    16.645] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    16.645] (II) Loader magic: 0x654f20
[    16.645] (II) Module ABI versions:
[    16.645] 	X.Org ANSI C Emulation: 0.4
[    16.645] 	X.Org Video Driver: 20.0
[    16.645] 	X.Org XInput driver : 22.1
[    16.645] 	X.Org Server Extension : 9.0
[    16.648] (--) using VT number 2

[    16.648] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    16.648] (II) no primary bus or device found
[    16.649] (II) LoadModule: "glx"
[    16.658] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    16.803] (II) Module glx: vendor="X.Org Foundation"
[    16.803] 	compiled for 1.18.4, module version = 1.0.0
[    16.803] 	ABI class: X.Org Server Extension, version 9.0
[    16.803] (==) AIGLX enabled
[    16.803] (II) LoadModule: "fbturbo"
[    16.804] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[    16.813] (II) Module fbturbo: vendor="X.Org Foundation"
[    16.813] 	compiled for 1.18.4, module version = 0.5.1
[    16.813] 	Module class: X.Org Video Driver
[    16.813] 	ABI class: X.Org Video Driver, version 20.0
[    16.813] (II) FBTURBO: driver for framebuffer: fbturbo
[    16.816] (WW) Falling back to old probe method for fbturbo
[    16.816] (II) Loading sub module "fbdevhw"
[    16.816] (II) LoadModule: "fbdevhw"
[    16.817] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    16.823] (II) Module fbdevhw: vendor="X.Org Foundation"
[    16.823] 	compiled for 1.18.4, module version = 0.0.2
[    16.823] 	ABI class: X.Org Video Driver, version 20.0
[    16.823] (II) FBTURBO(0): using /dev/fb1
[    16.823] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    16.823] (II) FBTURBO(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 16/16
[    16.823] (==) FBTURBO(0): Depth 16, (==) framebuffer bpp 16
[    16.823] (==) FBTURBO(0): RGB weight 565
[    16.823] (==) FBTURBO(0): Default visual is TrueColor
[    16.823] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0)
[    16.823] (II) FBTURBO(0): hardware: fb_ili9340 (video memory: 150kB)
[    16.823] (**) FBTURBO(0): Option "fbdev" "/dev/fb1"
[    16.823] (**) FBTURBO(0): Option "SwapbuffersWait" "true"
[    16.824] (II) FBTURBO(0): processor: Unknown
[    16.824] (II) FBTURBO(0): checking modes against framebuffer device...
[    16.824] (II) FBTURBO(0): checking modes against monitor...
[    16.824] (--) FBTURBO(0): Virtual size is 320x240 (pitch 320)
[    16.824] (**) FBTURBO(0):  Built-in mode "current"
[    16.824] (==) FBTURBO(0): DPI set to (96, 96)
[    16.824] (II) Loading sub module "fb"
[    16.824] (II) LoadModule: "fb"
[    16.824] (II) Loading /usr/lib/xorg/modules/libfb.so
[    16.831] (II) Module fb: vendor="X.Org Foundation"
[    16.832] 	compiled for 1.18.4, module version = 1.0.0
[    16.832] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    16.832] (II) FBTURBO(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
[    16.865] (II) FBTURBO(0): using backing store heuristics
[    16.874] (II) FBTURBO(0): can't load 'g2d_23' kernel module
[    16.874] (II) FBTURBO(0): failed to enable the use of sunxi display controller
[    16.874] (II) FBTURBO(0): No sunxi-g2d hardware detected (check /dev/disp and /dev/g2d)
[    16.874] (II) FBTURBO(0): G2D hardware acceleration can't be enabled
[    16.874] (II) FBTURBO(0): enabled VFP/NEON optimizations
[    16.874] (==) FBTURBO(0): Backing store enabled
[    16.888] (==) FBTURBO(0): DPMS enabled
[    16.888] (II) FBTURBO(0): failed to enable hardware cursor
[    16.888] (II) FBTURBO(0): no 3D acceleration because the driver has been compiled without libUMP
[    16.889] (II) FBTURBO(0): if this is wrong and needs to be fixed, please check ./configure log
[    16.891] (==) RandR enabled
[    16.932] (II) SELinux: Disabled on system
[    16.943] (II) AIGLX: Screen 0 is not DRI2 capable
[    16.943] (EE) AIGLX: reverting to software rendering
[    18.757] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    18.759] (II) AIGLX: Loaded and initialized swrast
[    18.759] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    19.195] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/event0)
[    19.196] (**) ADS7846 Touchscreen: Applying InputClass "evdev touchscreen catchall"
[    19.196] (**) ADS7846 Touchscreen: Applying InputClass "evdev touchscreen catchall"
[    19.196] (**) ADS7846 Touchscreen: Applying InputClass "Touch rotation"
[    19.196] (**) ADS7846 Touchscreen: Applying InputClass "calibration"
[    19.196] (II) LoadModule: "evdev"
[    19.196] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    19.235] (II) Module evdev: vendor="X.Org Foundation"
[    19.235] 	compiled for 1.18.4, module version = 2.10.3
[    19.235] 	Module class: X.Org XInput Driver
[    19.235] 	ABI class: X.Org XInput driver, version 22.1
[    19.235] (II) Using input driver 'evdev' for 'ADS7846 Touchscreen'
[    19.235] (**) ADS7846 Touchscreen: always reports core events
[    19.235] (**) evdev: ADS7846 Touchscreen: Device: "/dev/input/event0"
[    19.235] (--) evdev: ADS7846 Touchscreen: Vendor 0 Product 0
[    19.235] (--) evdev: ADS7846 Touchscreen: Found absolute axes
[    19.235] (--) evdev: ADS7846 Touchscreen: Found x and y absolute axes
[    19.235] (--) evdev: ADS7846 Touchscreen: Found absolute touchscreen
[    19.235] (**) Option "SwapAxes" "1"
[    19.235] (II) evdev: ADS7846 Touchscreen: Configuring as touchscreen
[    19.236] (**) evdev: ADS7846 Touchscreen: YAxisMapping: buttons 4 and 5
[    19.236] (**) evdev: ADS7846 Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    19.236] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input0/event0"
[    19.236] (II) XINPUT: Adding extended input device "ADS7846 Touchscreen" (type: TOUCHSCREEN, id 6)
[    19.236] (II) evdev: ADS7846 Touchscreen: initialized for absolute axes.
[    19.236] (**) ADS7846 Touchscreen: (accel) keeping acceleration scheme 1
[    19.236] (**) ADS7846 Touchscreen: (accel) acceleration profile 0
[    19.236] (**) ADS7846 Touchscreen: (accel) acceleration factor: 2.000
[    19.236] (**) ADS7846 Touchscreen: (accel) acceleration threshold: 4
[    19.237] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/mouse0)
[    19.238] (**) ADS7846 Touchscreen: Applying InputClass "calibration"
[    19.238] (II) Using input driver 'evdev' for 'ADS7846 Touchscreen'
[    19.238] (**) ADS7846 Touchscreen: always reports core events
[    19.238] (**) evdev: ADS7846 Touchscreen: Device: "/dev/input/mouse0"
[    19.238] (EE) evdev: ADS7846 Touchscreen: Unable to query fd: Inappropriate ioctl for device
[    19.370] (EE) PreInit returned 2 for "ADS7846 Touchscreen"
[    19.370] (II) UnloadModule: "evdev"

Please post the results of

cat /etc/X11/xorg.conf.d/99-calibration.conf

and

cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf

Here is the result:

volumio@chaine:~$ cat /etc/X11/xorg.conf.d/99-calibration.conf
Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "ADS7846 Touchscreen"
        Option  "Calibration"   "115 3700 3865 155"
        Option  "SwapAxes"      "1"
        Driver  "evdev"
EndSection
volumio@chaine:~$ cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf
# This is a minimal sample config file, which can be copied to
# /etc/X11/xorg.conf in order to make the Xorg server pick up
# and load xf86-video-fbturbo driver installed in the system.
#
# When troubleshooting, check /var/log/Xorg.0.log for the debugging
# output and error messages.
# Run "man fbturbo" to get additional information about the extra
# configuration options for tuning the driver.

Section "Device"
        Identifier      "Allwinner A10/A13/A20 FBDEV"
        Driver          "fbturbo"
        Option          "fbdev" "/dev/fb1"

        Option          "SwapbuffersWait" "true"
EndSection

And one bonus :

volumio@chaine:~$ cat /etc/X11/xorg.conf.d/95-touch_display-plugin.conf
# This file is managed by the Touch Display plugin: Do not alter!
# It will be deleted when the Touch Display plugin gets uninstalled.
Section "InputClass"
        Identifier "Touch rotation"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        MatchDriver "libinput|evdev"
EndSection

Some more questions: :slight_smile:

Did you add Driver "evdev" to /etc/X11/xorg.conf.d/99-calibration.conf? I’m asking because the file from the goodtft repo doesn’t contain that line. What happens if you remove it?

Do you see any input devices in /dev/input?

ls -al /dev/input

On your risk you could maybe try exchanging your currently used overlay for the waveshare32c overlay from the waveshare repo.

Did you add Driver "evdev" to /etc/X11/xorg.conf.d/99-calibration.conf? I’m asking because the file from the goodtft repo doesn’t contain that line.

Yes i did.

What happens if you remove it?

volumio@chaine:~$ cat /etc/X11/xorg.conf.d/99-calibration.conf 
Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "ADS7846 Touchscreen"
        Option  "Calibration"   "115 3700 3865 155"
        Option  "SwapAxes"      "1"
#        Driver  "evdev"
EndSection
volumio@chaine:~$ cat /var/log/Xorg.0.log 
[    16.540] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[    16.540] X Protocol Version 11, Revision 0
[    16.540] Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
[    16.540] Current Operating System: Linux chaine 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l
[    16.540] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  plymouth.ignore-serial-consoles dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0xF dwc_otg.nak_holdoff=1 console=ttyS0,115200 kgdboc=ttyS0,115200 console=tty1 imgpart=/dev/mmcblk0p2 imgfile=/volumio_current.sqsh elevator=noop rootwait bootdelay=5 logo.nologo vt.global_cursor_default=0 loglevel=0 snd-bcm2835.enable_compat_alsa=1 snd_bcm2835.enable_headphones=1
[    16.540] Build Date: 11 November 2016  11:59:59AM
[    16.540] xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support) 
[    16.540] Current version of pixman: 0.33.3
[    16.540]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    16.540] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    16.541] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 28 17:58:23 2021
[    16.560] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    16.560] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    16.596] (==) No Layout section.  Using the first Screen section.
[    16.596] (==) No screen section available. Using defaults.
[    16.596] (**) |-->Screen "Default Screen Section" (0)
[    16.596] (**) |   |-->Monitor "<default monitor>"
[    16.603] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[    16.603] (**) |   |-->Device "Allwinner A10/A13/A20 FBDEV"
[    16.603] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    16.603] (==) Automatically adding devices
[    16.603] (==) Automatically enabling devices
[    16.603] (==) Automatically adding GPU devices
[    16.612] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    16.640] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    16.640]    Entry deleted from font path.
[    16.644] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        built-ins
[    16.644] (==) ModulePath set to "/usr/lib/xorg/modules"
[    16.644] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    16.644] (II) Loader magic: 0x672f20
[    16.644] (II) Module ABI versions:
[    16.644]    X.Org ANSI C Emulation: 0.4
[    16.644]    X.Org Video Driver: 20.0
[    16.644]    X.Org XInput driver : 22.1
[    16.644]    X.Org Server Extension : 9.0
[    16.648] (--) using VT number 2

[    16.648] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    16.649] (II) no primary bus or device found
[    16.654] (II) LoadModule: "glx"
[    16.671] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    16.800] (II) Module glx: vendor="X.Org Foundation"
[    16.800]    compiled for 1.18.4, module version = 1.0.0
[    16.800]    ABI class: X.Org Server Extension, version 9.0
[    16.800] (==) AIGLX enabled
[    16.800] (II) LoadModule: "fbturbo"
[    16.801] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[    16.821] (II) Module fbturbo: vendor="X.Org Foundation"
[    16.821]    compiled for 1.18.4, module version = 0.5.1
[    16.821]    Module class: X.Org Video Driver
[    16.821]    ABI class: X.Org Video Driver, version 20.0
[    16.821] (II) FBTURBO: driver for framebuffer: fbturbo
[    16.830] (WW) Falling back to old probe method for fbturbo
[    16.830] (II) Loading sub module "fbdevhw"
[    16.830] (II) LoadModule: "fbdevhw"
[    16.830] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    16.835] (II) Module fbdevhw: vendor="X.Org Foundation"
[    16.835]    compiled for 1.18.4, module version = 0.0.2
[    16.835]    ABI class: X.Org Video Driver, version 20.0
[    16.835] (II) FBTURBO(0): using /dev/fb1
[    16.835] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    16.835] (II) FBTURBO(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 16/16
[    16.835] (==) FBTURBO(0): Depth 16, (==) framebuffer bpp 16
[    16.835] (==) FBTURBO(0): RGB weight 565
[    16.835] (==) FBTURBO(0): Default visual is TrueColor
[    16.835] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0)
[    16.835] (II) FBTURBO(0): hardware: fb_ili9340 (video memory: 150kB)
[    16.835] (**) FBTURBO(0): Option "fbdev" "/dev/fb1"
[    16.835] (**) FBTURBO(0): Option "SwapbuffersWait" "true"
[    16.835] (II) FBTURBO(0): processor: Unknown
[    16.835] (II) FBTURBO(0): checking modes against framebuffer device...
[    16.835] (II) FBTURBO(0): checking modes against monitor...
[    16.835] (--) FBTURBO(0): Virtual size is 320x240 (pitch 320)
[    16.835] (**) FBTURBO(0):  Built-in mode "current"
[    16.836] (==) FBTURBO(0): DPI set to (96, 96)
[    16.836] (II) Loading sub module "fb"
[    16.836] (II) LoadModule: "fb"
[    16.840] (II) Loading /usr/lib/xorg/modules/libfb.so
[    16.852] (II) Module fb: vendor="X.Org Foundation"
[    16.852]    compiled for 1.18.4, module version = 1.0.0
[    16.852]    ABI class: X.Org ANSI C Emulation, version 0.4
[    16.853] (II) FBTURBO(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
[    16.884] (II) FBTURBO(0): using backing store heuristics
[    16.900] (II) FBTURBO(0): can't load 'g2d_23' kernel module
[    16.901] (II) FBTURBO(0): failed to enable the use of sunxi display controller
[    16.901] (II) FBTURBO(0): No sunxi-g2d hardware detected (check /dev/disp and /dev/g2d)
[    16.901] (II) FBTURBO(0): G2D hardware acceleration can't be enabled
[    16.901] (II) FBTURBO(0): enabled VFP/NEON optimizations
[    16.901] (==) FBTURBO(0): Backing store enabled
[    16.920] (==) FBTURBO(0): DPMS enabled
[    16.920] (II) FBTURBO(0): failed to enable hardware cursor
[    16.920] (II) FBTURBO(0): no 3D acceleration because the driver has been compiled without libUMP
[    16.920] (II) FBTURBO(0): if this is wrong and needs to be fixed, please check ./configure log
[    16.926] (==) RandR enabled
[    16.964] (II) SELinux: Disabled on system
[    16.972] (II) AIGLX: Screen 0 is not DRI2 capable
[    16.972] (EE) AIGLX: reverting to software rendering
[    18.815] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    18.817] (II) AIGLX: Loaded and initialized swrast
[    18.817] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    19.282] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/event0)
[    19.282] (**) ADS7846 Touchscreen: Applying InputClass "evdev touchscreen catchall"
[    19.282] (**) ADS7846 Touchscreen: Applying InputClass "evdev touchscreen catchall"
[    19.282] (**) ADS7846 Touchscreen: Applying InputClass "Touch rotation"
[    19.282] (**) ADS7846 Touchscreen: Applying InputClass "calibration"
[    19.282] (II) LoadModule: "evdev"
[    19.282] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    19.327] (II) Module evdev: vendor="X.Org Foundation"
[    19.327]    compiled for 1.18.4, module version = 2.10.3
[    19.327]    Module class: X.Org XInput Driver
[    19.327]    ABI class: X.Org XInput driver, version 22.1
[    19.327] (II) Using input driver 'evdev' for 'ADS7846 Touchscreen'
[    19.328] (**) ADS7846 Touchscreen: always reports core events
[    19.328] (**) evdev: ADS7846 Touchscreen: Device: "/dev/input/event0"
[    19.328] (--) evdev: ADS7846 Touchscreen: Vendor 0 Product 0
[    19.328] (--) evdev: ADS7846 Touchscreen: Found absolute axes
[    19.328] (--) evdev: ADS7846 Touchscreen: Found x and y absolute axes
[    19.328] (--) evdev: ADS7846 Touchscreen: Found absolute touchscreen
[    19.328] (**) Option "SwapAxes" "1"
[    19.328] (II) evdev: ADS7846 Touchscreen: Configuring as touchscreen
[    19.328] (**) evdev: ADS7846 Touchscreen: YAxisMapping: buttons 4 and 5
[    19.328] (**) evdev: ADS7846 Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    19.328] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input0/event0"
[    19.328] (II) XINPUT: Adding extended input device "ADS7846 Touchscreen" (type: TOUCHSCREEN, id 6)
[    19.328] (II) evdev: ADS7846 Touchscreen: initialized for absolute axes.
[    19.329] (**) ADS7846 Touchscreen: (accel) keeping acceleration scheme 1
[    19.329] (**) ADS7846 Touchscreen: (accel) acceleration profile 0
[    19.329] (**) ADS7846 Touchscreen: (accel) acceleration factor: 2.000
[    19.329] (**) ADS7846 Touchscreen: (accel) acceleration threshold: 4
[    19.330] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/mouse0)
[    19.330] (**) ADS7846 Touchscreen: Applying InputClass "calibration"
[    19.330] (II) No input driver specified, ignoring this device.
[    19.330] (II) This device may have been added with another device file.

And still no feedback from my touch attempts.

Do you see any input devices in /dev/input?

volumio@chaine:~$ ls -la /dev/input/
total 0
drwxr-xr-x  3 root root     120 Nov 28 17:58 .
drwxr-xr-x 15 root root    3680 Nov 28 17:58 ..
drwxr-xr-x  2 root root      60 Nov 28 17:58 by-path
crw-rw----  1 root input 13, 64 Nov 28 17:58 event0
crw-rw----  1 root input 13, 63 Nov 28 17:58 mice
crw-rw----  1 root input 13, 32 Nov 28 17:58 mouse0

On your risk you could maybe try exchanging your currently used overlay for the waveshare32c overlay from the waveshare repo.

That will be my next step. I’ll keep you informed.

So i tried waveshare32c and i have a blank screen.
I tried also waveshare 32b (which has an identical pinout as my tft), and the display is working as well as the tft9341 overlay.
However the touchscreen is still unresponsive.

Since there are input devices shown in /dev/input: Do you have keyboard and mouse connected to the Pi? If not, please execute

cat /dev/input/event*

and tap on the touchscreen. Do you get some (weird) signs reflecting the touch events?

I have the same problem as grostim.

I ran DISPLAY=:0.0 xinput_calibrator and replaced the calibration options in 99-calibration.conf.
cat /dev/input/event*
returns glorious garbage so the touch screen is working.

Something else must be misconfigured.

From Xorg.0.log

53.598] (II) Using input driver ‘evdev’ for ‘ADS7846 Touchscreen’
[ 53.598] () ADS7846 Touchscreen: always reports core events
[ 53.598] (
) evdev: ADS7846 Touchscreen: Device: “/dev/input/event0”
[ 53.598] (–) evdev: ADS7846 Touchscreen: Vendor 0 Product 0
[ 53.598] (–) evdev: ADS7846 Touchscreen: Found absolute axes
[ 53.598] (–) evdev: ADS7846 Touchscreen: Found x and y absolute axes
[ 53.598] (–) evdev: ADS7846 Touchscreen: Found absolute touchscreen
[ 53.598] () Option “SwapAxes” “1”
[ 53.599] (II) evdev: ADS7846 Touchscreen: Configuring as touchscreen
[ 53.599] (
) evdev: ADS7846 Touchscreen: YAxisMapping: buttons 4 and 5
[ 53.599] () evdev: ADS7846 Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 53.599] (
) Option “config_info” “udev:/sys/devices/platform/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input0/event0”
[ 53.599] (II) XINPUT: Adding extended input device “ADS7846 Touchscreen” (type: TOUCHSCREEN, id 6)
[ 53.599] (II) evdev: ADS7846 Touchscreen: initialized for absolute axes.
[ 53.599] () ADS7846 Touchscreen: (accel) keeping acceleration scheme 1
[ 53.599] (
) ADS7846 Touchscreen: (accel) acceleration profile 0
[ 53.599] () ADS7846 Touchscreen: (accel) acceleration factor: 2.000
[ 53.599] (
) ADS7846 Touchscreen: (accel) acceleration threshold: 4
[ 53.601] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/mouse0)
[ 53.601] (**) ADS7846 Touchscreen: Applying InputClass “calibration”
[ 53.601] (II) No input driver specified, ignoring this device.
[ 53.601] (II) This device may have been added with another device file.

Adding Option “InvertX” “1” to 99-calibration.conf allows the touchscreen to react but not correctly and I cannot successfully calibrate after this change.

DISPLAY=:0.0 xinput_calibrator -v --misclick 0 --precalib 0 1000 0 1000

Section “InputClass”
Identifier “calibration”
MatchProduct “ADS7846 Touchscreen”
Option “Calibration” “999 998 662 662”
Option “SwapAxes” “1”
EndSection

DISPLAY=:0.0 xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ADS7846 Touchscreen id=6 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]

Enabling device 6 with xinput has no effect.

BTW This was working with LCDshow on Raspberry Pi OS

Do you have the same display as grostim?

This is the display. I don’t know if it is the same.

No, it’s not: grostim has a 3.2 inch display :wink:

What overlay are you using?

How do your /boot/config.txt and /boot/userconfig.txt look? Please post the results of

cat /boot/config.txt

and

cat /boot/userconfig.txt

BTW: From your description it seems you don’t have the same problem as grostim. While grostim seems to have no reaction from his touchscreen the issue with your touchscreen appears to be some misalignment, i.e. the touch event doesn’t happen at the location where you touch the screen.

I suggest to enable the option “Show Mouse Pointer” on the config page of the Touch Dispaly plugin for better visibility of the touch screen’s reaction and describe where you tap on the screen and where the mouse pointer appears.