!usb3kd.port_info
!usb3kd.port_info 命令會顯示USB 3.0 樹狀目錄中USB埠的相關信息。
!usb3kd.port_info PortContext
參數
PortContext
_PORT_CONTEXT 結構的位址。
DLL
Usb3kd.dll
範例
若要取得埠內容的位址,請查看 !usb_tree 命令的輸出。 在下列範例中,埠內容的位址0xfffffa8005abe0c0。
3: kd> !usb_tree
## Dumping HUB Tree - !drvObj 0xfffffa800597f770
--------------------------------------------
Topology
--------
1) !xhci_info 0xfffffa80051d1940 ... - PCI: VendorId ...
!hub_info 0xfffffa8005ad92d0 (ROOT)
...
!port_info 0xfffffa8005abe0c0 !device_info 0xfffffa8005abd0c0 Desc: ... USB Flash Drive Speed: Super
現在您可以將連接埠內容的地址傳遞至 !port_info 命令。
3: kd> !port_info 0xfffffa8005abe0c0
## Dumping Port Context 0xfffffa8005abe0c0
---------------------------------------
dt USBHUB3!_PORT_CONTEXT 0xfffffa8005abe0c0
!hub_info 0xfffffa8005ad92d0 (dt _HUB_FDO_CONTEXT 0xfffffa8005ad92d0)
!device_info 0xfffffa8005abd0c0 (dt _DEVICE_CONTEXT 0xfffffa8005abd0c0)
!rcdrlogdump usbhub3 -a 0xfffffa8005abf6b0
PortNumber: 2
Last Port Status(3.0): Connected Enabled Powered
Last Port Change: <none>
CurrentPortEvent: PsmEventPortConnectChange
Current Port(3.0) State: ConnectedEnabled.WaitingForPortChangeEvent
Port(3.0) State History: <Event> NewState (<Operation>(),..) :
[34] <Push> WaitingForPortChangeEvent
...
Port Event History:
[ 8] TransferSuccess
...