The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > MacCar

Reply
 
Thread Tools Display Modes
Old 04-06-2008, 03:10 AM   #1
Newbie
 
Join Date: Jan 2005
Posts: 36
My Photos: (0)
Dockable shutdown icon?

Hello everyone, I've been prowling around MP3Car.com for the better part of 2 years and have just realised my setup thanks to all of you. The discussions and pictures posted by members were a great source of motivation and ideas.

I have a MacMini installed in the passenger footwell of my 2004 Chevy Aveo (it's a 1.4 not a 1.6) connected to a Xenarc 700IDT, a Blaupunkt ODA Surround amplifier via TOSLink runs all 5.1 channels.

I use a Carnetix P1900 to supply power to the Mac, but have decided to dispense with the sleep mode stuff because I don't drive very much nor trust my car's battery and would rather live with a slightly longer bootup than not being to crank when i really need it :-p

My question is - is there a script or a program I can install on the Mini's dock so I can initiate shutdown? The reason I ask is because my really fat fingers sometimes find it hard to jab at the upper left corner of the screen when I'm trying to park

Thanks in advance for your input!
maded is offline   Reply With Quote
Sponsored Links
Old 04-06-2008, 05:39 AM   #2
Low Bitrate
bpwned's CarPC Specs
 
bpwned's Avatar
 
Join Date: Jan 2007
Location: Germany
Vehicle: 2004 Land Rover Freelander
Posts: 80
My Photos: (3)
Hi there,
did you know that the P1900 has a deadman timer that can cut the power to your mac after 72h of sleep? That way your battery will definately not be drained. If you want to use that, I suggest you use http://www.jinx.de/SmartSleep.html

Anyway, back to your question: You could create an AppleScript to do the job.
This thread is not exactly on topic, but I suppose it will give you enough information to solve the remaining problem :-)

Alex
bpwned is offline   Reply With Quote
Old 04-06-2008, 09:14 AM   #3
Newbie
 
Join Date: Mar 2008
Posts: 6
My Photos: (0)
Hi maded,
"Dockables" is probably what you are looking for:

http://cocoaapp.com/products/dockables/

a Freeware collection of scripts that do this job nicely.
California_2006 is offline   Reply With Quote
Old 04-06-2008, 11:58 AM   #4
Admin. Don't bug or I'll byte.
Bugbyte's CarPC Specs
 
Bugbyte's Avatar
 
Join Date: Sep 2004
Location: Corning, NY
Vehicle: 2001 VW Beetle
Posts: 4,470
My Photos: (19)
I use SleepTimer. I set it to shut the Mac down after sleeping for 1 hour or more under the assumption that I'm done for the day if I do it that way.
__________________
-Where in the world is the iBug?
-Find out about theiBug
-Attention Newbies! Have you seen the FAQ Emporium?
-No time to figure it out? Take 5 minutes to view the Car PC 101 video
Bugbyte is offline   Reply With Quote
Old 04-06-2008, 10:02 PM   #5
Newbie
 
Join Date: Jan 2005
Posts: 36
My Photos: (0)
Thanks everyone for your advice, i'll try the applescript first (I'm not an accomplished Mac programmer) and when all else has failed, Dockables.

Will also upload shots of my install when i get some done.
maded is offline   Reply With Quote
Old 04-07-2008, 12:05 AM   #6
Constant Bitrate
onepuff's CarPC Specs
 
onepuff's Avatar
 
Join Date: Jan 2006
Posts: 121
My Photos: (0)
I use a widget called deep sleep.

http://deepsleep.free.fr/

It puts the mac into hibernation. It boots up much faster than a cold boot and the mac consumes no power when in deep sleep. You can set it to use the mac's power button to go into hibernation, so you could use the p1900 sleep function.
onepuff is offline   Reply With Quote
Old 04-07-2008, 02:40 AM   #7
QCar Creator
Jirka Jirout's CarPC Specs
 
Jirka Jirout's Avatar
 
Join Date: Jul 2005
Location: Netherlands
Vehicle: 1993 Tatra 613-4Mi Long
Posts: 541
My Photos: (0)
Quote: Originally Posted by onepuff View Post
It boots up much faster than a cold boot and the mac consumes no power when in deep sleep.

How much faster? It takes my mini about 20 seconds to fully wake up from hibernation and it takes about 45 seconds to boot.

Besides I do not think you can put a Mac directly into a deep sleep. What you can do on some models is enable the deep sleep and then the Mac will enter it automatically if the power is removed. But I may be wrong.
Jirka Jirout is offline   Reply With Quote
Old 04-07-2008, 03:17 AM   #8
Constant Bitrate
onepuff's CarPC Specs
 
onepuff's Avatar
 
Join Date: Jan 2006
Posts: 121
My Photos: (0)
I run parallels so i can run some datalogging software for my car so it takes forever for me to boot up cold. Check out the widget i linked. You can set the type of sleep(deep or regular mode) for the widget and the normal mode of putting the mac to sleep i.e. power button or through the apple menu. It works very well for me.You have to put the computer into deep sleep before removing the power though as far as i know.
onepuff is offline   Reply With Quote
Old 04-07-2008, 03:28 AM   #9
QCar Creator
Jirka Jirout's CarPC Specs
 
