[GUIDE] Official Raspberry Touch Display 2

Good afternoon all.

After successfully setting up and using Volumio on an 8Gb 4B with the original 7" display for a few months, I thought I’d have a go at upgrading the display to the new 7" display…

The screen is working thanks to the advice in the opening post of this thread, I’ve got the touchscreen plugin installed, I’ve rebooted roughly 4,096 times but still the touch element doesn’t work.

My /boot/userconfig.txt reads as follows:-

# Add your custom config.txt options to this file, which will be preserved during updates

[all]
display_auto_detect=1
dtoverlay=vc4-kms-v3d-pi4,nohdmi

# Match your rotation counter clockwise 0, 90, 180, 270 degree

dtoverlay=vc4-kms-dsi-ili9881-7inch,rotation=270

#### Touch Display rotation setting below: do not alter ####
display_lcd_rotate=3
display_hdmi_rotate=3

Discovered inputs are as follows:-

volumio@volumio:~$ ls -al /dev/input
total 0
drwxr-xr-x  2 root root      60 Jan  1  1970 .
drwxr-xr-x 16 root root    3860 Dec  7 15:45 ..
crw-rw----  1 root input 13, 63 Dec  7 15:45 mice
volumio@volumio:~$ cat /dev/input/event*
cat: '/dev/input/event*': No such file or directory

The above leads me to believe that while the screen is working, it’s not showing up as an input device.

What to do…?

edit to add sysinfo, apologies for missing it off.

OS info
Version of Volumio: 3.779
Hostname: volumio
Kernel: 6.6.56-v7l+
Governor: performance
Uptime: 0 days, 0 Hrs, 6 Minutes, 12 Seconds

Network info
Interface: eth0
IP Address: 
MAC Address: 
Type: wired
Speed: 1000Mb/s

Audio info
Hw audio configured: Headphones
Mixer type: Hardware
Number of channels: 8
Supported sample rate: 22050 44100 48000 88200 96000 176400 192000

Board info
Manufacturer: Raspberry Pi Foundation
Model: Raspberry Pi 4 Model B Rev 1.5 Raspberry Pi / 4B - 1.5 /
Version: d03115 / 4B - 1.5
Firmware Version: Sep 13 2024 15:58:42 version ddfba3e3c234500025b545512b4b214f28e453e9 (clean) (release) (start)

CPU info
Brand: BCM2711
Speed: 1.5 GHz
Family: Cortex-A72
Model: 3
Number of cores: 4
Physical cores: 4
Average load: 12%
Temperature: 42°C

Memory info
Memory: 8033056 Ko
Free: 6898132 Ko
Used: 1134924 Ko

Software info
Mpd version: Music Player Daemon 0.23.15 (0.23.15)

Hey @veew

As usual, the devil lives in the detail.

Your version of Volumio is: 3.779

In the opening post under Volumio Configuration subsection - for what version of Volumio download steps are deprecated?

In simple terms the default dtoverlay does not know what ,rotation=270 is; hence fails to load.

Kind Regards,

1 Like

Ay caramba!

@nerd thank you, as usual, I focused on the minutiae and overlooked the bleeding obvious.

I’ve downloaded and replaced the .dtbo file

image

Double-checked /boot/cmdline.txt

splash 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 quiet console=serial0,115200 console=tty1 imgpart=UUID=ed280c2b-b4b4-43e6-87d7-b67377eacab2 imgfile=/volumio_current.sqsh bootpart=UUID=FCA2-3F9A datapart=UUID=0367e456-8c2f-458a-8465-47f124ad9fdd uuidconfig=cmdline.txt pcie_aspm=off pci=pcie_bus_safe rootwait bootdelay=7 logo.nologo vt.global_cursor_default=0 net.ifnames=0 snd-bcm2835.enable_compat_alsa= snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 loglevel=0 nodebug use_kmsg=no cfg80211.ieee80211_regdom=GB video=DSI-1:720x1280M@60,rotate=270

and /boot/userconfig.txt

# Add your custom config.txt options to this file, which will be preserved during updates

[all]
display_auto_detect=1
dtoverlay=vc4-kms-v3d-pi4,nohdmi

# Match your rotation counter clockwise 0, 90, 180, 270 degree

dtoverlay=vc4-kms-dsi-ili9881-7inch,rotation=270

#### Touch Display rotation setting below: do not alter ####
display_lcd_rotate=3
display_hdmi_rotate=3

…and rebooted.

I’ve probably missed something else obvious but still have no response from the touchscreen.

Sorry!

Hey @veew,

What is the content of /etc/X11/xorg.conf.d/ folder? Are there any files? If yes - what content these files have?

In any case, I would not only disable, but unistall plugin first, then install the latest version of it back after the reboot.

On the other hand - This thread is a technical one, for specific hardware quirks. I am not sending you away, but there is an official thread for the touch plugin here:

Kind Regards,

1 Like

Thank you again @nerd, plugin removed, rebooted and reinstalled. Same issue.

…/xorg.conf.d/ contains two files:-

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"
    Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
    MatchIsTouchscreen "on"
    MatchDevicePath "/dev/input/event*"
    MatchDriver "libinput|evdev"
EndSection

Section "Monitor"
        Identifier "DSI-1"
        Option "Rotate" "left"
EndSection

and
99-vc4.conf

Section "OutputClass"
    Identifier "vc4"
    MatchDriver "vc4"
    Driver "modesetting"
    Option "PrimaryGPU" "true"
EndSection

I’ll move to the plugin thread tomorrow with a clearer head.

Just to put this to bed, I upgraded Volumio to 3.8x, added the config and all is well

Thanks again @nerd :+1:

Hello, not sure if this help, but in my case it did not work immediately after making changes and reboot. I had to power off and power on again. Then it started working perfectly.