[PLUGIN] Touch Display

Did you try exchanging the USB cables or use another USB cable for the connection to the Pi?

Did you connect the display to a PC and check if touch works there?

It’s looks like middle port is for touch. Bottom is for PS.

1 Like

I’ve already tried that with the same cables on the notebook and it works.
Connected exactly as shown in the picture.
The USB port of the Raspberry does not have enough power, so the additional power cable is connected to the USB-C below

1 Like

What are the results of

sudo dmesg | grep touch

and

cat /var/log/Xorg.0.log | grep touch

Now please post the full log

cat /var/log/Xorg.0.log

and the output of

cat /usr/share/X11/xorg.conf.d/40-libinput.conf

volumio@volumio:~$ cat /var/log/Xorg.0.log
[    32.243]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[    32.243] Build Operating System: Linux 5.4.0-109-generic armv8l Raspbian
[    32.243] Current Operating System: Linux volumio 6.1.58-v7l+ #1690 SMP Tue O     ct 17 15:36:02 BST 2023 armv7l
[    32.243] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.e     nable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 bcm     2708_fb.fbwidth=2560 bcm2708_fb.fbheight=720 bcm2708_fb.fbswap=1 smsc95xx.macadd     r=DC:A6:32:5F:B7:4D vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  splas     h 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 consol     e=tty1 imgpart=/dev/mmcblk0p2 imgfile=/volumio_current.sqsh rootwait bootdelay=5      elevator=noop 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 lo     glevel=0
[    32.244] Build Date: 04 April 2023  07:50:56AM
[    32.244] xorg-server 2:1.20.4-1+rpt4+deb10u9 (https://www.debian.org/support     )
[    32.244] Current version of pixman: 0.36.0
[    32.245]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    32.245] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    32.246] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 27 22:56:26 202     3
[    32.254] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    32.254] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    32.257] (==) No Layout section.  Using the first Screen section.
[    32.257] (==) No screen section available. Using defaults.
[    32.257] (**) |-->Screen "Default Screen Section" (0)
[    32.257] (**) |   |-->Monitor "<default monitor>"
[    32.261] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    32.261] (==) Automatically adding devices
[    32.261] (==) Automatically enabling devices
[    32.261] (==) Automatically adding GPU devices
[    32.265] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    32.266] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    32.266]    Entry deleted from font path.
[    32.266] (==) 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
[    32.267] (==) ModulePath set to "/usr/lib/xorg/modules"
[    32.267] (II) The server relies on udev to provide the list of input devices     .
        If no devices become available, reconfigure udev or disable AutoAddDevic     es.
[    32.267] (II) Loader magic: 0x1fdf80
[    32.267] (II) Module ABI versions:
[    32.267]    X.Org ANSI C Emulation: 0.4
[    32.267]    X.Org Video Driver: 24.0
[    32.267]    X.Org XInput driver : 24.1
[    32.267]    X.Org Server Extension : 10.0
[    32.268] (--) using VT number 2

[    32.268] (II) systemd-logind: logind integration requires -keeptty and -keep     tty was not provided, disabling logind integration
[    32.269] (II) no primary bus or device found
[    32.269] (II) LoadModule: "glx"
[    32.271] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    32.300] (II) Module glx: vendor="X.Org Foundation"
[    32.300]    compiled for 1.20.4, module version = 1.0.0
[    32.300]    ABI class: X.Org Server Extension, version 10.0
[    32.300] (==) Matched modesetting as autoconfigured driver 0
[    32.300] (==) Matched fbdev as autoconfigured driver 1
[    32.300] (==) Assigned the driver to the xf86ConfigLayout
[    32.300] (II) LoadModule: "modesetting"
[    32.300] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    32.303] (II) Module modesetting: vendor="X.Org Foundation"
[    32.303]    compiled for 1.20.4, module version = 1.20.4
[    32.303]    Module class: X.Org Video Driver
[    32.303]    ABI class: X.Org Video Driver, version 24.0
[    32.303] (II) LoadModule: "fbdev"
[    32.304] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    32.305] (II) Module fbdev: vendor="X.Org Foundation"
[    32.305]    compiled for 1.20.3, module version = 0.5.0
[    32.305]    Module class: X.Org Video Driver
[    32.305]    ABI class: X.Org Video Driver, version 24.0
[    32.305] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    32.305] (II) FBDEV: driver for framebuffer: fbdev
[    32.309] (WW) Falling back to old probe method for modesetting
[    32.309] (EE) open /dev/dri/card0: No such file or directory
[    32.309] (WW) Falling back to old probe method for fbdev
[    32.309] (II) Loading sub module "fbdevhw"
[    32.309] (II) LoadModule: "fbdevhw"
[    32.309] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    32.311] (II) Module fbdevhw: vendor="X.Org Foundation"
[    32.311]    compiled for 1.20.4, module version = 0.0.2
[    32.311]    ABI class: X.Org Video Driver, version 24.0
[    32.311] (II) FBDEV(0): using default device
[    32.311] (II) FBDEV(0): Creating default Display subsection in Screen sectio     n
        "Default Screen Section" for depth/fbbpp 24/32
