Hi All,
I would like to know if i can start with some sample on URB level filtering
or capturing of I/O’s on USB Stack? If so is there any place where i can get
and start using it???
It can be either at the application or driver level code (looking something
very generic unlike hooking to a particular class specific driver)…
Thanks.
Usb Protocol wrote:
Hi All,
Many of us would appreciate it if you would use your real name.
I would like to know if i can start with some sample on URB level
filtering or capturing of I/O’s on USB Stack? If so is there any place
where i can get and start using it???
It can be either at the application or driver level code (looking
something very generic unlike hooking to a particular class specific
driver)…
KMDF makes it very easy to write filter drivers. The
src\kmdf\toaster\filter driver in the 6001.18000 WDK is a good place to
start. Assuming you know something about how to submit a URB, it’s easy
to figure out exactly which request you need to intercept.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Yes it is possible, no there are no specific samples, what are you actually
trying to do?
For device specific filtering a device lower filter is probably the best
place to sample. The toaster driver shows how to implement such a filter
(generic not usb specific.) If for some reason you want to filter all URBs
to all devices the only place to do that is a USB bus filter driver, which
is undocumented.
On Mon, Apr 28, 2008 at 2:04 PM, Usb Protocol wrote:
> Hi All,
>
> I would like to know if i can start with some sample on URB level
> filtering or capturing of I/O’s on USB Stack? If so is there any place where
> i can get and start using it???
>
> It can be either at the application or driver level code (looking
> something very generic unlike hooking to a particular class specific
> driver)…
>
> Thanks.
> — 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
–
Mark Roddy
Hi Tim,
I am Kashi M., just a curious learner of USB Protocol stack on Windows. My
very interesting factor on this USB stack for windows is to findout how well
i could filter all the URB’s and comeup with a GUI for displaying it to
USER’s, so i am looking for some generic filter which i could use so that i
don’t have to comeup with different filter drivers for various classes
(based on Bulk, Interrupt & Isoch).
I was looking at various products in the market like usbtrace, usblyzer &
etc. I believe these products run like my expectations, so i am trying to
comeup with something similar for my learning of USB in depth.
Mark i hope answered you as well.
Tim/Mark/Doron & Peter you all guide everyone over here very well. Really
amazing to know such people who knows most about Windows Tech and guiding
everyone of us to learn more and more… Thanks once again for all of you.
Thanks,
-Kashi.
On Mon, Apr 28, 2008 at 11:16 AM, Tim Roberts wrote:
> Usb Protocol wrote:
>
> > Hi All,
> >
>
> Many of us would appreciate it if you would use your real name.
>
> I would like to know if i can start with some sample on URB level
> > filtering or capturing of I/O’s on USB Stack? If so is there any place where
> > i can get and start using it???
> > It can be either at the application or driver level code (looking
> > something very generic unlike hooking to a particular class specific
> > driver)…
> >
>
> KMDF makes it very easy to write filter drivers. The
> src\kmdf\toaster\filter driver in the 6001.18000 WDK is a good place to
> start. Assuming you know something about how to submit a URB, it’s easy to
> figure out exactly which request you need to intercept.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
> —
> 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
>
Usb Protocol wrote:
I am Kashi M., just a curious learner of USB Protocol stack on
Windows. My very interesting factor on this USB stack for windows is
to findout how well i could filter all the URB’s and comeup with a GUI
for displaying it to USER’s, so i am looking for some generic filter
which i could use so that i don’t have to comeup with different filter
drivers for various classes (based on Bulk, Interrupt & Isoch).
I was looking at various products in the market like usbtrace,
usblyzer & etc. I believe these products run like my expectations, so
i am trying to comeup with something similar for my learning of USB in
depth.
All of the software USB sniffers I am aware of use a class upper filter
on the USB class, which basically puts them on top of the USB host
controller. They watch all of the URBs, tracking when they go in and
when they come out.
The filtering is not the tricky part. The tricky part is figuring out
what to do with the data you collect, so that your monitoring
application can get it, without interfering with the URB stream. USB is
a real-time bus; you can’t arbitrarily block things for long periods.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.