LCDproc problem

  • Hi, I updated LibreELEC to v7.90.007 on my RPi3 device but suddenly LCDproc stopped working! In LibreELEC settings Service panel there is no LCD drivers names in the dropdown list.

  • Hello kavehebadi,


    LCDproc is not anymore built-in LibreELEC for aarch64 and arm.
    It will be provided as addon, which is currently been worked on.
    A preview version of this addon for RPi2/3 is attached to this post.
    Use the settings of the addon to select a driver.
    You will find the addon in add-ons/my add-ons/service/lcdproc.


    Please report if it makes or breaks

    @

    Edited once, last by awiouy ().

  • Hi,
    i installed the Addon, select the HD44780 Driver and reboot - LCD is not working
    (Old LCDproc Addon is deactivated and Service panel LCD Driver is on -none-)

  • Have you selected a driver in the addon settings (addons/my addons/services/LCD proc/settings)?

    @

  • In the addon settings "addons/my addons/services/LCD proc/settings" i ...

    Quote


    ... select the HD44780 Driver ...


  • In the addon settings "addons/my addons/services/LCD proc/settings" i ...


    Just double checking that you aren't setting this in the LibreELEC settings add-on and that you are in fact setting it in the LCDproc add-on settings.


    Please ssh and check the output of the following command, and post the url it returns.

    Code
    1. systemctl status service.lcdd.service | pastebinit
  • As i write in my first post
    - LibreELEC settings add-on > Service panel LCD Driver = none
    - OLD LCDproc add-on is deactivated
    - NEW LCDproc add-on setting = HD44780


    I already jumped back to my 7.0.2 backup,
    but i will test it again next weekend.


  • As i write in my first post
    - LibreELEC settings add-on > Service panel LCD Driver = none
    - OLD LCDproc add-on is deactivated
    - NEW LCDproc add-on setting = HD44780


    have the same settings. The display does not work for me.


    when I use the command: "systemctl status service.lcdd.service | pastebinit" the url is: MFXJ


    ● service.lcdd.service - LCDProc
    Loaded: loaded (/storage/.kodi/addons/service.lcdd/system.d/service.lcdd.service; enabled; vendor preset: disabled)
    Active: failed (Result: start-limit-hit) since Wed 2016-10-19 16:51:08 CEST; 6min ago
    Process: 793 ExecStart=/bin/sh /storage/.kodi/addons/service.lcdd/bin/lcdd.start (code=exited, status=1/FAILURE)
    Main PID: 793 (code=exited, status=1/FAILURE)


    Oct 19 16:51:03 LibreELEC systemd[1]: service.lcdd.service: Unit entered failed state.
    Oct 19 16:51:03 LibreELEC systemd[1]: service.lcdd.service: Failed with result 'exit-code'.
    Oct 19 16:51:08 LibreELEC systemd[1]: service.lcdd.service: Service hold-off time over, scheduling restart.
    Oct 19 16:51:08 LibreELEC systemd[1]: Stopped LCDProc.
    Oct 19 16:51:08 LibreELEC systemd[1]: service.lcdd.service: Start request repeated too quickly.
    Oct 19 16:51:08 LibreELEC systemd[1]: Failed to start LCDProc.
    Oct 19 16:51:08 LibreELEC systemd[1]: service.lcdd.service: Unit entered failed state.
    Oct 19 16:51:08 LibreELEC systemd[1]: service.lcdd.service: Failed with result 'start-limit-hit'.

    Edited once, last by Dinky01 ().

  • Can you try running the script manually? Then post any output that it has.


    Code
    1. /storage/.kodi/addons/service.lcdd/bin/lcdd.start
  • Thanks for the Hints. I stumbled in the same Problem with LCDd.
    I'am using a RPI3 and LCDd stops because of this with the following error

    Code
    1. hd44780: cannot get IO-permission for 0x378: No such device
    2. Driver [hd44780] init failed, return code -1
    3. Could not load driver hd44780
    4. There is no output driver


    I had to paste my old config to /storage/.kodi/userdata/addon_data/service.lcdd/LCDd.conf
    which specifies a modifed DirverPath and loads a RPI hd44780 Module.


    Just to get clear, in the past this won't worked by LCD-Setting also, I had to use autorun.sh.


  • Can you try running the script manually? Then post any output that it has.

    Code
    1. /storage/.kodi/addons/service.lcdd/bin/lcdd.start


    When i start the script manually this is the output:



    LCDd 0.5dev, LCDproc Protocol 0.3
    Part of the LCDproc suite
    Copyright (C) 1998-2014 William Ferrell, Selene Scriven
    and many other contributors


    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.


    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.


    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.


    hd44780: cannot get IO-permission for 0x378: No such device
    Driver [hd44780] init failed, return code -1
    Could not load driver hd44780
    There is no output driver
    Critical error while initializing, abort.



    When i copy the old LCDd.conf to /storage/.kodi/userdata/addon_data/service.lcdd/LCDd.conf, reboot and start the script manually this is the output:



    LCDd version 0.5dev starting
    Using Configuration File: /storage/.kodi/userdata/addon_data/service.lcdd/LCDd.conf
    LCDd 0.5dev, LCDproc Protocol 0.3
    Part of the LCDproc suite
    Copyright (C) 1998-2014 William Ferrell, Selene Scriven
    and many other contributors


    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.


    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.


    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.


    sock_create_inet_socket: cannot bind to port 13666 at address 127.0.0.1 - Address already in use
    sock_init: error creating socket - Address already in use
    Critical error while initializing, abort.


    With this LCDd.conf and a reboot the display shows the hello message and when shutdown the goodbye message, but no system / menu info.

    Edited once, last by Dinky01 ().

  • Have changed the following settings in the original service.lcdd-8.0.100 LCDd.conf file:


    #DriverPath=/storage/.kodi/addons/service.lcdd/lib/lcdproc/
    DriverPath=/storage/.config/raspdrivers/


    #Driver=curses
    Driver=hd44780


    # Select what type of connection. See documentation for availabe types.
    #ConnectionType=4bit
    ConnectionType=i2c


    # I/O address of the LPT port. Usual values are: 0x278, 0x378 and 0x3BC.
    # For I2C connections this sets the slave address (usually 0x20).
    #Port=0x378
    Port=0x27


    # Device of the serial, I2C, or SPI interface [default: /dev/lcd]
    #Device=/dev/ttyS0
    Device=/dev/i2c-1



    With this settings the display shows the hello message and when shutdown the goodbye message, but no system / menu info.


    LibreELEC>Services>LCD/VFD Driver=none


    LCDproc addon add-ons/my add-ons/service/lcdproc=hd44780

    Edited once, last by Dinky01 ().

  • I now have the XBMC lcdproc enabled and have system/menu information on my LCD.

    [hr]
    When I now use the original driver path ( /storage/.kodi/addons/service.lcdd/lib/lcdproc/) in the LCDd.conf file and reboot the display starts blinking and dimming and there is no information on the screen.


    Is the HD44780 driver in the lcdproc directory possible, the older HD44780 version?

    Edited once, last by Dinky01 ().

  • Hello,


    I have amended the addon to add missing libraries (curses and libserdisp) and an icon.
    Thank you for testing if this fixes the current issues (I have no hardware to test myself).

    @

    Edited once, last by awiouy ().

  • Hello Awiouy,


    I installed the Service.lcdd-8.0.90 version.
    Everything works the same for me with this version.


    But when i use the default hd44780 driver (in /storage/.kodi/addons/service.lcdd/lib/lcdproc/) in LCDd.conf my display also starts blinking and dimming.
    With the HD44780 driver that I previously used, the display works perfectly.


    A difference that I noticed:
    The HD44780 driver which comes with service.lcdd-8.0.90 is 65.2kB, my previous HD44780 driver is 100 kB.

    Edited once, last by Dinky01 ().

  • Quote


    The HD44780 driver which comes with service.lcdd-8.0.90 is 65.2kB, my previous HD44780 driver is 100 kB.


    I also notice the size difference in 8.0.100, but my hd44780.so (for RPi2) is 81 kb.

    Files

    • hd44780.zip

      (33.16 kB, downloaded 167 times, last: )
  • Hi,
    I've not tested this new Version, but had a look.
    I will not work for most LCDs connected to ARM Devices, especally rpi's and hd44780.
    Because of the displays aren't connect through /dev/ttyS0, serial Port but direct GPIO.
    Please have a look at LCDproc User's Guide.
    We need some special configuration for hd44780, at least the ConnectionType must be specify-able for a out-of-box experience



    This is an Example from my .conf

    Code
    1. ConnectionType=raspberrypi
    2. D7=18
    3. D6=23
    4. D5=24
    5. D4=25
    6. RS=7
    7. EN=8