Power OFF/ Shutdown Button via GPIO Pin?
Started by jhschnauzer




2 posts in this topic
jhschnauzer

3 posts 2 threads Joined: Feb 2023
14-02-23, 17:31 -
#1
Hello -

I have SamplerBox up and running on RPi4B/8Gb with Blokas Pisound audio cape. It works perfectly.

I searched the forum for "shutdown" and "pisound"... have not found answer to these questions:

(Note: I have always understood that it's bad practice to simple unplug a linux OS... rather it's better to run:  shutdown -P now )


  1. Is that true for this version of SamplerBox (e.g., I believe that Joseph Ernest's site's version of Debian OS booted read only... to minimize file system corruption if power was unplugged.) should not simply be unplugged?
  2. If I'm running the system "headless"... is there a recommended procedure for shutdown?
  3. If we need to run "shutdown" command... the Pisound board has a single button (GPIO 17)... any objections to monitoring that with interrupt to call "shutdown"on 5-second long press?
This post was last modified: 14-02-23, 17:33 by jhschnauzer. Edit Reason: incomplete sentence


Messages In This Thread
Power OFF/ Shutdown Button via GPIO Pin? - by jhschnauzer - 14-02-23, 17:31