[PLUGIN] Touch Display

As starters never modify /boot/config.txt.
Custom entries need to be placed in /boot/userconfig.txt

so this need to move:

max_framebuffer_height=1480
hdmi_group=2
hdmi_mode=87
hdmi_timings=320 0 80 16 32 1480 0 16 4 12 0 0 0 60 0 42000000 3
1 Like

Thanks Wheaten , I will do as you suggested

Hi dev. Can you help me.
I’m using a raspberry pi 4 model b 2gb ram
I flashed the old ver of volumio ( ver. 2.917)
Using raspberry pi imger.
I configured it using ssh.
I comment out all this parameter from https://www.waveshare.com/wiki/7inch_HDMI_LCD_(B)
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
hdmi_drive=1

userconfig.txt

On a webui i successfully install the plugin touch display
And then,
I plug the display hdmi & power cord to my rpi
Then restart.

It seems that i made a mistake? So, that’s why i couldn’t play it on my touch screen?
It’s showing a black screen after that volumio come out on my screen.



Volumio V2.xxx isn’t supported anymore for more than 1.5 years. Upgrade to V3

I tried, the new ver but i couldn’t install the plugin touch display.
It says.

Downloading plugin at https://plugins.volumio.workers.dev/pluginsv2/download/touch_display/3.4.0/volumio/buster/armhf
END DOWNLOAD: https://plugins.volumio.workers.dev/pluginsv2/download/touch_display/3.4.0/volumio/buster/armhf
Creating install location
Unpacking plugin
Checking that the plugin is suitable for this version of Volumio The plugin can be used with this version of Volumio
Checking for duplicate plugin
Copying plugin to location
Installing necessary utilities
Re-synchronizing package index files from their sources
Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Get:2 https://deb.nodesource.com/node_14.x buster InRelease [4584 B]
Get:3 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:4 https://deb.nodesource.com/node_14.x buster/main armhf Packages [786 B]
Reading package lists...
Running apt-get update failed
Plugin failed to install!
Cleaning up...
Removing dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading package lists...
Building dependency tree...
Reading state information...
Deleting /opt/volumiokiosk.sh
Deleting /data/volumiokiosk
Deleting /lib/systemd/system/volumio-kiosk.service
Enabling login prompt
Done
Removing plugin directory /data/plugins/user_interface/touch_display
Removing temporary directory /tmp/touch_display-3ztRTPDa45
An error occurred while installing the plugin Error

Please check your date on the rPi, guess the date-time was way off when you tried to install the plugin, looking at the first error message. Running apt-get update failed

have a look at this topic:

Should i format my sd card again? Then do this this first before i run other comand prompt?

take a new SD or do a factory reset.
Perform the first configuration of Volumio
Enable ssh and folow the instructions from my previous post

4 posts were merged into an existing topic: Date Time issues rPi4

can you install the older versions?
i switched server to get the plugin to install but this is not always needed

Moved post to the correct topic, to avoid we start to hijack this topic.

Hi wheaten i made it now, however i couldn’t control the touch screen

Please uninstall the plugin,
reboot
reinstall the plugin and post the log here.

Hello i couldn’t access volumio now. I wanna try to uninstall the plugin it seems i couldn’t access it the ip didn’t show either.

Hello, can you help me with this? I couldn’t still fix this,
I reformat my 32gb sdcard as fat32 using raspberry pi imager. And write the latest volumio.
-Insert the sd card on raspberry pi 4b and boot.
-ssh to configure user:volumio pass:volumio.
-Configure webui.
-on userconfig.txt comment out parameters

  • then on a terminal i do this :Date Time issues rPi4 - #73 by Wheaten
  • double check date/time
    -install plug in touch display. (success then enable)
    -plug hdmi&powercord display to rpi.
    -turn on the backlight
    -on the terminal sudo reboot.

It shows black screen.

1 Like

Doesn’t your post above show the display working?

