[GUIDE] Official Raspberry Touch Display 2

Hi @nerd

I have been trying to set this up proper and got it working. Correct view on screen, right rotation, able to play etc. Everything worked. Then I tried to add some support for Bluetooth speaker, but then the touch part stopped working.

Did a reflash and set up everything again, screen is on and I can see the player, but the touch part is not working.

RPi 3b+
Volumio 3.795
Touch Display 3.5.1
16GB SD card

Also added this to config file

[all]
display_auto_detect=1
dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-ili9881-7inch,rotation=270

Anyone have any idea on whats missing?

EDIT: Sorry for deleting the previous. I thought it suddenly was working, but it was not. :frowning:

Dear Volumionauts,

This thread is dealing with the Official Raspberry Pi Touch Display 2 (hardware) discovery.

For Touch Display (software) plugin please head to the designated thread:

Kind Regards,

Hi @nerd or whoever knows!
I use Rpi 5 and Touch Display 2 running Volumio 0.062 from nvme m.2.

when using landscape mode everything works fine.
I want to use potrait(native) mode. I put this in my userconfig.txt:

[all]
display_auto_detect=1
dtoverlay=vc4-kms-dsi-ili9881-7inch

When applying this, Volumio velcome screen during boot is to big and doesn´t fit the screen.
I don´t know what´s wrong?

regards C

Are you referring to the boot process?

Hi @gvolt
Yes I do!
regards C

Then your issue can only be solved by changes to the plymouth theme Volumio uses during the boot process. Possibly you could create your own plymouth theme with lettering adapted to the portrait format.

Ok!
Thanks for answering me.
Regards C

Hey @ClaesM,

This is a known issue in Volumio Bookworm ALPHA plymouth screen scaling. Will be addressed in upcoming BETA.

Kind Regards,

1 Like

Thanks @nerd !

Hi guys,
I encounter the same issue that a couple of you encounter

With my RPI 4 and Display Touch V2. Fresh install of 3.8.12

My boot/userconfig.txt :
display_auto_detect=1
dtoverlay=vc4-kms-v3d-pi4,nohdmi
dtoverlay=vc4-kms-dsi-ili9881-7inch

My cmdline.txt end :
video=DSI-1:720x1280M@60

I boot Volumio, perform first config, then install TouchDisplay plugin 3.5.1

I do not activate it yet

I write the two config file : cmdline.txt and userconfig.txt

Then reboot
I activate the plugin, evrything is working fine. Touch screen is working.

Then reboot and touch screen will not working any more.

Any idea ?

Thanks a lot guys

Touch screen is not working anymore.

Hey @benatreptar,

Please post the full contents of the following four files from your /boot partition after the problem occurs (after second reboot when the touchscreen stops working):

  1. cmdline.txt
  2. config.txt
  3. volumioconfig.txt
  4. userconfig.txt

Also, include a link to the Volumio debug log. You can generate it from the UI under http://<your-volumio>/dev section. This will help verify the kernel boot messages, display probing, DRM/KMS initialization, and whether the touch input device is being detected correctly.

The sequence you described suggests that either the KMS overlay is not being applied early enough during boot, or the Touch Display plugin might be altering something in X11 or the framebuffer assignment that disables the touch device on the next reboot.

Once we have those four files and the debug log, we can analyze whether the issue is caused by boot parameter ordering, the plugin reconfiguring something incorrectly, or a driver failing to initialize on second boot.

If it turns out to be related to plugin behavior, we can then suggest a workaround or file an issue for plugin maintainers.

Kind Regards,

Hello @nerd, thanks a lot for fast feedback.

Just below are my files :

I discovered this morning one thing. If my RPi4 is powered off, at first startup touch function is working. When I performed a reboot, then touch function is not working. So I have a solution that is not robust but that work. A simple reboot did not do the same than a reboot with a power supply stop and start

/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=bc357b65-966a-45c3-975f-98ac1d7c9730 imgfile=/volumio_current.sqsh bootpart=UUID=25F2-3254 datapart=UUID=86f6e4b2-535b-405c-a500-b95114cdc160 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 video=DSI-1:720x1280M@60

