Friday, December 21, 2007

RT2860 and RT2870(USB) Drivers Are Updated.

The RT2860 and RT2870(USB) Widows CE 5.0.and 6.0 drivers have been updated on Dec. 15, 2007.

The newest RT2860 driver is V1.1.0.9 and
the newest RT2870(USB) driver is V1.0.5.7.

Please contact our FAE for more information.

Setting in hive-based registry


Wednesday, December 19, 2007

Co-exist Two USB Wireless Drivers in NK.BIN Image

The registry of USB driver is look like below:

[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\Default\RT2870] "Dll"="RT2870.DLL"

When you tried to co-exist two usb drivers in registry, you have
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\Default\RT2870] "Dll"="RT2870.DLL"
...
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\Default\RT2501USB] "Dll"="RT2501USB.DLL"

Some how, the windows ce had a issue here. It will pop up a input dialog to ask you input a driver dll even the correct usb driver is loaded.

To fix this issue, check WINCE500\PUBLIC\COMMON\OAK\DRIVERS\USB\USBD\usbd.cpp
You will found the LoadRegisteredDriver() as below,

BOOL LoadRegisteredDriver(HKEY hkReg, SDevice * pDev,
LPCUSB_INTERFACE lpInterface, LPBOOL pfLoaded,
LPCUSB_DRIVER_SETTINGS lpDriverSettings)
{ …
while(RegEnumKeyEx(hkReg, iSubKey++, szDriverId, &cchDriverId, NULL,
NULL, NULL, NULL) == ERROR_SUCCESS)
{…
if(*pfLoaded)
AddDriverLib(pDev, hClientInstance);

}
return TRUE;
}


In red codes, you can understand it. When driver is loaded, the while loop must be broke and no more search this device in registry.

BOOL LoadRegisteredDriver(HKEY hkReg, SDevice * pDev,
LPCUSB_INTERFACE lpInterface, LPBOOL pfLoaded,
LPCUSB_DRIVER_SETTINGS lpDriverSettings)
{ …
while(RegEnumKeyEx(hkReg, iSubKey++, szDriverId, &cchDriverId, NULL,
NULL, NULL, NULL) == ERROR_SUCCESS)
{…

if(*pfLoaded)
{
AddDriverLib(pDev, hClientInstance);
break; // Add this!!!
}


}
return TRUE;
}

Then re-build all.

Monday, December 10, 2007

RT61 and RT2501USB Driver Are Updated.

The RT61 and RT2501USB Widows CE 5.0.and 6.0 drivers have been updated on Dec. 1, 2007.

The newest RT61 driver is V1.2.3.15 and
the newest RT2501USB driver is V1.2.4.1.

Please contact our FAE for more information.

Tuesday, December 4, 2007

Window CE 6.0 R2 had been released.

Download link as below:
http://www.microsoft.com/downloads/details.aspx?FamilyId=F41FC7C1-F0F4-4FD6-9366-B61E0AB59565&displaylang=en

We are moved.

We are moved in new office in Chu-Bei.

Address:
5F, 36, Tai-Yuan Street,
Chu-Bei city,
Hsin-Chu 302,
Taiwan