[PLUGIN] Touch Display

I was not able to replicate the issue. I also used a Pi 3B with the original Raspaberry Pi Foundation Touchscreen running Volumio 3.785.

For testing purposes please set screen rotation back to 0 deg., then open “/boot/userconfig.txt” and add

dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-7inch

if not already present. Save and close the file. Then rotate the screen again, open “/boot/userconfig.txt” and check if the “dtoverlay” lines are still there.

Does this happen after every reboot?

This can happen with programs like WinSCP, if you leave the connection open during reboot and reconnect when the device is offline.
Add the entries using nano, when saved reopen the file and validate it’s content.

1 Like

I used nano over ssh. Got no MS Windows. :sunglasses:

Hopefully not. I’ll check that after my 90GB copy job.

Reboot work also.
I made a doublecheck with my second card.
Factory reset.
Adding the display parameters.
Reboot.
Installing the plugin.
Activate the screen.
Rotate the screen.
Display parameter still exists in userconfig.txt.
Reboot.
Display works and also display parameter still exists in userconfig.txt.
I don´t know why, but it works as designed.
Maybe that was a problem on my old installation.

Thanks for reporting back. :smile:

It’s the least I can do :smile:

2 Likes

Hello,

Is it possible the latest Touch Display plugin version is causing disk read/write errors? My system just randomly stopped working due to multiple errors linked to the plugin including false “corrupt filesystem” flags, which all cleared up after uninstalling it.

Is there an alternative to the Touch Display plugin to be able to use an official RPi 7" screen with a RPi 4B? If not, which version of this plugin will continue to work with systems with native HDMI out (like RPi 3, 4B, and 5)?

Hello everyone,

i am new here and i have a RPI3b with Hifiberry DAC+ and 3,5" LCD Display (tft35a).
Everything is working fine until i set the Hifiberry DAC+ in the Software. After restart the LCD is not working anymore, the dtoverlay value is overwritten. (dtoverlay=hifiberry-dacplus instead of dtoverlay=tft35a)
I can set dtoverlay back to tft35a but then i have an error ([FAILED TO OPEN ALSA]).

Is there a way to set both of them to work?

Thanks

Are you writing your entries to /boot/config.txt instead of /boot/userconfig.txt

yes this entry is in /boot/config.txt
the application create the entry in config.txt.

should iadd this entry into userconfig.txt?

Euh read the first 2 lines of /boot/config.txt

 cat /boot/config.txt
### DO NOT EDIT THIS FILE ###
### APPLY CUSTOM PARAMETERS TO userconfig.txt ###
initramfs volumio.initrd

i put the custom parameters into userconfig.txt
Now it works except touch functionality.
What i tried:

  • uninstall the plugin
  • install again
  • reboot
    No changes.

Thanks

please post the output of both:
cat /boot/config.txt
cat /boot/userconfig.txt

And a link to the exact screen.

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-dacplus

Userconfig.txt

# Add your custom config.txt options to this file, which will be preserved during updates
dtparam=spi=on
dtoverlay=tft35a

this is the display:

Then try this in /boot/userconfig.txt

hdmi_force_hotplug=1
dtparam=i2c_arm=on
dtparam=spi=on
framebuffer_depth=32
framebuffer_ignore_alpha=1
dtoverlay=tft35a
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 480 320 60 6 0 0 0
hdmi_drive=2

reboot
With the touch display plugin installed:

sudo apt-get update
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://github.com/goodtft/LCD-show/raw/master/usr/tft35a-overlay.dtb -o /boot/overlays/tft35a.dtbo
sudo curl -L https://raw.githubusercontent.com/goodtft/LCD-show/master/usr/99-calibration.conf-35-90 -o /etc/X11/xorg.conf.d/99-calibration.conf
sudo curl -L https://raw.githubusercontent.com/goodtft/LCD-show/master/usr/99-fbturbo.conf -o /usr/share/X11/xorg.conf.d/99-fbturbo.conf

reboot

Hello,

Thank you for your work!

I have a question: is it possible to change the keyboard configuration? Especially the key management? Because when I “click” on a letter with variations (eg “c” and “ç”) the default behavior of the keyboard is to display the variations and then choose. So if I want a simple “c”, I have to click on “c” once and then on “c” again in the variations sub-folder. I’d prefer it if, by default, when I “click” on “c” the letter “c” was directly selected and if I needed “ç” I could do a long press to display the variations.

Thanks

Hello everyone,

i am new and i have a RPI4b with Innomaker dac pro and 2 display. Both of them not work when i follow the user guide of them. Somebody can help me to connect 1 of them to my Pi?

I am pretty sure you have a issue with shared GPIO’s between your HAT and screen.

image