Is the display connected to the HDMI port next to the USB-C port of your Pi 4?

What does that mean in concrete terms?

What is the output of

cat /boot/userconfig.txt

Hi gvolt,
I’m here to ask for help,
I’m having a hard time to setup my 7 inch touch screen,
First, I’m done with this Prepare Raspberry Pi for boot from USB/NVMe and successfully boot from usb/ssd using prototype volumio image.
On my webui i am successfully installed the plugin touch display however i couldn’t control or can’t even touch my screen.
I am currently using raspberry pi 4 model b 2gb ram, and my display hdmi and power are connected to raspberry pi. Another problem is i can’t play spotify cause it’s says "failed to open alsa.

Please connected to Volumio via SSH, execute

ls -al /dev/input

and post the output.

Also post the output of

cat /var/log/Xorg.0.log

You might open a dedicated thread for this problem to get some attention or post the issue in an already existing spotify related thread.

P.S. Regarding the touch function problem: Did you already try another USB cable?

Thanks gvolt! I changed the usb cord and i can control the touchscreen however, i don’t know what’s the problem with my spotify it seems it can’t access properly can’t even play or load to a main screen. Here’s the video : https://drive.google.com/file/d/1p9qV9YgHzdrlPJ0gBKXbR3uH3HZdurk7/view?usp=drivesdk

And webradio said failed to open alsa.

login as:

