WinUSB application or User-Mode Driver as a filter driver for USB Analysis/Sniffer/Trending
Posted
by Robert
on Stack Overflow
See other posts from Stack Overflow
or by Robert
Published on 2009-08-30T17:40:47Z
Indexed on
2010/06/05
10:32 UTC
Read the original article
Hit count: 323
A question to maybe some who have worked extensively with WinUSB APIs or use mode USB drivers - Does anyone know if the WinUSB API or a user mode driver can be used as a passive observer of USB connections, capturing notification of interrupts, control requests, data transfers...etc without interfering with other applications (such as iTunes) which would obviously require concurrent access to the device at the same time my application is monitoring the connection and displaying data on it?
Or do you pretty much have to write a kernel-mode filter driver and inject yourself in the USB stack in order to make that happen?
In the past, there have been a few credible options (libusb-win32 and usbsnoop to be specific) though both are built around the old DDK, not the Windows Driver Foundation, and are not really supported on a regular basis any more. I'm hesitant to build something significant around them, as a result.
© Stack Overflow or respective owner