Re: Wrong device identifier?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Brian Catlin (brianc_at_sannas.org.bad)
Date: 08/11/04


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



Relevant Pages

  • Wrong device identifier?
    ... my pnp scsi miniport driver does not get an IRP_MN_START_DEVICE irp ... after a pcmcia card is plugged in. ... (Because the driver service is started - DriverEntry ... how can i determine the device identifier of my ...
    (microsoft.public.development.device.drivers)
  • [opensuse] openSUSE 10.3 not detecting SATA HD
    ... the sata_sis driver. ... I've tried turning off ACPI in bios and acpi=off which ... openSUSE 10.2 and all my hardware is working fine. ... info.product = 'USB Raw Device Access' ...
    (SuSE)
  • Re: 2008 SBS no longer boots
    ... driver issue initially, the fact that it seems to happen randomly now ... weird with a hardware problem that consistently doesn't get through boot ... other customer, even a 2 week old one, the problem immediately returned. ... There was a time when a server was fired up with a specialized OS and had a battery of tests run against each component to purposefully stress it. ...
    (microsoft.public.windows.server.sbs)
  • Re: Linux, X, ld, gcc, linking, shared libraries and stuff
    ... >> because, originally, video cards / system RAM could NOT afford to have ... > GL actually "copies" everything, but it's done by the graphics card, so ... > anyway if it's not hardware accelerated. ... installed the proper driver, then it zooms around the screen... ...
    (alt.lang.asm)
  • Re: FreeBSD 7.0 problems
    ... Ergo I can't fault the hardware in any way. ... The wifi driver complains of timeout errors. ... vendor = 'Intel Corporation' ... ABI class: ...
    (freebsd-questions)