how to debbug the usb stack

We are currently designing a mass storage board, connected to a PC through
the USB.
We want to use the usbstor.sys driver on Windows 2000 and XP.
Our board will comply with the SCSI mass storage specification,
but we want to have a tool to get information about what is going on in
the PC.
I am looking for a way to get informations about IRP going through
the USB drivers stack.
1- is it possible to get a checked version of usbstor.sys ?
I could then use KD or windbg to prompt debug message from usbstor.
2- I also would like to install a lower filter driver between usbstor and
usbhub.
This filter driver would only trace the IRPs and transmit them down to
next lower driver.
How can i install this filter driver on the USB stack?

Many thanks for your help.


You are currently subscribed to windbg as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com