USB$SDA_HELP.HLB  —  SHOW  EHCI
   Displays information about the selected EHCI host controller.

1  –  PORT

   Displays information about the specificed root hub port.
   Ports are numbered 1-n where n is typically no larger than 5.

   Format

      USB SHOW EHCI POTR [n]

1.1  –  Example

 SDA> USB SHOW EHCI PORT 1

 Port 01 Status and Control Register         00001005
   Current connection status                1
   Current connection status change         0
   Port enable/disable                      1
   Port enable/disable change               0
   Over-current active                      0
   Over-current change                      0
   Force port resume                        0
   Port suspend                             0
   Port reset                               0
   Line Status 0 - SEO
               1 - K-State
               2 - J-State
               3 - undefined                0
   Port Power                               1
   Port owner                               0
   Port indicator                           0
   Port test 0 - test mode not enabled
             1 - Test J state
             2 - Test K State
             3 - Test SE0 state
             4 - Test packet
             5 - Test force enable          0
   Wake on connection enable                0
   Wake on disconnect enable                0
   Wake on over-current enable              0
 SDA>

2  –  REGISTERS

   Displays the various device registers.  The command
   is split into register sets to make it more readable.

2.1  –  CAPABILITIES

   Displays the capability registers.

   Format

      USB SHOW EHCI REGISTERS CAPABILITY

2.1.1  –  Example

 SDA> USB SHOW EHCI REGISTERS CAPABILITY

 Last EHCI controllers capability registers saved in EHCI UCB
 ----------------------------------        ------------------
 Capability length register                  00000020
 Interface version number                    00000095
 Structural parameters                       00002395
   Number of down stream ports              5
   Port Power Control                       1
   Port routing rules                       1
   Ports per companion controllers          3
   Number of companion controllers          2
   Port indicators                          0
   Bebug port number                        0
 Capability parameters                       00000002
   64-Bit Addressing Capability             0
   Programmable frame list flag             1
   Asynchronous frame list park             0
   Isochronous scheduling threshold         0
   EHCI extended capability pointer        00
 Port Route Description                                  1010
 SDA>

2.2  –  EECP

   Display Enhanced capability registers.

2.2.1  –  Example

 SDA> USB SHOW EHCI REGISTERS EECP
 NO EECP_REGISTERS present

2.3  –  OPERATING

   Displays the last saved contents of the devices operating
   registers if looking at a crash.  On a running system, displays
   the contents of the registers that were just read.

    Format

       USB SHOW EHCI REGISTERS OPERATING

