If I have a WDM kernel driver that I want to load that has no hardware
associated with it (no PCI vendor/device ID), how do I get it to load?
Under the 'old' model, I would make a DriverEntry() and call net start
after modifying the registry appropriately. I don't see how to do that
with WDM.

1. What do I put in the .inf file in the models-section-name and
2. How do I enable/disable/update it from within the Device Manager?

Thanks in advance.

--Ed

Re: non-hardware driver? by Don

Don
Fri Aug 04 09:20:05 CDT 2006

Ed,

Take a look at the toaster sample. Basically you put your own ID in
there, such as:

{b85b7c50-6a01-11d2-b841-00c04fad5171}\MsToaste

Note the GUID will guarantee you are unique.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply


<nieters@crd.ge.com> wrote in message
news:1154700756.798489.308410@i42g2000cwa.googlegroups.com...
> If I have a WDM kernel driver that I want to load that has no hardware
> associated with it (no PCI vendor/device ID), how do I get it to load?
> Under the 'old' model, I would make a DriverEntry() and call net start
> after modifying the registry appropriately. I don't see how to do that
> with WDM.
>
> 1. What do I put in the .inf file in the models-section-name and
> 2. How do I enable/disable/update it from within the Device Manager?
>
> Thanks in advance.
>
> --Ed
>



Re: non-hardware driver? by Doron

Doron
Fri Aug 04 13:31:14 CDT 2006

the toaster sample is enumerated by busenum. i htink you should look at how
busenum (sample sample tree) is enumerated. what you want is a root
enumerated device who hw ID will begin with "root\"

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Don Burn" <burn@stopspam.acm.org> wrote in message
news:unkUoE9tGHA.4612@TK2MSFTNGP02.phx.gbl...
> Ed,
>
> Take a look at the toaster sample. Basically you put your own ID in
> there, such as:
>
> {b85b7c50-6a01-11d2-b841-00c04fad5171}\MsToaste
>
> Note the GUID will guarantee you are unique.
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> http://www.windrvr.com
> Remove StopSpam from the email to reply
>
>
> <nieters@crd.ge.com> wrote in message
> news:1154700756.798489.308410@i42g2000cwa.googlegroups.com...
>> If I have a WDM kernel driver that I want to load that has no hardware
>> associated with it (no PCI vendor/device ID), how do I get it to load?
>> Under the 'old' model, I would make a DriverEntry() and call net start
>> after modifying the registry appropriately. I don't see how to do that
>> with WDM.
>>
>> 1. What do I put in the .inf file in the models-section-name and
>> 2. How do I enable/disable/update it from within the Device Manager?
>>
>> Thanks in advance.
>>
>> --Ed
>>
>
>



Re: non-hardware driver? by Maxim

Maxim
Fri Aug 04 15:59:40 CDT 2006

> If I have a WDM kernel driver that I want to load that has no hardware
> associated with it (no PCI vendor/device ID), how do I get it to load?

Install it as a root-enumerated device.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com


Re: non-hardware driver? by Eliyas

Eliyas
Mon Aug 07 14:02:11 CDT 2006

You can root-enumerate toaster function driver also. I don't think there is
any requirement that all root-enumerated drivers should have the hw id begin
with root\.

In fact the recommendation is to use a guid whenever possible to avoid hw-id
collision with another INF.

--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.microsoft.com/whdc/driver/tips/default.mspx