-
Notifications
You must be signed in to change notification settings - Fork 313
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 permissions on raspberry #176
Comments
wb2osz
added a commit
that referenced
this issue
Jul 7, 2019
This is now in the "dev" branch and will be in release 1,6. |
Problem observed with direwolf 1.6. Increase delay? On a Raspberry Pi ZeroW, 250ms may not be sufficient.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have direwolf running on raspberry pi with user direwolf. User is part of gpio group.
When I run direwolf this happens:
direwolf write 21 in /sys/class/gpio/export and check permission on /sys/class/gpio/gpio21/direction.
It hasn't permission to write and try to use sudo.
Terminating direwolf and checking /sys/class/gpio/gpio21/direction the permissions are ok.
This because udev take a little time to adjust permissions after enabling gpio.
This can be solved with a little delay (one second) after write to /sys/class/gpio/export.
The text was updated successfully, but these errors were encountered: