[Windows Mobile Apps and Games] :
Installing GpsModDriver_151.CAB on Windows CE 5.0 Core device

FIRST:

Because you refused to explain me the meaning of the error message

"Driver did not autoload Com Port number is not assigned Soft Reset, and then look in Registry."

I tried to get it out for myself (I spent half a hour):

Excerpt from your _setup.xml in GpsModDriver_151.CAB:

<characteristic type="HKLM\Drivers\Builtin\ModDriver">
<parm name="Dll" value="GpsModDriver.dll" datatype="string" />
<parm name="Prefix" value="COM" datatype="string" />
<parm name="FriendlyName" value="GpsModDriver" datatype="string" />
<parm name="Order" value="2" datatype="integer" />
<parm name="Flags" value="0" datatype="integer" />
</characteristic>

IMO it's line

<parm name="Order" value="2" datatype="integer" />

which produces the error message posted previously during installation process, because in Windows CE 5.0 Core COM2 is the default GPS hardware port!

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GPS_HWCOM]

"SysIntr"=dword:0000001B

"DeviceArrayIndex"=dword:00000003

"Irq"=dword:00000012

"MemBase"=dword:5000C000

"MemLen"=dword:00000030

"InterruptBitsShift"=dword:00000018

"Prefix"="COM"

"Index"=dword:00000002

"Dll"="serial_smdk2443.dll"

"Order"=dword:00000000

"Priority"=dword:00000000

"DeviceType"=dword:00000000

"FriendlyName"="GPS_COM"

"Tsp"="unimodem.dll"

"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"

"DevConfig"=hex:\

10,00,00,00,05,00,00,00,10,01,00,00,00,4B,00,00,00,00,08,00,00,00,00,00,\

00

[HKEY_LOCAL_MACHINE\Drivers\Active\06]

"Hnd"=dword:0003A2C0

"Name"="COM2:"

"Key"="Drivers\\BuiltIn\\GPS_HWCOM"

"BusParent"=dword:00030E70

"InterfaceType"=dword:00000000

"BusName"="BuiltInPhase1_0_14_0"

As you suggested, I did a complete cleanup to get rid of GpsModDriver (registry, disk) and newly installed GpsModDriver_151.CAB

Error message: "Driver did not autoload Com Port number is not assigned Soft Reset, and then look in Registry."

Same mysterious results as posted earlier (#704) : wrong file locations, wrong file names, missing registry entries.

BTW: Directory \Windows\AppMgr contains installation information for installed programs, in my case obviously created by wceload.exebecause installation

deplorably failed.

SECOND:

Testwisely I redirected COM2 in \Drivers\BuiltIn and Drivers\Active to COM5. Further I did a complete cleanup to get rid of GpsModDriver (registry, disk) and

newly installed GpsModDriver_151.CAB

Again error message: "Driver did not autoload Com Port number is not assigned Soft Reset, and then look in Registry."

And the same mysterious results as posted earlier (#704) : wrong file locations, wrong file names, missing registry entries.

THIRD:

I gave up. Did hard-reset the device and rolled back to GpsModDriver_150. Though neraly same content in its _setup.xml

<characteristic type="Registry">
<characteristic type="HKLM\Drivers\Builtin\Serial5">
<parm name="Dll" value="GpsModDriver.dll" datatype="string" />
<parm name="Prefix" value="COM" datatype="string" />
<parm name="FriendlyName" value="GpsModDriver" datatype="string" />
<parm name="Order" value="2" datatype="integer" />
<parm name="Flags" value="0" datatype="integer" />
</characteristic>

it installed (using CAB) fine.

Message: "Use COM3 (GpsModDriver) for PORT in your GPS application."

The following entries (among others) were created in registry:

[HKEY_LOCAL_MACHINE\Drivers\Active\32]

"Hnd"=dword:0003BA80

"Name"="COM3:"

"Key"="Drivers\\BuiltIn\\Serial5"

"ClientInfo"=dword:00000000

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial5]

"Index"=dword:00000003

"Flags"=dword:00000000

"Order"=dword:00000002

"FriendlyName"="GpsModDriver"

"Prefix"="COM"

"Dll"="GpsModDriver.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mach2003\GpsModDriver]

"Uninstall"=dword:00001101

"GpsComPort"=dword:00000004

"ActiveDriver"="Drivers\\Active\\32"

"SleepTime"=dword:000003E8

"EnableLogs"=dword:00000000

"EnableSmooth"=dword:00000001

"LagAdvance"=dword:000007D0

"EnableSpeed"=dword:00000001

"EnableCourse"=dword:00000001

"EnableDop"=dword:00000001

"DeltaTime"=dword:00002710

"DeltaSpeed"=dword:00000032

"DeltaDistance"=dword:00000032

The fake entries

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver]

weren't written!

Because GPS-Port COM4 is the default outport of GPSID, ModDriver's installation / settings are useless for Windows CE 5.0 users.

FOURTH:

I appreciate your work. But currently I can't recommend CE 5.0 users to get a copy of this driver, because the efforts

to get it properly configured are too many.