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.

    Edited once, last by kavehebadi (May 6, 2017 at 5:18 AM).

  • 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


  • 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
    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/http://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/http://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 (October 19, 2016 at 4:05 PM).

  • 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
    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

    I had to paste my old config to /storage/.kodi/userdata/addon_data/http://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
    /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/http://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/http://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 (October 20, 2016 at 5:46 PM).

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

    #DriverPath=/storage/.kodi/addons/http://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 (October 20, 2016 at 5:46 PM).

  • 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/http://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 (October 20, 2016 at 6:42 PM).

  • 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/http://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 (October 21, 2016 at 3:17 PM).

  • 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
    ConnectionType=raspberrypi
    D7=18
    D6=23
    D5=24
    D4=25
    RS=7
    EN=8