ActivateDevice returns error 110 (ERROR_OPEN FAILED)
- From: tarun_abraham <tarun_abraham@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 26 May 2008 22:34:01 -0700
Hi,
I trying to develop a USB function stream interface driver under WinCE 6.0
based on the USB printer driver sample code.
I have used the Clone BSP option to clone the sources and can compile this
driver linking statically with the WinCE libraries.
The driver loads successfully , but I am unable to progress after
ActivateDevice, which fails with error 110 (ERROR_OPEN FAILED). The xxx_Init
function call returns fine, and there is an active path generated each time a
device is plugged onto the board ,
(\Drivers\Active\xx) , but this change does not reflect in the registry,
since ActivateDevice fails.
I want to load a dummy driver for testing purposes. I have removed the
printer class Id code, so to make this driver more generic. Am I missing a
step in the device driver init routine ? ( referring to the printer sample
driver? ) ,
USBDeviceAttach , USBInstallDriver, xxx_Init are called , but I cannot
progress any further. Any suggestion on what could be wrong?
Also , where is the device signature obtained from ? ( Hkbd / .. ) , is this
required in the ActivateDevice routine ?
Regards,
Tarun
.
- Prev by Date: Re: USB MSC, SD/ATA/NAND/RAM Disk
- Next by Date: Re: PXA270 I2C register mapping
- Previous by thread: sdio driver development platform for windows mobile
- Next by thread: Re: Plan to build a CE6 Boot loader for S3C2440 platform
- Index(es):