[gelöst] piface, Frage zur Installation

Begonnen von franky08, 31 Juli 2014, 16:57:38

Vorheriges Thema - Nächstes Thema

franky08

Hallo, wollte mal das Piface in Funktion nehmen und bin, wie in der commenref beschrieben vorgegangen:

Module needs tools from Wiring Pi. Install it with
git clone git://git.drogon.net/wiringPi
cd wiringPi
./build


Mit raspi-config noch das SPI Kernel Modul ausgewählt und Raspi neu gestartet. Beim Test mit

gpio -p readall

bekomme ich leider den Fehler: Unable to open SPI device: No such file or directory

Kann jemand helfen?
VG
Frank
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

franky08

OK ohne die Option -p geht es, hatte ich so aus der commandref übernommen. Mit gpio readall bekomme ich dann:
siehe Screenshot

Alles OK
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

franky08

#2
Mmh, jetzt muss ich doch nocheinmal nachfragen. Installation, wie oben beschrieben durchgeführt aber das Piface reagiert weder auf Eingaben noch auf ein set <device> 0 1 oder was auch immer. Muss da noch irgendwas konfiguriert oder eingerichtet werden oder ist die Installation mit ./build abgeschlossen?
Auf der Console:
pi@raspberrypi ~/wiringPi $ gpio -p write 200 1
Unable to open SPI device: No such file or directory
pi@raspberrypi ~/wiringPi $ sudo gpio -p write 200 1
Unable to open SPI device: No such file or directory
pi@raspberrypi ~/wiringPi $


Rechteproblem ??
VG
Frank
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

franky08

OK, hat sich erledigt, habe auf meinem Testsystem eine neue SD machen müssen. Irgendwie hat sich piface mit "CCU2 auf ARM Platform" gebissen. Jetzt auf einem neuen System funktioniert es.

VG
Frank
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1