Reply To: 5" HDMI Touch Display ?

20. October 2016 at 11:23 #23465

Hi,
I’m using the same constellation. But I am not able to get the touchscreen working with jivelite. As soon as I install the touch drivers, jivelite no longer starts – an error message is showing.

Versucht zu starten … NICHT Erfolgreich Hier klicken für weitere Informationen

JiveLite 0.1.0
[0;33m20161017 16:40:29.920 INFO jivelite – JiveMain.lua:267 JiveLite version 0.1.0[0m
[0;33m20161017 16:40:29.921 INFO jivelite.ui.draw – jiveL_initSDL:227 initSDL[0m
[0;31m20161017 16:40:29.936 ERROR jivelite.ui.draw – jiveL_initSDL:234 SDL_Init(V|T|A): Unable to open a console terminal
[0m

This is what the driver script is trying to do:
i=1
for lines in cat ./boot/mark
do
case ${i} in
1) var1=${lines};;
esac
i=expr ${i} + 1
done
#echo “$var1”

if test “$var1” = “0”;then
sudo mkdir /etc/X11/xorg.conf.d
echo “1” > ./boot/mark
fi

if test “$1” = “0” -o “$#” = “0”; then
sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5 /etc/X11/xorg.conf.d/99-calibration.conf
sudo cp ./boot/config-5.txt /boot/config.txt
echo “LCD configrue 0”
elif test “$1” = “90”; then
sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-90 /etc/X11/xorg.conf.d/99-calibration.conf
sudo cp ./boot/config-5.txt-90 /boot/config.txt
echo “LCD configrue 90”
elif test “$1” = “180”;then
sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-180 /etc/X11/xorg.conf.d/99-calibration.conf
sudo cp ./boot/config-5.txt-180 /boot/config.txt
echo “LCD configrue 180”
elif test “$1” = “270”;then
sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-270 /etc/X11/xorg.conf.d/99-calibration.conf
sudo cp ./boot/config-5.txt-270 /boot/config.txt
echo “LCD configrue 270”
fi

sudo cp ./cmdline.txt /boot/
sudo cp ./inittab /etc/
sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf

if test “$#” = “0” -o “$1” = “0” -o “$1” = “90” -o “$1” = “180” -o “$1” = “270”; then
sudo reboot
echo “reboot now”
else
echo “Invalid parameter,Usage:LCD5-show [0] [90] [180] [270]”
fi

Have you been able to get this screen with touch functionality to work together with jivelite? And if yes – how?

Many thanks and best regards
Muhackl