Waveshare '4A only GPIO touchscreen

HI, I’ve now mounted this display, with the Webconf drivers it works but the touchscreen doesn’t work… I don’t use it, but I would like to know if it’s normal or if I’m doing something wrong… Thanks as always

Can you provide:

  • content of /var/log/Xorg.0.log file
  • content of /boot/config.txt file
  • output of dmesg command

I’ll try as soon as possible… thanks

I’m obviously not an expert in linux, but normally by inserting the SD into the PC I was able to read at least the .txt configuration file… Win10 doesn’t open the SD… I’m sorry but I have posted screenshots…
Files.rar (4.0 MB)

Hi @Lanfranco ,

form Xorg.0.log:

[ 6.239] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/mouse0)
[ 6.239] (II) No input driver specified, ignoring this device.
[ 6.239] (II) This device may have been added with another device file.

the touchscreen device driver isn’t correctly loaded.

Waveshare provide a tool to setup this display:

For your display, it’s this script:

DO NOT RUN THIS SCRIPT, it will create a big mess in the Zynthian setup.

But copy this file:

in /usr/share/X11/xorg.conf/10-evdev.conf

And :

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


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

While /boot/config.txt should looks like this:

hdmi_cvt 480 320 60 6 0 0 0

Thank you very much… I got scared of everything you wrote… The problem is that I can’t open these files in order to paste the text… If I open from terminal I can paste with ctrl + ? . I also had Ubuntu installed in dual boot, but I had a problem and I will have to install it again…

If you have a PC running Ubuntu, you will be able to mount the microSD card and do all the manipulations from there with any kind of text editor.

Great… now I reinstall Ubuntu. You have been very kind. Thank you

these two files were not in the folder. I created and inserted them with sudo mv

This file was there and I changed it.

… and then I added the lines on the config.txt file

Now I’ll try if it works… :thinking:

The display goes dark but no writing appears… I certainly did something wrong… :grimacing: