Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > The FAQ Emporium


Reply
 
Share Thread Tools Display Modes
Old 06-24-2008, 12:02 PM   #31
Maximum Bitrate
 
v8 scimitar's Avatar
 
Join Date: Jan 2005
Location: Scotland
Posts: 742
v8 scimitar is on a distinguished road
you must be disabling the wrong object if its still active.

http://www.softpedia.com/get/System/...-Trigger.shtml for hibernate trigger.
__________________
Visit my site V8 Scimitar

SP13000, 300GB SATA HD, 1GB DDR. Opus 150, K301 screen, Cisco WIFI, AQmax GPS, RoadRunner and FreeDrive, Sony MEX-R5 head unit. 4 years installed and it just keeps running!
v8 scimitar is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 06-24-2008, 12:10 PM   #32
Newbie
 
Join Date: Jan 2008
Posts: 3
Nepharius is an unknown quantity at this point
Actually that link doesnt work either it just links back to the same one in the pdf. I did manage to find this though, it's the new site.

Hibernate trigger
Nepharius is offline   Reply With Quote
Old 06-24-2008, 06:36 PM   #33
Maximum Bitrate
 
v8 scimitar's Avatar
 
Join Date: Jan 2005
Location: Scotland
Posts: 742
v8 scimitar is on a distinguished road
Sorry I didn't follow the link. I have updated the PDF.
__________________
Visit my site V8 Scimitar

SP13000, 300GB SATA HD, 1GB DDR. Opus 150, K301 screen, Cisco WIFI, AQmax GPS, RoadRunner and FreeDrive, Sony MEX-R5 head unit. 4 years installed and it just keeps running!
v8 scimitar is offline   Reply With Quote
Old 06-24-2008, 07:34 PM   #34
Newbie
 
Join Date: May 2004
Posts: 43
accordvsick is on a distinguished road
Anyone else using devcon with Xport?
accordvsick is offline   Reply With Quote
Old 06-25-2008, 12:42 PM   #35
Maximum Bitrate
 
wizz's Avatar
 
Join Date: Nov 2004
Location: Leicestershire UK
Posts: 647
wizz is on a distinguished road
V8 Scimitar Can you help me with my problem........

I've been trying to use devcon/autoit/hibernation trigger to stop a 3 usb mobile broadband modem to allow me to hibernate, but have just found out that it is the modem coms software that is stoping hibernation and not the device itself. If I exit the software, my system will go into and out off hibernation correctly.

I therefore need to stop this program prior to hibernation.

The program at present auto-starts with windows boot via the startup folder. Unfortunately, I have to then click a connect box in the software for the modem to go online.

To shutdown the software I have to click a disconnect box and also confirm a "yes/no" box to disconnect the modem.....then finally stop the program itself.

Is there a way to, at least, disconnect and shut down the program prior to hibernation so that when I switch off my ignition the M2-ATX can initiate the hibernation.

PS: I see your from Scotland......I'm over on digital-car.co.uk as well as mp3car.com, with the same name/avatar..........got a Focus too !
__________________
Car : Ford Focus Zetec 1.6
Carpc :Lin-ITX Plus 7" touchscreen/Toad 8" roof screen
Morex 3688 case/M2-ATX PSU/Commell V-672 P4 3.2Ghz/1024DDR2/40GB 2.5" SATA HDD/Sony DVD/CDRW
BU303 GPS/Mercury 11b WiFi/Parking Sensors
Colour I/R Reversing Camera

Last edited by wizz; 06-25-2008 at 01:46 PM..
wizz is offline   Reply With Quote
Old 06-25-2008, 02:13 PM   #36
Maximum Bitrate
 
v8 scimitar's Avatar
 
Join Date: Jan 2005
Location: Scotland
Posts: 742
v8 scimitar is on a distinguished road
Hi Wizz

Yes I have seen you around on the other side. I have the same username over there too.

The only way I can think of right now is to use some scripts to kill the app and start it again. You better test if this is ok because it is a bit of a brutal way to shut down a program and it might not like it.

For command prompt (DOS) create a bat file with taskkill /im NameOfProgramToEnd.exe
Create another one with NameOfProgramToStart.exe this will only work in xp pro xp home doesnt have taskkill.

Put these in hibernate trigger and your done. You could also create an exe to do this in AutoIT if you wanted as per my tutorial just change the commands. This will hide the dos window.


You could also use Powershell http://www.microsoft.com/windowsserv...l/default.mspx .
Create a commandlet with kill -name NameOfProgram and another with NameOfProgram again put these in hibernate trigger.
There is probably a way to do it in VB script as well and you might find a nicer way to close the program instead of killing it but I don’t know what the scripts would be.
There will also be a way to do it nicely via AutoIt but I would need to experiment. Unfortunately I am two days away from being out the country so I don’t have time at mo.
I should also say you might have to put the path to the app depending how it is registered to get it to start (not to kill it though).


Hope this helps.
__________________
Visit my site V8 Scimitar