2.3.1  –  Example

 SDA> USB SHOW EHCI REGISTERS OPERATING
 Current EHCI operating registers as read from the controller

 Extended Host Controller Operating Registers
 ----------------------------------        ----------
 USB Commad Register                         00080031
   Run/Stop                                 1
   Host Controler Reset                     0
   Frame List size 0-1024, 1-512, 2-256     0
   Periodic Schedule Enable                 1
   Asynchronous Schedule Enable             1
   Interrupt on Async Advance Doorbell      0
   Light Host Conrtoller Reset              0
   Asynchronous schedule park mode count    0
   Asynchronous Schedule park mode enable   0
   Interrupt Threshold Control             08
 USB Status Register                         0000c000
   USB Interrupt                            0
   USB Error Interrupt                      0
   Port Change Detect                       0
   Frame List Rollover                      0
   Host System Error                        0
   Interrupt on Asynch Advance              0
   HCHalted                                 0
   Reclamation                              0
   Periodic Schedule Status 1 - enabled     1
   Asynchronous Schedule Status 1 - enabled 1
 USB Interrupt Enable Register               0000003f
   USB Interrupt Enable                     1
   USB Error Interrupt Enable               1
   Port Change Interrupt Enable             1
   Frame List Rollover Enable               1
   Host System Error Enable                 1
   Interrupt On Async Advance Enable        1

 Frame Index Register                        00003324
 Control Data Structure Segment Register     00000000
 Periodic Frame List Base Address            454b0000
 Current Asynchronous List Address Base      45490040
 Configure Flag Register                     00000000

 Port 01 Status and Control Register         00001005
   Current connection status                1
   Current connection status change         0
   Port enable/disable                      1
   Port enable/disable change               0
   Over-current active                      0
   Over-current change                      0
   Force port resume                        0
   Port suspend                             0
   Port reset                               0
   Line Status 0 - SEO
               1 - K-State
               2 - J-State
               3 - undefined                0
   Port Power                               1
   Port owner                               0
   Port indicator                           0
   Port test 0 - test mode not enabled
             1 - Test J state
             2 - Test K State
             3 - Test SE0 state
             4 - Test packet
             5 - Test force enable          0
   Wake on connection enable                0
   Wake on disconnect enable                0
   Wake on over-current enable              0
 Port 02 Status and Control Register         00001000
   Current connection status                0
   Current connection status change         0
   Port enable/disable                      0
   Port enable/disable change               0
   Over-current active                      0
   Over-current change                      0
   Force port resume                        0
   Port suspend                             0
   Port reset                               0
   Line Status 0 - SEO
               1 - K-State
               2 - J-State
               3 - undefined                0
   Port Power                               1
   Port owner                               0
   Port indicator                           0
   Port test 0 - test mode not enabled
             1 - Test J state
             2 - Test K State
             3 - Test SE0 state
             4 - Test packet
             5 - Test force enable          0
   Wake on connection enable                0
   Wake on disconnect enable                0
   Wake on over-current enable              0
 Port 03 Status and Control Register         00001000
   Current connection status                0
   Current connection status change         0
   Port enable/disable                      0
   Port enable/disable change               0
   Over-current active                      0
   Over-current change                      0
   Force port resume                        0
   Port suspend                             0
   Port reset                               0
   Line Status 0 - SEO
               1 - K-State
               2 - J-State
               3 - undefined                0
   Port Power                               1
   Port owner                               0
   Port indicator                           0
   Port test 0 - test mode not enabled
             1 - Test J state
             2 - Test K State
             3 - Test SE0 state
             4 - Test packet
             5 - Test force enable          0
   Wake on connection enable                0
   Wake on disconnect enable                0
   Wake on over-current enable              0
 Port 04 Status and Control Register         00001000
   Current connection status                0
   Current connection status change         0
   Port enable/disable                      0
   Port enable/disable change               0
   Over-current active                      0
   Over-current change                      0
   Force port resume                        0
   Port suspend                             0
   Port reset                               0
   Line Status 0 - SEO
               1 - K-State
               2 - J-State
               3 - undefined                0
   Port Power                               1
   Port owner                               0
   Port indicator                           0
   Port test 0 - test mode not enabled
             1 - Test J state
             2 - Test K State
             3 - Test SE0 state
             4 - Test packet
             5 - Test force enable          0
   Wake on connection enable                0
   Wake on disconnect enable                0
   Wake on over-current enable              0
 Port 05 Status and Control Register         00001000
   Current connection status                0
   Current connection status change         0
   Port enable/disable                      0
   Port enable/disable change               0
   Over-current active                      0
   Over-current change                      0
   Force port resume                        0
   Port suspend                             0
   Port reset                               0
   Line Status 0 - SEO
               1 - K-State
               2 - J-State
               3 - undefined                0
   Port Power                               1
   Port owner                               0
   Port indicator                           0
   Port test 0 - test mode not enabled
             1 - Test J state
             2 - Test K State
             3 - Test SE0 state
             4 - Test packet
             5 - Test force enable          0
   Wake on connection enable                0
   Wake on disconnect enable                0
   Wake on over-current enable              0
 SDA>

2.4  –  PCI

   Displays the PCI device registers.

   Format

      USB SHOW EHCI REGISTERS PCI

2.4.1  –  Example

 SDA> USB SHOW EHCI REGISTERS PCI

 Last EHCI controllers PCI registers saved in EHCI UCB
 ----------------------------------        ----------
 Vendor Id                                       1033
 Device Id                                       00e0
 Command Register                                0146
 Status Register                                 0210
 Revision Id                                       02
 Programming if                                    20
 Sub Class                                         03
 Base Class                                        0c
 Cache line size                                   20
 Latency timer                                     80
 Header type                                       00
 BIST                                              00
 BAR                                         80000000
 BAR 1                                       00000000
 BAR 2                                       00000000
 BAR 3                                       00000000
 BAR 4                                       00000000
 BAR 5                                       00000000
 Cardbus CIS Pointer                         00000000
 Subsystem vendor Id                             1033
 Subsystem Id                                    00e0
 Expansion Rom base address                  00000000
 Serial Bus Release number                         20
 Frame Length adjustment register                  20
 Port Wake Capability register                     3f
 SDA>

3  –  HCDQH

   Displays a Host Controller Drivers Queue Head data structure.

   Format

      USB SHOW EHCI HCDQH [address]

3.1  –  Example

 SDA> USB SHOW EHCI HCDQH 896C4300
 Flink                 00000000
 Blink                 00000000
 Next                  00000000
 Physical address      45490340
 HCDQTD flink          896C8D80
 HCDQTD blink          896C8D80
 Queue Header------------------
 Link pointer          00000001
 Characteristics       00081103
    Device Address           03
    Inactivate               00
    Endpoint Number          01
    Endpoint Speed           LOW
    Data Toggle              00
    Head of List             00
    Max Packet               08
    Control Endpoint         00
    NAK Reload Count         00
 Capability            41821C01
 Current QTD           454A0DC0
 Overlay QTD-------------------
 Next QTD              00000001
 Alt QTD               00000001
 QTD Token             80088D80
 BPP0                  455405D0
 BPP1                  00000004
 BPP2                  00000016
 BPP3                  00000000
 BPP4                  000005D0
 SDA>

