I'm understanding static and dynamic child bus enumeration in KMDF.
When I plug-in a USB mass storage device to a PC, I see two devices
being shown in device manager, one under "Universal Serial Bus
Controllers" and other under "Disk Drives".
Is this an example for static child enumeration or dynamic child
enumeration?
Is the device under "Universal Serial Bus Controllers" a software bus
driver?
Do i need to have a software bus driver to enumerate a child device as
either static or dynamic?
I'm new to KMDF. Pardon me if the question sounds silly.
Thank You,
kid
If you are new to KMDF then you probably do not need to do a bus driver.
You should concentrate on function drivers and filter drivers since that is
the bulk of the drivers.
--
Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
"uba" <kid0...@gmail.com> wrote in message
news:aa633ea4-3e24-4868...@g1g2000pra.googlegroups.com...
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4591 (20091110) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4591 (20091110) __________
The message was checked by ESET NOD32 Antivirus.
Thank you for the quick reply.
So USB mass storage (Pen drive/USB Stick) is an example for dynamic
enumeration.
I have a USB memory card reader which supports SD/MS flash media. When
i plug-in the card reader I get two drives in windows explorer (say D:
\ and E:\). When i insert SD card device is detected. I think this is
an example for static enumeration.
USB Mass Storage (Pen drive/USB Stick) - Dynamic Enumeration
USB Memory Card Reader (SD/MS) - Static Enumeration
Please correct me if I'm wrong.
Thank You,
kid
For an example of static, say you had a PCI device that had a set of
registers all mixed together that was both a serial port and a network port
and only one of each. When the driver for that PCI device is loaded, it
knows that it needs to create a physical device object for a custom serial
port and for a custom network network interface controller, so it can
STATICALLY allocate these since the presence of the underlying PCI device
ensures these are going to be there.
--
Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
"uba" <kid0...@gmail.com> wrote in message
news:70957e38-172f-449e...@b25g2000prb.googlegroups.com...
Thank you for the reply.
I have one question here. Is the software bus driver optional to
create any child device?
Like in a USB mass storage device, I assume usbstor.sys (PDO) is a
software bus driver and disk.sys (FDO) is the dynamic child device. Is
this correct???
Regards,
kid