- Official Post
Hm... I had overlooked renaming patches.
So here is yet another update.
Thank you for testing once more
Hm... I had overlooked renaming patches.
So here is yet another update.
Thank you for testing once more
Any feedback?
I did last weekend made a clean installation of LibreELEC (Krypton) v7.90.007 version.
Then immediately installed the service.lcdd-8.0.91 version.
With included HD44780 driver my LCD driver reacts as before, blinking and dimming and no text on the display.
Then tested with my previous used (100kB) HD44780 driver.
With this driver the display works without problems as before. ( My display is connected with the I2C interface, maybe that's the difference ).
The add-on for 8.0 builds should appear in the repo soon. It's probably not perfect as-is, but as long as people intelligently report issues we (mostly Anton) will figure things out and push updates quickly.
Hi,
using here an Alphacool USB-LCD connected to an Hummingboard-i2ex:
For a few years i had written the package.mk for serdisplib for OpeneELEC ... and using here still an OpeneELEC image on my Hummingboard.
But in the near future i want to switch to LibreELEC, so i give it a try:
I see the following error message when starting /storage/.kodi/addons/http://service.lcdd/bin/lcdd.start
Could not open USB:060C/04EB: libusb-based connections are disabled (library has been built without libusb-support)
Driver [glcd] init failed, return code -1
Could not load driver glcd
There is no output driver
Critical error while initializing, abort.
so i build lcdd/serdisplib by my own and got this from building serdisplib:
cd ../lib && ln -s -f libserdisp.so.1.97.9 libserdisp.so.1
cd ../lib && ln -s -f libserdisp.so.1 libserdisp.so
/home/michael/workspace/LibreELEC.tv/build.LibreELEC-imx6.arm-8.0-devel/toolchain/lib/gcc/armv7a-libreelec-linux-gnueabi/5.4.0/../../../../armv7a-libreelec-linux-gnueabi/bin/ld.gold: [b]warning: skipping incompatible /usr/lib64/libusb.so while searching for usb[/b]
/home/michael/workspace/LibreELEC.tv/build.LibreELEC-imx6.arm-8.0-devel/toolchain/lib/gcc/armv7a-libreelec-linux-gnueabi/5.4.0/../../../../armv7a-libreelec-linux-gnueabi/bin/ld.gold:[b] warning: skipping incompatible /usr/lib64/libc.so while searching for c[/b]
gmake[1]: Leaving directory '/home/michael/workspace/LibreELEC.tv/build.LibreELEC-imx6.arm-8.0-devel/serdisplib-1.97.9/src'
gmake[1]: Entering directory '/home/michael/workspace/LibreELEC.tv/build.LibreELEC-imx6.arm-8.0-devel/serdisplib-1.97.9/tools'
/home/michael/workspace/LibreELEC.tv/build.LibreELEC-imx6.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc -march=armv7-a -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a9 -mfloat-abi=hard -mfpu=neon -fomit-frame-pointer -Wall -pipe -Os -flto -ffat-lto-objects -Wall -fPIC -I../include -I.. -c l4m132c_tool.c
/home/michael/workspace/LibreELEC.tv/build.LibreELEC-imx6.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc -march=armv7-a -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a9 -mfloat-abi=hard -mfpu=neon -fomit-frame-pointer -Wall -pipe -Os -flto -ffat-lto-objects -Wall -fPIC -I../include -I.. -c common.c
/home/michael/workspace/LibreELEC.tv/build.LibreELEC-imx6.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc -march=armv7-a -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a9 -mfloat-abi=hard -mfpu=neon -fomit-frame-pointer -Wall -pipe -Os -flto -ffat-lto-objects -Wall -fPIC -I../include -I.. -c sdcmegtron_tool.c
/home/michael/workspace/LibreELEC.tv/build.LibreELEC-imx6.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc -o l4m132c_tool l4m132c_tool.o common.o ../lib/libserdisp.a -march=armv7-a -mtune=cortex-a9 -Wl,--as-needed -fuse-ld=gold -fuse-linker-plugin -flto -L/usr/lib64 -lusb
/home/michael/workspace/LibreELEC.tv/build.LibreELEC-imx6.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc -o sdcmegtron_tool sdcmegtron_tool.o common.o ../lib/libserdisp.a -march=armv7-a -mtune=cortex-a9 -Wl,--as-needed -fuse-ld=gold -fuse-linker-plugin -flto [b]-L/usr/lib64[/b] -lusb
/home/michael/workspace/LibreELEC.tv/build.LibreELEC-imx6.arm-8.0-devel/toolchain/lib/gcc/armv7a-libreelec-linux-gnueabi/5.4.0/../../../../armv7a-libreelec-linux-gnueabi/bin/ld.gold: [b]warning: skipping incompatible /usr/lib64/libusb.so while searching for usb[/b]
/home/michael/workspace/LibreELEC.tv/build.LibreELEC-imx6.arm-8.0-devel/toolchain/lib/gcc/armv7a-libreelec-linux-gnueabi/5.4.0/../../../../armv7a-libreelec-linux-gnueabi/bin/ld.gold: [b]warning: skipping incompatible /usr/lib64/libc.so while searching for c[/b]
/home/michael/workspace/LibreELEC.tv/build.LibreELEC-imx6.arm-8.0-devel/toolchain/lib/gcc/armv7a-libreelec-linux-gnueabi/5.4.0/../../../../armv7a-libreelec-linux-gnueabi/bin/ld.gold: [b]warning: skipping incompatible /usr/lib64/libusb.so while searching for usb[/b]
/home/michael/workspace/LibreELEC.tv/build.LibreELEC-imx6.arm-8.0-devel/toolchain/lib/gcc/armv7a-libreelec-linux-gnueabi/5.4.0/../../../../armv7a-libreelec-linux-gnueabi/bin/ld.gold: [b]warning: skipping incompatible /usr/lib64/libc.so while searching for c[/b]
gmake[1]: Leaving directory '/home/michael/workspace/LibreELEC.tv/build.LibreELEC-imx6.arm-8.0-devel/serdisplib-1.97.9/tools'
Display More
warning: skipping incompatible /usr/lib64/libusb.so while searching for usb
... it tries to link to my host-libs?
Do we need some LDFLAGS?
vitalogy did you try the version in the repo? It should be built with usb support.
vitalogy did you try the version in the repo? It should be built with usb support.
yes, from LibreELEC repo.
the link-warning is from serdisplib ... could this be the error, when running lcdd.
my LCDd.conf:
[server]
DriverPath=/storage/.kodi/addons/service.lcdd/lib/lcdproc/
Driver=glcd
Bind=127.0.0.1
Port=13666
User=nobody
WaitTime=5
ServerScreen=no
Foreground=no
Backlight=open
Heartbeat=off
Hello=""
Hello=" Starte"
Hello=" LibreELEC"
[glcd]
ConnectionType=serdisplib
Size=240x128
CellSize=10x16
useFT2=yes
normal_font=/usr/share/fonts/liberation/LiberationMono-Bold.ttf
# Some fonts miss the Unicode characters used to represent icons. In this case
# the built-in 5x8 font can used if this option is turned off. [default: yes;
# legal: yes, no]
fontHasIcons=yes
serdisp_name=alphacool
serdisp_device=USB:060C/04EB
Display More
[hr]
LibreELEC with lcdproc as addon
LibreELEC:~ # ldd .kodi/addons/service.lcdd/lib/lcdproc/glcd.so
ldd: $warning: you do not have execution permission for `.kodi/addons/service.lcdd/lib/lcdproc/glcd.so'
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6ea5000)
libserdisp.so.1 => not found
libusb-0.1.so.4 => /usr/lib/libusb-0.1.so.4 (0xb6f5a000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb6e79000)
libc.so.6 => /lib/libc.so.6 (0xb6d44000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0xb6d27000)
libz.so.1 => /usr/lib/libz.so.1 (0xb6d16000)
libm.so.6 => /lib/libm.so.6 (0xb6c98000)
libusb-1.0.so.0 => /usr/lib/libusb-1.0.so.0 (0xb6c8c000)
libudev.so.1 => /lib/libudev.so.1 (0xb6c70000)
librt.so.1 => /lib/librt.so.1 (0xb6c59000)
libresolv.so.2 => /lib/libresolv.so.2 (0xb6c35000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb6c0c000)
/lib/ld-linux-armhf.so.3 (0xb6f39000)
Display More
libserdisp.so.1 => not found
LibreELEC:~ # ldd .kodi/addons/service.lcdd/lib/libserdisp.so.1
ldd: $warning: you do not have execution permission for `.kodi/addons/service.lcdd/lib/libserdisp.so.1'
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb6f0a000)
libc.so.6 => /lib/libc.so.6 (0xb6dd5000)
/lib/ld-linux-armhf.so.3 (0xb6f59000)
OpenELEC with lcdproc in system
OpenELEC:~ # ldd /usr/lib/lcdproc/glcd.so
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x76ea8000)
libserdisp.so.1 => /usr/lib/libserdisp.so.1 (0x76e7e000)
libusb-0.1.so.4 => /usr/lib/libusb-0.1.so.4 (0x76e7a000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x76e4e000)
libc.so.6 => /lib/libc.so.6 (0x76d16000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x76cf8000)
libz.so.1 => /usr/lib/libz.so.1 (0x76ce7000)
libm.so.6 => /lib/libm.so.6 (0x76c6c000)
libusb-1.0.so.0 => /usr/lib/libusb-1.0.so.0 (0x76c60000)
libudev.so.1 => /lib/libudev.so.1 (0x76c4e000)
librt.so.1 => /lib/librt.so.1 (0x76c36000)
libdl.so.2 => /lib/libdl.so.2 (0x76c23000)
libpthread.so.0 => /lib/libpthread.so.0 (0x76bfb000)
/lib/ld-linux-armhf.so.3 (0x76f44000)
Display More
OpenELEC:~ # ldd /usr/lib/libserdisp.so.1
libusb-0.1.so.4 => /usr/lib/libusb-0.1.so.4 (0x76f87000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x76f5b000)
libc.so.6 => /lib/libc.so.6 (0x76e23000)
libusb-1.0.so.0 => /usr/lib/libusb-1.0.so.0 (0x76e17000)
libudev.so.1 => /lib/libudev.so.1 (0x76e05000)
librt.so.1 => /lib/librt.so.1 (0x76ded000)
libm.so.6 => /lib/libm.so.6 (0x76d72000)
libdl.so.2 => /lib/libdl.so.2 (0x76d5f000)
libpthread.so.0 => /lib/libpthread.so.0 (0x76d37000)
/lib/ld-linux-armhf.so.3 (0x76fb8000)
Display More
LibreELEC:~ # . /etc/profile
LibreELEC:~ # ldd .kodi/addons/service.lcdd/lib/lcdproc/glcd.so
ldd: $warning: you do not have execution permission for `.kodi/addons/service.lcdd/lib/lcdproc/glcd.so'
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6f15000)
libserdisp.so.1 => /storage/.kodi/addons/service.lcdd/lib/libserdisp.so.1 (0xb6ef2000)
libusb-0.1.so.4 => /usr/lib/libusb-0.1.so.4 (0xb6fca000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb6ec6000)
libc.so.6 => /lib/libc.so.6 (0xb6d91000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0xb6d74000)
libz.so.1 => /usr/lib/libz.so.1 (0xb6d63000)
libm.so.6 => /lib/libm.so.6 (0xb6ce5000)
libusb-1.0.so.0 => /usr/lib/libusb-1.0.so.0 (0xb6cd8000)
libudev.so.1 => /lib/libudev.so.1 (0xb6cbd000)
librt.so.1 => /lib/librt.so.1 (0xb6ca6000)
libresolv.so.2 => /lib/libresolv.so.2 (0xb6c82000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb6c59000)
/lib/ld-linux-armhf.so.3 (0xb6fa9000)
LibreELEC:~ # ldd .kodi/addons/service.lcdd/lib/libserdisp.so.1
ldd: $warning: you do not have execution permission for `.kodi/addons/service.lcdd/lib/libserdisp.so.1'
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb6f2e000)
libc.so.6 => /lib/libc.so.6 (0xb6df9000)
/lib/ld-linux-armhf.so.3 (0xb6f7d000)
LibreELEC:~ # echo $LD_LIBRARY_PATH
/usr/lib:/lib:/storage/.kodi/addons/service.lcdd/lib:/usr/lib/pulseaudio
Display More
Yea so that looks good.
I'll have to investigate more
Hi, I updated my LibreELEC to 008 but LCD does not work yet.
I installed LCDproc from LibreELEC repo and set the driver to hd44780 but nothing happened.
Does anyone know how to fix it?
Back to 006 for now!
Hm... are you sure about ConnectionType=ic2? what about i2c instead?
After seeing this thread, I was curious whether my OLED 20x4 would run on LibreELEC (Krypton) v7.90.008 ALPHA for Odroid C2.
Well.. it doesn't... it starts already with the missing i2c-2 address :
On wrxtasys 7.0.x / 7.1 builds it works for i2c-2 and i2c-1. Unfortunately it is wired for i2c-2 right now, so I cannot check i2c-1 easily.
Besides the question why i2c-2 is not present?, I still have two more questions:
What would the command to enable /dev/i2c-2 be (i have no hw to test, need some hints for debugging)?
A1. Config folder is now in /storage/.kodi/userdata/addon_data/service.lcdd, accessible via ssh and smb
A2. Settings should be in settings folder
What would the command to enable /dev/i2c-2 be (i have no hw to test, need some hints for debugging)?A1. Config folder is now in /storage/.kodi/userdata/addon_data/service.lcdd, accessible via ssh and smb
A2. Settings should be in settings folder
good question hmm... I just know that I had to modify in LCDd.conf the line Device=/dev/i2c-1 to Device=/dev/i2c-2
# Device of the serial interface [default: /dev/lcd]
#Device=/dev/i2c-1
Device=/dev/i2c-2
It is visible on my LibreELEC 7.0.x setups on RPi and C2:
And it is not present when using LibreELEC Krypton 008 alpha build. But I am not sure what is responsible that the file appears in the directory /dev/i2c-x :/.
Regarding A2: So no settings in GUI like in old builds? You mean the settings.xml or are you referring to the lcd.xml where you set what infolabels should be displayed?
Will check this w-e
OMG I have my lcd i2c working after using info from here i played for ages and wasn't getting it right was about to give up when wife called me to come eat dinner i had rebooted pi and one last time after making no additional changes which had not work prior to that but i was like wtf...when i returned i had display
my other screen was on a different address so i changed address and rebooted "nothing" played more and "nothing" so i left it to go make coffee when i returned it worked so basically im saying when testing leave for a minute or two before u change more settings as you might have it right an not know it
hope this useless info helps someone LibreELEC (Krypton) v7.90.008
if anyone needs it here are my files
/storage/.kodi/userdata
lcd.rar
/storage/.kodi/addons
service.lcdd.rar
[hr]
[hr]
last but not least is the hd44780 file that gors into /storage/lcd
lcd.rar
After seeing this thread, I was curious whether my OLED 20x4 would run on LibreELEC (Krypton) v7.90.008 ALPHA for Odroid C2.Well.. it doesn't... it starts already with the missing i2c-2 address :
On wrxtasys 7.0.x / 7.1 builds it works for i2c-2 and i2c-1. Unfortunately it is wired for i2c-2 right now, so I cannot check i2c-1 easily.Besides the question why i2c-2 is not present?, I still have two more questions:
- I have to use a custom compiled HD44780 because my controller (SSD1311 is not fully compatible to HD44780). On my Raspberry Pi's and on my Odroid C2 with 7.0.x builds I simply had to put the modified driver and config files (hd44780.so, LCDd.conf) into .config directory and LCD.xml into userdata directory. The display worked then right away after enabling HD44780 displaydriver in LibreELEC Configuration / Services. LCDd.conf contained the path to my custom hd44780.so: "/storage/.config/"
Where do I have to put those files now. LCD.conf in .config seems to be ignored?- There are no settings left in lcdproc (no dimming, no scroll speed, no alternative character choice). Is it coming back, or did you dig those configuration options somewhere else?
will need support added in our linux-amlogic kernel and support in the device tree before you can use it.