Help LCD HD44780 Through I2C Port using the latest repo

I need help for LCD HD44780 Through I2C Port using the fresh latest repo.
eg: OSMC_TGT_rbp2_20201227.img

My "how to"
i did exactly same installation on latest repo.
The problem is, when turn on the system the LCD screen blank
only see the two row.
BUT when using “sudo /etc/init.d/LCDd restart” cmd
got works it proper… til restart the system then it only show
“bye bye screen” forever,
when reload the system need again restart LCD cmd to get works.
what sould be a problem, what have I done wrong ?

Sounds like it might be a timing (race) problem.

Please provide logs and perhaps things will be a bit clearer.

Thanks the reply =)

osmc@osmc:~$ tail -F /home/osmc/.kodi/temp/kodi.log
2021-06-25 20:35:17.022 T:1685029088 ERROR: ### [XBMC LCDproc] - Connect: Caugh t exception, aborting.
2021-06-25 20:35:17.022 T:1685029088 ERROR: ### [XBMC LCDproc] - Connect failed . Retry in 8 seconds.
2021-06-25 20:35:25.029 T:1685029088 ERROR: ### [XBMC LCDproc] - Connect: Caugh t exception, aborting.
2021-06-25 20:35:25.029 T:1685029088 ERROR: ### [XBMC LCDproc] - Connect failed . Retry in 16 seconds.
2021-06-25 20:35:41.038 T:1685029088 ERROR: ### [XBMC LCDproc] - Connect: Caugh t exception, aborting.
2021-06-25 20:35:41.039 T:1685029088 ERROR: ### [XBMC LCDproc] - Connect failed . Retry in 32 seconds.
2021-06-25 20:36:13.054 T:1685029088 ERROR: ### [XBMC LCDproc] - Connect: Caugh t exception, aborting.
2021-06-25 20:36:13.055 T:1685029088 ERROR: ### [XBMC LCDproc] - Connect failed . Retry in 64 seconds.
2021-06-25 20:37:17.085 T:1685029088 ERROR: ### [XBMC LCDproc] - Connect: Caugh t exception, aborting.
2021-06-25 20:37:17.085 T:1685029088 ERROR: ### [XBMC LCDproc] - Connect failed . Giving up. Please fix any connection problems and restart the addon.

I should have been a bit clearer.

To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.

Depending on the used skin you have to set the settings-level to standard or higher, in summary:

  • enable debug logging at settings->system->logging

  • reboot the OSMC device twice(!)

  • reproduce the issue

  • upload the log set (all configs and logs!) either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A

  • publish the provided URL from the log set upload, here

Thanks for your understanding. We hope that we can help you get up and running again shortly.

OSMC skin screenshot:

Thank You very much !

I will understanding now…
https://paste.osmc.tv/dupivovexa

Did you restart the LCDd service? I can see nothing in the log.

What’s the output from running:

systemctl status LCDd
sudo systemctl restart LCDd

oh , i just did without LCD service sry i will do it now

osmc@osmc:~$ systemctl status LCDd

  • LCDd.service - LCD display daemon
    Loaded: loaded (/lib/systemd/system/LCDd.service; disabled; vendor

preset: enabled)
Active: inactive (dead)
Docs: man:LCDd(8)
http://www.lcdproc.org/

https://paste.osmc.tv/ejotevotuw

Try this

sudo systemctl enable LCDd.service
reboot

See if it then starts automatically.

it will stay “bye bye screen” forever
Thanks for the using
LCDproc & Linux!
when reboot the system

Did you try my commands?

as it says when using your CMD

osmc@osmc:~$ sudo /etc/init.d/LCDd restart
[ ok ] Restarting LCDd (via systemctl): LCDd.service.
osmc@osmc:~$ sudo systemctl enable LCDd.service
Synchronizing state of LCDd.service with SysV service script with

/lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable LCDd
Created symlink /etc/systemd/system/multi-user.target.wants/LCDd.service

→ /lib/systemd/system/LCDd.service.

AND it will stay “bye bye screen” forever

That looks good. Then reboot.

i did sudo reboot, and the LCD scree still not changed stay “bye bye screen”
i now try with sudo /etc/init.d/LCDd restart ans see if doing something

EDIT: got woks with sudo /etc/init.d/LCDd restart, i think just til not reboot or i torn off the system

Ok. I need to finish for tonight. Please run the LCDd restart command and then provide fresh logs.

got woks with sudo /etc/init.d/LCDd restart, i think just til not reboot or i turn off the system
and the log: https://paste.osmc.tv/uhubaliloh

It’s failing to load a driver:

Jun 25 22:55:22 osmc LCDd[188]: Driver [] init failed, return code -1
Jun 25 22:55:22 osmc LCDd[188]: Could not load driver hd44780
Jun 25 22:55:22 osmc LCDd[188]: There is no output driver

Does the driver exist on your system? Run modinfo hd44780 to find out.

If it’s there, it might need to be loaded when the kernel starts. To do so, edit file /etc/modules (using sudo) and add hd44780 on a new line. Save, then reboot.

If it’s not there, I guess you’ll need to build it.

you are did read my
“[HowTo] LCD HD44780 Through I2C Port Extender”
step by step tutorial, like i linked above ?

Thats work on older Repo’s, like a charm’
there never needed add to /etc/modules the hd44780,
ok so its new build repo, something changed under programing…

osmc@osmc:~$ modinfo hd44780
modinfo: ERROR: Module hd44780 not found.


osmc@osmc:~$ sudo nano /etc/modules
# /etc/modules: kernel modules to load at boot time.
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
i2c-bcm2708
i2c-dev
hd44780  # added now this line but won't works

so in my Tut the driver location is; under “Change the section:”

[server]
DriverPath=/home/osmc/lcdproc/ (hd44780.so)

seems its not load when the kernel starts.

UI: also i did sudo systemctl restart mediacenter, and get works the LCD

I think the problem might be with your version of /etc/LCDd.conf. Although I can’t test this myself, as far as I can tell, the driver hd44780 is no longer used. The DriverPath line should be:

DriverPath=/usr/lib/arm-linux-gnueabihf/lcdproc/

and you should remove the line:

Driver=hd44780
You should copy the driver over to /usr/lib/arm-linux-gnueabihf/lcdproc/`

and remove the hd44760 line from /etc/modules, since it’s not a kernel module.

I changed the path
but same as the problem i guess not the driver path the problem, because then why did work on old repo’s ?
i tell to LCDd configuration: where is the pat

tut: [HowTo] LCD HD44780 Through I2C Port Extender
10, Edit the LCDd configuration:

sudo nano /etc/LCDd.conf

[server]
#DriverPath=/home/osmc/lcdproc/
DriverPath=/usr/lib/arm-linux-gnueabihf/lcdproc/
Driver=hd44780  # ** If i remove this line, then never get it works !!!!**
blah blah....

sudo cp hd44780.so /usr/lib/arm-linux-gnueabihf/lcdproc/

(BTW i did built a lot of media center with OSMC_TGT_rbp2_20160306.img and above… and LCD woked fine, without problem)

UI: it not suspicious only get works if i do a reset ? means when restart lcdproc ? doesn’t matter the path home/ or usr/