what's the root-enumerated device

when i use the DDK’s tool “devcon” to install a new device, like below
" devcon install xxx.inf “usb\pid_0fca&vid_8004” "
it always create a root-enumerated device (shown in DeviceManager).
My questions are:
1 - what’s the root-enumerated device for ?
2 - can i install the device driver without creating this root-enumerated device ?

Devcon update is the command you want to update the driver on the usb enumerated device. a root enumerated device is for a software only driver that needs a pnp stack to do pnp like things like enable device interfaces.

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@sierraatlantic.com
Sent: Tuesday, April 13, 2010 11:05 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] what’s the root-enumerated device

when i use the DDK’s tool “devcon” to install a new device, like below " devcon install xxx.inf “usb\pid_0fca&vid_8004” "
it always create a root-enumerated device (shown in DeviceManager).
My questions are:
1 - what’s the root-enumerated device for ?
2 - can i install the device driver without creating this root-enumerated device ?


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

> 1 - what’s the root-enumerated device for ?

Hardware-less device which only exists as a registry record.

2 - can i install the device driver without creating this root-enumerated device ?

devcon dp_add, then attach the device physically, the OS will do the rest of the installation itself.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

yes…i know the “devcon update” doesn’t need to create the root-enumerated device. but we have to plug in the device first.
If not plugging in the device, how can i install the driver without creating the root-enumerated device ?

> If not plugging in the device, how can i install the driver without creating the root-enumerated device ?

devcon dp_add


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

does “devcon dp_add” execute the actions written in the inf file, like
copying files, installing co-install component ?

On 4/14/2010 5:22 PM, Maxim S. Shatskih wrote:

> If not plugging in the device, how can i install the driver without creating the root-enumerated device ?
>
devcon dp_add


DISCLAIMER:“The information contained in this message and the attachments (if any) may be privileged and confidential and protected from disclosure. You are hereby notified that any unauthorized use, dissemination, distribution or copying of this communication, review, retransmission, or taking of any action based upon this information, by persons or entities other than the intended recipient, is strictly prohibited. If you are not the intended recipient or an employee or agent responsible for delivering this message, and have received this communication in error, please notify us immediately by replying to the message and kindly delete the original message, attachments, if any, and all its copies from your computer system. Thank you for your cooperation.”


>does “devcon dp_add” execute the actions written in the inf file

It preinstalles the driver package to Driver Store, from where it will automatically be silently installed when the device will appear.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

Ying Zhang wrote:

does “devcon dp_add” execute the actions written in the inf file, like
copying files, installing co-install component ?

No. It copies the files into the driver store, so the files actually
get written and co-installed when the device is first detected. That’s
what you want. Really.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.