yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] Mach2003:
The internal GPS in the phone is read by either the COM port set in External Gps Control Panel or a MicroSoft provided Application Programming Interface (MsApi). If you enable MsApi, Mod Driver will try to use the MsApi to read the internal GPS (instead of the COM port), it is a slightly more efficient way to read the GPS, however, not all devices support the API.
[Windows Mobile Apps and Games] dampam:
Hi March2003

How can I disable the compass portion of the ModDriver (v 2.1) i.e moddriver ignoring the HD2 compass reading ? I am trying to see if the erratic position problem with ModDriver is in anyway affected by the HTC HD2 compass.
[Windows Mobile Apps and Games] Mach2003:
In 2.1 you can't disable hardware compass.

In the next release (and in TEST2) you can set either averages or poll rate to 0 on the compass page to disable hardware compass.
[Windows Mobile Apps and Games] Sleuth255:
myLocaton/GpsModDriver

First off, I'd like to say that I'm happy to be working with Mach2003 to make both of our services compatible with each other :)

Also, there appears to be a bit of confusion over the myLocation service. I only look up a celltower using the webservice when it isn't in cache. The service caches up to 20 towers and their positions on a last in last out basis (oldest data is overwritten). Generally speaking, this means that your entire "local neighborhood" towers will be in cache after the first day or so. From that point on, the service merely checks the current tower against cache and updates the Latitude/Longitude from the stored information. The reason that myLocation stores information in the registry as opposed to a service read etc is so that mortscript and other script users can take easily take advantage.

myLocation v1.2 will work with GpsModDriver. mach2003 and I are currently working the kinks out now and I'm also shining up the myLocation UI a bit. I'd expect a coordinated release of updates to both services shortly. :)

Essentially, in v1.2 when the GPS is active, myLocation Latitude/Longitude will reflect the GPS position. If that position isn't updated for 5 minutes by the GpsModDriver then myLocation will resume positional updates. I will be adding a High/Low accuracy indicator to the cpanel applet itnf to reflect this.

Very cool. With this in place, I can begin work on some myLocation projects that can benefit from highly accurate positional data. Perhaps others can too... ;) :D
[Windows Mobile Apps and Games] dampam:
This is exciting, thanks for the great work. Can't wait for the next release..:D

BTW with myLocation, how possible is it to have some degree of dead reckoning capability in Moddriver ?
[Windows Mobile Apps and Games] Mach2003:
Pretty hard to guess where you are based on an input position that is inaccurate in terms of 1000's of meters, and a time that is at least 10 seconds old. Then add to that the last known speed and heading that could be hours old! myLocation is based on the position of the cell tower you are connected to itself, not on your actual location, much better than nothing, but almost useless for projecting your true position.
[Windows Mobile Apps and Games] archidune:
Wonderfull job

waooooh!

Thanks a lot!

I've been looking for a solution to make Tomtom work on my wife's phone - Omnia II. No luck - until I found GPS Mod Driver. Downloaded, installed and in less than 1 minute... got Tomtom working! Initialization is very, very fast.

Simply amazing!

Thanks again.
[Windows Mobile Apps and Games] Silverio_02:
It's a nice idea, to unify the GPS- and the compass-data in one.

But I have a HTC HD2 and it doesn't work for me.

As other people alrady said, the position jumps around every few sconds for about 50 meters. The number of avaible satellites decreases also with activated GPSMod.

GPS without GPSMod is in my caching-application (cachebox) very good and accurate. But there is no support of the built in compass.

WITH GPSMod the direction (coming from the compass) is displayed very accurate but now the GPS-position hops always around.

I can reproduce this in GoogleMaps 4 also...

I tried it with GPSMod 1.51, 2.10 and with your Test2-Beta.

Is this only a HD2-feature/failure?
[Windows Mobile Apps and Games] dampam:
On my HD2 and ModDriver V2.10, I found the hops are minimized if the LagAdv is set to about 500 (ms). Is this the case with your HD2 ?
[Windows Mobile Apps and Games] yeoldgreat1:
I have a HD2 too but i am a complete newbie when it comes to things like this. Can someone put up a tutorial on how to get this working? I would be forever grateful.
[Windows Mobile Apps and Games] ATomCZ:
I have similar problem. I had hops for example 2000 miles from my actual location for short time, especially when I'm in car. When GPS lost signal it jump to something. I will try to turn off Speed Fix, only Course Fix I keep enables. This mean that only compass will be used to fix coordination, but no other changes?
[Windows Mobile Apps and Games] jh787:
Have you tried typing in *#1472365# into their Omnia2?

