通用串行总线 4 (USB4™) 内核调试器扩展

为了协助从内核调试程序进行调试,从 Windows 11 的 Windows SDK 版本开始,下面的 USB4KD.dll 是 Windows 调试程序工具的一部分。 可从 WinDbg 预览版 - Microsoft Store 获取 WinDbg 的最新版本

可使用下面的命令。 首先,使用 !usb4kd.usb4tree 检查系统上的 USB4 域,然后按照链接检查路由器、端口、适配器和隧道。

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