!usbkd.usbhubinfo
!usbkd.hubinfo 命令會顯示 USB 中樞的相關信息。
!usbkd.hubinfo FDO
參數
FDO
USB 中樞的功能裝置物件 (FDO) 位址。
DLL
Usbkd.dll
範例
以下是尋找 USB 中樞之 FDO 位址的其中一種方式。 首先輸入 !usbkd.usb2tree。
0: kd> !usbkd.usb2tree
...
2)!ehci_info ffffe00001ca11a0 !devobj ffffe00001ca1050 PCI: VendorId 8086 DeviceId 293c RevisionId 0002
RootHub !hub2_info ffffe000023201a0 !devstack ffffe00002320050
在上述輸出中,中樞的 FDO 位址會顯示為建議命令 !devstack ffffe00002320050 的自變數。
現在,將 FDO 的地址傳遞至 !usbhubinfo 命令。
0: kd> !usbkd.usbhubinfo ffffe00002320050
!DevObj ffffe00002320050 !usbhubext ffffe000023201a0
On Host Controller (0x8086, 0x293c)
Stat_AsyncResumeStartAt: 2437ee39d29bd528
Stat_AsyncResumeCompleteAt: 24413c77d29bd528
Stat_AsyncResume: 0x3c(60) ms
Stat_SyncResumeStartAt: 2437ee39d29bd528
Stat_SyncResumeCompleteAt: 2437ee39d29bd528
Stat_SyncResume: 0x0(0) ms
Trap Regs: Event, Port, Event (ffffe000023204d0)
Enable: 0 Port: 0 Event 00000000
Hub Number: # 3
Number Of Ports: 4
dt usbhub!_USBHUB_FDO_FLAGS ffffe00002320ba0
>Is Root
>Power Switching:
No Power Switching
>Overcurrent:
Global Overcurrent
>PortIndicators:
No PortIndicators present
>AllowWakeOnConnect:
DO NOT WakeOnConnect
>CURRENT Hub Wake on Connectstate:
HWC_DISARM:- do not wake system on connect/disconnect event
>CURRENT Bus Wake state:
BUS_DISARM:- bus not armed for wake by this hub
>CURRENT Wake Detect state (WW Irp):
HUB_DISARM:- no ww irp pending (HUB_WAKESTATE_DISARMED)
Milliamps/Port : 500ma
Power caps (0 = not reported)
PortPower_Registry : 0
PortPower_DeviceStatus : 500
PortPower_CfgDescriptor : 500
PortPower_HubStatus : 500