Impossible to use a 5" resistive touch display

Hi guys,
I’ve bought a 5 inches touch display and I would like to use it with my Raspberry 2B and Volumio.
The problem is that when I try to install drivers following the correct guide (link) i have thos errors, and after them my raspberry reboot and then nothing happens. Black screen and no response from Putty or the display.
Here is the terminal:

volumio@volumio:~/LCD-show$ sudo ./LCD5-show
cp: cannot create regular file '/usr/share/X11/xorg.conf.d/99-fbturbo.conf': No such file or directory
cp: cannot create regular file '/usr/share/X11/xorg.conf.d/99-fbturbo.conf': No such file or directory
2022
need to update touch configuration
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 https://deb.nodesource.com/node_14.x buster InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  keyboard-configuration libegl-mesa0 libegl1 libegl1-mesa libepoxy0 libevdev2 libfontenc1 libgbm1 libmtdev1
  libpciaccess0 libunwind8 libwayland-server0 libxaw7 libxfont2 libxkbfile1 libxmu6 libxmuu1 libxpm4 libxt6
  x11-xkb-utils xauth xfonts-base xfonts-encodings xfonts-utils xserver-common xserver-xorg-core
Suggested packages:
  pciutils xfs | xserver xfonts-100dpi | xfonts-75dpi xfonts-scalable
The following NEW packages will be installed:
  keyboard-configuration libegl-mesa0 libegl1 libegl1-mesa libepoxy0 libevdev2 libfontenc1 libgbm1 libmtdev1
  libpciaccess0 libunwind8 libwayland-server0 libxaw7 libxfont2 libxkbfile1 libxmu6 libxmuu1 libxpm4 libxt6
  x11-xkb-utils xauth xfonts-base xfonts-encodings xfonts-utils xserver-common xserver-xorg-core
  xserver-xorg-input-evdev
