LCN PCHK und Raspberry Debian Bullseye - Druckversion +- LCN Forum (https://forum.lcn.eu) +-- Forum: Software (https://forum.lcn.eu/forumdisplay.php?fid=30) +--- Forum: LCN-PCHK (https://forum.lcn.eu/forumdisplay.php?fid=8) +--- Thema: LCN PCHK und Raspberry Debian Bullseye (/showthread.php?tid=1814) |
LCN PCHK und Raspberry Debian Bullseye - cabot12 - 10.12.2021 Guten Morgen zusammen, nach einem fatalen Absturz musste ich leider meinen gut funktionieren RaspberryPi 4 neu aufsetzen (LCN PCHK und IP Symcon) Die Installation der PCHK Software auf Debian 11 funktioniert, bei der Statusabfrage zeigt sich aber, dass der Dienst beendet wurde (active (exited)) und ich bekomme diese Fehlermeldung: "error while loading shared libraries: libwiringPi.so". Eine versuchte Installation von wiringpi ergibt leider die folgende Fehlermeldung: "E: Paket wiringpi kann nicht gefunden werden." Hat jemand eine Lösung, bin für jede Hilfe dankbar? VG Andreas P.S.: auf einem älteren Debian läuft leider IP Symcon nicht und mein Backup ist ebenfalls defekt..... RE: LCN PCHK und Raspberry Debian Bullseye - KarlM - 09.01.2022 Gleiches Problem bei mir. Hab herausgefunden dass die Wiring Pi "deprecated " ist. Auf der Website des Entwicklers gibt es für den RP4B eine neue Version 2.52. Habs mit dieser versucht --> aber gleicher Fehler. Bei mir ist PCHK für die Kopplung an openHAB verantwortlich. Hab über Weihnachten openHabian neu auf einem Raspi installiert da das nun gegen LOG4J geschützt ist. Dieses Image basiert auch auf Bullseye. Lösung hab ich leider auch keine parat. mfg Karl RE: LCN PCHK und Raspberry Debian Bullseye - KarlM - 12.01.2022 So hab nun nach einiger Probiererei eine Lösung die mit meinem SETUP läuft: Raspi 4B 4GB openhabian v1.7.1 (Raspi Version von openHAB) das basiert auf BULLSEYE PCHK 3.22 Als erstes neue Version von WIRING PI für RASPI 4B von der Homepage des AUTORS installieren 1.) Image von openHABian mit Etcher auf SD gebrannt 2.) Wiring PI in der Version 2.52 installiert cd /tmp wget https://project-downloads.drogon.net/wiringpi-latest.deb sudo dpkg -i wiringpi-latest.deb Version checken mit: gpio -v Version 2.52 muss angezeigt werden. 3.) PCHK installieren Danach hab ich die PCHK ganz normal installiert und den Dienst gestartet. OpenHAB ist nun über RASPI 4B mit Bullseye und openHAB 3.22 online. 4.) LCN Binding (Bridge) zeigt nach Eingabe der IP ONLINE Denk dann sollte Wiring PI auch für andere Programme unter Bullseye lauffähig sein. Wird nur nicht mehr mitgeliefert und muss händisch installiert werden. Hoffe es klappt auch für dich Karl Karl RE: LCN PCHK und Raspberry Debian Bullseye - Uwe - 30.03.2022 Moin, mit meinen begrenzten Linux Kenntnissen lande ich leider in einer "Nichtfunktion" ... Code: root@raspberrypi:~# gpio -v Hat noch jemand eine Idee wo ich meinen Fehler suchen und beseitigen kann? Grüße, Uwe RE: LCN PCHK und Raspberry Debian Bullseye - Ojoachim - 10.10.2022 Ich habe nach dieser Anleitung die fehlende Library "WiringPi" installiert: Install Wiring Pi Note: Wiring Pi is now pre-installed with standard Raspbian systems. The instructions from the official WiringPi homepage are now depreciated. The original wiringPi source "git://git.drogon.net/wiringPi" is not available. Wiring Pi is previously not included with early versions of Raspbian. This required users to download and install it. Luckily, Wiring Pi is included in standard Raspbian systems. If you are looking to update using a mirrored Wiring Pi with small updates to support newer hardware, we recommend checking out this GitHub repository. You'll need git (may be installed by default). If git is not installed, enter the following into the command line. sudo apt-get install git-core We highly recommend using Git to download the latest version. To check what version you have, enter the following command. gpio -v If you receive an output similar to to the following with the Unknown17, you'll want to update WiringPi on a Raspberry Pi 4 or above. gpio version: 2.50 Copyright © 2012-2018 Gordon Henderson This is free software with ABSOLUTELY NO WARRANTY. For details type: gpio -warranty Raspberry Pi Details: Type: Unknown17, Revision: 02, Memory: 0MB, Maker: Sony * Device tree is enabled. * --> Raspberry Pi 4 Model B Rev 1.2 * This Raspberry Pi supports user-level GPIO access. Enter the following to remove the wiringPi and configuration files. sudo apt-get purge wiringpi Then type the following for the Pi to remove all locations that remember wiringPi. hash -r As long as you have Git installed, these commands should be all you need to download and install Wiring Pi. git clone https://github.com/WiringPi/WiringPi.git This will make a folder in your current directory called WiringPi. Head to the Wiring Pi directory. cd WiringPi Then pull the latest changes from the origin. git pull origin Then enter the following command. The ./build is a script to build Wiring Pi from the source files. This builds the helper files, modifies some paths in Linux and gets WiringPi ready to rock. ./build At this point, the library should work. Run the gpio command shown below to view some information about the wiringPi version and the Pi that it is running on. gpio -v Entering the following command will draw a table illustrating the configuration for the pins in the 40-pin connector. gpio readall |