We are using CE 5.0 on a IXC1100 (XScale) platform.
It seems like we cannot install usb drivers from the dialog
"Unidentified USB device" that pops up.
The strange thing is that if I set the keys and values for the driver in
the registry under [HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\....] then the
driver loads without any problem.
I've tried this with an USB WLAN adapter and a Bluetooth transceiver.
What's even more strange is that we get the same behaviour when trying to
install an USB device on a CE 5.0 PXA270 platform where the image is
pre-built.
Theese two platforms are very different except that they are XScales.
Because 2 different platforms behaves the same I suspect I'm doing something
fundamentally wrong.
I've traced the error on the IXC1100 platform:
LoadOneLibraryW(...) (line 4356) -> CopyRegions(...) (line 3789) ->
VirtualAlloc(...) (line 1051 failure)
if (dwSlot0Addr) {
/* The client has asked to reserve a specific region of memory.
* Verify that the requested region is within range and within an
* existing memory section that the client is allowed to access.
*/
/* adjust lpvAddress to 64K boundary. */
dwAddr &= 0xFFFF0000l;
/* Verify that the entire range is available to be reserved. */
cPages = (dwEnd - dwAddr + PAGE_SIZE-1) / PAGE_SIZE;
for (cNeed = cPages, ix = ixBlock ; cNeed > 0
; ++ix, cNeed -= PAGES_PER_BLOCK) {
if ((*pscn)[ix] != NULL_BLOCK)
line 1051 goto invalidParm;
}
} else {
.
.
.
}
Thanks in advance
Göran