Volumio 3.5 inch display (Quimat 3,5’’ Zoll) cannot be installed

Hello dear community,

I’m new to the forum and have a problem with Volumio. I got it to work on my Rpi3b + and tried to install the drivers for my 3.5 inch display using SSH.

According to the manufacturer’s instructions, I should do the following:

sudo rm -rf LCD-show
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show
sudo ./LCD35-show

But when I try to do this, the following errors appear:

volumio@netzwerkplayer:~$ sudo rm -rf LCD-show
volumio@netzwerkplayer:~$ git clone https://github.com/goodtft/LCD-show.git
Cloning into 'LCD-show'...
remote: Enumerating objects: 71, done.
remote: Counting objects: 100% (71/71), done.
remote: Compressing objects: 100% (53/53), done.
remote: Total 1257 (delta 45), reused 39 (delta 17), pack-reused 1186
Receiving objects: 100% (1257/1257), 773.71 KiB | 592.00 KiB/s, done.
Resolving deltas: 100% (826/826), done.
Checking connectivity... done.
volumio@netzwerkplayer:~$ chmod -R 755 LCD-show
volumio@netzwerkplayer:~$ cd LCD-show/
volumio@netzwerkplayer:~/LCD-show$ sudo ./LCD35-show
[sudo] password for volumio:
2020
need to update touch configuration
Selecting previously unselected package xserver-xorg-input-evdev.
(Reading database ... 29802 files and directories currently installed.)
Preparing to unpack .../xserver-xorg-input-evdev_1%3a2.10.6-1+b1_armhf.deb ...
Unpacking xserver-xorg-input-evdev (1:2.10.6-1+b1) ...
Processing triggers for man-db (2.7.5-1~bpo8+1) ...
dpkg: dependency problems prevent configuration of xserver-xorg-input-evdev:
 xserver-xorg-input-evdev depends on xorg-input-abi-24; however:
  Package xorg-input-abi-24 is not installed.
 xserver-xorg-input-evdev depends on xserver-xorg-core (>= 2:1.18.99.901); however:
  Version of xserver-xorg-core on system is 2:1.18.4-2+rpi1.

