!usb3kd.hub_info
The !usb3kd.device_info command displays information about a hub in the USB 3.0 tree.
!usb3kd.hub_info DeviceExtension
Parameters
DeviceExtension
Address of the device extension for the hub's functional device object (FDO).
DLL
Usb3kd.dll
Examples
To obtain the address of the device extension, look at the output of the !usb_tree command. In the following example, the address of the device extension for the root hub is 0xfffffa8005ad92d0.
3: kd> !usb_tree
## Dumping HUB Tree - !drvObj 0xfffffa800597f770
--------------------------------------------
Topology
--------
1) !xhci_info 0xfffffa80051d1940 ... - PCI: VendorId 0x1033 ...
!hub_info 0xfffffa8005ad92d0 (ROOT)
!port_info 0xfffffa8005a5ca80 !device_info 0xfffffa8005b410c0 Desc: <none> Speed: High
...
Now you can pass the address of the device extension to the !hub_info command.
3: kd> !hub_info fffffa8005ad92d0
## Dumping HUB Information fffffa8005ad92d0
----------------------------------------
dt USBHUB3!_HUB_FDO_CONTEXT 0xfffffa8005ad92d0
!rcdrlogdump usbhub3 -a 0xfffffa8005ad8010
Capabilities: Initialized, Configured, HasOverCurrentProtection, ...
Total number of ports: 4, HUB depth is 0
Number of 3.0 ports: 2 (Range 1 - 2)
Number of 2.0 ports: 2 (Range 3 - 4)
Descriptors:
dt _USB_HUB_DESCRIPTOR 0xfffffa8005ad9728
dt _USB_30_HUB_DESCRIPTOR 0xfffffa8005ad9728
dt _USB_DEVICE_DESCRIPTOR 0xfffffa8005ad92d0
dt _USB_CONFIGURATION_DESCRIPTOR 0xfffffa8005ad9770
List of PortContext: 4
[1] !port_info 0xfffffa8005a5ca80 !device_info 0xfffffa8005b410c0
Last Port Status(2.0): Connected Enabled Powered HighSpeedDeviceAttached
Last Port Change: <none>
Current Port(2.0) State: ConnectedEnabled.WaitingForPortChangeEvent
Current Device State: ConfiguredInD0
...
Current Hub State: ConfiguredWithIntTransfer
Hub State History: <Event> NewState (<Operation>(),..) :
[43] <OperationSuccess> ConfiguredWithIntTransfer
...
Hub Event History:
[ 0] PortEnableInterruptTransfer
...