Capture Device Data Traffic

What are the ways that we can capture USB device traffic?

USB Device Traffic - Data that are copied to the USB device from the
computer and the related information like date/time.

Can we see log files(which includes details about device traffic),
in Windows Log Files or some where else.

Thank you


Prageeth Madhushanka
Sri Lanka

Get a USB analyzer. It will give you all the details you’d ever want about the signals on the wire. See :
http://www.osronline.com/article.cfm?article=524
and
http://www.osronline.com/article.cfm?article=533
for details.

Tim.

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Prageeth Madhushanka
Sent: 26 February 2010 06:16
To: Windows System Software Devs Interest List
Subject: [ntdev] Capture Device Data Traffic

What are the ways that we can capture USB device traffic?

USB Device Traffic - Data that are copied to the USB device from the computer and the related information like date/time.

Can we see log files(which includes details about device traffic), in Windows Log Files or some where else.

Thank you


Prageeth Madhushanka
Sri Lanka
— 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

There are also many software-only USB tracing tools.
Jan Axelson’s USB Central has links at
http://www.lvr.com/development_tools.htm#analyzers

We have a free eval download of SourceUSB at http://www.sourcequest.com
http:</http:>
-Stan (SourceQuest, Inc.)


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Green
Sent: Friday, February 26, 2010 1:24 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Capture Device Data Traffic

Get a USB analyzer. It will give you all the details you’d ever want about
the signals on the wire. See :

http://www.osronline.com/article.cfm?article=524

and

http://www.osronline.com/article.cfm?article=533

for details.

Tim.

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prageeth Madhushanka
Sent: 26 February 2010 06:16
To: Windows System Software Devs Interest List
Subject: [ntdev] Capture Device Data Traffic

What are the ways that we can capture USB device traffic?

USB Device Traffic - Data that are copied to the USB device from the
computer and the related information like date/time.

Can we see log files(which includes details about device traffic), in
Windows Log Files or some where else.

Thank you


Prageeth Madhushanka
Sri Lanka

— 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


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

>

There are also many software-only USB tracing tools.
Jan Axelson’s USB Central has links at
http://www.lvr.com/development_tools.htm#analyzers

We have a free eval download of SourceUSB at http://www.sourcequest.com
-Stan (SourceQuest, Inc.)

Hi all,
There some software, that shows USB traffic. I want to know how they have
done it. The APIs, functions or other ways that we can use capture USB
traffic.


Prageeth Madhushanka
Sri Lanka

Prageeth Madhushanka wrote:

There are also many software-only USB tracing tools.
Jan Axelson’s USB Central has links at
http://www.lvr.com/development_tools.htm#analyzers

We have a free eval download of SourceUSB at
http://www.sourcequest.com http:</http:>
-Stan (SourceQuest, Inc.)

There some software, that shows USB traffic. I want to know how they
have done it. The APIs, functions or other ways that we can use
capture USB traffic.

There are no APIs, and those software packages do not actually show you
USB traffic. What they show are the software requests to the host
controller driver (like usbehci.sys). Those tools insert a filter
driver above the HCD. They monitor the URBs going into the HCD and the
completions coming out, and log the results.

In Windows 7, the HCDs contain tracing code that can show you much the
same information. There have been posts on that topic to this mailing
list within the last month.

Often, this kind of hardware tracing is enough. If not, the only way to
monitor the wire traffic is to use a real USB analyzer connected to the
wire.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.