Hi you all,
I have bought a Piface Display and Control 2 for my Raspberry Pi 4. On Raspbian it is working like a charm, but I can't figure out to let it work with LibreElec and the LCDProc add-on.
I have copied all the useful config.txt settings from Raspbian to LibreElec with no luck. The driver that I use in LCDProc is: lirc
Can someone help me solve this?
Thanks a lot!
PiFace Control and Display 2
-
Divemaskstrap -
October 11, 2019 at 11:05 AM -
Thread is Unresolved
-
-
- Official Post
You have to enable LIRC by creating the config file
/storage/.config/lircd.conf. Read here for details.
-
-
Da Flex I did what the tutorial told me to. The IR reseiver is working, but the LCD display isn’t. I’ve installed the XBMC LCDproc add-on without any luck. I saw a video on YouTube
External Content youtu.beContent embedded from external sources will not be displayed without your consent.Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy. -
- Official Post
Do you have /storage/.kodi/userdata/LCD.xml present? Get the default version of the file here.
-
Da Flex Yes, the file is present.
I am a step further and the display is flickering now. JeeeeeJ !!! But now I get the following error message:HD44780: PiFaceCAD: mcp23s17_write_reg: There was a error during the SPI transaction: Invalid argument
any ideas?
-
- Official Post
Good to see some progress. Please post your config.txt.
-
Here it is:
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2016-present Team LibreELEC (LibreELEC – Just enough OS for KODI)
################################################################################
# Bootloader configuration - config.txt
################################################################################
disable_splash=1
hdmi_enable_4kp60=1
dtparam=spi=on
dtparam=i2c1=on
################################################################################
# Memory (System/GPU configuration )
################################################################################
# Default GPU memory split - at least 288M is needed for some 4k HEVC files
gpu_mem=320
################################################################################
# For overclocking and various other settings, see:
# config.txt - Raspberry Pi Documentation
################################################################################
# Set 'force_turbo=1' to disable dynamic overclocking and enable overclocking always.
force_turbo=0
# Force HDMI even if unplugged or powered off
# hdmi_force_hotplug=1
# Doesn't sent initial active source message.
# Avoids bringing CEC (enabled TV) out of standby and channel switch when
# rebooting.
hdmi_ignore_cec_init=1
################################################################################
# End of default configuration
################################################################################
################################################################################
# Include distribution specific config file if it exists.
################################################################################
[all]
include distroconfig.txt
-
- Official Post
The config.txt looks OK. The cause of the error message is a known bug, and you have to patch a file. Read here.
-
Da Flex where could I find these library file in LibreElec?
-
- Official Post
Da Flex where could I find these library file in LibreElec?
I think it's part of the LCDproc add-on.
Two options:
a) (easier) find another add-on / repo with the patched version (try the kodinerds repo)
b) (harder) compile a patched LCDproc add-on from source
-
- Official Post
PS: The buggy file "mcp23s17.c" is a source code file, but the add-on only contains compiled files, so you can't patch it inside LE.
-
Nope, no go.
Yesterday I had installed Raspbian on my Pi and installed pifacecad on it and that was working. But when I used LCDproc it also worked, but the display was all scrambled and the LCDd command with the config loaded did not stop.
This morning I read a post on raspberrypi.org that OpenLX has suddenly stopped on December 2015 in devolping there Python software pifacecad.
Why do they still ship those hats then, if they don't developing there software anymore ? I asked the store where I bought the PiFace CAD from for a refund. I hope I could exchange it for something else from Adafruit they are still devolping -
- Official Post
That's bad news.
The whole thing is just about a couple of lines of code.
The guy at raspberrypi.org said "The old stuff should still work - but don't expect it to work on an RPi4.".
So, it could be a compatibility problem, too.
-
That's the pity of Linux, because the most software is freeware the designers and developers are dependent of crowdfunds and the good will from others. If that stops or the costs are higher than the profits some good projects quit.
Anyway, I bought myself an single LCD display from Adafruit with HD44780 driver support. I still have to solder it, apply the LCDproc software, and we're good to go. Then I can also use the Pi without a TV monitor for listing to my music
Thanks again for your support! -
- Official Post
Anyway, I bought myself an single LCD display from Adafruit with HD44780 driver support. I still have to solder it, apply the LCDproc software, and we're good to go. Then I can also use the Pi without a TV monitor for listing to my music
Sounds like a plan! Let us know when you made it.
I currently do a little OLED project for my other RPi (headless Raspbian), that's why I'm interested.
The OLED also uses I2C, which needs a workaround if one already has a power button at the SCL pin of the I2C bus.
If you don't have a power button, then it should work without problems.