SP13000, 300GB SATA HD, 1GB DDR. Opus 150, K301 screen, Cisco WIFI, AQmax GPS, RoadRunner and FreeDrive, Sony MEX-R5 head unit. 4 years installed and it just keeps running!
v8 scimitar is offline   Reply With Quote
Old 06-25-2008, 04:28 PM   #37
Maximum Bitrate
 
wizz's Avatar
 
Join Date: Nov 2004
Location: Leicestershire UK
Posts: 647
wizz is on a distinguished road
Quote: Originally Posted by v8 scimitar View Post
For command prompt (DOS) create a bat file with taskkill /im NameOfProgramToEnd.exe
Create another one with NameOfProgramToStart.exe this will only work in xp pro xp home doesnt have taskkill.

Put these in hibernate trigger and your done. You could also create an exe to do this in AutoIT if you wanted as per my tutorial just change the commands. This will hide the dos window.

OK, Thanks for the info...I'll try it.
That start bat wont take care of the connect button push......will it ??
__________________
Car : Ford Focus Zetec 1.6
Carpc :Lin-ITX Plus 7" touchscreen/Toad 8" roof screen
Morex 3688 case/M2-ATX PSU/Commell V-672 P4 3.2Ghz/1024DDR2/40GB 2.5" SATA HDD/Sony DVD/CDRW
BU303 GPS/Mercury 11b WiFi/Parking Sensors
Colour I/R Reversing Camera
wizz is offline   Reply With Quote
Old 06-25-2008, 05:16 PM   #38
Maximum Bitrate
 
v8 scimitar's Avatar
 
Join Date: Jan 2005
Location: Scotland
Posts: 742
v8 scimitar is on a distinguished road
no it will just start the app. To do the connect part you would have to either be able to send a switch to the software or if you used AutoIt you can send messages or keystrokes if it will accept them. Dont know about the 3 software but the Vodafone software has a setting to auto connect anyway. Comming to think of it the Voda one if you pull the dongle the software shuts down and when you put it in it auto starts. Trouble is it takes ages to shut down so windows will hang when trying to hibernate. Hmm I will have a play at work tomorow if I get a chance and see if I can spot anything usefull to you.
__________________
Visit my site V8 Scimitar

SP13000, 300GB SATA HD, 1GB DDR. Opus 150, K301 screen, Cisco WIFI, AQmax GPS, RoadRunner and FreeDrive, Sony MEX-R5 head unit. 4 years installed and it just keeps running!
v8 scimitar is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 06-26-2008, 10:07 AM   #39
Maximum Bitrate
 
wizz's Avatar
 
Join Date: Nov 2004
Location: Leicestershire UK
Posts: 647
wizz is on a distinguished road
Quote: Originally Posted by v8 scimitar View Post
no it will just start the app. To do the connect part you would have to either be able to send a switch to the software or if you used AutoIt you can send messages or keystrokes if it will accept them. Dont know about the 3 software but the Vodafone software has a setting to auto connect anyway. Comming to think of it the Voda one if you pull the dongle the software shuts down and when you put it in it auto starts. Trouble is it takes ages to shut down so windows will hang when trying to hibernate. Hmm I will have a play at work tomorow if I get a chance and see if I can spot anything usefull to you.

I tried an autoit script to shutdown the 3 software, but I get an alert box telling me to disconnect before trying to shutdown.
After disconnecting and then trying to shutdown I still get another yes/no alert box to confirm shutdown
I've looked through the program options....there is also nothing to allow auto-connect or anything similar
__________________
Car : Ford Focus Zetec 1.6
Carpc :Lin-ITX Plus 7" touchscreen/Toad 8" roof screen
Morex 3688 case/M2-ATX PSU/Commell V-672 P4 3.2Ghz/1024DDR2/40GB 2.5" SATA HDD/Sony DVD/CDRW
BU303 GPS/Mercury 11b WiFi/Parking Sensors
Colour I/R Reversing Camera

Last edited by wizz; 06-26-2008 at 10:38 AM..
wizz is offline   Reply With Quote
Old 06-26-2008, 12:19 PM   #40
Maximum Bitrate
 
v8 scimitar's Avatar
 
Join Date: Jan 2005
Location: Scotland
Posts: 742
v8 scimitar is on a distinguished road
Never got a chance to have a look today but it looks like the software is different to vodafone anyway. Look and see if there is a keyboard shortcut to accept the alert box. It might even be as simple as yes is default and you just have to send return. Maybe some of the coders can do a better app for you. The hardware is pretty much all the same so it could be you just need to talk to a common dll.
__________________
Visit my site V8 Scimitar

SP13000, 300GB SATA HD, 1GB DDR. Opus 150, K301 screen, Cisco WIFI, AQmax GPS, RoadRunner and FreeDrive, Sony MEX-R5 head unit. 4 years installed and it just keeps running!
v8 scimitar is offline   Reply With Quote
Old 06-26-2008, 12:56 PM   #41
Maximum Bitrate
 
wizz's Avatar
 
Join Date: Nov 2004
Location: Leicestershire UK
Posts: 647
wizz is on a distinguished road
Quote: Originally Posted by v8 scimitar View Post
Never got a chance to have a look today but it looks like the software is different to vodafone anyway. Look and see if there is a keyboard shortcut to accept the alert box. It might even be as simple as yes is default and you just have to send return. Maybe some of the coders can do a better app for you. The hardware is pretty much all the same so it could be you just need to talk to a common dll.

