Raspberry Pi 5: invalid GPIO 9
-
Hi,
after migrating to RPi5 from RPi4 I cannot run mysgw:pi@pi:~/projects/MySensors $ ./configure --my-transport=rf24 --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mysgw1 pi@pi:~/projects/MySensors $ make pi@pi:~/projects/MySensors $ sudo ./bin/mysgw Aug 27 15:16:32 INFO Starting gateway... Aug 27 15:16:32 INFO Protocol version - 2.4.0-alpha Aug 27 15:16:32 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,FQ=NA,REL=1,VER=2.4.0-alpha Aug 27 15:16:32 DEBUG TSF:LRT:OK Aug 27 15:16:32 DEBUG TSM:INIT Aug 27 15:16:32 DEBUG TSF:WUR:MS=0 Aug 27 15:16:43 ERROR Could not open /sys/class/gpio/gpio9/directionAny idea what is happening or how can I debug it? I found this which says "raspi-gpio is deprecated and doesn't support Pi 5".
-
Hi,
after migrating to RPi5 from RPi4 I cannot run mysgw:pi@pi:~/projects/MySensors $ ./configure --my-transport=rf24 --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mysgw1 pi@pi:~/projects/MySensors $ make pi@pi:~/projects/MySensors $ sudo ./bin/mysgw Aug 27 15:16:32 INFO Starting gateway... Aug 27 15:16:32 INFO Protocol version - 2.4.0-alpha Aug 27 15:16:32 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,FQ=NA,REL=1,VER=2.4.0-alpha Aug 27 15:16:32 DEBUG TSF:LRT:OK Aug 27 15:16:32 DEBUG TSM:INIT Aug 27 15:16:32 DEBUG TSF:WUR:MS=0 Aug 27 15:16:43 ERROR Could not open /sys/class/gpio/gpio9/directionAny idea what is happening or how can I debug it? I found this which says "raspi-gpio is deprecated and doesn't support Pi 5".
-
@igo As you may be aware, MySensors is not well supported these days. In fact, the support comes from people like you and me who still find value in MySensors.
That said, search for a replacement for raspi-gpio. There may be a few. See if they work. It's important to the MySensors community that you report your success or failure to do so.
I've done this sort of thing before and learned a lot from the experience. Let us know how it goes!
OSD
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login