the

Virtual USB Analyzer

Sample Log Files

This page has a selection of sample log files, all directly readable by vusb-analyzer. Note that you don't need to unpack the .gz files, vusb-analyzer can decompress them automatically.

Each log file below identifies the guest OS and device of interest, then it lists the sequence of events that occurred during the timespan represented by the log.

windows-storage-mount.log.gz (66 KB)

Windows XP, USB SD card reader with 1GB card

  1. USB storage device (#1) connects to UHCI controller.
  2. VMware Virtual Hub device (#2) connects automatically to UHCI controller. (This always happens after the first Full Speed or Low Speed device is attached. VMware's USB 1.1 UHCI controller only has two ports, so to ensure it doesn't run out of ports we automatically add a hub after the first device.)
  3. The devices enumerate.
  4. USB storage device is probed with a SCSI INQUIRY.
  5. USB hub device is initialized.
  6. Storage device capacity is read.
  7. FAT filesystem mounted. This involves several small reads.
  8. Storage device is spammed with TEST_UNIT_READY requests every second.

linux-storage-read.log.gz (4.2 MB)

Ubuntu 8.10, USB SD card reader with 1GB card

  1. USB storage device (#3) connects to UHCI controller.
  2. VMware Virtual Hub device (#4) connects automatically to UHCI controller.
  3. USB hub device is initialized.
  4. USB storage device is probed with a SCSI INQUIRY, READ_CAPACITY, and MODE_SENSE.
  5. The MODE_SENSE responds with an endpoint halt, which the VM clears.
  6. From about 7 to 11 seconds, the kernel and Ubuntu's daemons make various-sized reads in order to mount the filesystem and scan the directory tree.
  7. Between 54 and 57 seconds, a JPEG file is copied off of the storage device. Note the very deep asynchrony: Up to 30 URBs representing one SCSI command are all submitted simultaneously. They complete sequentially, then the guest submits another command.

windows-storage-read.log.gz (9.7 MB)

Windows XP, USB SD card reader with 1GB card

  1. This log starts out just like windows-storage-mount, above.
  2. From 14 to 22 seconds, I open a directory of JPEG images and Windows Explorer reads thumbnails for each file.
  3. From 25 to 30 seconds, I'm moving a JPEG image from the SD card to the desktop.

windows-audio-playback.log.gz (3.6 MB)

Windows XP, USB Headset with C-Media chipset

  1. The device enumerates. Nothing too unusual, except that the driver asks for the device's string descriptor a total of 9 times. This is a composite device, with multiple USB audio interfaces and a HID interface.
  2. At 24.3 seconds, the HID driver loads and opens a USB request for receiving HID events on EP3 IN. One of these requests completes immediately with a notification of the device's default state (no buttons down), but the other one stays pending indefinitely until the device is disconnected.
  3. At 30 seconds, the Windows device added 'ding' plays through the headphones.
  4. Around 38 seconds, we start playing an audio stream. This is the Beethoven sample that comes with Windows Media Player. For the most part it plays smoothly, keeping three URBs buffered at all times. There are a couple hiccups, though, where disk activity causes the VM to pause briefly.