Hi
I wrote an multi-function USB driver , it include 2 interfaces.
I found the IRP_MN_START_DEVICE message come very late in Windowx XP. And when reinstalling Windows XP on the same PC, the IRP_MN_START_DEVICE will come quickly.
Anyone know why?
thanks
Why do you care when your device gets started?
The operating system has its rules for when drivers get started during
the boot process. In general, unless your device is required to boot the
system, you should not be concerned about when your device is started.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@gmail.com
Sent: Wednesday, December 05, 2007 1:11 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] IRP_MN_START_DEVICE come so late
Hi
I wrote an multi-function USB driver , it include 2 interfaces.
I found the IRP_MN_START_DEVICE message come very late in Windowx XP.
And when reinstalling Windows XP on the same PC, the IRP_MN_START_DEVICE
will come quickly.
Anyone know why?
thanks
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Hi Roddy
Because our device have a timeout settting,our device will enter into other mode if our driver can not response in this timeout value.
thanks
So mark your device as boot start in its services section. That is the best
you can do.
On Dec 6, 2007 12:29 AM, wrote:
> Hi Roddy
> Because our device have a timeout settting,our device will enter into
> other mode if our driver can not response in this timeout value.
> thanks
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
–
Mark Roddy
Mark Roddy wrote:
So mark your device as boot start in its services section. That is the best you
can do.
How can you mark a USB driver as boot start?
Good point. Actually you can mark it boot start and the driver will get
loaded and its driver entry will be called, but it won’t get its device
added until the usb bus driver is ready to enumerate the device, which will
be whenever it decides to do that.
On Dec 6, 2007 11:12 AM, wrote:
> Mark Roddy wrote:
>
> > So mark your device as boot start in its services section. That is the
> best you
> > can do.
>
> How can you mark a USB driver as boot start?
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
–
Mark Roddy