[PLUGIN] Touch Display

I was always good at breaking things :wink:

@Sefton Can’t blame this on you, yet… :rofl:

@volumio
After 20 minutes the date is restored on my rPi, and the touch display install without issues.

So it seems that Sefton gets an outdated mirror.

I’ll wait :joy:

You may try changing the repository mirror as described here.

OK so I managed that… install worked… enabled etc… Bench test (no audio connected) played from spotify and it appeared to be fine… cover art and looked to be playing… pause seemed to work (visually) etc.

Moved it to playback location, connected to amp, now spotify sees it and plays to it, but the playing now screen doesnt update, and the player controls dont seem to function but the touchscreen does work as you can access menu controls etc. Its more like the spotify → volumio connection is audio output only…

EDIT :: Now screen is working (with big lagtimes) and audio isnt… I found it had defaulted to HDMI but even having set it back to DAC output theres no sound…

Multiple reboots and restarts and poor sync (timing between web / spotify / screen) I am wondering if a 3B+ is too weak to do this smoothly ?? As an audio only streamer it was working (but I would get strange behavior on stop / next etc) but with the screen duty it feels sort of overloaded ?

A post was split to a new topic: Volumio GUI better to scroll from left to right on small screens

I can’t install touch screen plugin

Raspberry Pi 4 Model B Ram 4 GB
Version of Volumio : 3.512
Network: WLAN
Volumio Free account, Spotify Premium account.
Version of touch screen plugin : 3.3.7
touch screen 7 inch
Thank you in advance.


please run from the shell:

sudo dpkg-reconfigure tzdata
sudo apt-get update

And then try again.
if this still fails, you might look at this topic and change the repo.

2 Likes

I’ll try it. Thank you very much.

I did as you told me, it worked. !!!


Thank you very much, it was very useful to me and I hope it will be useful to others as well.

Looks like you forgot to install the “Touch Display” plugin.
The fact that you see the boot screen means that the addition in userconfig.txt is correct.

I uninstalled the plugin then reinstalled it. The display is now functioning thank you. However, whilst a mouse works, the touch function needs calibrating is this an option?
Thank you

Hi,

Since a few days, i don’t understand why i don’t manage to active the display of my lcd screen on my raspberry 3b+… (rpi 3.5 / 480*320)
In fact, after two days searching for the way, i succeeded … unfortunately, my SD card burned out before i made an img. And now, i am not able to reproduce the solution.

Here are the steps i did :

git clone https://github.com/goodtft/LCD-show
cd LCD-show/
sudo mkdir /etc/X11/xorg.conf.d
cd usr/
sudo cp tft35a-overlay.dtb /boot/overlays/
sudo cp LCD-show/usr/tft35a-overlay.dtb /boot/overlays/tft35a.dtbo
sudo cp -rf 99-calibration.conf-35-0 /etc/X11/xorg.conf.d/99-calibration.conf
sudo mkdir -p /usr/share/X11/xorg.conf.d/
sudo cp -rf 99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf
sudo nano /etc/X11/xorg.conf.d/99-calibration.conf

entering this :

	Section “InputClass”
		Identifier “calibration”
		MatchProduct “ADS7846 Touchscreen”
		Option “Calibration” “268 3880 3936 227” (this is what used to work in the good last try)
		Option “SwapAxes” “0”
		Driver “evdev”
	EndSection

my config.txt (i tried a few codes, i think that the problem is here) :

initramfs volumio.initrd
gpu_mem=32
max_usb_current=1
dtparam=audio=on
audio_pwm_mode=2
dtparam=i2c_arm=on
disable_splash=1
hdmi_force_hotplug=0
force_eeprom_read=0
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87
dtoverlay=tft35a
include userconfig.txt

my userconfig.txt :

dtparam=spi=on
dtoverlay=tft35a
sudo apt update
sudo apt install lightdm
sudo apt install xserver-xorg-input-evdev
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf

sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf
I changed Driver “fbturbo” to Driver “fbdev” and enter the fb1 option

then

systemctl status volumio-kiosk (was inactive)
systemctl start volumio-kiosk

Have an idea ?
Thanks a lot.

Why don’t you just install the plugin “Touch Display” ?

Yes, i forgot to write that i installed volumio and then installed the plugin “Touch Display”, last version of the driver. Volumio alert me with : “Touch display : error establishing connection to driver”

I suggest to start with a fresh Volumio installation and then proceed as follows:

  1. Install the Touch Display plugin.

  2. Connect to Volumio via SSH.

  3. Execute

    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

    cat >> /boot/userconfig.txt <<EOL
    
    dtparam=spi=on
    dtoverlay=tft35a
    EOL
    
  4. Reboot.

Thank you, but i already did that without success.

I reinstalled the driver, by command first (no success), in the interface then, and without knowing why, it succeeded…

Hello,

When I rotate 90 degrees in the TOUCH DISPLAY settings, the screen saver does not trigger.
When I do no rotation, the screen saver works perfectly.

Florian

@patrick_chirac

Florian, how do you imagine that people can help you, by just telling it’s not working?
Please specify at least:

  • Used SBC
  • Used touchscreen, preferable with a link to it.

Output of:

cat /boot/config.txt
cat /boot/userconfig.txt

Hello,
I’m French (nobody is perfect)

Screen : generic

Raspberry 3b+, DAC and Oled

config.txt

initramfs volumio.initrd
gpu_mem=32
max_usb_current=1
dtparam=audio=on
audio_pwm_mode=2
dtparam=i2c_arm=on
disable_splash=1
hdmi_force_hotplug=1
force_eeprom_read=0

include userconfig.txt

#### Volumio i2s setting below: do not alter ####
dtoverlay=allo-boss-dac-pcm512x-audio

And userconfig.txt

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

dtparam=spi=on