OK....all a bit above me. I'll ask on DC if anyone can do an Autoit script for me.
__________________
Car : Ford Focus Zetec 1.6
Carpc :Lin-ITX Plus 7" touchscreen/Toad 8" roof screen
Morex 3688 case/M2-ATX PSU/Commell V-672 P4 3.2Ghz/1024DDR2/40GB 2.5" SATA HDD/Sony DVD/CDRW
BU303 GPS/Mercury 11b WiFi/Parking Sensors
Colour I/R Reversing Camera
wizz is offline   Reply With Quote
Old 08-20-2008, 09:52 PM   #42
Newbie
 
Join Date: Jul 2007
Location: IL
Posts: 23
peterfnet is an unknown quantity at this point
V8, thanks for the info. Works perfectly for me.

Only problem I have now is that streetdeck throws an error on resume saying it cannot communicate with that com port. Streetdeck is trying to communicate with the com port before the usb device is activated again. But if I go back a few times to the navigation settings and hit save, it comes back to life. Much better than having to restart the computer, but annoying since i have to do it every time.

Just curious if others have ran into this, or what FrontEnds other people are using that don't experience this.

Last edited by peterfnet; 08-21-2008 at 02:45 PM..
peterfnet is offline   Reply With Quote
Old 09-15-2008, 12:26 AM   #43
Low Bitrate
 
ContaiN's Avatar
 
Join Date: Sep 2005
Location: Melbourne VIC, Australia
Posts: 68
ContaiN is on a distinguished road
Hey guys,

I have now tried this and have 2 concerns

1. Windows seems to take at least 4 times longer beginning to hibernate with Hibernate Trigger

2. Coming out of Hibernate, nothing works (hibernate trigger included) until something is moved, eg: moving the mouse or pressing on the keyboard - and then hibernate trigger kicks in, music plays etc. The issue with this is that my touchscreen needs to be enabled on trigger, and when no keyboard is plugged in.... theres nothing to press/push to activate things happening, everything just sits there in a form of frozen screen stasis.

Any help with this guys?

Last edited by ContaiN; 09-15-2008 at 12:29 AM..
ContaiN is offline   Reply With Quote
Old 09-15-2008, 11:11 PM   #44
Low Bitrate
 
ContaiN's Avatar
 
Join Date: Sep 2005
Location: Melbourne VIC, Australia
Posts: 68
ContaiN is on a distinguished road
Disregard my concerns, works perfect now - ran a .dll fix for centrafuse and now it resumes without any user input (keyboard/mouse) etc.

Thanks so much for this FAQ!
ContaiN is offline   Reply With Quote
Old 09-16-2008, 01:28 PM   #45
Maximum Bitrate
 
v8 scimitar's Avatar
 
Join Date: Jan 2005
Location: Scotland
Posts: 742
v8 scimitar is on a distinguished road
Quote: Originally Posted by peterfnet View Post
V8, thanks for the info. Works perfectly for me.

Only problem I have now is that streetdeck throws an error on resume saying it cannot communicate with that com port. Streetdeck is trying to communicate with the com port before the usb device is activated again. But if I go back a few times to the navigation settings and hit save, it comes back to life. Much better than having to restart the computer, but annoying since i have to do it every time.

Just curious if others have ran into this, or what FrontEnds other people are using that don't experience this.

Sorry for some reason I haven't been getting emails saying there are posts in this thread.

Anyway the way I would fix this is to stop SD from starting the normal way via windows and start it with Hibernate trigger after your script has activated all the items. No idea how practical this is as I have never used SD and don't know how long it takes to load. If it takes a while your probably better off using full shutdown or put up with it throwing errors if you want to stick with SD. Maybe there is some way to supress the error message or do another script to do what your having to do manually in SD? Personally I use Road runner and either Sigic or freedrive and they work spot on everytime without having to shut them down and start them up.
__________________
Visit my site V8 Scimitar

SP13000, 300GB SATA HD, 1GB DDR. Opus 150, K301 screen, Cisco WIFI, AQmax GPS, RoadRunner and FreeDrive, Sony MEX-R5 head unit. 4 years installed and it just keeps running!
v8 scimitar is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Audigy 2 NX and hibernation backspace Car Audio 2 04-28-2006 02:56 PM
5 minutes to complete hibernation? WTF? DRWeside General Hardware Discussion 1 03-12-2006 11:36 PM
Question regarding Devcon & GPS hibernation Sonicxtacy02 GPS 1 08-15-2005 01:12 PM
Again DevCon with another problem Konrad General Hardware Discussion 3 02-04-2005 07:59 PM
Odd Off Topic-ness on Hibernation Vchat20 General MP3Car Discussion 1 01-31-2005 06:41 PM



All times are GMT -5. The time now is 01:18 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
"VaultWiki" powered by VaultWiki v2.5.2.
Copyright © 2008 - 2009, Cracked Egg Studios.Ad Management by RedTyger
Message Board Statistics