It is currently Fri Mar 29, 2024 6:02 am


Automatically Boot MacPro 2013 When Power Applied

Buying or building computers for Hauptwerk, recommendations, troubleshooting computer hardware issues.
  • Author
  • Message
Offline

AndyFox

Member

  • Posts: 35
  • Joined: Thu Jan 22, 2015 5:03 pm

Automatically Boot MacPro 2013 When Power Applied

PostMon Jan 30, 2017 1:15 pm

Is there a way to employ one master switch and have a MacPro automatically start when power is applied. I have already removed the password in that process; however, do not want to walk behind the organ and press the MacPro switch.

Andy Fox
Offline
User avatar

B. Milan

Site Admin

  • Posts: 4393
  • Joined: Sat Aug 30, 2003 10:15 am
  • Location: Sarasota, FL. USA

Re: Automatically Boot MacPro 2013 When Power Applied

PostMon Jan 30, 2017 1:54 pm

[Topic moved]
Brett Milan
Owner
MILAN DIGITAL AUDIO
Offline
User avatar

Doug S.

Member

  • Posts: 498
  • Joined: Tue May 20, 2008 8:17 pm
  • Location: Massachusetts USA

Re: Automatically Boot MacPro 2013 When Power Applied

PostWed Feb 01, 2017 1:06 am

I solved a similar problem by building a momentary relay powered by a 12v wall wart duplicating the function of the standard CPU power switch plugged directly into the motherboard socket where the normal front panel power switch connects. This device may be wired in parallel preserving the function of both.
Doug
Offline

AndyFox

Member

  • Posts: 35
  • Joined: Thu Jan 22, 2015 5:03 pm

Re: Automatically Boot MacPro 2013 When Power Applied

PostThu Feb 09, 2017 5:04 pm

Thanks. Did you wire this on the new round late 2013 MacPro that resembles a small garbage can?
Offline
User avatar

engrssc

Member

  • Posts: 7283
  • Joined: Mon Aug 22, 2005 10:12 pm
  • Location: Roscoe, IL, USA

Re: Automatically Boot MacPro 2013 When Power Applied

PostThu Feb 09, 2017 8:13 pm

Doug S. wrote:I solved a similar problem by building a momentary relay powered by a 12v wall wart duplicating the function of the standard CPU power switch plugged directly into the motherboard socket where the normal front panel power switch connects. This device may be wired in parallel preserving the function of both.


Do you have circuit details? I know someone will ask. Such a relay is sometimes referred to as a single (or one) shot.

Rgds,
Ed
Offline
User avatar

Doug S.

Member

  • Posts: 498
  • Joined: Tue May 20, 2008 8:17 pm
  • Location: Massachusetts USA

Re: Automatically Boot MacPro 2013 When Power Applied

PostSat Feb 11, 2017 11:59 am

Send me a pm with email address and I'll send photos of my relay.
Doug
Doug
Offline

AndyFox

Member

  • Posts: 35
  • Joined: Thu Jan 22, 2015 5:03 pm

Re: Automatically Boot MacPro 2013 When Power Applied

PostWed Feb 15, 2017 2:11 pm

I tried a PM but do not think it worked;
Email is fox1992@bellsouth.net for photos.

AF
Offline

Mister_Mirabilis

Member

  • Posts: 24
  • Joined: Fri Mar 13, 2015 7:08 pm

Re: Automatically Boot MacPro 2013 When Power Applied

PostWed Mar 01, 2017 9:19 am

Hi Doug. I, too, am interested in having my 2012 5,1 MacPro tower turn on with a remote switch, for much the same reason as the OP. Would you please be able to include me with Andy in sending out a photo and any other details of how you have achieved this? PM would be welcome; if that doesn't work, my email is wmcarton@gmail.com. Many thanks!
Offline
User avatar

organtechnology

Member

  • Posts: 1886
  • Joined: Sun Aug 02, 2009 4:58 pm
  • Location: DFW, TX USA

Re: Automatically Boot MacPro 2013 When Power Applied

PostWed Mar 01, 2017 11:15 am

