-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPIO access in AstroArch and Raspberry Pi 5 #41
Comments
Ok, the issue was a permissions to GPIO.
|
@astrojolo thanks 🔥 will leave this around for troubleshooting PS: I packaged astrolink4pi for Arch, I don't have your hardware yet but could you tell me if installing it with pacman leads to a working setup for your board? Pozdro |
I have added a section of additional tasks to make my hardware work with AstroArch: It now works with revision 4 of hardware, however for revision 3 I need to use an SPI device, and at the moment, I cannot communicate with it even after creating a proper udev entry. I need to investigate it. PS - thanks for the package, however I did several changes over the last few days to make my driver work with RPi5. Once I will make SPI work and have a final version I will ask you again to package it. |
Ok, all works fine. I needed to enable SPI in /boot/config.txt: Thanks and congratulations on this distribution! |
Hello,
Is there any special access I need to have for GPIO chip in Raspberry Pi 5?
I have installed https://abyz.me.uk/lg/lgpio.html library that works fine for me on RPi 5 and Debian based distributions. But I cannot make it connect to GPIO under AstroArch.
Steps I made:
After that, I ran rgpdiod daemon (started ok) and tried to connect to the GPIO chip with
rgs c 1 go
with chipnr set from 0 to 5, and it always return -78 which means LG_CANNOT_OPEN_CHIP.
Many thanks in advance for any hints!
Lucas
The text was updated successfully, but these errors were encountered: