[arm-allstar] RPI3 Halt Button
Chris Souleles
csouleles at prodigy.net
Mon Nov 13 18:36:40 EST 2017
I'm getting erratic behavior from the halt button I installed on my RPI3. I installed a momentary button between GPIO pins 9 and 11 and I enabled shutdown monitor per the instructions from Doug.
Occasionally it works but most often it causes a problem on start up where the RPI won't start (it gets about half way through announcing the IP address and then stops and I have to cycle power to try and get it to do anything). I'm using the push on connectors on the GPIO, I've tried two different switches and sets of wires to the GPIO and backed out and installed the enable shutdown monitor a couple times with the same result
I've removed the wire from pin 11 and now it is back to normal operation but I need to go into PUTTY to perform shutdown.
Anyone else experience this difficulty and any advice?
Thanks, Chris - W6CS - 73.
From: Doug Crompton via arm-allstar <arm-allstar at hamvoip.org>
To: ARM Allstar <arm-allstar at hamvoip.org>
Cc: Doug Crompton <wa3dsp at gmail.com>
Sent: Sunday, November 12, 2017 10:11 AM
Subject: Re: [arm-allstar] RPI3 Halt Button
Chris,
I assume you are referring to the howto at the hamvoip.org web page. It
shows where to connect the switch on the Pi 2/3. The script for doing this
is included in the hamvoip release and is turned on by the flag in the
/usr/local/etc/allstar.env file. Here is how to do that.
- Enter the bash shell from the menu selection 9
Edit the file. Type -
nano /usr/local/etc/allstar.env
Scroll down to SHUTDOWN_MONITOR
Change "disabled" to "enabled"
Use Control x to save the file - answer Y and then return.
reboot the system.
The bit should now work to halt the system. Remember you have to hold the
bit closed for greater than 5 seconds then release for it to work.
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
On Sun, Nov 12, 2017 at 11:42 AM, "Chris Souleles via arm-allstar" <
arm-allstar at hamvoip.org> wrote:
> Excuse if this is a duplicate - I may have previously posted it to the
> wrong list.
> I'm new to Allstar and I don't know linux. I want to add a halt button to
> my RPI3 node. I see directions on how to add the button which is straight
> forward and then it says to go to /usr/local/etc/allstar.env and set
> SHUTDOWN_MONITOR="enabled. My question is how do I
> find /usr/local/etc/allstar.env to make that mod.
> Thanks, Chris - W6CS, 73
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB and RPi2/3 web page - http://hamvoip.org
More information about the arm-allstar
mailing list