/boot/config.txt

### DO NOT EDIT THIS FILE ###
### APPLY CUSTOM PARAMETERS TO userconfig.txt ###
initramfs volumio.initrd
gpu_mem=128
gpu_mem_256=32
gpu_mem_512=32
gpu_mem_1024=128
max_usb_current=1
[pi5]
usb_max_current_enable=1
[all]
include volumioconfig.txt
include userconfig.txt

#### Volumio i2s setting below: do not alter ####
dtoverlay=hifiberry-digi-pro


#### Volumio i2s setting below: do not alter ####
dtoverlay=hifiberry-digi-pro

/boot/volumioconfig.txt

### DO NOT EDIT THIS FILE ###
### APPLY CUSTOM PARAMETERS TO userconfig.txt ###
[cm4]
dtoverlay=dwc2,dr_mode=host
otg_mode=1
[pi5]
dtoverlay=vc4-kms-v3d-pi5
# dtparam=uart0_console # Disabled by default
dtparam=nvme
dtparam=pciex1_gen=2
[all]
arm_64bit=0
dtparam=audio=on
audio_pwm_mode=2
dtparam=i2c_arm=on
disable_splash=1
hdmi_force_hotplug=1
force_eeprom_read=0

/boot/userconfig.txt

# Add your custom config.txt options to this file, which will be preserved during updates
display_auto_detect=1
dtoverlay=vc4-kms-v3d-pi4,nohdmi
dtoverlay=vc4-kms-dsi-ili9881-7inch

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

Log : http://logs.volumio.org/volumio/5zPe6Nm.html
This log is from a startup after a power supply of If you need a log after only a reboot let me know

Thanks a lot
Do not hesitate if you need any aditional information

Best Regards

Ben

Hello,

I think I’ve understood and then solved my problem. It wasn’t easy for me. I don’t know if it will be easier for some of you.

I encountered another error yesterday after rebooting again, taking care to turn off the power.

When I restarted, I couldn’t start the music. I got the message

“failed to open alsa (alsa); failed to open ALSA device “volumio”:No such device.”

I’ve looked at quite a few threads…

I recall my configuration:
Raspberry Pi4
HifiberryDigi2 Pro (which worked perfectly previously with my touch display V1)
Touch Display V2

I’ve connected the Touch Display V2 to a power source other than the Hifiberry’s GPIOs and everything’s working fine.

So there must be a problem with powering the Touch Display V2 + the Hifiberry simultaneously on the raspberry.

Everything works perfectly.

I don’t know if this problem can be solved by computer development. Do you think it’s possible?

In any case I have a solution that I hope will last.

Have a nice day

Ben

Thanks for the follow-up, @benatreptar.

Your analysis is correct. This is a hardware-level power conflict between the Touch Display V2 and the HiFiBerry Digi2 Pro when both are drawing power from the Raspberry Pi GPIO header.

The Digi2 Pro uses the 5V rail from the GPIO header and can be sensitive to voltage dips. The official 7-inch Touch Display also draws a significant amount of current from the same 5V rail, especially during panel initialization and backlight activation.

Your workaround, powering the Touch Display V2 externally, is valid and electrically safe. It removes the load from the Pi’s 5V rail and allows the Digi2 Pro to initialize consistently.

This is not something that can be fixed purely in software. The I2S interface and ALSA kernel drivers expect stable enumeration during boot. If the DAC fails to initialize due to power instability, no software layer can recover it afterward.

Let us know if it remains stable after more testing. Good catch.

Kind Regards,

1 Like

Hello,
Some aditional information after a few days …

The alsa error was due to a lack a patience from my side. I just have to wait some seconds to have alsa started ! It was reported in a couple of posts !

In adition I found also that part at the pihut webstore in order to plug the screen directly to USB port and not on the GPIO pins from the hifiberry. Very usefull for a very small price ! (search : “USB Power Breakout for Raspberry Pi Touch Display 2”)
USB Power Breakout for Raspberry Pi Touch Display 2

USB Power Breakout for Raspberry Pi Touch Display 2

So very happy with that new Display

Thanks again for support

1 Like