[    32.311] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[    32.311] (==) FBDEV(0): RGB weight 888
[    32.311] (==) FBDEV(0): Default visual is TrueColor
[    32.311] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    32.311] (II) FBDEV(0): hardware: BCM2708 FB (video memory: 7200kB)
[    32.311] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[    32.311] (II) FBDEV(0): checking modes against framebuffer device...
[    32.311] (II) FBDEV(0): checking modes against monitor...
[    32.311] (II) FBDEV(0): Virtual size is 2560x720 (pitch 2560)
[    32.311] (**) FBDEV(0):  Built-in mode "current"
[    32.311] (==) FBDEV(0): DPI set to (96, 96)
[    32.311] (II) Loading sub module "fb"
[    32.311] (II) LoadModule: "fb"
[    32.311] (II) Loading /usr/lib/xorg/modules/libfb.so
[    32.315] (II) Module fb: vendor="X.Org Foundation"
[    32.315]    compiled for 1.20.4, module version = 1.0.0
[    32.315]    ABI class: X.Org ANSI C Emulation, version 0.4
[    32.315] (**) FBDEV(0): using shadow framebuffer
[    32.315] (II) Loading sub module "shadow"
[    32.315] (II) LoadModule: "shadow"
[    32.315] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    32.316] (II) Module shadow: vendor="X.Org Foundation"
[    32.316]    compiled for 1.20.4, module version = 1.1.0
[    32.316]    ABI class: X.Org ANSI C Emulation, version 0.4
[    32.316] (II) UnloadModule: "modesetting"
[    32.316] (II) Unloading modesetting
[    32.330] (==) FBDEV(0): Backing store enabled
[    32.333] (==) FBDEV(0): DPMS enabled
[    32.334] (II) Initializing extension Generic Event Extension
[    32.335] (II) Initializing extension SHAPE
[    32.335] (II) Initializing extension MIT-SHM
[    32.336] (II) Initializing extension XInputExtension
[    32.339] (II) Initializing extension XTEST
[    32.339] (II) Initializing extension BIG-REQUESTS
[    32.340] (II) Initializing extension SYNC
[    32.341] (II) Initializing extension XKEYBOARD
[    32.341] (II) Initializing extension XC-MISC
[    32.342] (II) Initializing extension SECURITY
[    32.342] (II) Initializing extension XFIXES
[    32.343] (II) Initializing extension RENDER
[    32.344] (II) Initializing extension RANDR
[    32.345] (II) Initializing extension COMPOSITE
[    32.349] (II) Initializing extension DAMAGE
[    32.349] (II) Initializing extension MIT-SCREEN-SAVER
[    32.350] (II) Initializing extension DOUBLE-BUFFER
[    32.351] (II) Initializing extension RECORD
[    32.352] (II) Initializing extension DPMS
[    32.352] (II) Initializing extension Present
[    32.353] (II) Initializing extension DRI3
[    32.353] (II) Initializing extension X-Resource
[    32.353] (II) Initializing extension XVideo
[    32.354] (II) Initializing extension XVideo-MotionCompensation
[    32.354] (II) Initializing extension SELinux
[    32.354] (II) SELinux: Disabled on system
[    32.354] (II) Initializing extension GLX
[    32.355] (II) AIGLX: Screen 0 is not DRI2 capable
[    33.068] (II) IGLX: Loaded and initialized swrast
[    33.068] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    33.068] (II) Initializing extension XFree86-VidModeExtension
[    33.069] (II) Initializing extension XFree86-DGA
[    33.070] (II) Initializing extension XFree86-DRI
[    33.073] (II) Initializing extension DRI2
[    33.262] (II) config/udev: Adding input device WingCool Inc. TouchScreen (/d     ev/input/event0)
[    33.263] (**) WingCool Inc. TouchScreen: Applying InputClass "libinput touch     screen catchall"
[    33.263] (**) WingCool Inc. TouchScreen: Applying InputClass "Touch rotation     "
[    33.263] (II) LoadModule: "libinput"
[    33.263] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    33.284] (II) Module libinput: vendor="X.Org Foundation"
[    33.284]    compiled for 1.20.3, module version = 0.28.2
[    33.284]    Module class: X.Org XInput Driver
[    33.284]    ABI class: X.Org XInput driver, version 24.1
[    33.284] (II) Using input driver 'libinput' for 'WingCool Inc. TouchScreen'
[    33.284] (**) WingCool Inc. TouchScreen: always reports core events
[    33.284] (**) Option "Device" "/dev/input/event0"
[    33.284] (**) Option "_source" "server/udev"
[    33.307] (II) event0  - WingCool Inc. TouchScreen: is tagged by udev as: Tou     chscreen
[    33.307] (II) event0  - WingCool Inc. TouchScreen: device is a touch device
[    33.307] (II) event0  - WingCool Inc. TouchScreen: device removed
[    33.360] (**) 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.4/1-1.4:1.0/0003:27C0:085     9.0001/input/input2/event0"
[    33.360] (II) XINPUT: Adding extended input device "WingCool Inc. TouchScree     n" (type: TOUCHSCREEN, id 6)
[    33.360] (**) Option "AccelerationScheme" "none"
[    33.360] (**) WingCool Inc. TouchScreen: (accel) selected scheme none/0
[    33.360] (**) WingCool Inc. TouchScreen: (accel) acceleration factor: 2.000
[    33.360] (**) WingCool Inc. TouchScreen: (accel) acceleration threshold: 4
[    33.367] (II) event0  - WingCool Inc. TouchScreen: is tagged by udev as: Tou     chscreen
[    33.367] (II) event0  - WingCool Inc. TouchScreen: device is a touch device
[    33.370] (II) config/udev: Adding input device WingCool Inc. TouchScreen (/d     ev/input/mouse0)
[    33.370] (II) No input driver specified, ignoring this device.
[    33.370] (II) This device may have been added with another device file.
[    33.373] (II) config/udev: Adding input device WingCool Inc. TouchScreen (/d     ev/input/event1)
[    33.373] (**) WingCool Inc. TouchScreen: Applying InputClass "libinput point     er catchall"
[    33.373] (II) Using input driver 'libinput' for 'WingCool Inc. TouchScreen'
[    33.373] (**) WingCool Inc. TouchScreen: always reports core events
[    33.373] (**) Option "Device" "/dev/input/event1"
[    33.373] (**) Option "_source" "server/udev"
[    33.379] (II) event1  - WingCool Inc. TouchScreen: is tagged by udev as: Mou     se
[    33.380] (II) event1  - WingCool Inc. TouchScreen: device is a pointer
[    33.380] (II) event1  - WingCool Inc. TouchScreen: device removed
[    33.420] (**) 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.4/1-1.4:1.2/0003:27C0:085     9.0003/input/input1/event1"
[    33.420] (II) XINPUT: Adding extended input device "WingCool Inc. TouchScree     n" (type: MOUSE, id 7)
[    33.420] (**) Option "AccelerationScheme" "none"
[    33.420] (**) WingCool Inc. TouchScreen: (accel) selected scheme none/0
[    33.420] (**) WingCool Inc. TouchScreen: (accel) acceleration factor: 2.000
[    33.420] (**) WingCool Inc. TouchScreen: (accel) acceleration threshold: 4
[    33.427] (II) event1  - WingCool Inc. TouchScreen: is tagged by udev as: Mou     se
[    33.427] (II) event1  - WingCool Inc. TouchScreen: device is a pointer
[    33.430] (II) config/udev: Adding input device WingCool Inc. TouchScreen (/d     ev/input/mouse1)
[    33.430] (II) No input driver specified, ignoring this device.
[    33.430] (II) This device may have been added with another device file.
[    52.548] (II) Axis 0x35 value 42752 is outside expected range [-819, 17202]
See https://wayland.freedesktop.org/libinput/doc/1.12.6/absolute_coordinate_rang     es.html for details
volumio@volumio:~$ cat /usr/share/X11/xorg.conf.d/40-libinput.conf
# Match on all types of devices but joysticks
#
# If you want to configure your devices, do not copy this file.
# Instead, use a config snippet that contains something like this:
#
# Section "InputClass"
#   Identifier "something or other"
#   MatchDriver "libinput"
#
#   MatchIsTouchpad "on"
#   ... other Match directives ...
#   Option "someoption" "value"
# EndSection
#
# This applies the option any libinput device also matched by the other
# directives. See the xorg.conf(5) man page for more info on
# matching devices.

Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Please format the pasted output of commands with code tags for better readability.