AndyFox wrote:Is there a way to employ one master switch and have a MacPro automatically start when power is applied. I have already removed the password in that process; however, do not want to walk behind the organ and press the MacPro switch.

Andy Fox


Is it possible there is a setting in OS-X like in the Mac Mini?

http://www.virtuallyghetto.com/2013/02/ ... ilure.html

Thomas
Complete Hauptwerk™ systems using real wood consoles, PC Sound Engines, Dante Audio for Home or Church. info (at) organtechnology.com http://www.organtechnology.com
Authorized Hauptwerk; Milan Digital Audio and Lavender Audio reseller.
USA and Canada shipments only.
Offline

GeoffUK

Member

  • Posts: 25
  • Joined: Sat Dec 04, 2010 1:15 pm
  • Location: Fleet, Hampshire, England

Re: Automatically Boot MacPro 2013 When Power Applied

PostWed Mar 01, 2017 12:28 pm

Hi Andy,

I wrote this short shell script to this on my organ and it's a great feature. When you want to close down, first close HW; then run the shell script which will close down the OS and then turn off the power. The Mac sees that as a power fail so when you re-apply the power it will boot automatically. I use a wireless mains switch with this so I can get the organ on to play with a small remote wand.

do shell script "shutdown -u -h now" user name "Your Mac user name" password "Your password" with administrator privileges

I keep the icon for this script on the desktop screen so I can double click it to run.

I hope this works for you.

Geoff
Offline

AndyFox

Member

  • Posts: 35
  • Joined: Thu Jan 22, 2015 5:03 pm

Re: Automatically Boot MacPro 2013 When Power Applied

PostWed Mar 01, 2017 4:17 pm

Thanks
Offline

AndyFox

Member

  • Posts: 35
  • Joined: Thu Jan 22, 2015 5:03 pm

Re: Automatically Boot MacPro 2013 When Power Applied

PostThu Mar 09, 2017 10:30 am

Geoff, could you explain the -h -u variables in the

do shell Script "shutdown -u -h now"

I find the command in references. Not familiar with AppleScript and would like to understand.

Thanks
Andy
Offline

jkinkennon

Member

  • Posts: 1208
  • Joined: Thu May 07, 2009 9:43 am
  • Location: Vancouver, WA

Re: Automatically Boot MacPro 2013 When Power Applied

PostThu Mar 09, 2017 1:02 pm

The way to find this information is to open a terminal window in OS X and type "man <command>".

Last login: Thu Mar 9 09:57:01 on ttys000
JK-mac-mini:~ johnkinkennon$ man shutdown

This will bring up the manual page for the shutdown command. Here are the -h and -u sections:

-h The system is halted at the specified time. ("now" in our example)

-u The system is halted up until the point of removing system power,
but waits before removing power for 5 minutes so that an external
UPS (uninterruptible power supply) can forcibly remove power.
This simulates a dirty shutdown to permit a later automatic power
on. OS X uses this mode automatically with supported UPSs in
emergency shutdowns.
Offline

AndyFox

Member

  • Posts: 35
  • Joined: Thu Jan 22, 2015 5:03 pm

Re: Automatically Boot MacPro 2013 When Power Applied

PostThu Mar 09, 2017 1:15 pm

Thank you. So all I do is open the AppleScript Editor and type:

do shell Script "shutdown -u -h now"

Then, save it, create a desktop icon?

Andy
Offline

jkinkennon

Member

  • Posts: 1208
  • Joined: Thu May 07, 2009 9:43 am
  • Location: Vancouver, WA

Re: Automatically Boot MacPro 2013 When Power Applied

PostFri Mar 10, 2017 11:58 am

That's correct, use the script editor. To execute it type "osascript <scriptname>" at the terminal. It will work if the file permissions and the permissions to execute osascript are correct. Perhaps Geoff has additional details as to how he invokes the script. I tested the method above but Apple Script has lots of functionality that I have never looked into. Look at the Automator application as a start.
Next

Return to Computer hardware / specs

Who is online

Users browsing this forum: No registered users and 1 guest