0 upgraded, 27 newly installed, 0 to remove and 46 not upgraded.
Need to get 14.0 MB of archives.
After this operation, 23.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.raspberrypi.org/debian buster/main armhf libgbm1 armhf 19.3.2-1~bpo10+1~rpt4 [67.2 kB]
Get:3 http://archive.raspberrypi.org/debian buster/main armhf libegl-mesa0 armhf 19.3.2-1~bpo10+1~rpt4 [120 kB]
Get:4 http://archive.raspberrypi.org/debian buster/main armhf libegl1 armhf 1.3.0-7~bpo10+1 [28.5 kB]
Get:5 http://archive.raspberrypi.org/debian buster/main armhf libegl1-mesa armhf 19.3.2-1~bpo10+1~rpt4 [49.4 kB]
Get:6 http://archive.raspberrypi.org/debian buster/main armhf xserver-common all 2:1.20.4-1+rpt4+deb10u6 [2235 kB]
Get:2 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf keyboard-configuration all 1.193~deb10u1 [404 kB]
Get:8 http://archive.raspberrypi.org/debian buster/main armhf xserver-xorg-core armhf 2:1.20.4-1+rpt4+deb10u6 [3280 kB]
Get:7 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libwayland-server0 armhf 1.16.0-1 [26.0 kB]
Get:9 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libepoxy0 armhf 1.5.3-0.1 [167 kB]
Get:10 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libevdev2 armhf 1.6.0+dfsg-1 [24.9 kB]
Get:11 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libfontenc1 armhf 1:1.1.3-1 [22.2 kB]
Get:12 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf libmtdev1 armhf 1.1.5-1+b2 [21.2 kB]
Get:13 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libpciaccess0 armhf 0.14-1 [51.0 kB]
Get:14 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf libunwind8 armhf 1.2.1-10~deb10u1 [47.1 kB]
Get:15 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf libxt6 armhf 1:1.1.5-1+b3 [156 kB]
Get:16 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf libxmu6 armhf 2:1.1.2-2+b3 [52.1 kB]
Get:17 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libxpm4 armhf 1:3.5.12-1 [43.6 kB]
Get:18 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf libxaw7 armhf 2:1.0.13-1+b2 [163 kB]
Get:19 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libxfont2 armhf 1:2.0.3-1 [120 kB]
Get:20 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libxkbfile1 armhf 1:1.0.9-2 [65.4 kB]
Get:21 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf libxmuu1 armhf 2:1.1.2-2+b3 [23.4 kB]
Get:22 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf x11-xkb-utils armhf 7.7+4 [138 kB]
Get:23 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf xauth armhf 1:1.0.10-1 [36.4 kB]
Get:24 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf xfonts-encodings all 1:1.0.4-2 [574 kB]
Get:25 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf xfonts-utils armhf 1:7.7+6 [82.5 kB]
Get:26 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf xfonts-base all 1:1.0.5 [5897 kB]
Get:27 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf xserver-xorg-input-evdev armhf 1:2.10.6-1+b1 [117 kB]
Fetched 14.0 MB in 6s (2382 kB/s)
Selecting previously unselected package keyboard-configuration.
(Reading database ... 91230 files and directories currently installed.)
Preparing to unpack .../00-keyboard-configuration_1.193~deb10u1_all.deb ...
Unpacking keyboard-configuration (1.193~deb10u1) ...
Selecting previously unselected package libwayland-server0:armhf.
Preparing to unpack .../01-libwayland-server0_1.16.0-1_armhf.deb ...
Unpacking libwayland-server0:armhf (1.16.0-1) ...
Selecting previously unselected package libgbm1:armhf.
Preparing to unpack .../02-libgbm1_19.3.2-1~bpo10+1~rpt4_armhf.deb ...
Unpacking libgbm1:armhf (19.3.2-1~bpo10+1~rpt4) ...
Selecting previously unselected package libegl-mesa0:armhf.
Preparing to unpack .../03-libegl-mesa0_19.3.2-1~bpo10+1~rpt4_armhf.deb ...
Unpacking libegl-mesa0:armhf (19.3.2-1~bpo10+1~rpt4) ...
Selecting previously unselected package libegl1:armhf.
Preparing to unpack .../04-libegl1_1.3.0-7~bpo10+1_armhf.deb ...
Unpacking libegl1:armhf (1.3.0-7~bpo10+1) ...
Selecting previously unselected package libegl1-mesa:armhf.
Preparing to unpack .../05-libegl1-mesa_19.3.2-1~bpo10+1~rpt4_armhf.deb ...
Unpacking libegl1-mesa:armhf (19.3.2-1~bpo10+1~rpt4) ...
Selecting previously unselected package libepoxy0:armhf.
Preparing to unpack .../06-libepoxy0_1.5.3-0.1_armhf.deb ...
Unpacking libepoxy0:armhf (1.5.3-0.1) ...
Selecting previously unselected package libevdev2:armhf.
Preparing to unpack .../07-libevdev2_1.6.0+dfsg-1_armhf.deb ...
Unpacking libevdev2:armhf (1.6.0+dfsg-1) ...
Selecting previously unselected package libfontenc1:armhf.
Preparing to unpack .../08-libfontenc1_1%3a1.1.3-1_armhf.deb ...
Unpacking libfontenc1:armhf (1:1.1.3-1) ...
Selecting previously unselected package libmtdev1:armhf.
Preparing to unpack .../09-libmtdev1_1.1.5-1+b2_armhf.deb ...
Unpacking libmtdev1:armhf (1.1.5-1+b2) ...
Selecting previously unselected package libpciaccess0:armhf.
Preparing to unpack .../10-libpciaccess0_0.14-1_armhf.deb ...
Unpacking libpciaccess0:armhf (0.14-1) ...
Selecting previously unselected package libunwind8:armhf.
Preparing to unpack .../11-libunwind8_1.2.1-10~deb10u1_armhf.deb ...
Unpacking libunwind8:armhf (1.2.1-10~deb10u1) ...
Selecting previously unselected package libxt6:armhf.
Preparing to unpack .../12-libxt6_1%3a1.1.5-1+b3_armhf.deb ...
Unpacking libxt6:armhf (1:1.1.5-1+b3) ...
Selecting previously unselected package libxmu6:armhf.
Preparing to unpack .../13-libxmu6_2%3a1.1.2-2+b3_armhf.deb ...
Unpacking libxmu6:armhf (2:1.1.2-2+b3) ...
Selecting previously unselected package libxpm4:armhf.
Preparing to unpack .../14-libxpm4_1%3a3.5.12-1_armhf.deb ...
Unpacking libxpm4:armhf (1:3.5.12-1) ...
Selecting previously unselected package libxaw7:armhf.
Preparing to unpack .../15-libxaw7_2%3a1.0.13-1+b2_armhf.deb ...
Unpacking libxaw7:armhf (2:1.0.13-1+b2) ...
Selecting previously unselected package libxfont2:armhf.
Preparing to unpack .../16-libxfont2_1%3a2.0.3-1_armhf.deb ...
Unpacking libxfont2:armhf (1:2.0.3-1) ...
Selecting previously unselected package libxkbfile1:armhf.
Preparing to unpack .../17-libxkbfile1_1%3a1.0.9-2_armhf.deb ...
Unpacking libxkbfile1:armhf (1:1.0.9-2) ...
Selecting previously unselected package libxmuu1:armhf.
Preparing to unpack .../18-libxmuu1_2%3a1.1.2-2+b3_armhf.deb ...
Unpacking libxmuu1:armhf (2:1.1.2-2+b3) ...
Selecting previously unselected package x11-xkb-utils.
Preparing to unpack .../19-x11-xkb-utils_7.7+4_armhf.deb ...
Unpacking x11-xkb-utils (7.7+4) ...
Selecting previously unselected package xauth.
Preparing to unpack .../20-xauth_1%3a1.0.10-1_armhf.deb ...
Unpacking xauth (1:1.0.10-1) ...
Selecting previously unselected package xfonts-encodings.
Preparing to unpack .../21-xfonts-encodings_1%3a1.0.4-2_all.deb ...
Unpacking xfonts-encodings (1:1.0.4-2) ...
Selecting previously unselected package xfonts-utils.
Preparing to unpack .../22-xfonts-utils_1%3a7.7+6_armhf.deb ...
Unpacking xfonts-utils (1:7.7+6) ...
Selecting previously unselected package xfonts-base.
Preparing to unpack .../23-xfonts-base_1%3a1.0.5_all.deb ...
Unpacking xfonts-base (1:1.0.5) ...
Selecting previously unselected package xserver-common.
Preparing to unpack .../24-xserver-common_2%3a1.20.4-1+rpt4+deb10u6_all.deb ...
Unpacking xserver-common (2:1.20.4-1+rpt4+deb10u6) ...
Selecting previously unselected package xserver-xorg-core.
Preparing to unpack .../25-xserver-xorg-core_2%3a1.20.4-1+rpt4+deb10u6_armhf.deb ...
Unpacking xserver-xorg-core (2:1.20.4-1+rpt4+deb10u6) ...
Selecting previously unselected package xserver-xorg-input-evdev.
Preparing to unpack .../26-xserver-xorg-input-evdev_1%3a2.10.6-1+b1_armhf.deb ...
Unpacking xserver-xorg-input-evdev (1:2.10.6-1+b1) ...
Setting up libwayland-server0:armhf (1.16.0-1) ...
Setting up libpciaccess0:armhf (0.14-1) ...
Setting up libxpm4:armhf (1:3.5.12-1) ...
Setting up libgbm1:armhf (19.3.2-1~bpo10+1~rpt4) ...
Setting up libunwind8:armhf (1.2.1-10~deb10u1) ...
Setting up libfontenc1:armhf (1:1.1.3-1) ...
Setting up libegl-mesa0:armhf (19.3.2-1~bpo10+1~rpt4) ...
Setting up libepoxy0:armhf (1.5.3-0.1) ...
Setting up xfonts-encodings (1:1.0.4-2) ...
Setting up libxt6:armhf (1:1.1.5-1+b3) ...
Setting up libmtdev1:armhf (1.1.5-1+b2) ...
Setting up libegl1:armhf (1.3.0-7~bpo10+1) ...
Setting up libxkbfile1:armhf (1:1.0.9-2) ...
Setting up keyboard-configuration (1.193~deb10u1) ...
Setting up libxfont2:armhf (1:2.0.3-1) ...
Setting up libevdev2:armhf (1.6.0+dfsg-1) ...
Setting up libxmuu1:armhf (2:1.1.2-2+b3) ...
Setting up libxmu6:armhf (2:1.1.2-2+b3) ...
Setting up libxaw7:armhf (2:1.0.13-1+b2) ...
Setting up xfonts-utils (1:7.7+6) ...
Setting up libegl1-mesa:armhf (19.3.2-1~bpo10+1~rpt4) ...
Setting up xfonts-base (1:1.0.5) ...
Setting up xauth (1:1.0.10-1) ...
Setting up x11-xkb-utils (7.7+4) ...
Setting up xserver-common (2:1.20.4-1+rpt4+deb10u6) ...
Setting up xserver-xorg-core (2:1.20.4-1+rpt4+deb10u6) ...
Setting up xserver-xorg-input-evdev (1:2.10.6-1+b1) ...
Processing triggers for fontconfig (2.13.1-2) ...
Processing triggers for libc-bin (2.28-10+rpt2+rpi1+deb10u1) ...
debconf: delaying package configuration, since apt-utils is not installed
reboot now

