Skip to main content

USB Event Tracing For Windows

USB Event Tracing For Windows

File name: USB-Event-Tracing.docx
641 KB
Updated: March 1, 2010
Microsoft Word file
Get Office File Viewers

USB trace file

File name: devicefailure.etl
256 KB
Updated: March 1, 2010

About This Download

This paper provides information for driver developers about the tracing and logging features for the Universal Serial Bus (USB) in Windows 7. It includes information about how to install the tools, create trace files, and analyze the events in a USB trace file.

This paper assumes that the reader has a comprehensive understanding of the USB ecosystem and hardware that is required to successfully use the USB tracing and logging features. To interpret the event traces, the reader also requires an in-depth understanding of the Windows USB core driver stack, the USB 2.0 Specification, and the USB Device Class Specifications.

This page includes a USB trace file to use with the troubleshooting example in this paper. To download and save the file, click on the link at the right for devicefailure.etl.

This information applies to the Windows 7 operating system.

Included in this white paper:

  • Introduction to USB Event Tracing

  • Using USB ETW

    • Recording an Event Trace by Using Logman

    • Installing Netmon and the Netmon USB Parser

    • Examining a Trace File using Netmon

    • Troubleshooting an Unknown USB Device by Using ETW and Netmon

    • Using Xperf with USB ETW

    • Analyzing USB Performance Issues by Using Xperf and Netmon

  • Tips for Debugging USB Device Problems

  • USB ETW and Power Management

Rate: