PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Vogue Development (http://forum.ppcgeeks.com/forumdisplay.php?f=59)
-   -   Updated GPS Drivers (Possible Fix For Standby Issues) (http://forum.ppcgeeks.com/showthread.php?t=25407)

mardukeme 04-30-2008 09:27 PM

Updated GPS Drivers (Possible Fix For Standby Issues)
 
3 Attachment(s)
I am running currently some tests regarding not getting a GPS Lock after phone enters Standby mode or restarting a GPS program later in the day.

To get a GPS lock again reload the GPSID_QCT.dll. You can do this by using DOT Fred's Task manager, under Devices tab, and the device name is called GPD0.

If you are using GPS Intermediate Driver as a Com port, then there is no need to set GPS Program port to Com 4, mine is currently disabled and GPS works fine.


1. Using Garmin Mobile XT, and placing the phone into Standby mode, for less then a minute and then turning the phone back on. The program displayed GPS OFF for a split second and then Got a GPS Lock.

2. If placing the phone into Standby mode for more then a minute, and then turning the phone back on. The program displayed GPS OFF for a split second GPS OFF, then Searching for GPS Device and, then Got a GPS Lock.

3. If placing the phone into Standby mode for more then a minute, and then turning the phone back on. The program displayed GPS OFF for a split second GPS OFF, then Searching for GPS Device, and will not find a GPS device. Reloading the GPSID_QCT.dll while the program is running will cause the the phone to soft reset.

4. Repeating step 3 except disabling the GPS port and then reloading the GPSID_QCT.dll, while the program is running. After enabling the GPS port the program gets a GPS lock.

5. Repeating step 3 except disabling the GPS port and then enabling it does not change the outcome.


I also want to add that once the GPS driver GPSID_QCT.dll fails Virser_gps.dll fails *** well when I try to reload it i get an error. If GPS driver does not fail I can reload virser_gps fine. Not sure but virser might be responsible for reinitializing the GPS driver.
Conclusion:

It seems that if GPS driver gets turned off, or is suspended for any other reason the GPS driver fails to enable itself, unless you reload it manually or do a soft reset.




I have uploaded different set of GPS drivers.

Install by unzipping and coping files to c:\windows folder.
You will need to manually start the GPS drivers, and service. Depending on the program you are using you will still have to prime the GPS device first.

I would like to thank hgray for his work.

hgray's has created a program that will enable the GPS drivers, and services on each soft reset, the program is called GPS Kick Start program. If you have not manually installed the dll's you can install his cab file, which has all the GPS drivers, and the Kickstart program combined. These files can be found here. http://forum.ppcgeeks.com/showthread.php?t=25027

Update:

I have updated the drivers today as well.


I have as well attached hgrays GPSKickStart program as well since a few people were having issues regarding loading the device drivers, and service.

Install:

Method 1 (manual install)

Download Vogue GPS Drivers.zip, and extract the zipped files to your c:\windows directory. Now download hgrays_GPSKickStart_EXE.zip extract the zipped file to c:\windows\startup folder.

Method 2 (automatic install)

Download GPSKickStart_&_GPS_drivers_cab.zip, and run it. It will install all the drivers, and install GPSKickStart.


GPSKickStart
is for people who can not run unsigned drivers at device boot, it will allow unsigned drivers to auto start during boot up. GPSKickStart and the GPS dll's are not carrier specific, they will work with all carriers.

I guess there is a little confusion regarding hgray's GPSKickstart. There is a manual procedure you can do to remove Security (which some folks do not want to use or can not). Step 6 in this thread http://forum.ppcgeeks.com/showthread.php?t=24925 is the procedure. But this procedure may or may not be done on a Custom ROM you used. The instructions were orginally for a Stock Altell ROM, because there was no 1-2-3 method in use for the vogue. If you choose a ROM that does not have this done and you choose to not do it then you have to start DLL's manually OR use GPSKickstart.

VW 04-30-2008 10:39 PM

Re: GPS & standby mode
 
Quote:

Originally Posted by mardukeme (Post 267517)
I am running currently some tests regarding not getting a GPS Lock after phone enters Standby mode or restarting a GPS program later in the day.

To get a GPS lock again reload the GPSID_QCT.dll. You can do this by using DOT Fred's Task manager, under Devices tab, and the device name is called GPD0.

If you are using GPS Intermediate Driver as a Com port, then there is no need to set GPS Program port to Com 4, mine is currently disabled and GPS works fine.

Edited:


1. Using Garmin Mobile XT, and placing the phone into Standby mode, for less then a minute and then turning the phone back on. The program displayed GPS OFF for a split second and then Got a GPS Lock.

2. If placing the phone into Standby mode for more then a minute, and then turning the phone back on. The program displayed GPS OFF for a split second GPS OFF, then Searching for GPS Device and, then Got a GPS Lock.

3. If placing the phone into Standby mode for more then a minute, and then turning the phone back on. The program displayed GPS OFF for a split second GPS OFF, then Searching for GPS Device, and will not find a GPS device. Reloading the GPSID_QCT.dll while the program is running will cause the the phone to soft reset.

4. Repeating step 3 except disabling the GPS port and then reloading the GPSID_QCT.dll, while the program is running. After enabling the GPS port the program gets a GPS lock.

5. Repeating step 3 except disabling the GPS port and then enabling it does not change the outcome.


Conclusion:

It seems that if GPS driver gets turned off, or is suspended for any other reason the GPS driver fails to enable itself, unless you reload it manually or do a soft reset.

I've had similiar observations and would like to add just one thing. If for whatever reason, the GPS drivers fails to enable itself, try simply killing all gps apps, and hit the top power button to go into standby. Hit the power button again, and try your gps app. That makes mine come back. I am of the opinion that what standyby kills, standby also fixes :)

mindfrost82 04-30-2008 10:40 PM

Re: GPS & standby mode
 
I wonder if its possible for someone to write a mortscript that could reload the GPSID_QCT.dll everytime the phone comes out of standby.

If that's really all that needs to be done, I think something like that would work if you have the script running in the background all the time. I don't think the script itself would use much battery/CPU/RAM.

I'm not too familiar with MortScript, but maybe someone could try that.

mardukeme 05-01-2008 02:20 AM

Re: GPS & standby mode
 
Quote:

Originally Posted by mindfrost82 (Post 267604)
I wonder if its possible for someone to write a mortscript that could reload the GPSID_QCT.dll everytime the phone comes out of standby.

If that's really all that needs to be done, I think something like that would work if you have the script running in the background all the time. I don't think the script itself would use much battery/CPU/RAM.

I'm not too familiar with MortScript, but maybe someone could try that.

So far the only thing closely available is hgray's GPSKickStart program which I am going to try tomorrow and see how it performs. Here is the link: http://forum.ppcgeeks.com/showthread.php?t=25027

VW 05-01-2008 07:56 AM

Re: GPS & standby mode
 
Quote:

Originally Posted by mardukeme (Post 267828)
So far the only thing closely available is hgray's GPSKickStart program which I am going to try tomorrow and see how it performs. Here is the link: http://forum.ppcgeeks.com/showthread.php?t=25027

mardukemme,

Have you tried going to standby to get the gps back after it hangs for whatever reason?

mindfrost82 05-01-2008 08:05 AM

Re: GPS & standby mode
 
Quote:

Originally Posted by mardukeme (Post 267828)
So far the only thing closely available is hgray's GPSKickStart program which I am going to try tomorrow and see how it performs. Here is the link: http://forum.ppcgeeks.com/showthread.php?t=25027

I believe this app basically makes sure the drivers are running after a soft-reset...I think we'll run into the same standby issues though.

mindfrost82 05-01-2008 10:19 AM

Re: GPS & standby mode
 
I might have figured out one way around this issue. I tried it this morning (after having my phone in standby for 8+ hours overnight), and I got a lock within a couple minutes on 5 sats in Google Maps.

Search here for BAF GPS Toggle. Its a Today screen plugin in the Titan forums. It basically adds a link on your Today screen that allows you to turn on/off the GPS drivers.

You can click it to turn the drivers on...while its on, DO NOT let your phone go into standby!!! If you're done using GPS, click on the toggle to turn off GPS, then you can let your phone go into standby. Then when you're ready to use it next, click on it again to turn it on.

Just do not let your phone go into standby if the toggle says GPS is on.

I don't believe this will work as a primer if you need one (like for iGuidance), but I haven't tried that yet.

mardukeme 05-01-2008 12:04 PM

Re: GPS & standby mode
 
Quote:

Originally Posted by VW (Post 267938)
mardukemme,

Have you tried going to standby to get the gps back after it hangs for whatever reason?

Quote:

Originally Posted by mindfrost82 (Post 268033)
I might have figured out one way around this issue. I tried it this morning (after having my phone in standby for 8+ hours overnight), and I got a lock within a couple minutes on 5 sats in Google Maps.

Search here for BAF GPS Toggle. Its a Today screen plugin in the Titan forums. It basically adds a link on your Today screen that allows you to turn on/off the GPS drivers.

You can click it to turn the drivers on...while its on, DO NOT let your phone go into standby!!! If you're done using GPS, click on the toggle to turn off GPS, then you can let your phone go into standby. Then when you're ready to use it next, click on it again to turn it on.

Just do not let your phone go into standby if the toggle says GPS is on.

I don't believe this will work as a primer if you need one (like for iGuidance), but I haven't tried that yet.

Yes I did try it with now luck, Garmin keeps searching for a GPS device and then just gives up, and displays GPS OFF.

mardukeme 05-01-2008 12:11 PM

Re: GPS & standby mode
 
Quote:

Originally Posted by mindfrost82 (Post 268033)
I might have figured out one way around this issue. I tried it this morning (after having my phone in standby for 8+ hours overnight), and I got a lock within a couple minutes on 5 sats in Google Maps.

Search here for BAF GPS Toggle. Its a Today screen plugin in the Titan forums. It basically adds a link on your Today screen that allows you to turn on/off the GPS drivers.

You can click it to turn the drivers on...while its on, DO NOT let your phone go into standby!!! If you're done using GPS, click on the toggle to turn off GPS, then you can let your phone go into standby. Then when you're ready to use it next, click on it again to turn it on.

Just do not let your phone go into standby if the toggle says GPS is on.

I don't believe this will work as a primer if you need one (like for iGuidance), but I haven't tried that yet.

Thanks, Mindfrost82 I will give a try but first I am going back to the 3.35 radio. I was able to hold a call better with that radio in fringe areas.

Also I want to clarify that when I use my GPS I usually do not let it go into standby mode. I only forced into standby mode to simulate how users who use GPS on their phones, then when done put the phone away. After a while the phone enters standby mode. Later throughout the day they want to use their GPS again, and can't get a GPS lock without doing a soft reset.

naiserie 05-01-2008 12:54 PM

Re: GPS & standby mode
 
here's the link for baf gps toggle...heading out to try it right now.

http://forum.ppcgeeks.com/showpost.p...21&postcount=1

mardukeme 05-01-2008 04:21 PM

Re: GPS & standby mode
 
Updated first post regarding virser_gps.dll

escribzz 05-01-2008 09:04 PM

Re: GPS & standby mode
 
I loaded the today AP and soft reset. Turned the Toggle on, loaded up GPS viewer and recived and immediate lock. Closed out of completly of GPS Viewer Turn toggle off. Suspend for 5 minutes. Un-suspend, toggle GPS on and go back into GPS viewer and recieved an immediate lock.. This looks promising.

the_jaguar 05-01-2008 09:05 PM

Re: GPS & standby mode
 
Cross post from another thread -->
A potential solution to the standby problem would be to use S2U2 and ensure that the phone never goes to standby, instead turns off the screen. Yes, this will have an impact on the battery life, but I don't think it will be much.
I used to use S2U2 on pre GPS roms, and it used to do a pretty good job. As an added benefit, this solved my phone not waking up, etc issues.

mardukeme 05-01-2008 09:14 PM

Re: GPS & standby mode
 
I have been testing a bunch off different drivers and I think I have the solution for the Standby problem, as originally posted in the first thread. I just have to due a few more test to confirm.

Update:

I left the phone go into standby mode for 30 minutes while Garmin is still running. Exited standby mode and Garmin found the GPS device instantaneously. Before in a similar circumstance it would be searching for a GPS device, and the display a message that it could not find one.

*Also I might have a driver for the GPS lock problem just not sure yet.

SprintTouch08 05-01-2008 09:56 PM

Re: GPS & standby mode
 
good work I think its already been deduced in another thread here too that restarting the drivers solves the standby problem. I think the question more now is how to do this efficiently. Going into Fred's every time is not gonna work for most. As mindfrost said, i suggest some kind of mortscript to run every time the power button is pushed on. Pretty much how S2U2 works, when you hit the power button to turn the screen on S2U2 activates. Should be the same concept.

mardukeme 05-01-2008 10:00 PM

Re: GPS & standby mode
 
Quote:

Originally Posted by SprintTouch08 (Post 268818)
good work I think its already been deduced in another thread here too that restarting the drivers solves the standby problem. I think the question more now is how to do this efficiently. Going into Fred's every time is not gonna work for most. As mindfrost said, i suggest some kind of mortscript to run every time the power button is pushed on. Pretty much how S2U2 works, when you hit the power button to turn the screen on S2U2 activates. Should be the same concept.

Wont have to restart the driver, I have a different driver that correct the issue.

SprintTouch08 05-01-2008 10:16 PM

Re: GPS & standby mode
 
ahh ok i didnt get that part of the solution. well dang post up the solution then. let a few people toy with it. its only a dll so it can always be backed up and replaced.

mardukeme 05-01-2008 10:33 PM

Re: GPS & standby mode
 
Quote:

Originally Posted by SprintTouch08 (Post 268835)
ahh ok i didnt get that part of the solution. well dang post up the solution then. let a few people toy with it. its only a dll so it can always be backed up and replaced.

I will shortly I have a couple more drivers to check.

mindfrost82 05-01-2008 10:45 PM

Re: GPS & standby mode
 
Quote:

Originally Posted by the_jaguar (Post 268771)
Cross post from another thread -->
A potential solution to the standby problem would be to use S2U2 and ensure that the phone never goes to standby, instead turns off the screen. Yes, this will have an impact on the battery life, but I don't think it will be much.
I used to use S2U2 on pre GPS roms, and it used to do a pretty good job. As an added benefit, this solved my phone not waking up, etc issues.

I've been using S2U2, and even telling it not to suspend power doesn't seem to help the problem. I thought it would too, but it hasn't seemed to help me at all.

I hope mardukeme will post his drivers and give us some information on where he got them from. I've been a guinea pig throughout this whole process (I was the 2nd one to flash the Titan Radio after JD), so I will more than happy to test these drivers as well.

escribzz 05-01-2008 10:52 PM

Re: GPS & standby mode
 
Quote:

Originally Posted by escribzz (Post 268769)
I loaded the today AP and soft reset. Turned the Toggle on, loaded up GPS viewer and recived and immediate lock. Closed out of completly of GPS Viewer Turn toggle off. Suspend for 5 minutes. Un-suspend, toggle GPS on and go back into GPS viewer and recieved an immediate lock.. This looks promising.


Just did this again 2 hours later with the same result, looks good lock within a minute...

mardukeme 05-01-2008 11:01 PM

Re: GPS & standby mode
 
Update I am about to transfer the drivers off the phone, and will update in the next couple of minutes. You will have to manually start the drivers, and service. I will need someone who can .cab the files for me, so that we do not have to manually start the drivers after each rest, and also make a little bit easier for every to test.

Also once I receieved a GPS lock I held a signal throughout my home which I could not do before, and it's cloudy as well in Chicago.

mindfrost82 05-01-2008 11:06 PM

Re: GPS & standby mode
 
I've never put files into a cab before, so I'm not sure how to do that.

If we're just replacing existing cabs, wouldn't we just have to start the service once, or does it force us to start them everytime we soft-reset?

If its everytime we soft-reset, I think we could use that Kickstart app posted here and just put it in our startup folder.

mardukeme 05-01-2008 11:14 PM

Re: GPS & standby mode
 
Quote:

Originally Posted by mindfrost82 (Post 268897)
I've never put files into a cab before, so I'm not sure how to do that.

If we're just replacing existing cabs, wouldn't we just have to start the service once, or does it force us to start them everytime we soft-reset?

If its everytime we soft-reset, I think we could use that Kickstart app posted here and just put it in our startup folder.

As is right now you have to manually start the drivers every time you restart your device. I will try the kick start app to see if it will help. I'm sure if this helps someone will cook the new dll's into a rom, or create a cab that will fix the issue of manually starting the drivers.

mardukeme 05-01-2008 11:15 PM

Re: GPS & standby mode
 
GPS drivers uploaded in first post

ptfdmedic 05-01-2008 11:19 PM

Re: GPS & standby mode
 
Quote:

Originally Posted by mardukeme (Post 268908)
GPS drivers uploaded in first post


Testing...... Anymore details??????

mardukeme 05-01-2008 11:22 PM

Re: GPS & standby mode
 
Quote:

Originally Posted by ptfdmedic (Post 268915)
Testing...... Anymore details??????

Nope, but you might still have to prime your GPS first.

ptfdmedic 05-01-2008 11:23 PM

Re: GPS & standby mode
 
I meant like where they came from and why they are working better.....

mardukeme 05-01-2008 11:25 PM

Re: GPS & standby mode
 
Quote:

Originally Posted by mindfrost82 (Post 268897)
I've never put files into a cab before, so I'm not sure how to do that.

If we're just replacing existing cabs, wouldn't we just have to start the service once, or does it force us to start them everytime we soft-reset?

If its everytime we soft-reset, I think we could use that Kickstart app posted here and just put it in our startup folder.

Just tried Hgray's GPS Kick Start program, and it started everything but Virser_gps, maybe hgray can modify his program to start it.

ptfdmedic 05-01-2008 11:25 PM

Re: GPS & standby mode
 
I tried the my usual method of priming and no go.... How do you manually start the required drivers...

mardukeme 05-01-2008 11:28 PM

Re: GPS & standby mode
 
Quote:

Originally Posted by ptfdmedic (Post 268918)
I meant like where they came from and why they are working better.....

ptfdmedic to tell you the truth I do not remember, I was trying to get GPS working on the Vogue way before the Alltel rom, and I had accumulated a bunch of different dll's. I tried a multiple combinations of the different dll's to see which worked better together.

mardukeme 05-01-2008 11:29 PM

Re: GPS & standby mode
 
Quote:

Originally Posted by ptfdmedic (Post 268924)
I tried the my usual method of priming and no go.... How do you manually start the required drivers...

Dot Fred's Tasks manager which can be found here. http://www.dotfred.net/TaskMgr.htm

ptfdmedic 05-01-2008 11:30 PM

Re: GPS & standby mode
 
My GPS is a complete no go now. Any advice on getting it going...

mardukeme 05-01-2008 11:35 PM

Re: GPS & standby mode
 
Quote:

Originally Posted by ptfdmedic (Post 268933)
My GPS is a complete no go now. Any advice on getting it going...

That's because the drivers, have not loaded, and the service has not been started. You can use hgray's GPS Kick Start program found here. http://forum.ppcgeeks.com/showthread.php?t=25027 You still need to start virser_gps manual. This dll is responsible for restarting the GPS device once the phone has gone into standby mode.

rstoyguy 05-02-2008 01:04 AM

Re: GPS & standby mode
 
Here is where I am so far. I use GPSViewer.
Whenever I want to get a lock, I run gpsviewer, let it scan for the gps. It finds it on COM4. I then set the baud rate to 19200, then click OpenGPS. I hit the "Cold Start" button and within a minute I'm locked onto 7 satellites... I could only get 4 before. Any body else wanna try this? And whose idea was it to set it at 4800? That is so 1990's! But who else wants to try this and who can automate it?

mardukeme 05-02-2008 01:13 AM

Re: GPS & standby mode
 
Quote:

Originally Posted by rstoyguy (Post 268985)
Here is where I am so far. I use GPSViewer.
Whenever I want to get a lock, I run gpsviewer, let it scan for the gps. It finds it on COM4. I then set the baud rate to 19200, then click OpenGPS. I hit the "Cold Start" button and within a minute I'm locked onto 7 satellites... I could only get 4 before. Any body else wanna try this? And whose idea was it to set it at 4800? That is so 1990's! But who else wants to try this and who can automate it?

Not sure, I had set mine to 115200 to see if it would work and it did. It might be that there is no noticeable difference if you increase the baud rate so everyone just leaves it at the deafult speed.

hgray 05-02-2008 04:15 AM

Re: GPS & standby mode
 
Got a problem with the new dlls. When I put them on, GpsDaemonService ceases working. It won't start by my app and dotFred acts like it can't find the file.... like when we were trying before. (reference to mardukeme)

EDIT: Also, I don't think it is the GpsDaemonService.dll. At least not exclusively. When I tried to replace it with the dll I had before, the same problem occurred.

EDIT2: I put qccmquery.dll back on and it starts now. Any comments?

I also updated my kickstart program... exe and cab with dll's+exe in the first post.

http://forum.ppcgeeks.com/showpost.p...22&postcount=1

mindfrost82 05-02-2008 09:42 AM

Re: GPS & standby mode
 
Quote:

Originally Posted by hgray (Post 269064)
Got a problem with the new dlls. When I put them on, GpsDaemonService ceases working. It won't start by my app and dotFred acts like it can't find the file.... like when we were trying before. (reference to mardukeme)

EDIT: Also, I don't think it is the GpsDaemonService.dll. At least not exclusively. When I tried to replace it with the dll I had before, the same problem occurred.

EDIT2: I put qccmquery.dll back on and it starts now. Any comments?

I also updated my kickstart program... exe and cab with dll's+exe in the first post.

http://forum.ppcgeeks.com/showpost.p...22&postcount=1

This has made my phone VERY unstable. It has locked on me about 3 times since installing it this morning. Sometimes after a soft-reset I'll get the calnot.exe and repllog.exe errors too.

Success100 05-02-2008 09:44 AM

Re: GPS & standby mode
 
Quote:

Originally Posted by rstoyguy (Post 268985)
Here is where I am so far. I use GPSViewer.
Whenever I want to get a lock, I run gpsviewer, let it scan for the gps. It finds it on COM4. I then set the baud rate to 19200, then click OpenGPS. I hit the "Cold Start" button and within a minute I'm locked onto 7 satellites... I could only get 4 before. Any body else wanna try this? And whose idea was it to set it at 4800? That is so 1990's! But who else wants to try this and who can automate it?

4800 is the default baud rate for most consumer GPS devices

ptfdmedic 05-02-2008 10:14 AM

Re: GPS & standby mode
 
Have you guys seen the new ppckitchen for vogue gps roms. I just build one and seem to be having more luck. I am using iGO and anm getting locks right away using Astro. I cannot however seem to get a lock on google maps...

mardukeme 05-02-2008 10:17 AM

Re: GPS & standby mode
 
Quote:

Originally Posted by mindfrost82 (Post 269176)
This has made my phone VERY unstable. It has locked on me about 3 times since installing it this morning. Sometimes after a soft-reset I'll get the calnot.exe and repllog.exe errors too.

I updated the files in the first post, if want to give a try now. I never received those errors. Though the phone seemed like it was locking but it was not. The GPS was using the majority of the phones resources, which gave an illusion of a lock. Well anyways the new files do not cause those problems anymore.


All times are GMT -4. The time now is 05:05 AM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0