Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Moode and power loss (aka writes to the sd card)
#2
Hi, Joe.

The thing about the FOSS world is a user is free to ask for anything and a developer is free to say no if it doesn't fit in their plan.

It seems to me you have several options, many of them just variations on a theme
  • use moOde and your system as it is and wait until you actually corrupt a uSD card before trying a different option
  • use moOde and remember to first use the Power Shutdown button in the webUI to bring down moOde and the O/S and put the Pi into a quiescent state; then hit your power switch
  • use moOde as above and let it use a GPIO line to trigger a time-delayed power shutdown of the entire system. I was doing this with time-delay relays in my amateur radio gear half a century ago 
  • use moOde with your existing power switch along one of the many DIY shutdown solutions for the Pi involving super capacitors, battery packs, or the like, and a GPIO signal to trigger moOde's soft power shutdown
  • alternatively, use moOde and your amplifier with a sequencing power strip. We use commercial one in the A/V system I occasionally babysit to prevent the amps from powering up until the mixer board and wireless mic receivers are running and v.v. but DIY is fine too. Again, use a GPIO signal to the Pi to start its soft power-down sequence
  • fork the moOde distro, modify it to use an overlayFS or some other approach, and compose a pull request...don't forget to thoroughly test first...and also don't be surprised if it doesn't turn out to the answer to a maiden's prayer
  • try to sweet talk someone else into doing the same
  • don't use moOde.

I've been using the first option since I got interested in Pi-based audio and discovered moOde many years ago. Sometimes I remember to do a soft power shutdown first but mostly I'm in a hurry and just shutoff the power supply or even just pull the USB plug from the Pi.

Just my 2-cents worth.

Regards,
Kent

(not a dev though I occasionally contribute snippets; mostly I test to find bugs or unexpected consequences)
Reply


Messages In This Thread
RE: Moode and power loss (aka writes to the sd card) - by TheOldPresbyope - 05-21-2023, 03:32 PM

Forum Jump: