Search:
Submit Search


Automatically Boot MacPro 2013 When Power Applied

Buying or building computers for Hauptwerk, recommendations, troubleshooting computer hardware issues.

Automatically Boot MacPro 2013 When Power Applied

Postby AndyFox » Mon Jan 30, 2017 2: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
AndyFox
Member
 
Posts: 33
Joined: Thu Jan 22, 2015 6:03 pm

Re: Automatically Boot MacPro 2013 When Power Applied

Postby B. Milan » Mon Jan 30, 2017 2:54 pm

[Topic moved]
Regards,
Brett Milan
http://www.hauptwerk.com
http://www.milandigitalaudio.com
Send Email

Image

_________________________________
Please use email for contacting us. No private messages please.
User avatar
B. Milan
Site Admin
 
Posts: 4313
Joined: Sat Aug 30, 2003 11:15 am
Location: Tampa, FL. USA

Re: Automatically Boot MacPro 2013 When Power Applied

Postby Doug S. » Wed Feb 01, 2017 2: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
User avatar
Doug S.
Member
 
Posts: 312
Joined: Tue May 20, 2008 9:17 pm
Location: Massachusetts USA

Re: Automatically Boot MacPro 2013 When Power Applied

Postby AndyFox » Thu Feb 09, 2017 6:04 pm

Thanks. Did you wire this on the new round late 2013 MacPro that resembles a small garbage can?
AndyFox
Member
 
Posts: 33
Joined: Thu Jan 22, 2015 6:03 pm

Re: Automatically Boot MacPro 2013 When Power Applied

Postby engrssc » Thu Feb 09, 2017 9: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
User avatar
engrssc
Member
 
Posts: 5089
Joined: Mon Aug 22, 2005 11:12 pm
Location: Roscoe, IL, USA

Re: Automatically Boot MacPro 2013 When Power Applied

Postby Doug S. » Sat Feb 11, 2017 12:59 pm

Send me a pm with email address and I'll send photos of my relay.
Doug
Doug
User avatar
Doug S.
Member
 
Posts: 312
Joined: Tue May 20, 2008 9:17 pm
Location: Massachusetts USA

Re: Automatically Boot MacPro 2013 When Power Applied

Postby AndyFox » Wed Feb 15, 2017 3:11 pm

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

AF
AndyFox
Member
 
Posts: 33
Joined: Thu Jan 22, 2015 6:03 pm

Re: Automatically Boot MacPro 2013 When Power Applied

Postby Mister_Mirabilis » Wed Mar 01, 2017 10: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!
Mister_Mirabilis
Member
 
Posts: 13
Joined: Fri Mar 13, 2015 8:08 pm

Re: Automatically Boot MacPro 2013 When Power Applied

Postby organtechnology » Wed Mar 01, 2017 12:15 pm

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 VPO systems powered by Hauptwerk™. Real Wood Consoles, PC or MAC Computer Sound Modules, Audio for Home or Church.
info (at) organtechnology.com http://www.organtechnology.com

Authorized Hauptwerk Dealer; Milan Digital Audio Dealer..
User avatar
organtechnology
Member
 
Posts: 1613
Joined: Sun Aug 02, 2009 5:58 pm
Location: DFW, TX USA

Re: Automatically Boot MacPro 2013 When Power Applied

Postby GeoffUK » Wed Mar 01, 2017 1: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
GeoffUK
Member
 
Posts: 13
Joined: Sat Dec 04, 2010 2:15 pm
Location: Fleet, Hampshire, England

Re: Automatically Boot MacPro 2013 When Power Applied

Postby AndyFox » Wed Mar 01, 2017 5:17 pm

Thanks
AndyFox
Member
 
Posts: 33
Joined: Thu Jan 22, 2015 6:03 pm

Re: Automatically Boot MacPro 2013 When Power Applied

Postby AndyFox » Thu Mar 09, 2017 11: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
AndyFox
Member
 
Posts: 33
Joined: Thu Jan 22, 2015 6:03 pm

Re: Automatically Boot MacPro 2013 When Power Applied

Postby jkinkennon » Thu Mar 09, 2017 2: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.
jkinkennon
Member
 
Posts: 844
Joined: Thu May 07, 2009 10:43 am
Location: Vancouver, WA

Re: Automatically Boot MacPro 2013 When Power Applied

Postby AndyFox » Thu Mar 09, 2017 2: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
AndyFox
Member
 
Posts: 33
Joined: Thu Jan 22, 2015 6:03 pm

Re: Automatically Boot MacPro 2013 When Power Applied

Postby jkinkennon » Fri Mar 10, 2017 12:58 pm

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.
jkinkennon
Member
 
Posts: 844
Joined: Thu May 07, 2009 10:43 am
Location: Vancouver, WA

Next

Return to Computer hardware / specs

Who is online

Users browsing this forum: No registered users and 3 guests