It brings up some extra gps settings, some of which are similar to settings that can be reached in registry but some are unique.

The main one that was of interest to me was the start up mode of GPS.

Mine was set to cold start which meant that every time i started my tomtom it did so by deleting all previous data.

This meant i was on a cold start each and every time i used it which was why it took forever to lock sometimes.

I have now changed this setting to "hotstart" and my locks are instant.

There are various other settings that can be played with and tried out but this setting alone got rid of the only flaw i could find in the Omnia2.
[Windows Mobile Apps and Games] stepanek78:
Hi all. Please what i have to do to run this nice driver correctly. I have installed it, but it told me it didnt find the port. So i had soft reset, but i think, it stills doesnt work. For example compass calibration etc..

It is necessary to change some registry values for correct driver work? Or is there some tutorial?

Thank you very moch for response and sory for my english :)
[Windows Mobile Apps and Games] elyl:
Just want to throw my experience into the mix. I used GpsMod on my Kaiser and it used to work great.

Now I've got a HD2, I wanted to take advantage of the compass for heading and fix some of the lag. Sadly, the accuracy is much less using GpsMod than the plain COM4 port. Bizarrely, I can be driving straight along a road for quite some distance, and the GPS will be jumping onto adjacent streets, thinking I'm going in 180degrees completely the wrong direction, and near turns in the road, it becomes a complete mess, jumping my position all around the junction, and thinking I'm going in the wrong direction.

The one good thing, the compass reading when I'm standing still is great, very useful for GoogleMaps walking. I've been getting erratic compass headings when driving - I've not worked out if this is because I'm in the car or not, but I suspect it is as HTC's own compass app seems to jump around quite a bit in the car too :(

Anyway, I'm hopeful you'll iron out the issues with the HD2, and thanks for your great work so far, mach2003.
[Windows Mobile Apps and Games] Olioaglio:
elyl, had the same weird jumping issues with 2.10 on my HD2. Installing 1.63b4 solved these issues completely for me. I am totally happy now with the accuracy. Good luck and report if it worked.

Olioaglio
[Windows Mobile Apps and Games] chili85:
:confused:

hello guys,

installed the mod driver on my HTC HD2 and after that, the gps-function was totally gone. now i'm not quite happy with the "hard reset" solution :eek:

is there a trick/way (registry, etc) to "restore" the old "gps settings"??

after some testing i installed different versions hoping anything would work. -> nope.

my gps-programms (used for geocaching) are automatically searching for the gps-receiver... without success.

at least i managed to uninstall (SK Tools) the driver. -> doesn't bring back gps :(

thanks any help :(
[Windows Mobile Apps and Games] Mach2003:
I don't know what went wrong for you, many folks with HD2 are using the driver. Did you install to device memory? What versions did you try? Did you set your applications to use the port reported by the installer (COM1, by default)?

Mod driver would not stop the internal port from working, COM4 should still have GPS data on it, and work in any application. Did you do anything with the external GPS settings (you should not have)? Try and set them back Software: COM4, hardware blank, allow manage ticked. SOFT reset either with a program or use the physical button.
[Windows Mobile Apps and Games] Mach2003:
New version

Finaly at new version is on the first post.

2.30 will fix most of the erratic readings some of you have experienced.

It fully supports the my Location service from Sleuth!

A lot of the settings have changed names and some functions as well, read the first post for new instructions.

As always the PPC2003 versions are for those few devices that can not use the regular version (CE5, CE6, etc). Those of you that have an actual phone device can use the regular version, without the PPC2003 in the filename.

A new section in settings allows for changing the GPSID time values. I have set the default time values for the best result on my Diamond. Other devices may benifit from other settings. I'll leave it to the beta testers to post the values they like best. It would be great if everyone posted the values they try, along with the devices they use, and then anyone could try the same values to see if GPS response improves. These time values need a soft reset in order to affect the changes to GPSID
[Windows Mobile Apps and Games] peron:
Mach2003, thanks for this!

First time user of your app here. For some reason I never seen this thread before.

I have a diamond and use tomtom v7, should I make some config changes following installation?

Or should I just install, reset and be happy? (this considering you also have a diamond).

Not sure I understand the many options.

I don't care care about the location service. Is there a way to disable it or is it used to speed up the initial GPS connection?
[Windows Mobile Apps and Games] Mach2003:
You should be able to install and run without making any changes to the settings. Run Mod Settings to select your prefered profile, driving or walking.

If you don't install my Location, then I skip reading location from it, but still write GPS location to it, but a small wasted registry write should not cause you any issues. Even with my Location installed, Mod Driver does not use it for quicker fix, it only reports cell tower location while waiting for GPS fix. In effect this gives an instant fix to your application; although it may be a few km's from your true location.
[Windows Mobile Apps and Games] chili85:
thanks for the fast answer :)