volumio volumio@[192.168.100.119](https://l.facebook.com/l.php?u=http%3A%2F%2F192.168.100.119%2F%3Ffbclid%3DIwAR193ONqOH1KndGWihjTLD0182kUo9gQinduqNafeEav7yEVBDNQ3Y8mso8_aem_AajhD_5B5IFJSFhFmOVXyKEc9znDDyh9qhb79OUpWtPxXNaviIzGDd-PSRU9MOkgRdQt7QxsRZJEdTB6RWZ_4JSD&h=AT2SgYxo2GkAS0702369tgN_Ey7MWWVo0pLJMsoujaF-lalXOJ5zXTat5EJHTCQjqA5M9uujIykiA6uo7Mob2qX8WpBv1Eu_MQicAS_4PNuOz2C7CSUgPc65KRCixP62cWCQ7g)'s password: *_* /\_ \ __ *_ _* *__\//\ \ _* *_ __ _* /\_\ *_* /\ \/\ \ / __`\\ \ \  /\ \/\ \ /' __` __`\/\ \ / __`\ \ \ \_/ |/\ \L\ \\_\ \_\ \ \_\ \/\ \/\ \/\ \ \ \/\ \L\ \ \ \___/ \ \____//\____\\ \____/\ \_\ \_\ \_\ \_\ \____/ \/__/ \/___/ \/____/ \/___/ \/_/\/_/\/_/\/_/\/___/ Free Audiophile Linux Music Player - Version 3.0 © 2015-2021 Michelangelo Guarise - Volumio Team - Volumio.org Volumio Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Welcome to Volumio for Raspberry Pi (6.1.69-v7l+ armv7l) volumio@volumio:~$ ls -al /dev/input total 0 drwxr-xr-x 4 root root 140 Apr 3 13:27 . drwxr-xr-x 16 root root 3820 Apr 3 13:27 .. drwxr-xr-x 2 root root 60 Apr 3 13:27 by-id drwxr-xr-x 2 root root 60 Apr 3 13:27 by-path crw-rw---- 1 root input 13, 64 Apr 3 13:27 event0 crw-rw---- 1 root input 13, 63 Apr 3 13:27 mice crw-rw---- 1 root input 13, 32 Apr 3 13:27 mouse0 volumio@volumio:~$

volumio@volumio:~$ cat /var/log/Xorg.0.log [ 45.318] X.Org X Server 1.20.4 X Protocol Version 11, Revision 0 [ 45.318] Build Operating System: Linux 5.4.0-109-generic armv8l Raspbian [ 45.318] Current Operating System: Linux volumio 6.1.69-v7l+ #1710 SMP Thu Dec 21 13:17:38 GMT 2023 armv7l [ 45.318] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=800 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:01:41:E4 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 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=ttyS0,115200 console=tty1 imgpart=UUID=953e0832-2d16-41f6-b22e-c097902dd0c1 imgfile=/volumio_current.sqsh bootpart=UUID=9AB2-0FD6 datapart=UUID=2d601a02-cd85-4e6c-99b8-18f8950b09a6 bootconfig=cmdline.txt pcie_aspm=off pci=pcie_bus_safe rootwait bootdelay=5 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 [ 45.318] Build Date: 04 April 2023 07:50:56AM [ 45.318] xorg-server 2:1.20.4-1+rpt4+deb10u9 ([https://www.debian.org/support](https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.debian.org%2Fsupport%3Ffbclid%3DIwAR1QO9ifOs72_H1N-xQ7gyqsoND5ZBjUbvnC_2KqLEadUkWHJD2PyxIDEVI_aem_AaiGUg-sfVOJgaPlHKRJq7W9OHMUZjXbsG9CvBY5Cj69_KIAzICFdsdCQLsy8zjNtMahK5C9b0-xWGw0zQoQy4iN&h=AT2SgYxo2GkAS0702369tgN_Ey7MWWVo0pLJMsoujaF-lalXOJ5zXTat5EJHTCQjqA5M9uujIykiA6uo7Mob2qX8WpBv1Eu_MQicAS_4PNuOz2C7CSUgPc65KRCixP62cWCQ7g)) [ 45.318] Current version of pixman: 0.36.0 [ 45.318] Before reporting problems, check [http://wiki.x.org](https://l.facebook.com/l.php?u=http%3A%2F%2Fwiki.x.org%2F%3Ffbclid%3DIwAR3GBqk7Ce3A3tBDyCQ-wz536vteah_4u-8_ZM7NlTWT9BA4J4gpR5-WQNk_aem_Aaj75UXk6fV7fLUhrA7CyKpV6jzCwJH9QG2_kJ5Hfv-kWlhCSbC8aAHQNfEXjFKKePzp1uW9vwYzHUwtcyMojK98&h=AT2SgYxo2GkAS0702369tgN_Ey7MWWVo0pLJMsoujaF-lalXOJ5zXTat5EJHTCQjqA5M9uujIykiA6uo7Mob2qX8WpBv1Eu_MQicAS_4PNuOz2C7CSUgPc65KRCixP62cWCQ7g) to make sure that you have the latest version. [ 45.318] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 45.319] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 3 13:27:36 2024 [ 45.352] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 45.352] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 45.387] (==) No Layout section. Using the first Screen section. [ 45.387] (==) No screen section available. Using defaults. [ 45.387] (**) |-->Screen "Default Screen Section" (0) [ 45.387] (**) | |-->Monitor "<default monitor>" [ 45.388] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 45.388] (==) Automatically adding devices [ 45.388] (==) Automatically enabling devices [ 45.388] (==) Automatically adding GPU devices [ 45.392] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 45.397] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 45.397] Entry deleted from font path. [ 45.404] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, built-ins [ 45.404] (==) ModulePath set to "/usr/lib/xorg/modules" [ 45.404] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 45.404] (II) Loader magic: 0x1fdf80 [ 45.404] (II) Module ABI versions: [ 45.404] X.Org ANSI C Emulation: 0.4 [ 45.404] X.Org Video Driver: 24.0 [ 45.404] X.Org XInput driver : 24.1 [ 45.404] X.Org Server Extension : 10.0 [ 45.405] (--) using VT number 2 [ 45.405] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [ 45.406] (II) no primary bus or device found [ 45.407] (II) LoadModule: "glx" [ 45.412] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 45.458] (II) Module glx: vendor="X.Org Foundation" [ 45.458] compiled for 1.20.4, module version = 1.0.0 [ 45.458] ABI class: X.Org Server Extension, version 10.0 [ 45.458] (==) Matched modesetting as autoconfigured driver 0 [ 45.458] (==) Matched fbdev as autoconfigured driver 1 [ 45.458] (==) Assigned the driver to the xf86ConfigLayout [ 45.458] (II) LoadModule: "modesetting" [ 45.460] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 45.469] (II) Module modesetting: vendor="X.Org Foundation" [ 45.469] compiled for 1.20.4, module version = 1.20.4 [ 45.469] Module class: X.Org Video Driver [ 45.469] ABI class: X.Org Video Driver, version 24.0 [ 45.469] (II) LoadModule: "fbdev" [ 45.469] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [ 45.477] (II) Module fbdev: vendor="X.Org Foundation" [ 45.477] compiled for 1.20.3, module version = 0.5.0 [ 45.477] Module class: X.Org Video Driver [ 45.477] ABI class: X.Org Video Driver, version 24.0 [ 45.477] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 45.477] (II) FBDEV: driver for framebuffer: fbdev [ 45.479] (WW) Falling back to old probe method for modesetting [ 45.479] (EE) open /dev/dri/card0: No such file or directory [ 45.479] (WW) Falling back to old probe method for fbdev [ 45.479] (II) Loading sub module "fbdevhw" [ 45.479] (II) LoadModule: "fbdevhw" [ 45.479] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 45.481] (II) Module fbdevhw: vendor="X.Org Foundation" [ 45.481] compiled for 1.20.4, module version = 0.0.2 [ 45.481] ABI class: X.Org Video Driver, version 24.0 [ 45.481] (II) FBDEV(0): using default device [ 45.481] (II) FBDEV(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 45.481] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32 [ 45.481] (==) FBDEV(0): RGB weight 888 [ 45.481] (==) FBDEV(0): Default visual is TrueColor [ 45.481] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0) [ 45.481] (II) FBDEV(0): hardware: BCM2708 FB (video memory: 1500kB) [ 45.481] (DB) xf86MergeOutputClassOptions unsupported bus type 0 [ 45.481] (II) FBDEV(0): checking modes against framebuffer device... [ 45.481] (II) FBDEV(0): checking modes against monitor... [ 45.481] (II) FBDEV(0): Virtual size is 800x480 (pitch 800) [ 45.481] (**) FBDEV(0): Built-in mode "current" [ 45.481] (==) FBDEV(0): DPI set to (96, 96) [ 45.481] (II) Loading sub module "fb" [ 45.481] (II) LoadModule: "fb" [ 45.481] (II) Loading /usr/lib/xorg/modules/libfb.so [ 45.485] (II) Module fb: vendor="X.Org Foundation" [ 45.485] compiled for 1.20.4, module version = 1.0.0 [ 45.485] ABI class: X.Org ANSI C Emulation, version 0.4 [ 45.485] (**) FBDEV(0): using shadow framebuffer [ 45.485] (II) Loading sub module "shadow" [ 45.485] (II) LoadModule: "shadow" [ 45.485] (II) Loading /usr/lib/xorg/modules/libshadow.so [ 45.486] (II) Module shadow: vendor="X.Org Foundation" [ 45.486] compiled for 1.20.4, module version = 1.1.0 [ 45.486] ABI class: X.Org ANSI C Emulation, version 0.4 [ 45.486] (II) UnloadModule: "modesetting" [ 45.486] (II) Unloading modesetting [ 45.500] (==) FBDEV(0): Backing store enabled [ 45.506] (==) FBDEV(0): DPMS enabled [ 45.511] (II) Initializing extension Generic Event Extension [ 45.511] (II) Initializing extension SHAPE [ 45.512] (II) Initializing extension MIT-SHM [ 45.512] (II) Initializing extension XInputExtension [ 45.517] (II) Initializing extension XTEST [ 45.518] (II) Initializing extension BIG-REQUESTS [ 45.518] (II) Initializing extension SYNC [ 45.519] (II) Initializing extension XKEYBOARD [ 45.519] (II) Initializing extension XC-MISC [ 45.520] (II) Initializing extension SECURITY [ 45.521] (II) Initializing extension XFIXES [ 45.521] (II) Initializing extension RENDER [ 45.522] (II) Initializing extension RANDR [ 45.523] (II) Initializing extension COMPOSITE [ 45.523] (II) Initializing extension DAMAGE [ 45.524] (II) Initializing extension MIT-SCREEN-SAVER [ 45.525] (II) Initializing extension DOUBLE-BUFFER [ 45.525] (II) Initializing extension RECORD [ 45.526] (II) Initializing extension DPMS [ 45.526] (II) Initializing extension Present [ 45.527] (II) Initializing extension DRI3 [ 45.527] (II) Initializing extension X-Resource [ 45.527] (II) Initializing extension XVideo [ 45.528] (II) Initializing extension XVideo-MotionCompensation [ 45.528] (II) Initializing extension SELinux [ 45.528] (II) SELinux: Disabled on system [ 45.528] (II) Initializing extension GLX [ 45.529] (II) AIGLX: Screen 0 is not DRI2 capable [ 46.297] (II) IGLX: Loaded and initialized swrast [ 46.297] (II) GLX: Initialized DRISWRAST GL provider for screen 0 [ 46.297] (II) Initializing extension XFree86-VidModeExtension [ 46.297] (II) Initializing extension XFree86-DGA [ 46.298] (II) Initializing extension XFree86-DRI [ 46.299] (II) Initializing extension DRI2 [ 46.467] (II) config/udev: Adding input device WaveShare WS170120 (/dev/input/event0) [ 46.467] (**) WaveShare WS170120: Applying InputClass "libinput touchscreen catchall" [ 46.467] (**) WaveShare WS170120: Applying InputClass "Touch rotation" [ 46.467] (II) LoadModule: "libinput" [ 46.467] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so [ 46.486] (II) Module libinput: vendor="X.Org Foundation" [ 46.486] compiled for 1.20.3, module version = 0.28.2 [ 46.486] Module class: X.Org XInput Driver [ 46.486] ABI class: X.Org XInput driver, version 24.1 [ 46.486] (II) Using input driver 'libinput' for 'WaveShare WS170120' [ 46.486] (**) WaveShare WS170120: always reports core events [ 46.486] (**) Option "Device" "/dev/input/event0" [ 46.486] (**) Option "_source" "server/udev" [ 46.505] (II) event0 - WaveShare WS170120: is tagged by udev as: Touchscreen [ 46.507] (II) event0 - WaveShare WS170120: device is a touch device [ 46.507] (II) event0 - WaveShare WS170120: device removed [ 46.590] (**) Option "config_info" "udev:/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:0EEF:0005.0001/input/input1/event0" [ 46.590] (II) XINPUT: Adding extended input device "WaveShare WS170120" (type: TOUCHSCREEN, id 6) [ 46.590] (**) Option "AccelerationScheme" "none" [ 46.590] (**) WaveShare WS170120: (accel) selected scheme none/0 [ 46.590] (**) WaveShare WS170120: (accel) acceleration factor: 2.000 [ 46.590] (**) WaveShare WS170120: (accel) acceleration threshold: 4 [ 46.600] (II) event0 - WaveShare WS170120: is tagged by udev as: Touchscreen [ 46.602] (II) event0 - WaveShare WS170120: device is a touch device [ 46.605] (II) config/udev: Adding input device WaveShare WS170120 (/dev/input/mouse0) [ 46.605] (II) No input driver specified, ignoring this device. [ 46.605] (II) This device may have been added with another device file. volumio@volumio:~$