-
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 permission denied, udev racing #341
Comments
A Raspberry Pi Zero W has more than enough CPU power to run Direwolf at it's maximum performance and there isn't any need for extended TXDELAY for a Zero that's not not too overloaded (high CPU load). As to your UDEV issue, are you sure the login name that's running the Direwolf process is in the "udev" Unix group and you've logged out and logged back in to get those permissions? I don't believe there is a real issue here so please move your support question to the direwolf@groups.io email list as Github's "issue" tracker is only for bugs and new feature enhancements. |
The pi user is in the gpio group, there isn't a udev group(?). The issue is observed, rarely, immediately after a reboot, with significant cpu load on account of the boot proces and systemd. Ultimately the issues still exists, even if we don't want to call it a bug. I upped the value to 500ms, to see if that helps. I'll also put defensive code around the direwolf command since it's still non-deterministic, though, imho, the fix should be a retry inside direwolf upon gpio permission error. I'll followup with the mailing list, thanks. |
Ultimately it's WB2OSZ's call here but I believe your issue is happening at the UDEV level and not Direwolf. If Udev is malfunctioning, no number of Direwolf retries will be helpful here. |
I'm "reopening" this bug since it's still observed in direwolf 1.6. In this case it's a Raspberry Pi ZeroW. The additional 250ms wait time is likely insufficient on this cpu. Increase to a full second giving udev a chance to update permissions?
The text was updated successfully, but these errors were encountered: