Hello all,
I'm sorry that my very first post is in support thread but i've been struggling to get this display working under libreELEC. Or any display for that matter.My setup work under raspbian btw.
I will provide info as the thread progresses if it does but for now I would like to know which LCDd.conf the addon is loading by default?
Problem: LCD display trows garbled characters until it stops.
Expect: LCD to work in UART mode
I have this location /storage/.kodi/userdata/addon_data/http://service.lcdd/LCDd.conf
and
/storage/.kodi/addons/http://service.lcdd/config/LCDd.conf
neither one are loaded or partially loade at the very least. Kodi trows an "Empty driver information reply"
My guess is /storage/.kodi/addons/http://service.lcdd/config/LCDd.conf since it's the one that is deleted but I saw on some forum that new versions should load from /storage/.kodi/userdata/addon_data/service.lcdd/
I tested LCDd.conf with the binary LCDd and it loads fine but all variables are empty if i run lcdd.start.
it's getting pretty confusing for a setup that took about 5 minutes under raspbian...
this is a fresh install btw nothing else is installed appart from XMBClcd
2020-11-27 14:36:13.579 T:2881561456 NOTICE: ### [XBMC LCDproc] - Connected to LCDd at 127.0.0.1:13666, Protocol version 0.3 - Geometry 16x2 characters (96x16 pixels, 6x8 pixels per character)
2020-11-27 14:36:13.608 T:2881561456 NOTICE: ### [XBMC LCDproc] - Empty driver information reply
2020-11-27 14:36:13.778 T:2881561456 NOTICE: ### [XBMC LCDproc] - Loading settings from /storage/.kodi/addons/script.xbmc.lcdproc/resources/LCD.xml.defaults
2020-11-27 14:36:13.802 T:2881561456 NOTICE: ### [XBMC LCDproc] - Loading settings from /storage/.kodi/userdata/LCD.xml
As I see this right now it is suppose to load
everyway I tried I get the same logs from kodi except if i kill the lcd process and run it manually then kodi trows another error that I sould check pins configurations or whatnot...
same as previous but with
2020-11-27 14:54:58.555 T:2881561456 ERROR: ### [XBMC LCDproc] - SendCommand: Telnet exception - reread
2020-11-27 14:54:58.555 T:2881561456 ERROR: ### [XBMC LCDproc] - noop failed in IsConnected(), aborting!
2020-11-27 14:54:58.556 T:2881561456 ERROR: ### [XBMC LCDproc] - Connect: Caught exception, aborting.
2020-11-27 14:54:58.556 T:2881561456 ERROR: ### [XBMC LCDproc] - Connect failed. Retry in 4 seconds.
2020-11-27 14:55:02.557 T:2881561456 ERROR: ### [XBMC LCDproc] - Connect: Caught exception, aborting.
2020-11-27 14:55:02.557 T:2881561456 ERROR: ### [XBMC LCDproc] - Connect failed. Retry in 8 seconds.
2020-11-27 14:55:10.559 T:2881561456 ERROR: ### [XBMC LCDproc] - Connect: Caught exception, aborting.
2020-11-27 14:55:10.560 T:2881561456 ERROR: ### [XBMC LCDproc] - Connect failed. Retry in 16 seconds.
2020-11-27 14:55:26.564 T:2881561456 ERROR: ### [XBMC LCDproc] - Connect: Caught exception, aborting.
2020-11-27 14:55:26.564 T:2881561456 ERROR: ### [XBMC LCDproc] - Connect failed. Retry in 32 seconds.
2020-11-27 14:55:58.576 T:2881561456 ERROR: ### [XBMC LCDproc] - Connect: Caught exception, aborting.
2020-11-27 14:55:58.577 T:2881561456 ERROR: ### [XBMC LCDproc] - Connect failed. Retry in 64 seconds.
2020-11-27 14:57:02.590 T:2881561456 ERROR: ### [XBMC LCDproc] - Connect: Caught exception, aborting.
2020-11-27 14:57:02.590 T:2881561456 ERROR: ### [XBMC LCDproc] - Connect failed. Giving up. Please fix any connection problems and restart the addon.
Display More
variables loaded from lcdd.start
LibreELEC4:~/.kodi/addons/service.lcdd/bin # sh lcdd.start
EDITOR='nano'
HOME='/storage'
HOSTNAME='LibreELEC4'
IFS='
'
LD_LIBRARY_PATH='/usr/lib:/storage/.kodi/addons/script.module.addon.signals/lib:/storage/.kodi/addons/script.module.certifi/lib:/storage/.kodi/addons/script.module.chardet/lib:/storage/.kodi/addons/script.module.defusedxml/lib:/storage/.kodi/addons/script.module.idna/lib:/storage/.kodi/addons/script.module.inputstreamhelper/lib:/storage/.kodi/addons/script.module.requests/lib:/storage/.kodi/addons/script.module.urllib3/lib:/storage/.kodi/addons/script.module.youtube.dl/lib:/storage/.kodi/addons/service.lcdd/lib:/storage/.kodi/addons/service.system.docker/lib:/storage/.kodi/addons/virtual.adafruit-libraries/lib:/storage/.kodi/addons/virtual.rpi-tools/lib:/storage/.kodi/addons/virtual.system-tools/lib:/usr/lib/pulseaudio'
LINENO=''
LOGNAME='root'
MAIL='/var/mail/root'
OLDPWD='/storage/.kodi/addons/service.lcdd'
OPTIND='1'
PATH='/usr/bin:/usr/sbin:/storage/.kodi/addons/service.lcdd/bin:/storage/.kodi/addons/service.system.docker/bin:/storage/.kodi/addons/virtual.rpi-tools/bin:/storage/.kodi/addons/virtual.system-tools/bin'
PPID='1717'
PS1='\[\e[1;32m\]\h\[\e[1;32m\]:\[\e[1;34m\]\w \[\e[0m\]\$ '
PS2='> '
PS4='+ '
PWD='/storage/.kodi/addons/service.lcdd/bin'
SHELL='/bin/sh'
SHLVL='2'
SSH_CLIENT='192.168.121.100 51451 22'
SSH_CONNECTION='192.168.121.100 51451 192.168.121.191 22'
SSH_TTY='/dev/pts/0'
SYSTEMD_COLORS='0'
TERM='xterm'
USER='root'
LCDd 0.5dev, LCDproc Protocol 0.3
Part of the LCDproc suite
...
Display More
I can't say it never worked though On my previous build I had the 4 bit mode working for an hitachi lcd display. I will have to test it back to see but i recall it wasn't as straight forward as raspbian i still had to ssh in the box. I can't remember what I did now anyways i'll keep testing this out if it can help others and at the same time get this to load I would be happy.
This is the output log if I reboot with
LibreELEC4:~ # cat .kodi/addons/service.lcdd/bin/
LCDd lcdd.start
LibreELEC4:~ # cat .kodi/addons/service.lcdd/bin/lcdd.start | grep LCD
#if [ -z "$LCD_DRIVER" -o "$LCD_DRIVER" == "none" ]; then
#LCDCONF=$ADDON_HOME/LCDd.conf
#if [ ! -f $LCDCONF ]; then
# if [ -f /storage/.cache/LCDd.conf ]; then
# mv /storage/.cache/LCDd.conf $LCDCONF
# cp $ADDON_DIR/config/LCDd.conf $LCDCONF
#LCDd -f -c $LCDCONF -d $LCD_DRIVER
LCDd -c /storage/.kodi/addons/service.lcdd/config/LCDd.conf -d CFontz -f
Display More
2020-11-27 15:31:24.890 T:2776916848 NOTICE: ### [XBMC LCDproc] - Connected to LCDd at 127.0.0.1:13666, Protocol version 0.3 - Geometry 16x2 characters (96x16 pixels, 6x8 pixels per character)
2020-11-27 15:31:24.935 T:2776916848 NOTICE: ### [XBMC LCDproc] - Empty driver information reply
2020-11-27 15:31:25.121 T:2776916848 NOTICE: ### [XBMC LCDproc] - Loading settings from /storage/.kodi/addons/script.xbmc.lcdproc/resources/LCD.xml.defaults
2020-11-27 15:31:25.139 T:2776916848 NOTICE: ### [XBMC LCDproc] - Loading settings from /storage/.kodi/userdata/LCD.xml
this is my second day on this now I think i'll be able to join the lcdproc dev team in two or three days
config.txt
uname -a
If anyone has a clue on how to load this i'd be happy.
thank you