Actually something I just thought of that would be even more intelligent - using a comport line to monitor the vehicle's ACC line, and pausing the current playback when it goes low (not on). That would be uber easy to code and wouldn't require any user settings. You can buy usb>rs232 port adapters for around $10.00. Would it be too much trouble to wire up two leads from one of those, one to ground and one to your ACC line?
Opinions / comments welcome.
That would actually work pretty well, people with VIA EPIA boards can just buy a cheap header and use the second built in COM port
After testing, this looks like it would work perfectly using the CD line (pin 1) and a 20k resistor (to reduce current consumption). Also, because some serial devices do not use the carrier detect line, it would be possible to use this on a serial port that is hosting an IR remote, or a parking brake lockout circuit, etc.
I'll draw up a schematic when time permits, but it's hardly necessary. Wire pin 5 of your serial port to vehicle ground, and pin 1 (assuming a db9 connector) to one end of a 20k ohm resistor (1/8 watt would be sufficient). To the other end of the resistor you hook your IGN / ACC line, done.
I care! That is a great idea and will work perfectly for me. When I go off-roading, we frequently stop for anywhere from 5 min to 2 hours. I have my computer configured to stay on all the time because I want the track logs and loaded waypoints to stay in memory. I also want the music to pause while stopped so this will work great. My only request is that it be able to interface with the USB port, because my gps is connected to my only serial port.
BtW, great front end. I've tried two other front ends, but like yours the best.
---> '02 Jeep Wrangler Jeeputer Install:
For usb you'll need to buy a usb>rs232 interface. They can be had all over eBay, geeks.com, etc. for around $10 each.
I'm waiting to hear back from a few testers, and then this will be released for public beta. Hopefully tonight or tomorrow.
Sorry it took so long to get this release out - I hear from CarComp about once every two months or so, so I gave up on waiting for him to get back to me. The pause / shutdown functionality is included in the 2.3.2 Beta 2 released today (9/12/2005). Please post back in this thread with any comments, suggestions, bugs, etc.