Jirka Jirout's Avatar
 
Join Date: Jul 2005
Location: Netherlands
Vehicle: 1993 Tatra 613-4Mi Long
Posts: 541
My Photos: (0)
Quote: Originally Posted by onepuff View Post
You have to put the computer into deep sleep before removing the power though as far as i know.

It works this way:

1. You issue a sleep request
2. The mac dumps the RAM to the HDD and makes a notes the computer went to sleep (in NVRAM)
3. The computer goes to *normal* sleep with RAM powered - if you wake the computer now, it will wake up normally within a few seconds.
4. If you remove the power, the computer turns off (and is in what is called deep sleep)
5. When you reconnect the power and eventually press the power button, the Mac checks whether there is the sleep entry note (created in step 2). If it is, it takes the RAM dump and restores it. If it is not, it enters the regular boot sequence.
Jirka Jirout is offline   Reply With Quote
Old 04-07-2008, 07:23 AM   #10
Low Bitrate
bpwned's CarPC Specs
 
bpwned's Avatar
 
Join Date: Jan 2007
Location: Germany
Vehicle: 2004 Land Rover Freelander
Posts: 80
My Photos: (3)
That's how I've configured my Mini! (P2140 sends it to sleep when I turn off ignition, then cuts power after 1h, the Mac automatically saves the session to HDD and starts again where I left off).

Read here to see how to enable safe sleep: http://andrewescobar.com/archive/200...leep-your-mac/ or just use http://www.jinx.de/SmartSleep.html (I do)
bpwned is offline   Reply With Quote
Sponsored Links
Old 04-07-2008, 11:21 PM   #11
Newbie
 
Join Date: Jan 2005
Posts: 36
My Photos: (0)
The thing is, I usually keep the mini in the car only during weekends. Rest of the time I bring it back to my apartment. So a convenient shutdown is what i'm after.
maded is offline   Reply With Quote
Old 04-08-2008, 12:42 AM   #12
Constant Bitrate
onepuff's CarPC Specs
 
onepuff's Avatar
 
Join Date: Jan 2006
Posts: 121
My Photos: (0)
Quote: Originally Posted by Jirka Jirout View Post
It works this way:

1. You issue a sleep request
2. The mac dumps the RAM to the HDD and makes a notes the computer went to sleep (in NVRAM)
3. The computer goes to *normal* sleep with RAM powered - if you wake the computer now, it will wake up normally within a few seconds.
4. If you remove the power, the computer turns off (and is in what is called deep sleep)
5. When you reconnect the power and eventually press the power button, the Mac checks whether there is the sleep entry note (created in step 2). If it is, it takes the RAM dump and restores it. If it is not, it enters the regular boot sequence.

Well i meant that you have to put it to sleep at the least not necissarilly(totally botched the spelling of that) deep sleep. I just meant that you can't just pull the power and it will deep sleep.

To the OP. You might think about making a dock for the mini. Mine is in my project page here. http://www.mp3car.com/vbulletin/show...liput-7-a.html

I take mine in the house pretty often too and the little connector for the macpac power button wasn't gonna cut it. The little solenoid i used to press the power button has been working perfectly for about a year now. I also don't have the p1900 hooked up to the car ignition switch just cause i hate the carputer turning off when i stop at the gas station or the store. The Optima yellow top battery is awesome by the way.
onepuff is offline   Reply With Quote
Old 04-08-2008, 12:45 AM   #13
Constant Bitrate
onepuff's CarPC Specs
 
onepuff's Avatar
 
Join Date: Jan 2006
Posts: 121
My Photos: (0)
You could also just get one of these.

http://www.ergonomictouchpad.com/

Would make it easy to get to the corners of the screen for you and be a pretty simple install. The thing works great!
onepuff is offline   Reply With Quote
Old 04-13-2008, 01:31 AM   #14
Newbie
 
Join Date: Jan 2005
Posts: 36
My Photos: (0)
bpwned, the link worked a charm...

do shell script "shutdown -h now" password "YourAdminPwd" with administrator privileges

was the way to go. THanks a bunch!!
maded is offline   Reply With Quote
Old 04-13-2008, 05:47 AM   #15
Low Bitrate
bpwned's CarPC Specs
 
bpwned's Avatar
 
Join Date: Jan 2007
Location: Germany
Vehicle: 2004 Land Rover Freelander
Posts: 80
My Photos: (3)
Cool. Glad to hear that.
bpwned is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Skin Release: "Simplistique" - download and screenshots lloydy RR Skins 451 07-08-2008 06:39 PM
OBDII Module doesn't work Lok Bug Tracking 18 04-10-2008 03:33 PM
No Data recived from GPS jbird12345 Bug Tracking 4 02-02-2008 06:28 PM
Holux GPS Trouble mangus580 StreetDeck 34 11-26-2007 08:56 PM
Shutdown controller screwc149 Power Supplies 1 11-22-2006 10:38 AM


All times are GMT -5. The time now is 02:23 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics