Skip to content
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 Relay Stuck On #89

Closed
na7q opened this issue Mar 10, 2017 · 6 comments
Closed

GPIO Relay Stuck On #89

na7q opened this issue Mar 10, 2017 · 6 comments

Comments

@na7q
Copy link

na7q commented Mar 10, 2017

If Dire Wolf fails while the GPIO is triggered for transmit, the GPIO stays active even though Dire Wolf has closed and restarted automatically. Big issue if we don't want continuous transmissions.
V1.4D

@dranch
Copy link
Collaborator

dranch commented Mar 10, 2017

Can you elaborate on what you mean by "direwolf fails"? Did it crash (segfault, core, etc)? If you restarted Direwolf, would it remain running or would it immediately crash again? If it would continue to run ok, we have a new restart script in the alpha stage that should work for GUI and CLI users.

@na7q
Copy link
Author

na7q commented Mar 11, 2017

By fail I mean crash. It was a failure caused by a USB soundcard input/output error. I'm trying to repeat that specific issue, but haven't yet. But even when restarting the application it still doesn't release the GPIO. It required a reboot to fix both issues.
Even with a keyboard interrupt or terminal closure of dire wolf it does cause the GPIO to stay active if it were transmitting.

@dranch
Copy link
Collaborator

dranch commented Mar 11, 2017

This sounds like something more than just Direwolf is crashing. If restarting Direwolf doesn't clear out the state and un-assert the PTT pin, then I'm curious what's happening to make things crash? I wonder if you're getting RFI into the Rpi and it's freaking it out bigtime. If you disconnect the PTT line and leave Direwolf as a receive-only device, do things stay up longer? If that helps, try adding some ferrites chokes on all wires going in/out of the sound device, power, GPIO wires, etc.

@na7q
Copy link
Author

na7q commented Mar 12, 2017

It may have been RF into the Pi. I still haven't been able to recreate it. But I've run into other isssues and confusions from this. In digipeater mode it repeats packets that were just repeated by another digi. It waits until the other digi finishes repeating, then mine says "drop redundant..." and still repeats it. To clarify, a station with wide2-1 or any hop is repeated by the other digi, mine will repeat the same packet, even though it's already been repeated and it sees it. Note the picture. NA7Q-1 and KNAPPA are both mine. Both repeated the wide1-1 when they shouldn't have. It happens 100% of the time.

img_0021

@wb2osz
Copy link
Owner

wb2osz commented Mar 12, 2017 via email

@na7q
Copy link
Author

na7q commented Mar 12, 2017

Thanks for the clarification on that. Although I don't understand why that would be a good idea for any digipeater to do it that way. As any regular one would not repeat it. Or at least that's how it is in the PNW. Sure waiting is for a clear frequency is great, but repeating what shouldn't be repeated doesn't make sense.

@wb2osz wb2osz closed this as completed Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants