Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.5 KB

windows-capture-usb-hid-report-descriptor.md

File metadata and controls

43 lines (27 loc) · 1.5 KB

How To Capture Raw USB HID Report Descriptor On Windows

Windows doesn't provide access to the raw descriptors working with something called preparsed data instead.

We have to workaround this by capturing the USB traffic and getting the descriptors from there. This can be done using Wireshark which uses USBPcap.

Step By Step

  1. Install Wireshark and make sure that "Install USBPcap" checkbox is selected.

  2. Reboot.

  3. Start Wireshark. You should see "Welcome to Wireshark" screen with one or more USBPcap interfaces.

welcom to wireshark screen

  1. Find the interface that has your USB device connected to it by clicking on the cog icon and browsing the device tree.

  2. Unplug your device, leave only "capture from newly connected devices" selected.

interface options

  1. Click "start".

  2. Plug your device, wait a few seconds as the window is populated with new entries.

  3. Stop capturing by clicking on the red stop symbol. You should see something similar to this next to the top.

packet list

  1. File -> Save As and share the capture with us via new issue.