EDIT
Thanks to HoolyHoo's help, I ended up scraping the board with the ic and wired my power and buttons for power/reset directly to the pi. I did end up writing an install for the python script HoolyHoo mentioned.
What’s the lettering on the ic? It seems to me the ic does the shutdown and reset. Also there’s a transistor for switching the fan, my guess. You could always desolder the ic, use the ic solder pad that corresponds to the switches and run that to a gpio. Doesn’t seem too hard, just needs some probing and testingsixteenbit wrote: ↑Tue Aug 21, 2018 8:22 amI bought this SNES Raspberry Pi Case and love it but the buttons are for a hard shutdown and reset. I'm wanting to modify it to run a safe shutdown but I'm not sure what these buttons are going to. The traces go to a chip then the board itself goes to the 5v and ground on the pi. Which is another issue I'd like to fix. I've read people are having issues with low voltage and it's due to the pi being powered via GPIO. I'm going to add a powerstrip to help fix that.
IMG_2479.jpg
Button traceShowIMG_2594.jpgAny help is much appreciated!BacksideShowIMG_2595.jpg
The lettering is a little blurry so can't really make it out. One solution would be to tap that switch to GPIO 3 and use a script like this:sixteenbit wrote: ↑Wed Aug 22, 2018 8:08 amThanks HoolyHoo - I think I have a good idea how to do the safe shutdown portion but I'm not sure how it's going to work with the power button as in powering on/offEnhanceShowIMG_2597.jpg
Sorry to res this post up, but just wondering how it all went, and what parts you needed to buy.
I concur with the Retroflag case. Don't use the script that is recommended on their website, however. Use this one: https://github.com/crcerror/retroflag-picasesixteenbit wrote: ↑Wed Jan 02, 2019 1:42 pmI didn't buy any extra parts except the helder power strip i had layout around. I basically ditched the board that's in there. The L shape one. I wired the buttons to the pins needed for the script and everything works as expected.
However, I recommend maybe returning this case and ordering this one https://smile.amazon.com/dp/B07G34TTKL/ ... _lig_dp_it. It's almost exactly like it and has safe shutdown and reset + comes with a controller.
Code: Select all
RetroFlag Pi-Case Safe Shutdown
Multi Switch Shutdown with advanced shutdown features for more natural behaviour:
If you press restart if emulator is currently running, then you will be kicked back to ES main menu
If you press restart in ES main screen, ES will be restartet (no reboot!), good for quick saving metadata or internal saves.
If you press power-off then Raspberry will shutdown
All metadata is always saved
Turn switch "SAFE SHUTDOWN" on PCB to ON.
Users browsing this forum: No registered users and 1 guest