Setting the pre-driver device name for an ACPI-enumerated device

Hello all,

We have a custom bit of hardware on our motherboard and it is enumerated by ACPI via some custom ASL code.
My question is how do you control/affect the description Windows gives a device before a driver is installed. For example, in the found new hardware wizard, when it asks for automatic or manual installation, the wizard gives you a description of the device. I believe this is also the device’s name in Device Manager before a driver is installed. From what I can tell most devices get this from their PCI class code. Unfortunately, this device is not a PCI device.
So is there anything I can do (in ASL, for example) to affect the name of this device before it gets a driver.

Thanks in advance,

Josh

I don’t know whether it’s the
answer for your question.

When a bus driver enumerate a child device, it will return some text
stings against IRP_MN_QUERY_DEVICE_TEXT IRP. That’s the name displayed
in ‘Found New Hardware’ wizard dialog.

Thanks

Wayne

On 2009-4-27 21:31, xxxxx@rtd.com wrote:

type=“cite”>

Hello all,

We have a custom bit of hardware on our motherboard and it is enumerated by ACPI via some custom ASL code.
My question is how do you control/affect the description Windows gives a device before a driver is installed. For example, in the found new hardware wizard, when it asks for automatic or manual installation, the wizard gives you a description of the device. I believe this is also the device’s name in Device Manager before a driver is installed. From what I can tell most devices get this from their PCI class code. Unfortunately, this device is not a PCI device.
So is there anything I can do (in ASL, for example) to affect the name of this device before it gets a driver.

Thanks in advance,

Josh


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 athttp://www.osronline.com/page.cfm?name=ListServer

That’s the purpose of the _STR object in the ACPI spec. With that said, I
don’t think Windows does anything with that object.


Jake Oshins
Hyper-V I/O Architect (former ACPI guy)
Windows Kernel Group

This post implies no warranties and confers no rights.


wrote in message news:xxxxx@ntdev…
> Hello all,
>
> We have a custom bit of hardware on our motherboard and it is enumerated
> by ACPI via some custom ASL code.
> My question is how do you control/affect the description Windows gives a
> device before a driver is installed. For example, in the found new
> hardware wizard, when it asks for automatic or manual installation, the
> wizard gives you a description of the device. I believe this is also the
> device’s name in Device Manager before a driver is installed. From what I
> can tell most devices get this from their PCI class code. Unfortunately,
> this device is not a PCI device.
> So is there anything I can do (in ASL, for example) to affect the name of
> this device before it gets a driver.
>
> Thanks in advance,
>
> Josh
>

Thanks Jake. Unfortunately it sounds like I’m out of luck.

I tried looking for _STR in the spec but I didn’t find it. However, we’re only using APCI 1.0, so I’m guessing it was added in a later rev.

Any other ideas, suggestions, alternatives?

Thanks again,

Josh