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 12-20-2007, 10:12 AM   #1
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)
Power management - the final solution?

After more tests, I believe we figured out the ultimate solution for the power issues, that does resolve most (if not all) issues related to using the ACPI pulse output of the power adapter or a hardware switch (out-of-sync state between the PSU and the computer).

We use our older method of watching the presence of externally powered USB device (such as a GPS receiver) on the USB bus to determine when to put the computer to sleep. Alternatively this information can be retrieved from the P2140 using USB connection. If P2140 is used, the software can decide to either go to sleep or just give the user a warning and ask whether he wants to turn the computer off (technically that is sleep mode). In our software, we just start countdown the way OS X does when you select "Log out" or "Shut down". If the user performs any action, the countdown sequence is extended or restarted. After the computer has determined it is really the time to sleep, it first turns off the PSU (=initiates its shutdown sequence) and then goes to sleep.

The PSU can be configured for either sleep or hibernation. The deep sleep is enabled in any case on the compuer. It can be awaken from a normal sleep using the change on the USB which occurs when the new (externally powered) devices are connected. This is however not sufficient to wake the computer from the deep sleep (which may be used by choice or entered by deadman timer of the PSU). To do this, you need to go to Energy saver pane of the System preferences and enable the "Restart automatically after power failure". This way, the Mac will wake up from the deep sleep whenever the power is re-applied (after PSU has been turned on).

This solution prevents the sync problems between the PSU and the Mac, can handle random wake-ups while the car is sleeping and the power drawn is not sufficient to trigger the PSU's built-in protection and allows us to remove the need for connection of the computer's power button, which is especially welcome in the dock, whose construction becomes significantly easier.
Jirka Jirout is offline   Reply With Quote
Sponsored Links
Old 12-20-2007, 12:10 PM   #2
CarFrontEnd Creator
iamgnat's CarPC Specs
 
iamgnat's Avatar
 
Join Date: Jul 2004
Location: NoVA
Vehicle: 04 Ford Escape
Posts: 846
My Photos: (0)
Not to knock the work that you've done, but is this really an issue (beyond simplifying a dock) that many people have?

I ask as I haven't seen many threads about it since i've joined (at least where the issue wasn't a misconfigured P1900/2140 or a device drawing power from the Mini) and my Mini has worked great with it's P1900 for almost 1.5 years now.

-dave
__________________
My pathetic worklog.
CarFrontEnd (now it's own sub-forum!!!!)
iamgnat is offline   Reply With Quote
Old 12-20-2007, 02:05 PM   #3
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 iamgnat View Post
Not to knock the work that you've done, but is this really an issue (beyond simplifying a dock) that many people have?

It depends on what you want and expect. We want and need a completely foolproof solution where the computer reliably follows the ignition line regardless of the state. I never felt this was a huge issue (except for the dock of course), but when we started to test our installations on normal users who do not give <censored> about technology and want things to "just work", we started to see this as a problem. Quickly turn the ignition on and off (i.e. checking the odometer, closing the windows, moving the car a few feet in the driveway) a few times and you are out of sync between your PSU and the computer. We do not want this to happen, we do not want a solution for geeks or a letter-sized cheat sheet like "if this happens, do this, but sometimes you have to do something else depending on ...."

We want the reliability and ease of use to be close to a car radio or a mobile phone, not to a desktop computers, where a restart here and there is something normal and accepted.
Jirka Jirout is offline   Reply With Quote
Old 12-20-2007, 04:20 PM   #4
CarFrontEnd Creator
iamgnat's CarPC Specs
 
iamgnat's Avatar
 
Join Date: Jul 2004
Location: NoVA
Vehicle: 04 Ford Escape
Posts: 846
My Photos: (0)
Quote: Originally Posted by Jirka Jirout View Post
We want the reliability and ease of use to be close to a car radio or a mobile phone, not to a desktop computers, where a restart here and there is something normal and accepted.

I completely understand and agree. Just saying Mike's work seems pretty solid already

My only annoyance is the 60 second lockout in cases like you mentioned, but my Mini has never gotten out of sync because of it. Guess I just don't abuse it like a normal user

-dave
__________________
My pathetic worklog.
CarFrontEnd (now it's own sub-forum!!!!)
iamgnat is offline   Reply With Quote
Old 12-20-2007, 05:01 PM   #5
Low Bitrate
 
daclothe's Avatar
 
Join Date: Dec 2004
Posts: 111
My Photos: (0)
i'd be happy with just being able to buy a 2140...
daclothe 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
HP e-PC great solution for my 02 BMw rrgcsfb General Hardware Discussion 41 05-14-2007 10:14 AM
Power Supply/OPUS Kill Switch SpaceMonkey Power Supplies 8 08-11-2006 10:58 AM
Micro Star Motherboard Problems with Power Switch/BIOS Sidewalksalvage General Hardware Discussion 3 06-26-2006 12:40 PM
My laptop power on solution - 56k modem port and telephone cable sivart321 Laptops, Tablets, UPMCs, etc. 12 02-04-2006 04:30 PM
Mini-box.com delivers the tiniest mini-ITX power solution to date petesonline Power Supplies 1 03-04-2004 06:02 AM


All times are GMT -5. The time now is 05:25 PM.


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