Hi ,
i got a problem with loading order of my driver .
i got a PCI card with 2 serial port .
and my serial device .
i made a driver for my serial device but on windows start up , it seems my
driver tries to load first so as the PCI Card driver isnt loaded , my driver
inits fails .
i tried changing the StartTYpe Value in inf file , and LoadOrderGroup tag as
well , but no effect .
any idead how i could tell my driver to load last ?
btw if i deactivate/activate my driver by hand in device manager later on ,
my driver works perfectly .
Thanks ,
Ronan
PnP drivers ignore StartType (except the fact whether StartType == Boot or
not so) and load order groups.
The only load order control value for PnP drivers is the ( StartType ==
Boot ) condition. The rest of init ordering must be coded via the device
interface arrival notification.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Launay Ronan”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Wednesday, November 03, 2004 1:11 PM
Subject: [ntdev] Driver Load Order
> Hi ,
>
> i got a problem with loading order of my driver .
> i got a PCI card with 2 serial port .
> and my serial device .
> i made a driver for my serial device but on windows start up , it seems my
> driver tries to load first so as the PCI Card driver isnt loaded , my driver
> inits fails .
> i tried changing the StartTYpe Value in inf file , and LoadOrderGroup tag as
> well , but no effect .
> any idead how i could tell my driver to load last ?
>
> btw if i deactivate/activate my driver by hand in device manager later on ,
> my driver works perfectly .
>
> Thanks ,
>
> Ronan
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
actually my driver is a fake pnp device .
as the true serial device isnt really PNP.
how could i possibly make the driver wait to load ?
“Maxim S. Shatskih” a ecrit dans le message de
news:xxxxx@ntdev…
> PnP drivers ignore StartType (except the fact whether StartType ==
Boot or
> not so) and load order groups.
>
> The only load order control value for PnP drivers is the ( StartType
==
> Boot ) condition. The rest of init ordering must be coded via the device
> interface arrival notification.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Launay Ronan”
> Newsgroups: ntdev
> To: “Windows System Software Devs Interest List”
> Sent: Wednesday, November 03, 2004 1:11 PM
> Subject: [ntdev] Driver Load Order
>
>
> > Hi ,
> >
> > i got a problem with loading order of my driver .
> > i got a PCI card with 2 serial port .
> > and my serial device .
> > i made a driver for my serial device but on windows start up , it seems
my
> > driver tries to load first so as the PCI Card driver isnt loaded , my
driver
> > inits fails .
> > i tried changing the StartTYpe Value in inf file , and LoadOrderGroup
tag as
> > well , but no effect .
> > any idead how i could tell my driver to load last ?
> >
> > btw if i deactivate/activate my driver by hand in device manager later
on ,
> > my driver works perfectly .
> >
> > Thanks ,
> >
> > Ronan
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
You can’t force it. Register for device interface arrival notifications
(IoRegisterPlugPlayNotifcation) and open the serial port when it is
enumerated by the system.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Launay Ronan
Sent: Wednesday, November 10, 2004 12:41 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Driver Load Order
actually my driver is a fake pnp device .
as the true serial device isnt really PNP.
how could i possibly make the driver wait to load ?
“Maxim S. Shatskih” a ecrit dans le message de
news:xxxxx@ntdev…
> PnP drivers ignore StartType (except the fact whether StartType ==
Boot or
> not so) and load order groups.
>
> The only load order control value for PnP drivers is the (
StartType
==
> Boot ) condition. The rest of init ordering must be coded via the
device
> interface arrival notification.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Launay Ronan”
> Newsgroups: ntdev
> To: “Windows System Software Devs Interest List”
> Sent: Wednesday, November 03, 2004 1:11 PM
> Subject: [ntdev] Driver Load Order
>
>
> > Hi ,
> >
> > i got a problem with loading order of my driver .
> > i got a PCI card with 2 serial port .
> > and my serial device .
> > i made a driver for my serial device but on windows start up , it
seems
my
> > driver tries to load first so as the PCI Card driver isnt loaded ,
my
driver
> > inits fails .
> > i tried changing the StartTYpe Value in inf file , and
LoadOrderGroup
tag as
> > well , but no effect .
> > any idead how i could tell my driver to load last ?
> >
> > btw if i deactivate/activate my driver by hand in device manager
later
on ,
> > my driver works perfectly .
> >
> > Thanks ,
> >
> > Ronan
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com