How could I resolve?

I would reflash you SD an load the Touch Display plugin.

Do you mean the volumio plugin?
I will try to reflash it.
After the installation via balena etcher and the first configuration, the page “plugins” in the sidebar was empty… like as such no plugins were available to use.
Tomorrow i’ll try again… it’s time to sleep now in italy :sweat_smile:

Same time here. You need to register to access the plugin store. :slight_smile:

I suggest to start with a fresh Volumio installation and then - without using the install script from goodtft’s repo - try the following:

  1. Install the Touch Display plugin.

  2. Connect to Volumio via SSH.

  3. Execute

    sudo apt-get -y install xserver-xorg-video-fbturbo

    sudo apt-get -y install xserver-xorg-input-evdev

    sudo cp /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf

    sudo curl -L https://raw.githubusercontent.com/goodtft/LCD-show/master/usr/99-calibration.conf-5-0 -o /etc/X11/xorg.conf.d/99-calibration.conf

    cat >> /boot/userconfig.txt <<EOL
    
    dtparam=spi=on
    config_hdmi_boost=7
    hdmi_group=2
    hdmi_mode=87
    hdmi_drive=1
    hdmi_cvt 800 480 60 6 0 0 0
    dtoverlay=ads7846
    dtparam=cs=1
    dtparam=penirq=25
    dtparam=penirq_pull=2
    dtparam=speed=50000
    dtparam=swapxy=0
    dtparam=pmax=255
    dtparam=xohms=150
    dtparam=xmin=200
    dtparam=xmax=3900
    dtparam=ymin=200
    dtparam=ymax=3900
    EOL
    
  4. Reboot.

I’ll try and keep you all updated.
Thanks!

IT WORKS!
Thank you very much!

Yep @gvolt the LCD guru :partying_face:

1 Like