Get GoodTFT 5inch working with VolumIO

Hello, dear VolumIO support team.
I am new to RB and VolumIO.

I am trying to get a GoodTFT 5 inch display propably working with VolumIO (Raspberry 3B+).

Running the given procedure of goodtft (see below) ends in a reboot of VolumIO and a panic afterwards.

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

The following messages are given:

volumio@volumio:~/LCD-show$ sudo ./LCD5-show
[sudo] password for volumio:
cp: cannot create regular file ‘/usr/share/X11/xorg.conf.d/99-fbturbo.conf’: No such file or directory
cp: cannot create regular file ‘/usr/share/X11/xorg.conf.d/99-fbturbo.conf’: No such file or directory
2020
need to update touch configuration
Selecting previously unselected package xserver-xorg-input-evdev.
(Reading database … 26289 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 libevdev2 (>= 1.2.2+dfsg-1~); however:
Package libevdev2 is not installed.
xserver-xorg-input-evdev depends on libmtdev1 (>= 1.1.0); however:
Package libmtdev1 is not installed.
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:
Package xserver-xorg-core is not installed.

dpkg: error processing package xserver-xorg-input-evdev (–install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
xserver-xorg-input-evdev
reboot now

Using the 7-inch touchscreen add-on works. The display itself works, but, unfortunately, without the touch-function.

Does any one of you has an idea?

Thanks a lot

.:. lutz (a real noob to Raspberry :frowning:

for advice on touch and displays @gvolt has a lot experience on that …

Hi,

I frickled around with quite a few displays - when it comes to configure the touch function it was getting horrible all the times.

The solution for that was to buy displays with an DSI interface like the original RaspBerry 7“ display, which now are also available in 3,5“ 4“ and 5“ size.
Easy going - plug‘n‘play

br
Josef

1 Like

+1 @Josh2000

@Garageman

Please provide the exact model name of your display.

Hey, gvolt.

It is the LSC5A-UK display (HannStar HSD050IDW1) with SSD1963 MCU and integrated TPS61040 controller.

On Rasperry OS and the LibreELEC distribution it is running with the pen function (not a capacity touch screen as far as I understood). I can install the LDC5-show (LCD-hdmi is running, to)

I decided to use VolumIO instead of LibreELEC because of the better display usage (better to handle) on my HiFi device.

volumio@volumio:~$ sudo rm -rf LCD-show
volumio@volumio:~$ git clone https://github.com/goodtft/LCD-show.git
Cloning into ‘LCD-show’…
remote: Enumerating objects: 80, done.
remote: Counting objects: 100% (80/80), done.
remote: Compressing objects: 100% (69/69), done.
remote: Total 1337 (delta 14), reused 73 (delta 11), pack-reused 1257
Receiving objects: 100% (1337/1337), 2.31 MiB | 3.87 MiB/s, done.
Resolving deltas: 100% (847/847), done.
Checking connectivity… done.
volumio@volumio:~$ chmod -R 755 LCD-show
volumio@volumio:~$ cd LCD-show/

Rotation (90 degrees) of the display works, though the system tells:

cp: cannot create regular file ‘/usr/share/X11/xorg.conf.d/99-fbturbo.conf’: No such file or directory
cp: cannot create regular file ‘/usr/share/X11/xorg.conf.d/99-fbturbo.conf’: No such file or directory
2020
need to update touch configuration
Selecting previously unselected package xserver-xorg-input-evdev.
(Reading database … 24818 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) …
dpkg: dependency problems prevent configuration of xserver-xorg-input-evdev:
xserver-xorg-input-evdev depends on libevdev2 (>= 1.2.2+dfsg-1~); however:
Package libevdev2 is not installed.
xserver-xorg-input-evdev depends on libmtdev1 (>= 1.1.0); however:
Package libmtdev1 is not installed.
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:
Package xserver-xorg-core is not installed.

dpkg: error processing package xserver-xorg-input-evdev (–install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
xserver-xorg-input-evdev
LCD rotate value is set to 90
reboot now

The display turns 90 degrees.
After the reboot I received the message (still turned by 90 degrees):

[ end Kernel panic - not syncing: no working init found. Try passing init= option to kernel] see Linux Documentation/admin-guide/init.rst for guidance. ]
(afterwards, the system is frozen)

.:. lutz

@gvolt [quote=“Garageman, post:6, topic:44934”]
LSC5A-UK
[/quote]

http://www.lcdwiki.com/5inch_HDMI_Display
there is a driver for it i think you need to install it but let’s wait what gvolt will say …

That’s correct.
As stated on top of my initial post I followed the setup routine shown on 5inch HDMI Display - LCD wiki.

:frowning:

I assume you have a fresh Volumio installation with the touch display plugin installed.

  1. Don’t use the goodtft script / driver.

  2. Connect to Volumio via SSH.

  3. Open “/boot/userconfig.txt” by executing

sudo nano /boot/userconfig.txt

  1. Add the following lines
dtparam=spi=on
config_hdmi_boost=7
hdmi_group=2
hdmi_mode=87
hdmi_drive=1
hdmi_cvt 800 480 60 6 0 0 0
dtoverlay=ads7846
dtparam=cs=1
dtparam=penirq=25
dtparam=penirq_pull=2
dtparam=speed=50000
dtparam=swapxy=0
dtparam=pmax=255
dtparam=xohms=150
dtparam=xmin=200
dtparam=xmax=3900
dtparam=ymin=200
dtparam=ymax=3900
  1. Save the file with Ctrl+x, y and Enter

  2. Reboot

1 Like

Thanks a lot, gvolt.
I have added the parameters to userconfig.txt on a fresh image of volumio incl. the touch display plugin, then rebooted the system.

The 5 inches touch display is working great now!

Thank you so much, gvolt!

Cheers.

.:. lutz

Congrats! :tada:

1 Like