i installed the driver (like everything else) on the storagecard.

meantime i restored the system from an older backup and now (of course) gps is working fine again. but i won't abandon and give your driver another try next weekend ;-) !

i'll give you a feedback then!:)
[Windows Mobile Apps and Games] Mach2003:
ALL drivers, including Mod Driver MUST be installed to device memory. They CAN NOT be installed to a storage card. Although this does not explain why your original GPS failed.
[Windows Mobile Apps and Games] Mach2003:
Kill Driver

I added a utility to force the removal of Mod Driver from your device to the first post.

KillDriver.exe

Used to remove a stuck un-install of the driver instead of using SKTools.

Copy the un-zipped file to the device and run it. It will remove all the files, regisry entries, plus the Mod Driver entry in the uninstall database.

It may leave behind some registry entries, and does leave behind the files under \Windows\AppInstall. You may delete these files manually after running the kill driver application.
[Windows Mobile Apps and Games] omek07:
Hello and thanks again for your APP

You mean that we have to unistall the new version ???

It has problems ???

or misunderstood ???
[Windows Mobile Apps and Games] lohtse:
hi

I have a kiaser(wm6.5 shifu) and use tomtom,garmin,mapopolis,memory map,oziexplorer, GzII etc and was wondering if there was any real advantage to installing these drivers and if so which ones should I install etc.

regards

Lohtse
[Windows Mobile Apps and Games] barty22:
No, only when u don't want it anymore, and for whatever reason uninstalling via the normal way doesn't work, u can use killdriver.
[Windows Mobile Apps and Games] omek07:
ooo thanks man
[Windows Mobile Apps and Games] Mach2003:
Kill driver is only provided in case you want to uninstall the driver, and it won't uninstall properly using remove programs. Only use Kill Driver when you want to remove Mod Driver from your system (you no longer want any features of Mod Driver on your device), and start/settings/system/Remove Programs fails to uninstall it.

You can install the newest CAB without removing the current version (upgrade install) without issues.
[Windows Mobile Apps and Games] Mach2003:
Kaiser would use ModDriver_230.cab, and QueStub_230.cab since you use Mobile XT. Make sure you either 'installed' Garmin, or have set one of the registry values (shown in the first post) to point to your Garmin executable before running QueStub.cab.

Generally while driving, it projects your position into the future to add a lag compensation to your position. While walking it allows the internal GPS to react to change in position much quicker than the standard port does (standard port requires about 30 meters of travel, before it shows heading or speed).
[Windows Mobile Apps and Games] Deltatristar500:
I use Sprint Tele Nav and tried the mod driver and Im still getting about 5 sec lag from when I pass a street, and when I pass the street on the phone.
[Windows Mobile Apps and Games] Mach2003:
You can add 5000 to the Lag Advance value for the current profile, using Mod Settings, but with over 5 seconds of delay, I doubt that you will be happy with the projection results. When decelerating or accelerating or navigating a curve you will be way off from your true position. There is no reasonable way Mod Driver can guess where you will be in 5 seconds or more.

I'd try a different mapping application if I were you.
[Windows Mobile Apps and Games] [kab]:
hi!

thanks, great app!

i have one question. my acer s200 (neoTouch) have some driver "bug". this bug cause sometimes loose for 0.5-1.5 seconds connection with sattelites.

for example, navigation program says (at open place) - "connection with sattelites lost" and then reconnect to them in 1 second.

this happen sometimes, once in 10-30 minutes.

