"Gelöst" Couldn't listen to rf device, because the GPIO descriptor is not valid: /dev/spidev0.0

Hallo Forum,

habe mir heute das aktuelle Image herunter geladen und auf eine SD Karte geschoben.

Ich nutze CC1101 unter Raspberry 3 und erhalte folgende Fehlermeldungen

root@homegearpi:~#
root@homegearpi:~# homegear
07/11/16 16:37:25.545 Loading RPC server settings from /etc/homegear/rpcservers.conf
07/11/16 16:37:25.547 Loading RPC client settings from /etc/homegear/rpcclients.conf
07/11/16 16:37:25.551 Starting Homegear…
07/11/16 16:37:25.551 Homegear version 0.6.2-1396
07/11/16 16:37:25.552 Git commit SHA of libhomegear-base: -
07/11/16 16:37:25.552 Git branch of libhomegear-base: -
07/11/16 16:37:25.552 Git commit SHA of Homegear: -
07/11/16 16:37:25.553 Git branch of Homegear: -
07/11/16 16:37:25.555 Info: Loading family module mod_homematicbidcos.so
07/11/16 16:37:25.578 /etc/homegear/families/homematicbidcos.conf
07/11/16 16:37:25.580 Info: Loading family module mod_insteon.so
07/11/16 16:37:25.593 /etc/homegear/families/insteon.conf
07/11/16 16:37:25.594 Info: Loading family module mod_homematicwired.so
07/11/16 16:37:25.604 /etc/homegear/families/homematicwired.conf
07/11/16 16:37:25.605 Info: Loading family module mod_beckhoff_bk90x0.so
07/11/16 16:37:25.613 /etc/homegear/families/beckhoffbk90x0.conf
07/11/16 16:37:25.614 Info: Loading family module mod_max.so
07/11/16 16:37:25.628 /etc/homegear/families/max.conf
07/11/16 16:37:25.629 Info: Loading family module mod_philipshue.so
07/11/16 16:37:25.637 /etc/homegear/families/philipshue.conf
07/11/16 16:37:25.638 Info: Loading family module mod_kodi.so
07/11/16 16:37:25.645 /etc/homegear/families/kodi.conf
07/11/16 16:37:25.646 Info: Loading family module mod_ipcam.so
07/11/16 16:37:25.652 /etc/homegear/families/ipcam.conf
07/11/16 16:37:25.654 Info: Loading family module mod_miscellaneous.so
07/11/16 16:37:25.660 /etc/homegear/families/miscellaneous.conf
07/11/16 16:37:25.661 Info: Loading family module mod_sonos.so
07/11/16 16:37:25.670 /etc/homegear/families/sonos.conf
07/11/16 16:37:25.672 Warning: Running as root. The authors of Homegear recommend running Homegear as user.
07/11/16 16:37:25.673 Warning: Running as root. The authors of Homegear recommend running Homegear as user.
07/11/16 16:37:25.673 Info: Setting allowed core file size to “4294967295” for user with id 0 and group with id 0.
07/11/16 16:37:25.674 Info: Core file size now is “4294967295”.
07/11/16 16:37:25.674 Info: Setting maximum thread priority to “0” for user with id 0 and group with id 0.
07/11/16 16:37:25.675 Info: Maximum thread priority now is “0”.
07/11/16 16:37:25.691 Info: Backing up database…
07/11/16 16:37:25.812 Initializing database…
07/11/16 16:37:25.817 Starting script engine server…
07/11/16 16:37:25.875 Initializing licensing controller…
07/11/16 16:37:25.875 Loading licensing controller data…
07/11/16 16:37:25.875 Loading devices…
07/11/16 16:37:25.876 Loading XML RPC devices…
07/11/16 16:37:27.699 Loading device 1
07/11/16 16:37:27.700 Module HomeMatic BidCoS: Info: Central address set to 0xFDA09B.
07/11/16 16:37:27.702 Info: Not initializing device family HomeMatic Wired, because no physical interface was found.
07/11/16 16:37:27.702 Info: Disposing family module mod_homematicwired.so
07/11/16 16:37:27.703 Info: Not initializing device family Insteon, because no physical interface was found.
07/11/16 16:37:27.703 Info: Disposing family module mod_insteon.so
07/11/16 16:37:27.703 Info: Not initializing device family MAX!, because no physical interface was found.
07/11/16 16:37:27.703 Info: Disposing family module mod_max.so
07/11/16 16:37:27.704 Info: Not initializing device family Philips hue, because no physical interface was found.
07/11/16 16:37:27.704 Info: Disposing family module mod_philipshue.so
07/11/16 16:37:27.705 Loading XML RPC devices…
07/11/16 16:37:27.726 Loading device 2
07/11/16 16:37:27.728 Loading XML RPC devices…
07/11/16 16:37:27.730 Loading device 3
07/11/16 16:37:27.731 Loading XML RPC devices…
07/11/16 16:37:27.734 Loading device 4
07/11/16 16:37:27.735 Info: Not initializing device family Beckhoff BK90x0, because no physical interface was found.
07/11/16 16:37:27.735 Info: Disposing family module mod_beckhoff_bk90x0.so
07/11/16 16:37:27.736 Loading XML RPC devices…
07/11/16 16:37:27.740 Loading device 5
07/11/16 16:37:27.740 Start listening for packets…
07/11/16 16:37:27.745 Failed to open direction file for GPIO with index 1 and device “cc1100”: Unable to retrieve path.
07/11/16 16:37:27.745 Failed to open direction file for GPIO with index 1 and device “cc1100”: Unable to retrieve path.
07/11/16 16:37:27.746 Failed to open edge file for GPIO with index 1 and device “cc1100”: Unable to retrieve path.
07/11/16 16:37:27.746 Failed to open edge file for GPIO with index 1 and device “cc1100”: Unable to retrieve path.
07/11/16 16:37:27.746 Error in file Systems/IPhysicalInterface.cpp line 330 in function virtual void BaseLib::Systems::IPhysicalInterface::openGPIO(uint32_t, bool): Failed to open value file for GPIO with index 1 and device “cc1100”: Unable to retrieve path.
07/11/16 16:37:27.746 Error in file Systems/IPhysicalInterface.cpp line 330 in function virtual void BaseLib::Systems::IPhysicalInterface::openGPIO(uint32_t, bool): Failed to open value file for GPIO with index 1 and device “cc1100”: Unable to retrieve path.
07/11/16 16:37:27.746 Module HomeMatic BidCoS: TI CC110X “My-CC1101”: Error: Couldn’t listen to rf device, because the GPIO descriptor is not valid: /dev/spidev0.0
07/11/16 16:37:27.746 Module HomeMatic BidCoS: TI CC110X “My-CC1101”: Error: Couldn’t listen to rf device, because the GPIO descriptor is not valid: /dev/spidev0.0
07/11/16 16:37:27.747 Module HomeMatic BidCoS: TI CC110X “My-CC1101”: Connection to TI CC1101 closed unexpectedly… Trying to reconnect…

