Dear Sirs
My name is Adam Piotrowski and I am Student of Technical University of Lodz. For my M.A. thesis I would like to write WDM USB Mass Storage Device driver for Windows 2000. Could you help me find some information about it. I know that in Windows is driver, I mean usbstor.sys but I don’t known how this driver co-operate with all device stack. For example I have to know what kind of IRP’s my driver will get from lower driver (usbhub.sys) and what kind of IRP’s it must send to upper driver (disk.sys). In DDK I found only “Device Object Example for a USB Mass Storage Device” but I need more knowledge than this to create a new driver.
I wonder if you could help me to find some information about it.
Best Regards,
Adam Piotrowski
xxxxx@zly.kis.p.lodz.pl
“Adam Piotrowski” wrote in message
news:xxxxx@ntdev…
> Dear Sirs
> My name is Adam Piotrowski and I am Student of Technical University of
> Lodz.
> For my M.A. thesis I would like to write WDM USB Mass Storage Device
> driver for Windows 2000. Could you help me find some information about it.
> I know that in Windows is driver, I mean usbstor.sys but I don’t known how
> this driver co-operate with all device stack. For example I have to know
> what kind of IRP’s my driver will get from lower driver (usbhub.sys) and
> what kind of IRP’s it must send to upper driver (disk.sys). In DDK I found
> only “Device Object Example for a USB Mass Storage Device” but I need more
> knowledge than this to create a new driver.
> I wonder if you could help me to find some information about it.
Your understanding of the stack is completely upside down. Did you select
this thesis, or did your thesis advisor select it for you? What
functionality are you supposed to provide that the Microsoft stack doesn’t?
FS (ntfs, fastfat) sends IRP to class(disk), which sends IRP to port
(scsiport, storport, atapi, usbport, sbp2port, etc…). Which part of the
stack are you supposed to write? The only one that’s fully documented by
Microsoft is the class driver. FS would require the IFS Kit, and probably
wouldn’t provide what your thesis requires. Port driver is the bus driver,
and it’s not documented or encouraged by Microsoft, but it can be done.
Phil
–
Philip D. Barila Windows DDK MVP
Seagate Technology, LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.