Condividi tramite


!usb3kd.ucx_controller

Il comando !usb3kd.ucx_controller visualizza informazioni su un controller host USB 3.0. Lo schermo si basa sulle strutture di dati gestite dal driver di estensione del controller host USB (UcxVersion.sys).

!usb3kd.ucx_controller UcxControllerPrivContext

Parametri

UcxControllerPrivContext
Indirizzo della struttura _UCXCONTROLLER_PRIVCONTEXT che rappresenta il controller.

DLL

Usb3kd.dll

Osservazioni:

Il driver di estensione del controller host USB (UcxVersion.sys) fornisce un livello di astrazione tra il driver hub USB 3.0 e il driver del controller host USB 3.0. Il driver di estensione ha una propria rappresentazione di controller host, dispositivi ed endpoint. L'output del comando !ucx_controller si basa sulle strutture di dati gestite dal driver di estensione. Per altre informazioni sul driver di estensione del controller host USB e sul driver del controller host USB 3.0, vedere Architettura dello stack di driver USB.

Esempi

Per ottenere l'indirizzo del contesto privato del controller UCX, esaminare l'output del comando !ucx_controller_list. Nell'esempio seguente l'indirizzo del contesto privato è 0xfffffa80052da050.

3: kd> !ucx_controller_list

## Dumping List of UCX controller objects
--------------------------------------
[1] !ucx_controller 0xfffffa80052da050 (dt ucx01000!_UCXCONTROLLER_PRIVCONTEXT fffffa80052da050)
    !ucx_device 0xfffffa8005a41840
        .!ucx_endpoint 0xfffffa800533f3d0 [Blk In ], UcxEndpointStateEnabled
        ...
    !ucx_device 0xfffffa8005bd9680
        .!ucx_endpoint 0xfffffa8003694860 [Blk Out], UcxEndpointStateEnabled
        ...

È ora possibile passare l'indirizzo del contesto privato del controller UCX al comando !ucx_controller.

3: kd> !ucx_controller 0xfffffa80052da050

## Dumping Ucx Controller Information fffffa80052da050
---------------------------------------------------
dt ucx01000!_UCXCONTROLLER_PRIVCONTEXT 0xfffffa80052da050
Parent Device: !wdfdevice 0x57ffac91fd8
Controller Queues:
    Default               : !wdfqueue 0x57ffacc5fd8
    Address'0'Ownership   : !wdfqueue 0x57ffad5ad88
    DeviceManagement      : !wdfqueue 0x57ffacd6fd8
    ... pend on Ctrl Reset: !wdfqueue 0x57ffad48fd8

Controller Reset State History: <Event> NewState 
    [ 2] <ControllerResetEventOperationSuccess> ControllerResetStateRHPdoInD0
    [ 1] <ControllerResetEventRHPdoEnteredD0> ControllerResetStateStopBlockingResetComplete1
    [ 0] <SmEngineEventStart> ControllerResetStateRhPdoInDx

Controller Reset Event History:
    [ 1] ControllerResetEventRHPdoEnteredD0
    [ 0] SmEngineEventStart

Root Hub PDO: !wdfdevice 0x57ffaf4daa8
Number of 2.0 Ports: 2
Number of 3.0 Ports: 2
RootHub Control !wdfqueue 0x57ffacb4798
RootHub Interrupt !wdfqueue 0x57ffad033f8, pending !wdfequest 0x57ffa5fe998

Device Tree:
    !ucx_device 0xfffffa8005a41840
        .!ucx_endpoint 0xfffffa800533f3d0 [Blk In ], UcxEndpointStateEnabled
        .!ucx_endpoint 0xfffffa80053405d0 [Blk Out], UcxEndpointStateEnabled
        .!ucx_endpoint 0xfffffa8005a3f710 [Control], UcxEndpointStateEnabled
        .!ucx_endpoint 0xfffffa8005bbe4e0 [Blk Out], UcxEndpointStateStale
        .!ucx_endpoint 0xfffffa8005ac4810 [Blk In ], UcxEndpointStateStale
    !ucx_device 0xfffffa8005bd9680
        .!ucx_endpoint 0xfffffa8003694860 [Blk Out], UcxEndpointStateEnabled
        .!ucx_endpoint 0xfffffa8003686820 [Blk In ], UcxEndpointStateEnabled
        .!ucx_endpoint 0xfffffa8005be0550 [Control], UcxEndpointStateEnabled
        .!ucx_endpoint 0xfffffa8003695580 [Blk In ], UcxEndpointStateStale
        .!ucx_endpoint 0xfffffa80036a20c0 [Blk Out], UcxEndpointStateStale

Vedi anche

Estensioni USB 3.0

!usb3kd.ucx_controller_list

Driver USB (Universal Serial Bus)