¿ªÔÆÌåÓý

Serial PTT not functioning after exit


 

Good morning guys, Tim (Kd9DBG) with the high school telemetry car project,?


Here is my current question...


?How does one "cleanly" shutdown Direwolf?

Here is the behavior after launching direwolf on a Raspberry Pi with the command


direwolf -c dw-tracker.conf


Direwolf functions flawlessly. The serial PTT functions without issue.


Shutting down direwolf with either a:


[Ctrl] + c

or?

kill -HUP (direwolf process number)


both stop direwolf as expected. However when restarting direwolf with the same command as before I get the following error message:


ERROR can't open device /dev/PTT for channel 0 PTT control.

Device or resource busy


the error message disappears when restarting direwolf with sudo.


There has to be a better solution than elevating to root.?


What are your thoughts?


Tim ...


Join [email protected] to automatically receive all group messages.