Re: Wrong device identifier?
From: Brian Catlin (brianc_at_sannas.org.bad)
Date: 08/11/04
- Next message: Steve Dispensa [MVP]: "Re: NdisOpenAdapter"
- Previous message: John Thompson: "NdisOpenAdapter"
- In reply to: Mike: "Wrong device identifier?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 11 Aug 2004 12:03:09 -0700
"Mike" <xfire666@gmx.ch> wrote in message
news:c341f6b9.0408100756.505d0fe4@posting.google.com...
> Hi Folks,
> my pnp scsi miniport driver does not get an IRP_MN_START_DEVICE irp
> after a pcmcia card is plugged in.
> I suppose it's because i supplied a wrong device identifier in the
> drivers inf file. (Because the driver service is started - DriverEntry
> is called and the driver is listet in the device manager.)
>
> The question is, how can i determine the device identifier of my ('homegrown')
> pccard? Is there a way to query the device id returned by the pcmcia
> bus driver?
If the kernel debugger (WinDbg) is running when you plug in a device, the IDs
will be listed. Alternatively, you can look in the registry
(HKLM\System\CCS\Enum\<bus driver>). For every device ever plugged into that
bus, there will be a key that is the Device ID (which is the Hardware ID that
has the most information, when multiple hardware IDs exist). Below the Device
ID key will be one or more keys for each Instance ID. In the Instance ID key,
will be two values: HardwareID and CompatibleIDs. These are multi-strings, and
are what the system will use when looking for an INF file
-Brian
Brian Catlin, Sannas Consulting 310-944-9492
Windows Network, Video, WDM Device Driver Training & Consulting
See WWW.AZIUS.COM.bad for courses and scheduling
REMOVE .BAD FROM EMAIL AND WEB ADDRESS
- Next message: Steve Dispensa [MVP]: "Re: NdisOpenAdapter"
- Previous message: John Thompson: "NdisOpenAdapter"
- In reply to: Mike: "Wrong device identifier?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|