4  –  HCDQTD

4.1  –  Example

 SDA> USB SHOW EHCI HCDQTD 896C9B60
 Flink                 896C9B00
 Blink                 896C9AA0
 Physical address      454A1BA0
 USB request           896F8820
 HCDQH                 896C4300
 Request flink         896C9B84
 Request blink         896F8818
 QTD---------------------------
 Next QTD              00000001
 Alt QTD               00000001
 QTD Token             00008D00
    In Token
    Error Count = 0
    Current Page = 0
    Interrupt On Complete
    Transfer Length = 0000
 BPP0                  455405D8
 BPP1                  00000000
 BPP2                  00000000
 BPP3                  00000000
 BPP4                  00000000
 SDA>

5  –  ASYNC

   Displays the Host Controller Drivers Queue Heads that are
   in the Asynchronous list.

5.1  –  Example

 SDA> USB SHOW EHCI ASYNCH
 EHCI Asynchronous list
 ----------------------
 HCDQH = 896C4100
 HCDQH = 896C4280
 SDA>

6  –  PERIODIC

   Displays the Host Controller Drivers Queue heads (HCDQH) that are
   in the periodic schedule.  Slots that do not have HCDQH's are not
   shown.

6.1  –  Example

 SDA> USB SHOW EHCI PERIODIC
 EHCI Periodic list
 ------------------
 [0006]
     HCDQH = 896C4380
         HCDQTD = 896C82A0, status = 80
 [0008]
     HCDQH = 896C4300
         HCDQTD = 896C9C20, status = 80
 [0016]
     HCDQH = 896C4380
         HCDQTD = 896C82A0, status = 80
 [0018]
     HCDQH = 896C4300
         HCDQTD = 896C9C20, status = 80

             .
             .
             .

 [1012]
     HCDQH = 896C4300
         HCDQTD = 896C9B60, status = 80
 [1020]
     HCDQH = 896C4380
         HCDQTD = 896C82A0, status = 80
 [1022]
     HCDQH = 896C4300
         HCDQTD = 896C9B60, status = 80
 SDA>

7  –  UCB

   Displays the EHCI drivers extensions to a standard UCB.

   Format

      USB SHOW EHCI UCB

7.1  –  Example

 SDA> USB SHOW EHCI UCB

 Extended Host Controller UCB extensions
 ----------------------------------  ----------------
 I/O handle                          ffffffff896bbe80
 Operating register offset                   00000020
 Number of root hub ports                    00000005
 Pointer to UCM's mailbox                    00000000
 Pointer to the bus structure                896cddd0
 Pointer to ehci routine table               896bbec0
 Root hub device address                     00000001
 Queue of status change requests
     Flink                                   896ce090
     Blink                                   896ce090
  8K Map register queue
     Flink                                   896f1690
     Blink                                   896f8750
 16K Map register queue
     Flink                                   895a11c8
     Blink                                   895a11c8
 32K Map register queue
     Flink                                   895a11d0
     Blink                                   895a11d0
 64K Map register queue
     Flink                                   895a11d8
     Blink                                   895a11d8
 List of free HCD queue heads
     Flink                                   896c4400
     Blink                                   896c4200
 list of used HCD queue heads
     Flink                                   895a11e8
     Blink                                   895a11e8
 list of used HCD QTD
     Flink                                   895a11f8
     Blink                                   895a11f8
 Devices that have HCD QH's
     All queue heads are empty
 Count of free HCD queue heads               00000056
 Count of used HCD queue heads               00000000
 Count of free HCD queue TD's                00000082
 Count of used HCD queue TD's                00000000
 Periodic list physical address      ffffffff454b0000
 Periodic list virtual address               896ca000
 Periodic shadow list virtual address        896cc000
 Current periodic frame                      00000031
 Count of tries to get control from BIOS     00000000
 Ports with pending C_PORT_RESET     0000000000000000
 Asynchronous hcdqh flink                    896c4000
 Asynchronous hcdqh blink                    896c4280
 Pending Remove HCDQH queue flink            895a1608
 Pending Remove HCDQH queue blink            895a1608
 Halted errors                               00000000
 Data buffer errors                          00000000
 Babble errors                               00000000
 Transaction errors                          00000000
 Missed micro frame errors                   00000000
 Err errors                                  00000000

 SDA>
Close Help