Universal Serial Bus 4 (USB4™) kernel debugger extension

To assist with debugging from a kernel debugger, the following USB4KD.dll is part of the Windows Debugger Tools starting with the Windows SDK release for Windows 11. The latest version of WinDbg can be obtained from WinDbg Preview - Microsoft Store

The following commands are available. To begin, examine the USB4 domains on the system with !usb4kd.usb4tree and follow the links to examine the routers, ports, adapters and tunnels.

0: kd> !usb4kd.help
Commands for usb4kd.dll:
  !help              - Displays information on available extension commands
  !usb4adapter       - Dumps information about the USB4 Adapter
  !usb4devicerouter  - Dumps information about the USB4 Device Router
  !usb4help          - Displays information on available extension commands. 
                       Alias to !usb4kd.help
  !usb4hostrouter    - Dumps information about the USB4 Host Router
  !usb4port          - Dumps information about the USB4 Port
  !usb4rbcsregisters - Dumps registers from the USB4 Router Basic Configuration
                       Space
  !usb4tree          - Dumps USB4 hierarchy of routers and ports
  !usb4tunnel        - Dumps information about the USB4 Tunnel
  !usb4tunnels       - Dumps information about all USB4 Tunnels
!help <cmd> will give more information for a particular command