can your driver help and provide "calculated" data, when real data from gps did not coming?
[Windows Mobile Apps and Games] Mach2003:
When your original driver looses fix, Mod Driver will insert projected location for up to 10 seconds.
[Windows Mobile Apps and Games] [kab]:
that's what i need!

great, thanks!

will try tomorrow!
[Windows Mobile Apps and Games] [kab]:
Well, checked and its did not working at all. :(

First of all, Acer s200 GPS settings:

Device=COM4

Windows port=COM7

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers\GPSOneDevice]

"PollInterval"=dword:000001F4 (500)

"SleepOnNoData"=dword:000003E8 (1000)

and may be main problem:

InterfaceType="COMM" (not like in HTC LEO "InterfaceType"="POLL")

How it working - it did not working. :)

When you start - application almost hang. It's seems, that driver take a lot of CPU time, so you can see how each string is drawn.

Seems to me (as developer) that driver read something constantly.

So, it's take around 20-30 second to enter to options.

And there is nothing in options - pollinterval is changed to 50 and sleeponnodata is changed to 100.

(btw, it's good idea to save this values during install and restore them during uninstalling your driver).

I change this values to default - but it's still not working.

Even exiting from GUI settings takes a bunch of time (around 10 seconds).

So, navigation is did not working too. Same problem - _extreamly_ slow loading (driver eat CPU time) and no fix.

Btw, driver is installed to COM2 (by default).

Extended logs attached.

ps. nice strings in log:

000.151 Testing Port 7

000.151 Clear Test Structure

000.167 Opened Port COM7:

000.168 Port COM7: is setup

000.169 Now Using Port -1

000.169 No Valid Ports Are found
[Windows Mobile Apps and Games] dingolino:
>"PollInterval"=dword:000001F4 (500)

>"SleepOnNoData"=dword:000003E8 (1000)

Have your tried to make both equal?

Both set ot 500 or 1000?

A change of this values needs a soft reset.

Best regards,

dingolino
[Windows Mobile Apps and Games] [kab]:
yes, sure, it's not help... :(

moreover, by default this settings in program is different (50 and 100).
[Windows Mobile Apps and Games] TeddY89h:
Hello there,

this nice program creates 100% cpu load on my little weak HTC Artemis. Is this a mistake in my configuration or is it normal?
[Windows Mobile Apps and Games] dingolino:
The 50 and 100 are the optimized setting from Mach2003!

The default setting is 1000/1000! (At least on HTC devices)

Best regards

dingolino
[Windows Mobile Apps and Games] Mach2003:
Native device as COM port is not an issue, other working devices have this setup. You may even be able to read COM4 directly without using GPSID.

Your logs don't show anything happening in driver during the extended delay. They do show that Mod Settings is taking a very long time to redraw the main application screen. Did you have the sat view active or the GPS data?

Good idea!

I may have an issue, I can't see, when there is no valid GPS source port to read. Your logs show no entries that indicate a CPU waste.

Try setting Com Timeouts to 1000, and then to 1100.

Try enabling MSAPI under ports.

Try enabling COM4 with a lower order than COM7.

Try setting the GPSID times to 1000, look also at the original buffer sizes (if you can), my original defaults were 4096 for both input and output.
[Windows Mobile Apps and Games] Mach2003:
Does it have good fixed GPS data during the 100% load? Are you running mod settings or another GPS application at the time? Have you soft reset since installing the cab(s)?

Try setting Com Timeouts to 1000,

Try setting Gpsid times to 1000,1000.
[Windows Mobile Apps and Games] TeddY89h:
Hey!! For me enabling MSAPI works! Normal CPU load! What does this option do?

/EDIT: I've read about MSAPI! I have no disadvantages activating it, do I?

/EDIT2: Oh dear! CPU load is ok, but no signal :(.
[Windows Mobile Apps and Games] [kab]:
good!

yes, i notice that! :-)

no. same problem happed with Navitel (russian navigation program).

very very long time to load and very large performance hit (5-10 times slower than usual).

MSAPI - helps!

however, screen is flicker when redrawn (which is not usual for such simple GUI interface).

i did not touch any other settings yet and try in 3-4 hours at the street to test navigation with COM2 set.

i have question. can i try to tune reading not from COM7/MSAPI, but rather from COM4 directly and then use COM2 as source for MSAPI?

Something like: COM4[gpsdriver.dll]->COM2[gps_mod]->COM7[gpsid.dll]->real program?

thanks!
[Windows Mobile Apps and Games] Mach2003:
I erase the main settings screen, only when the font changes size due to the length of the data. Sat view screen is erased on every pass.

If you can enable COM4 as a source port in Mod Settings, then you could set gpsid hardware port to COM2. (COM4->GpsMod:COM2->COM7->application), but why introduce another layer or two to everything? If you can read COM4 in mod driver, why not disable external GPS altogether, and use mod driver instead of GPSID (COM4->ModDriver:COM2->application).
[Windows Mobile Apps and Games] lohtse:
Installed and seems to be working...

Just wondering what other Kiaser users are using for there settings and what is recommended...

Please advise and post.

regards

Lohtse
[Windows Mobile Apps and Games] Mach2003:
MsApi is a slightly better way to read GPSID data, there is an ADVANTAGE to using it, not a problem using it.

Try to soft reset device, and then give it couple of minutes with a clear view of the sky (outdoors) to get the first fix.
[Windows Mobile Apps and Games] [kab]:
very strange, because my phone is on the table long from window (to get any data) and screen is flickering.

anyway, it's not matter, if Navitel will work and did not loose connection with satelittes. :-)

i dunno, just asking. i'm not gps driver guru, so cannot say are there any benefits of using gpsid.dll (except sharing one port to many gps apps) :-)
[Windows Mobile Apps and Games] Mach2003:
Gps Mod Driver is a multi-open device too, so many apps can read it at the same time. Try and see if you can get driver to read COM4 directly (enable it in ports, while disable COM7 and msapi).
[Windows Mobile Apps and Games] [kab]:
I think it's good idea to ask great author of this driver (Mach2003) - which setting are better and what is affected?

For example, as far as i know (i can misunderstand! if i wrong - correct me):

poll interval - how often read data from gps. usually all gps generate data for 1 second. more often give nothing except battery drain.

sleep on no data - if driver did not receive any data - how long time to sleep.

other params is unknown for me.

it will be great if we got some good description (which param affect which action) and some recomendations!

for example, why so short period (50/100) is taken for poll/sleep...
[Windows Mobile Apps and Games] [kab]:
no this is not possible, same lags during redraw... :(
[Windows Mobile Apps and Games] Mach2003:
These settings are used by the gpsid driver (and possibly the gps device driver as well), not by mod driver itself. As such I can only guess how they are used. On my device the 100/50 settings improved my Lag Advance by 1000 ms.

Poll is how often to check for data, sleep is how long to wait for data, if none is there waiting at the time of poll. Buffer sizes are RAM allocated to hold the data while it is waiting to be read.

If we poll at 1 seconds, then we almost always get data, but it might be 999 ms old. If we don't get data, then sleep for up to (sleep time) waiting for it, as long as sleep time is long enough, and short enough to catch errors, it will be fine, although a bit late.

Poll at 100 will look for data 10 times more often than it actually needs to, but at most returns data that is 99 ms old. Since the GPS hardware is enabled at the time, we are only talking about a few extra CPU instructions, hardly any effect on power. A 50 ms sleep time, allows for an extra 'half' window for good data, but returns errors quickly.

I was well quoted in post #1096:
[Windows Mobile Apps and Games] Mach2003:
Well if you can't read COM4 directly, then you can't put Mod Driver in the middle. Mod Driver needs to read data from gpsid, since it can't read data from gpsdevice. It can't read itself for data, so can't replace gpsid.

I had though of renaming the gpsid dll, and installing a stub dll to patch mod driver into the middle, but have done nothing with that since I don't see any benifit in doing so. Well there is one case, where a GPS application will only read msapi, and therfore can't be set to read mod driver. If I stubbed the dll, applications could get mod driver data by using GpsOpenDevice and GetGpsPosition (msapi calls), but as far as I've heard, there is only one of those out there (so far).
[Windows Mobile Apps and Games] Mach2003:
I now see the bug with mod driver when there is no data from any input port, causing the slow device responce and 100% cpu load. I'll correct it with the next update. Note that this will not affect 'working' systems, only those who don't have a valid read port configured.

Did either of the users with this issue try changing com timeout value (while using a COM input port, obviously)?