usw. . . . ( [color=#FF0000]info: spidev0.0 ist da unter /dev[/color])

starte ich als user Pi kommt :

pi@homegearpi:~$ homegear
07/11/16 18:10:26.735 Loading RPC server settings from /etc/homegear/rpcservers.conf
07/11/16 18:10:26.737 Loading RPC client settings from /etc/homegear/rpcclients.conf
07/11/16 18:10:26.737 Unable to open RPC client config file: /etc/homegear/rpcclients.conf. Permission denied
07/11/16 18:10:26.737 Unable to open RPC client config file: /etc/homegear/rpcclients.conf. Permission denied
07/11/16 18:10:26.738 Could not change working directory to /var/lib/homegear/.
07/11/16 18:10:26.738 Could not change working directory to /var/lib/homegear/.
pi@homegearpi:~$

ich habe den CC1101 3 x geprüft und ausgetauscht, dieser ist richtig angeschlossen.

What is going wrong ??

. . . gibt es noch einiges zu beachten mit dem image um diesen ans laufen zu bekommen ?

Gruß Achim

[color=#FF0000]Nachtrag[/color]:

Das Problem lag bei den Rechten einzelner Dateien. Ganz nachvollziehen kann ich das zwar nicht, da es ja ein fertiges image File war.
Nun ja, jetzt läuft es ja.

Hallo Achim,

weißt du noch, welche Berechtigungen genau nicht stimmten?

Viele Grüße

Sathya

Hallo Sathya,

ich habe das leider nicht dokumentiert, aber das Hauptproblem war, dass die spidev.0.0 nur root Zugriffsrechte besaß.
Ich glaube die Datenbankdatei habe ich auch angepasst und dann ging es.

Ich habe mich mit dem imgage nicht mehr sehr intensiv beschäftigt, da mir das installierte Betriebssystem zu ligth war.
Eigentlich schade, denn wie ich feststellte, ist das mit dem fix und fertigen image schon grundsätzlich eine tolle Sache.

Gruß Achim

[color=#BF80FF]jetz habe ich leider eine anderen Baustelle.[/color]
[color=#BF80FF] https://forum.homegear.eu/viewtopic.php?f=14&t=667&p=4018#p4018 [/color]

Was würdest du dir im Image denn noch wünschen?