[FOR SALE] Safe Shutdown v1.2 (for PowerBoost)

Sell or trade things with other forum members!
McGyver
Posts: 226
Joined: Tue Jan 31, 2017 11:06 am
Location: Tianjin / China
Has thanked: 25 times
Been thanked: 53 times

Re: [For Sale] Safe Shutdown v1.2 (for PowerBoost)

Post by McGyver » Sun Apr 09, 2017 1:48 pm

Ordered! Thank you!

One question is just coming up: Regarding the autosave on exit of emulators. In the moment this is managed by trigger one button mapped to exit the emulator (escape).

Will this autosave works as well during the Pi shuts down getting triggered by the LBO signal?

inches
Posts: 103
Joined: Mon Mar 20, 2017 12:28 pm
Has thanked: 32 times
Been thanked: 81 times

Re: [For Sale] Safe Shutdown v1.2 (for PowerBoost)

Post by inches » Sun Apr 09, 2017 8:05 pm

Camble wrote:
Sat Apr 08, 2017 9:33 am
inches wrote:
Sat Apr 08, 2017 9:18 am
Is this the same circuit as described here? viewtopic.php?t=1059.
No
Are you sharing the schematic for this for the DIYers?
Your next build should include a Compute Module 3! Sign-up to be notified about the CeMu Partner Pre-Order:
http://www.sudomod.com/forum/viewtopic.php?f=3&t=3148


My Compute Module 3 build [Update 1-5] http://www.sudomod.com/forum/viewtopic.php?f=9&t=3003

My Compute Module 3 build [Update 6+] http://www.sudomod.com/forum/viewtopic. ... 00&p=33219

My guide to Soldering kits http://www.sudomod.com/forum/viewtopic.php?f=22&t=3024

User avatar
Camble
Posts: 885
Joined: Thu May 05, 2016 2:31 am
Location: Scotland
Has thanked: 269 times
Been thanked: 488 times

Re: [For Sale] Safe Shutdown v1.2 (for PowerBoost)

Post by Camble » Tue Apr 11, 2017 5:48 am

McGyver wrote:
Sun Apr 09, 2017 1:48 pm
Regarding the autosave on exit of emulators. In the moment this is managed by trigger one button mapped to exit the emulator (escape).

Will this autosave works as well during the Pi shuts down getting triggered by the LBO signal?
I'm not entirely sure. The script simply calls "shutdown". If the emulator exits safely at this point, I imagine it would autosave? If you test it, be sure to post your findings :)
inches wrote:
Sun Apr 09, 2017 8:05 pm
Are you sharing the schematic for this for the DIYers?
I had planned to write up another guide, but I've not had the time. I'm hoping to have a v1.3 board produced and will
probably have a DIY version available, and a guide. I can't predict when, though.

User avatar
jostie94
Posts: 51
Joined: Sat Apr 01, 2017 3:34 am
Location: the netherlands
Has thanked: 5 times
Been thanked: 28 times

Re: [For Sale] Safe Shutdown v1.2 (for PowerBoost)

Post by jostie94 » Fri Apr 14, 2017 4:13 am

Ordered one. Thank you!
my GBZ builds:
1) http://www.sudomod.com/forum/viewtopic.php?f=9&t=3197
------------------------------------------------------------------------------------------

McGyver
Posts: 226
Joined: Tue Jan 31, 2017 11:06 am
Location: Tianjin / China
Has thanked: 25 times
Been thanked: 53 times

Re: [For Sale] Safe Shutdown v1.2 (for PowerBoost)

Post by McGyver » Fri Apr 14, 2017 9:31 am

