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

Hi I have performed all the steps and I have made the display work but the touch is not calibrated well.
In particular, when I click on a point on the right it is as if I click on the left, while up and down they work.
I use this configuration:

Option “Calibration” “3936 268 227 3880”
Option “SwapAxes” “0”


Thanks to those who want to help me configure the touch better

Hi Thanks for all the help here. With some pain I got my TFT working as well.
The main points to get the tft running for me was:

  • do not install lightdm
  • in the /usr/share/X11/xorg.conf.d/99-fbturbo.conf I had to change “/dev/fb0” to “/dev/fb1”

I used the shell script (written by Darmur on May6, see earlier in the thread) to create the changes to reproduce the config easily.

my 5 inch waveshare touchscreen touch not working also display fills 2/3 rd screen only

Please give some more details:

What is the exact model name of the display?

Did you install other software / modify files in order to use the display? If so, please describe in detail what you installed or modified.

only used touchscreen plug in. the display works but only 2/3rd

1 Like

Connect to Volumio via SSH.

Open the file “/boot/userconfig.txt”:

sudo nano /boot/userconfig.txt

Add the following lines:

hdmi_cvt 800 480 60 6 0 0 0

To close nano and save “/boot/userconfig.txt” type Ctrl+x, y and Enter.


1 Like

thanks the display is working

1 Like

the touch not working though

Please post the results of

cat /boot/config.txt


cat /boot/userconfig.txt

1 Like

“/boot/config.txt” and “/boot/userconfig.txt” look ok. In “/boot/userconfig.txt” there should be a line break after dtparam=ymax=3900. Although I don’t expect this to be causing the problem please try adding the mentioned line break to be on the safe side.

Apart from that the triple repetition of the last entries in both files appears strange to me. Do you have an idea what could have caused this?

To investigate further please post the results of

ls -al /dev/input

ls -al /usr/share/X11/xorg.conf.d


ls -al /etc/X11/xorg.conf.d

P.S. If possible don’t post images of the output of such commands but try to copy and paste the output as plain text and format it with code tags here. It’s easier read on mobile devices and can be searched through, too.

ls -al /dev/input
total 0
drwxr-xr-x 4 root root 240 Nov 5 14:31 .
drwxr-xr-x 16 root root 3720 Nov 5 14:31 …
drwxr-xr-x 2 root root 120 Nov 5 14:31 by-id
drwxr-xr-x 2 root root 140 Nov 5 14:31 by-path
crw-rw---- 1 root input 13, 64 Nov 5 14:31 event0
crw-rw---- 1 root input 13, 65 Nov 5 14:31 event1
crw-rw---- 1 root input 13, 66 Nov 5 14:31 event2
crw-rw---- 1 root input 13, 67 Nov 5 14:31 event3
crw-rw---- 1 root input 13, 68 Nov 5 14:31 event4
crw-rw---- 1 root input 13, 63 Nov 5 14:31 mice
crw-rw---- 1 root input 13, 32 Nov 5 14:31 mouse0
crw-rw---- 1 root input 13, 33 Nov 5 14:31 mouse1

[quote=“gvolt, post:69, topic:11265”]
ls -al /usr/share/X11/xorg.conf.d

/total 24
drwxr-xr-x 2 root root 4096 Nov 4 00:11 .
drwxr-xr-x 1 root root 4096 Nov 4 00:12 …
-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 2747 Oct 28 2016 70-wacom.conf
-rw-r–r-- 1 root root 607 Dec 7 2016 99-fbturbo.conf

ls -al /etc/X11/xorg.conf.d
/total 12
drwxr-xr-x 2 root root 4096 Nov 5 14:32 .
drwxr-xr-x 1 root root 4096 Nov 4 00:18 …
-rw-r–r-- 1 root root 316 Nov 5 14:32 95-touch_display-plugin.conf

Looks normal.

Please execute

cat /dev/input/event*

and touch the screen. Do you see cryptic signs then in the terminal window?

You can exit the running “cat” command with Ctrl+c.

nothing happens

Hm, according to this in a thread that covers the same screen as yours nothing more should need to be adjusted than “/boot/userconfig.txt”.

BTW did you add the line break in “/boot/userconfig.txt” I mentioned above and reboot? If not, try that first. If touch still should not work maybe you need to install xserver-xorg-input-evdev

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

After that execute

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

and reboot.

gvolt, thanks. Touch is working fine now. My son is enjoying Volumio in his toolshed


1 Like

:+1: Have fun!

@bluswier Did you have to install “xserver-xorg-input-evdev”?

yes i did