PDA

View Full Version : Direct Access to the internal GPS ??


GeenZ
09-01-2007, 03:03 PM
Hello there,

Did anybody find out how to access the internal GPS of the HTC P3300 without using the GPSID (GPS Intermediate Driver)?

Although the internal GPS works fine for me with many programs (TomTom, Pathaway, Fugawi, VisualGPSce, etc.) I did not find a way to program the internal GPS using any of the common GPS tools (such as SirfTech, Aplsirf, CeMonitor, GPSTweak, etc.). In particular I'm very interested in enabling/disabling the SN and the SBAS Mode.

I'm guessing that programming the internal GPS via the GPSID is not possible (or not supported) while it might be possible by accessing the hardware GPS directly. However, I don't know how to do so...


During my investigations I found out the following details:

Based on the MS GPSID Reference (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html/mob5grfGPSIntermediateDriverReference.asp) the HTC P3300 must have a plug'n'play based internal GPS receiver, as there's no valid registry key found in the corresponding HKLM/System/CurrentControlSet/GPS Intermediate Drivers section.
Looking into the HKLM/Drivers/Active section for a suitable pnp GPS driver I only found COM3 (SerialGPS.dll) which for me seems to be the corresponding hardware driver for the internal GPS. However, accessing COM3 always fails for me with any program.

Does anybody know how to get COM3 (SerialGPS) to work?
Or does anybody know how the GPSID talks to the internal GPS and why I can't do it directly (or how I can do it directly too)?

Any help and discussion is higly appreciated.

Thanks, GeenZ.

pklein90
10-01-2007, 08:03 AM
Have you tired to delete the gps driver in registry, and after a softreset tried to access direct on com 3 ?

GeenZ
10-01-2007, 09:41 AM
Have you tired to delete the gps driver in registry, and after a softreset tried to access direct on com 3 ?

I already have tried disabling the GPSID. This can be done either by the GPS control panel or directly in the registry by setting the key HLKM/System/CurrentControlSet/GPS Intermediate Driver/IsEnabled to "0".
The effect was that the virtual GPS COM port from the GPSID (COM4) was no longer available, but COM 3 still did not work.

Does deleting and softreseting make a difference to disabling?
How could I "completey delete" the GPSID in the registry?

Thanks, GeenZ

indiekiduk
27-02-2007, 06:15 AM
I'm interested in this too since I've found reading from COM4 using CF 2 is really buggy and hangs the device. I wanted to see if talking directly to the GPS instead of the intermediate driver would speed things up a bit.

GeenZ
27-02-2007, 08:50 AM
Hi,

As I reported in this (http://forum.xda-developers.com/showthread.php?t=289117) Thread I did not find any solution to get direct access to the GPS port.

GeenZ

kulbut0r
20-06-2007, 01:14 AM
talking directly to the GPS instead of the intermediate driver would speed things up a bit.

it would also probably solve the problem of M650 users stucked with a different firmware version of this internal GPS which doesn't work under wm6 :(

Slovek
20-06-2007, 09:55 AM
If you would take a look at my following thread (http://forum.xda-developers.com/showthread.php?t=307004)
it explains the problem.
Alot of people think they cant connect to the GPS device, but actually it is connection but just nog receiving data the right way.

kulbut0r
20-06-2007, 11:44 AM
If you would take a look at my following thread (http://forum.xda-developers.com/showthread.php?t=307004)
it explains the problem.
Alot of people think they cant connect to the GPS device, but actually it is connection but just nog receiving data the right way.
Thanks Slovek :)

Should we Thank HTC for this great feature ?! :rolleyes: :( :mad:

Slovek
20-06-2007, 11:57 AM
Already had contact with them, initially they put this up as a 'feature' but about a month ago i received a short list of questions regarding the GPS module. so i hope their going to change this.

kulbut0r
20-06-2007, 12:04 PM
Hope so ;)

at least for the "perennity" of this device ! :)