I tried the sudo shutdown via SSH during playing a game: the game state will not being saved :-(
Could the shutdown command maybe being edited? The best would be to send "keypress ESCAPE" by script before the shutdown command...

User avatar
Camble
Posts: 885
Joined: Thu May 05, 2016 2:31 am
Location: Scotland
Has thanked: 269 times
Been thanked: 488 times

Re: [For Sale] Safe Shutdown v1.2 (for PowerBoost)

Post by Camble » Fri Apr 14, 2017 9:37 am

McGyver wrote:
Fri Apr 14, 2017 9:31 am
I tried the sudo shutdown via SSH during playing a game: the game state will not being saved :-(
Could the shutdown command maybe being edited? The best would be to send "keypress ESCAPE" by script before the shutdown command...
Yes, you can edit the script any way you want. Simply replace the line

Code: Select all

os.system("sudo shutdown -h now")
There are plenty ways to simulate keypresses in python.

http://stackoverflow.com/questions/1367 ... -in-python

inches
Posts: 103
Joined: Mon Mar 20, 2017 12:28 pm
Has thanked: 32 times
Been thanked: 81 times

Re: [For Sale] Safe Shutdown v1.2 (for PowerBoost)

Post by inches » Fri Apr 14, 2017 10:45 am

Camble wrote:
Tue Apr 11, 2017 5:48 am
McGyver wrote:
Sun Apr 09, 2017 1:48 pm
Regarding the autosave on exit of emulators. In the moment this is managed by trigger one button mapped to exit the emulator (escape).

Will this autosave works as well during the Pi shuts down getting triggered by the LBO signal?
I'm not entirely sure. The script simply calls "shutdown". If the emulator exits safely at this point, I imagine it would autosave? If you test it, be sure to post your findings :)
inches wrote:
Sun Apr 09, 2017 8:05 pm
Are you sharing the schematic for this for the DIYers?
I had planned to write up another guide, but I've not had the time. I'm hoping to have a v1.3 board produced and will
probably have a DIY version available, and a guide. I can't predict when, though.
Cool, thanks. Are you using your own design or one from elsewhere? I could make use of the schematic for studying before a whole guide is necessary.

Thanks
Your next build should include a Compute Module 3! Sign-up to be notified about the CeMu Partner Pre-Order:
http://www.sudomod.com/forum/viewtopic.php?f=3&t=3148


My Compute Module 3 build [Update 1-5] http://www.sudomod.com/forum/viewtopic.php?f=9&t=3003

My Compute Module 3 build [Update 6+] http://www.sudomod.com/forum/viewtopic. ... 00&p=33219

My guide to Soldering kits http://www.sudomod.com/forum/viewtopic.php?f=22&t=3024

User avatar
dragonfly_at
Posts: 3
Joined: Sat Dec 17, 2016 11:54 am
Has thanked: 3 times

Re: [For Sale] Safe Shutdown v1.2 (for PowerBoost)

Post by dragonfly_at » Fri Apr 14, 2017 2:36 pm

Hi there! I'm new here!
Can I also use this safe shutdown for shutting down my pi-NES (raspberry pi3 in a Nintendo Entertainment System) via the original power button?

Thanks in advance for any replies & Happy Easter!

User avatar
Camble
Posts: 885
Joined: Thu May 05, 2016 2:31 am
Location: Scotland
Has thanked: 269 times
Been thanked: 488 times

Re: [For Sale] Safe Shutdown v1.2 (for PowerBoost)

Post by Camble » Sat Apr 15, 2017 6:29 am

dragonfly_at wrote:
Fri Apr 14, 2017 2:36 pm
Hi there! I'm new here!
Can I also use this safe shutdown for shutting down my pi-NES (raspberry pi3 in a Nintendo Entertainment System) via the original power button?

Thanks in advance for any replies & Happy Easter!
This will work with any RPi with a PowerBoost, but is designed to work with a slide switch, not a push button.

cobramike
Posts: 230
Joined: Sat Oct 29, 2016 12:31 am
Location: Gelderland, Netherlands
Has thanked: 55 times
Been thanked: 60 times

Re: [For Sale] Safe Shutdown v1.2 (for PowerBoost)

Post by cobramike » Sat Apr 15, 2017 1:39 pm

Camble you are the man!!!!!. Orderd this one from you also. Thanks for the great work.

Greets Mike from the Netherlands
Whooo Stop befor ask in a post. First use the search or the wiki befor you make a topic.. Just saying.........

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest