Windows 中的通用串行总线查看器

The Universal Serial Bus Viewer (USBView) or usbview.exe is a Windows app that you can use to browse all USB controllers and connected USB devices on your computer. USBView 适用于所有版本的 Windows。

获取 USBView 应用

若要下载和使用 USBView,请完成以下步骤:

  1. 下载并安装 Windows SDK

  2. 安装过程中,选择 “适用于 Windows 的调试工具” 选项,并清除所有其他复选框。

  3. Open the Windows Kits debugger folder for the processor type you're running, and select usbview.exe to start the utility.

    x64 系统上 USBView 的默认安装位置为 C:\Program Files (x86)\Windows Kits\10\Debuggers\x64

    Note

    If you don't see the usbview.exe file in the folder, make sure you installed Windows SDK in the correct folder. 如果问题仍然存在,请重新安装 Windows SDK,并确保在安装过程中选择 适用于 Windows 选项的调试工具

访问 GitHub 上的 USBView 源代码

GITHub 上的 Windows 驱动程序示例存储库中提供了 USBView 应用程序和源代码

使用 USBView 应用

USBView 是一个示例应用程序,可枚举有关 USB 主机控制器、USB 集线器和附加 USB 设备的基本信息。 它还能从注册表中查询设备相关信息,并通过 USB 向设备发出请求。

主 USBView 窗口包含两个窗格:

  • 左窗格显示了一个面向连接的树视图,你可以使用它来选择任何 USB 设备。

  • 右窗格显示与所选 USB 设备有关的 USB 数据结构。 这些结构包括设备、配置、接口和端点描述符,以及当前设备的配置。

由于 USBView 是较旧的应用程序,因此它可能不会显示较新的 USB 信息。 必要时使用设备管理器等其他工具。 For more information on the IOCTLs that USBView uses to query information, see USBView.

使用设备管理器显示 USB 信息

若要使用设备管理器显示 USB 信息,请执行以下步骤:

  1. Use the Windows Key + R keyboard shortcut to open the Run command dialog. Enter devmgmt.msc and select OK or Enter.

  2. 在“设备管理器”中,选择计算机,以便在列表中突出显示该项。

  3. Select Action, and then select Scan for hardware changes.

  4. Select View, and then select Show hidden devices to display more devices (for example, devices that aren't currently active).

  5. 在设备管理器中展开 通用串行总线控制器 节点并选择设备。

  6. Right-click and select Properties to view summary device status information.

  7. Select the Details tab to view more information.

  8. Select Property to view details, such as Status or Problem code.

常见 USB 问题故障排除

如果要诊断 USB 设备,请访问修复 Windows 中的 USB-C 问题了解更多信息。