sorry, i will do
Thanks, we’ll continue tomorrow

I suspect libinput is not able to handle the WingCool Inc. TouchScreen.

Good morning,
I know other users who use this display. I think the problem is with my display and I will replace it first.
Thank you for your efforts and help

Could you check if touch works if you establish the USB connection between display and Pi only after the system has booted and the Touch Display plugin has been started?

I tried that too, unfortunately without success. Thanks, the display is going back.

@gvolt ,

Are you able to add a configurable setting to the plugin.
To avoid the white screen while the GUI loads?

open a ssh session and type:
sudo nano /opt/volumiokiosk.sh

find:
--disable-translate \
and add below:
--force-dark-mode \

Just tested it and it does work

13 posts were split to a new topic: Date Time issues rPi4

Moved the DateTime issues to a new topic, so it can be found by others and avoid messing up this topic.

I am in despair
nothing works
And I don’t understand the peppy :frowning:

fa1
fa2
fa3

Please spend some time reading the topics, as this is already answered.
Please execute via a SSH session:
https://developers.volumio.com/SSH%20Connection

sudo bash -c 'cat << EOF >  /etc/X11/xorg.conf.d/99-vc4.conf
Section "OutputClass"
    Identifier "vc4"
    MatchDriver "vc4"
    Driver "modesetting"
    Option "PrimaryGPU" "true"
EndSection
EOF'

reboot

Thank you very much for your patience.
But it still doesn’t work

fa4

fa5