!usbkd.usbfaildata

The !usbkd.usbfaildata command displays the failure data (if any) stored for a USB device.

!usbkd.usbfaildata PDO

Parameters

PDO
Address of the physical device object (PDO) of a device that is connected to a USB hub.

DLL

Usbkd.dll

Examples

Here is one way to find the address of the PDO of a USB device. Enter !usbkd.usb2tree.

 kd> !usbkd.usb2tree
...
2)!ehci_info ffffe00001ca11a0 !devobj ffffe00001ca1050 PCI: VendorId 8086 DeviceId 293c RevisionId 0002 
    RootHub !hub2_info ffffe000023201a0 !devstack ffffe00002320050
        Port 1: !port2_info ffffe000021bf000 
        Port 2: !port2_info ffffe000021bfb40 
        Port 3: !port2_info ffffe000021c0680 !devstack ffffe00007c882a0
...

In the preceding output, the address of the PDO appears as the argument of the suggested command !devstack ffffe00007c882a0.

Now pass the address of the PDO to !usbkd.usbfaildata.

See also

USB 2.0 Debugger Extensions

Universal Serial Bus (USB) Drivers