Another way is to use a physical button.  I have one set up to
momentarily short GPIO3 to GND, and then I use the 'Poweroff/Shutdown
Overlays' section under the 'Tweaks' page of pCP.  Pressing this while
the Pi is awake will halt the system.  The advantage of using GPIO3 is
that shorting this to GND while the Pi is halted will wake it again, so
this functions as a power toggle switch for the Pi.

[image:
http://www.cjh.me.uk/MyPhotobucket/cache/DIYHifi/gpio-shutdown_800.jpg]


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110642

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to