dpkg: error processing package xserver-xorg-input-evdev (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 xserver-xorg-input-evdev
reboot now
Connection to 192.168.178.63 closed by remote host.
Connection to 192.168.178.63 closed.

Since the reboot, my Volumio image doesn’t want to boot either. I tried several options, websites and Google, but got no further. I am really desperate.

One more note: I downloaded and activated the plug-in for the Volumio touch display first!

It would be extremely nice if someone could help me. :innocent:

Greetings Leon :slightly_smiling_face:

Volumio Information

Volumio Version: 2.0
Hardware: RaspberryPi 3b+
DAC: -

1 Like

Hi @S-Informatik,

what is the brand and exact model name of the display?

Flash the Volumio image again. Then don’t run the LCD-show script. We can do the necessary steps one by one.

Thank you @gvolt ,

Quimat 3,5’’ Zoll

I uploaded a picture, maybe that will help too.

love greetings leon

Thanks for the info :slight_smile:

Please flash a fresh Volumio image if not already done.

After Volumio has started and settled down open /boot/userconfig.txt, add

dtparam=spi=on
dtoverlay=tft35a:rotate=90

and save the file.

Reboot.

Then install the Touch Display plugin and enable it. Report back if the display and possibly touch already work.

I did it exactly according to your instructions but unfortunately no success. The display shines black with background lighting. I restarted it after activating the plugin, but now it stays white. However, Volumio continues to boot.

LG Leon🙂
thank you for your help

What Volumio version did you flash?

Did you see any error messages after enabling the plugin?

Please post the results of

cat /boot/config.txt

cat /boot/userconfig.txt

cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf

ls -al /dev/fb*

and

systemctl status -l volumio-kiosk.service

1 Like

The version is the volumio-2.834-2020-09-24-pi.

As far as I could see, there were no errors installing the plugin.

volumio@volumio:~$ cat /boot/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



volumio@volumio:~$ cat /boot/userconfig.txt
# Add your custom config.txt options to this file, which will be preserved during updates
dtparam=spi=on
dtoverlay=tft35a:rotate=90

volumio@volumio:~$ cat /boot/userconfig.txt
# Add your custom config.txt options to this file, which will be preserved during updates
dtparam=spi=on
dtoverlay=tft35a:rotate=90
volumio@volumio:~$ cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf
# This is a minimal sample config file, which can be copied to
# /etc/X11/xorg.conf in order to make the Xorg server pick up
# and load xf86-video-fbturbo driver installed in the system.
#
# When troubleshooting, check /var/log/Xorg.0.log for the debugging
# output and error messages.
#
# Run "man fbturbo" to get additional information about the extra
# configuration options for tuning the driver.

Section "Device"
        Identifier      "Allwinner A10/A13 FBDEV"
        Driver          "fbturbo"
        Option          "fbdev" "/dev/fb0"

        Option          "SwapbuffersWait" "true"
EndSection


volumio@volumio:~$ ls -al /dev/fb*
crw-rw---- 1 root video 29, 0 Nov 16 21:06


volumio@volumio:~$ systemctl status -l volumio-kiosk.service
● volumio-kiosk.service - Volumio Kiosk
   Loaded: loaded (/lib/systemd/system/volumio-kiosk.service; disabled)
   Active: active (running) since Mon 2020-11-16 21:09:34 UTC; 40min ago
 Main PID: 1197 (startx)
   CGroup: /system.slice/volumio-kiosk.service
           ├─1197 /bin/sh /usr/bin/startx /etc/X11/Xsession /opt/volumiokiosk.sh -- -nocursor
           ├─1221 xinit /etc/X11/Xsession /opt/volumiokiosk.sh -- /usr/bin/X :0 -nocursor -auth /tmp/serverauth.qwgJrZRHvf
           ├─1222 /usr/lib/xorg/Xorg :0 -nocursor -auth /tmp/serverauth.qwgJrZRHvf
           ├─1330 /bin/bash /opt/volumiokiosk.sh
           ├─1347 /usr/bin/ssh-agent /opt/volumiokiosk.sh
           ├─1352 /usr/bin/openbox --startup /usr/lib/arm-linux-gnueabihf/openbox-autostart OPENBOX
           ├─1353 /usr/lib/chromium-browser/chromium-browser --enable-pinch --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --simulate-outdated-no-au=Tue, 31 Dec 2099 23:59:59 GMT --disable-pinch --kiosk --no-first-run --noerrdialogs --disable-3d-apis --disable-breakpad --disable-crash-reporter --disable-infobars --disable-session-crashed-bubble --disable-translate --user-data-dir=/data/volumiokiosk http://localhost:3000
           ├─1379 /usr/bin/pulseaudio --start
           ├─1388 /bin/sh /usr/bin/start-pulseaudio-x11
           ├─1389 /usr/bin/xprop -root -spy
           ├─1392 /usr/lib/chromium-browser/chromium-browser --type=zygote --noerrdialogs --user-data-dir=/data/volumiokiosk --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so
           ├─1395 /usr/lib/chromium-browser/chromium-browser --type=zygote --noerrdialogs --user-data-dir=/data/volumiokiosk --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so
           └─1446 /usr/lib/chromium-browser/chromium-browser --type=renderer --disable-3d-apis --disable-breakpad --disable-pinch --enable-pinch --enable-features=AutofillCreditCardSigninPromo<AutofillCreditCardSigninPromo,AutofillProfileCleanup<AutofillProfileCleanup,DocumentWriteEvaluator<DisallowFetchForDocWrittenScriptsInMainFrame,ExpectCTReporting<ExpectCTReporting,IncidentReportingDisableUpload<SafeBrowsingIncidentReportingService,IncidentReportingModuleLoadAnalysis<SafeBrowsingIncidentReportingServiceFeatures,IncidentReportingSuspiciousModuleReporting<SafeBrowsingIncidentReportingServiceFeatures,MaterialDesignUserManager<MaterialDesignUserManager,NegotiateTLS13<TLS13Negotiation,NetworkTimeServiceQuerying<NetworkTimeQueries,NewAudioRenderingMixingStrategy<NewAudioRenderingMixingStrategy

Nov 16 21:09:34 volumio startx[1197]: Markers: (--) probed, (**) from config file, (==) default setting,
Nov 16 21:09:34 volumio startx[1197]: (++) from command line, (!!) notice, (II) informational,
Nov 16 21:09:34 volumio startx[1197]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Nov 16 21:09:34 volumio startx[1197]: (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 16 21:09:34 2020
Nov 16 21:09:34 volumio startx[1197]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Nov 16 21:09:34 volumio startx[1197]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Nov 16 21:09:35 volumio startx[1197]: modprobe: FATAL: Module g2d_23 not found.
Nov 16 21:09:39 volumio pulseaudio[1379]: Unable to contact D-Bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally without any error message
Nov 16 21:09:39 volumio pulseaudio[1379]: Unable to contact D-Bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally without any error message
Nov 16 21:09:39 volumio pulseaudio[1379]: org.bluez.Manager.GetProperties() failed: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.bluez.Manager" doesn't exist

Thanks for your Help @gvolt :innocent:

I forgot to mention it in post #3: You need to download “tft35a-overlay.dtb” and copy it to “/boot/overlays/tft35a.dtbo”, e.g. (if you downloaded to Volumio’s home directory) with

sudo cp ~/tft35a-overlay.dtb /boot/overlays/tft35a.dtbo

Did you do that or is “tft35a.dtbo” possibly missing?

In fact, I was missing the file. After all, the display is black and glowing within a few seconds after starting the Pi. But there is still no logo or font displayed.

Thanks for your many tips :innocent:

Ok, please repeat

ls -al /dev/fb*

1 Like

crw-rw---- 1 root video 29, 0 Nov 16 21:06 /dev/fb0
crw-rw---- 1 root video 29, 1 Nov 16 21:06 /dev/fb1

Open “/usr/share/X11/xorg.conf.d/99-fbturbo.conf” and try changing the line

Option "fbdev" "/dev/fb0"

to

Option "fbdev" "/dev/fb1"

Then reboot.

Thank you very much, it is actually working now. :smiley: :smiley:

Only the touchscreen is not properly calibrated, are there any possibilities?

LG Leon :innocent:

1 Like

Create (or edit) “99-calibration.conf” in “/etc/X11/xorg.conf.d/” so it has the following content:

Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "ADS7846 Touchscreen"
        Option  "Calibration"   "268 3880 227 3936"
        Option  "SwapAxes"      "0"
EndSection

Reboot.

I think the top and bottom are swapped with left and right.

Thanks for all of your help, you know that really well.:blush:

I hope I got it right what is swapped :wink:

Try changing “99-calibration.conf” to

Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "ADS7846 Touchscreen"
        Option  "Calibration"   "3700 115 155 3865"
        Option  "SwapAxes"      "1"
EndSection

Somehow the values are still wrong.

When I press top left, the pointer is bottom left.

If I press the top right, the pointer is at the top left.

If I press the bottom right, the pointer is at the top right.

If I press lower left, the pointer is lower right. :sweat_smile:

I am little tired, so I may be wrong, but I think you need to revert to the values from post #13 except for “SwapAxes” which would remain “1”.

Hey @gvolt ,

I tried different values myself, but without real success. It seems like the X and Y axes of the touchscreen are reversed.

LG Leon :sweat_smile:

Could you describe how the touch screen reacts (like in post #16) when you use the values from post #13 and set “SwapAxes” to “1”?

You may try adding

Option "InvertY" "true"
Option "InvertX" "true"

to “99-calibration.conf”.