%ì Librarian I01-47ي\ŽŠč!‹\ŽŠčțž5/HELP,OBSOLETEțSETfSHOW­!‹\ŽŠč1 HELPB Provides online help for the System Dump Analyzer USB extension.B This extension allows you to format USB specific data structuresC and tracing information. The extension does not work with 64 bit5 or any of the address expressions supported by SDA. Format USB HELP [command-name] 2 Parameter command-nameA The name of a USB SDA command. When you enter the HELP commandC with a command name, a list of all the command keywords used with( the command is displayed.ww­!‹\ŽŠč 1 OBSOLETE8 These are command are left from a previous stand-alone program and not part of SDA.2 CLSC Erases the display and sets the cursor to the top of the display. Format USB CLS2 EXIT This command does nothing.  Format USB EXIT 2 EXAMINE This command does nothing. Format USB EXAMINE 881bd4502 SPAWN Spawns a new subprocess. Format USB SPAWNww ­!‹\ŽŠč1 SET0 Used to set the USB SDA extension environment. 2 CONTROLLERF Set the controller to be examined. The default controller is alwaysI OHA0 even if the system does not have an Open Host Controller Interface controller. Format USB SET CONROLLER OHB0: 3 Parameter device-name:D The name of the device whose characteristics are to be added. The device name has the form ddcu where:> dd is the device code - for example, OH (The dri ver nameA corresponds to the device code; in this case, the driverA name would be SYS$OHCIDRIVER. Supported devices are OH, EH, and UH.3 c is the controller designation A through Z;C u is the unit number for USB controllers, which is always 0.; OpenVMS device names consist of the two-character device@ code, followed by the controller designation, the unit number5 (which can be 1 to 4 characters), and a colon (:).2 UHCI I Used to  set UHCI driver behavior. Presently the only supported item is diagnostic tracing.3 TRACEJ Enable event tracing using the tracing capability in SDA. You must loadB and start tracing in order for this command to become effective. Format! USB SET UHCI TRACE parameter 4 Parameter event-mask:B This hex number is a mask of all the events to be enabled. The  following events are defined./ 0x1 - Trace Control request start& 0x2 - Trace Interrupt start" 0x4 - Bulk request start, 0x8 - Queue request on controller 0x10 - Set toggles  0x20 - Complete TD's+ 0x40 - All controller interrupts# 0x80 - Normal completion# 0x100 - Error interrupts% 0x200 - Bit stuffing error 0x400 - CRC error 0x800 - Timeout errors 0x1000 - Babble errors) 0x2000 - Data unerrun/overrrun 0x4000 - Stall events/  0x8000 - Poller timer tick all events* 0x10000 - Port 1 timer tick data8 0x20000 - Port 1 changes reported to hubdriver* 0x40000 - Port 2 timer tick data8 0x80000 - Port 2 changes reported to hubdriver$ 0x100000 - Port reset start& 0x200000 - Port reset timeout+ 0x400000 - Port reset wait for CSC 4 ExampleB This example shows enabling tracing for queueing control request to the UHA0 controller.SDA> usb set con uhaController set to UHASDA> usb set uhci trace 1Tracing code not enabledww­!‹\ŽŠč1 SHOWC Shows information about the BUS, Devices, Controllers, Endpoints,K Interfaces, HID common layer, Requests, and BUS topology for the selected controller.2 BUS% Formats the USB BUS data structure. Format USB SHOW BUS 3 ExampleG This example shows the USB BUS data structure for the EHAO High speed controller.OpenVMS system analyzerSDA> usb set con eha0Controller set to EHA0SDA> usb show bus(Bus address is: 89731750(Structure type is 00000001(Spinlock is 0000003a(Bus number is 00000003(Host controller UCB address is 89604380(Flags 1 -> default addr in use 00000000(Switch table address is 89722400(Callback thread Queue Flink 89731768(Callback thread Queue Blink 89731768Thread state isUSBD_THREAD_IDLE(Outstanding thread count 00000000(KPB address 89731980Skipping fork block(Fork state 0 - idle 1 - bsy 00000000(Root hub address 89749590(Callback thread Queue Flink 897317b8(Callback thread Queue Blink 897317b8Thread state isUSBD_THREAD_IDLE(Hub thread KPB 89731840(Wait Q flink 897317c8(Wait Q blink 897317c8!Array descriptor for the root hub(Array size 00002ed0(Array location  896ee0d0(Available entries flink 89755290(Available entries blink 89755290(Used entries flink 89746690(Used entries blink 89750e50(Count of available entreis 00000001(Count of used entries 00000004(Number to add if expanding 00000001SDA>2 DEVICE( Formats the USB device data structure. Format USB SHO DEVICE [address]3 TRACE1 Outputs tracing data for the specificed device. Format$  USB SHOW DEVICE TRACE [address] 3 Examples4 TraceSDA> USB SHO DEV trace 89750e50(Device address is: 89750e50Device tracing messages:< 0: 4-SEP-2008 17:50:10.38 - hub_device_sc< 1: 4-SEP-2008 17:50:10.48 - hub_device_scE 2: 4-SEP-2008 17:50:10.48 - PORT_CONNECTION is setU 3: 4-SEP-2008 17:50:10.48 - set device_state = USBD_DEVICE_POWEREDC 4: 4-SEP-2008 17:50:10.48 - open default addressE 5: 4-SEP-2008 17:50:10.48 - usbd_open_default_pipeZ 6: 4-SEP-2008 17:50:10.48 - set next_device_state = USBD_DEVICE_DEFAULT= 7: 4-SEP-2008 17:50:10.48 - Ack the change< 8: 4-SEP-2008 17:50:10.48 - change neededW 9: 4-SEP-2008 17:50:10.48 - next_device_state == USBD_DEVICE_DEFAULT< 10: 4-SEP-2008 17:50:10.48 - hub_device_sc? 11: 4-SEP-2008 17:50:10.48 - No change neededW 12: 4-SEP-2008 17:50:10.48 - next_device_state == USBD_DEVICE_DEFAULT< 13: 4-SEP-2008 17:50:10.48 - No ack change< 14: 4-SEP-2008 17:50:10.64 - hub_device_scB 15: 4-SEP-2008 17:50:10.64 - PORT_RESET is clearV 16: 4-SEP-2008 17:50:10.64 - set device_state to USBD_DEVICE_DEFAULT] 17: 4-SEP-2008 17:50:10.64 - set next_device_state to USBD_DEVICE_ADDRESSED= 18: 4-SEP-2008 17:50:10.64 - Ack the change< 19: 4-SEP-2008 17:50:10.64 - hub_device_sc? 20: 4-SEP-2008 17:50:10.64 - No change neededY 21: 4-SEP-2008 17:50:10.64 - next_device_state == USBD_DEVICE_ADDRESSED< 22: 4-SEP-2008 17:50:10.64 - change neededX 23: 4-SEP-2008 17:50:10.64 - next_device_state ==USBD_DEVICE_ADDRESSED< 24: 4-SEP-2008 17:50:10.64 - No ack changeD 25: 4-SEP-2008 17:50:10.65 - hub_read_device_desc1I 26: 4-SEP-2008 17:50:10.65 - usbd_setup_control_request> 27: 4-SEP-2008 17:50:10.65 - hub_set_addressI 28: 4-SEP-2008 17:50:10.65 - usbd_setup_control_requestF 29: 4-SEP-2008 17:50:10.65 - usbd_close_default_pipeE 30: 4-SEP-2008 17:50:10.65 - usbd_open_default_pipeD 31: 4-SEP-2008 17:50:10.65 - hub_read_device_desc2I 32: 4-SEP-2008 17:50:10.65 - usbd_setup_control_request Press RETURN for more.SDA>4 Data StructureSDA> USB SHO DEV 89750e50(Device address is: 89750e50(Descriptor header Flink 897317e0(Descriptor header Blink 8974ded0(Pointer to array descriptor 897317d0(Index 00000003(Flags 0 -> avail 1 ->used 00000001(Numbers of entries in this chunk00000001(Descriptor type 00000002(Lock 0000003a(KPB pointer 00000000(Host controller UCB 00000000(Device state 00000010 DEVICE CONFIGURED(Device next state 00000000 UNKNONW STATE(Port number 00000003(Speed 0->full 1->low 2->High 00000001(Tier level 00000002(USB bus address 00000003(Reference count 00000000Flag(s) DEVICE_IS_CONNECTEDFlag(s) DEVICE_CONFIG_INTERFACE(Default pipe  896f1ed0(Bus device is attached to 89731750(Upstream hub address 8974ded0(Default pipe requests Flink 89750e98(Default pipe requests Blink 89750e98 Driver name(Device descriptor length 00000012(Descriptor type 00000001(Revision 00000110(Device class 00000000(Device sub class 00000000(Device protocol 00000000(Max packet size 00000008(Vendor ID  00000d3d(Product ID 00000001(Manufactures index 00000000(Product index 00000002(Serial number index 00000000(Number of configurations 00000001(Pointer to configuration array 89755010(Number of configuration desc 00000001(Active configuration pointer 896f4690(Pointer to interface desc array 89758ed0(Default interface array ptr 89758e90K Interface Address: 89758ED0 UCB: 8975A780 Driver Name: SYS$KBDDRIVERK Interface Address: 89759010 UCB: 8975E800 Driver Name: SYS$MOUDRIVER(Pointer to endpoint array 89759190( Endpoint Address 89759190 Device: 89750E50 Interface: 89758ED0 Desc: 896F46AB Number: 01 Pipe: 8975ACD0( Endpoint Address 897591a8 Device: 89750E50 Interface: 89759010 Desc: 896F46C4 Number: 02 Pipe: 8975ED50(Number of interface descriptors 00000002(Number of endpoint descriptors 00000002(Config_value 00000001(Failed configure attempts 000000002 EHCI? Displays information about the selected EHCI host controller.3 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] 4 ExampleSDA> USB SHOW EHCI PORT 14Port 01 Status and Control Reg ister 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 0SDA> 3 REGISTERS5 Displays the various device registers. The command7 is split into register sets to make it more readable.4 CAPABILITIES$ Displays the capability registers. Format' USB SHOW EHCI REGISTERS CAPABILITY 5 Example'SDA> USB SHOW EHCI REGISTERS CAPABILITY<Last EHCI controllers capability registers saved in EHCI UCB<---------------------------------- ------------------4Capability length register ! 000000204Interface version number 000000954Structural 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 04Capability parameters 00000002, 64-B"it 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 1010SDA>4 EECP( Display Enhanced capability registers. 5 Example!SDA> USB SHOW EHCI REGISTERS EECPNO EECP_REGISTERS present 4 OPERATING; Displays the last saved contents of the devices operatingA #registers if looking at a crash. On a running system, displays4 the contents of the registers that were just read. Format' USB SHOW EHCI REGISTERS OPERATING 5 Example&SDA> USB SHOW EHCI REGISTERS OPERATING<Current EHCI operating registers as read from the controller,Extended Host Controller Operating Registers4---------------------------------- ----------4USB Commad Register 00080031, Run/Stop 1, Host C $ontroler 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 084USB 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 14USB 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 14Frame Index Register 000033244Control Data Structure Segment Register 000000004Periodic Frame List Base Address 454b00004Current Asynchronous List Address Base 454900404Configure Flag Register 000000'004Port 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 04Port 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 04Port 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 04Port 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 cha.nge 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 04Port 05 Status and Control Register 00001000, Current connection status 0, Current connection status change 0, Port enable/disable 0, Port enable/disable change 0 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 tes1t 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 0SDA>4 PCI$ Displays the PCI device registers. Format USB SHOW EHCI REGISTERS PCI 5 Example SDA> USB SHOW EHCI REGISTERS PCI5Last EHCI contro 2llers PCI registers saved in EHCI UCB4---------------------------------- ----------4Vendor Id 10334Device Id 00e04Command Register 01464Status Register 02104Revision Id 024Programming if 204Sub Class 034Base Class 3 0c4Cache line size 204Latency timer 804Header type 004BIST 004BAR 800000004BAR 1 000000004BAR 2 000000004BAR 3 000000004BAR 4 000000004 4BAR 5 000000004Cardbus CIS Pointer 000000004Subsystem vendor Id 10334Subsystem Id 00e04Expansion Rom base address 000000004Serial Bus Release number 204Frame Length adjustment register 204Port Wake Capability register 3fSDA>3 HCDQH? Displays a Host Controller Drivers Queue Head data str5ucture. Format" USB SHOW EHCI HCDQH [address] 4 Example!SDA> USB SHOW EHCI HCDQH 896C4300Flink 00000000Blink 00000000Next 00000000Physical address 45490340HCDQTD flink 896C8D80HCDQTD blink 896C8D80Queue Header------------------Link pointer 00000001Characteristics 00081103 Device Address 03 Inactivate 00 Endpoint Number 01 Endpoin6t Speed LOW Data Toggle 00 Head of List 00 Max Packet 08 Control Endpoint 00 NAK Reload Count 00Capability 41821C01Current QTD 454A0DC0Overlay QTD-------------------Next QTD 00000001Alt QTD 00000001QTD Token 80088D80BPP0 455405D0BPP1 00000004BPP2 00000016BPP3 00000000BP7P4 000005D0SDA>3 HCDQTD 4 Example"SDA> USB SHOW EHCI HCDQTD 896C9B60Flink 896C9B00Blink 896C9AA0Physical address 454A1BA0USB request 896F8820HCDQH 896C4300Request flink 896C9B84Request blink 896F8818QTD---------------------------Next QTD 00000001Alt QTD 00000001QTD Token 00008D00 In Token Error Count = 0 Current Page = 08 Interrupt On Complete Transfer Length = 0000BPP0 455405D8BPP1 00000000BPP2 00000000BPP3 00000000BPP4 00000000SDA>3 ASYNC; Displays the Host Controller Drivers Queue Heads that are in the Asynchronous list. 4 ExampleSDA> USB SHOW EHCI ASYNCHEHCI Asynchronous list----------------------HCDQH = 896C4100HCDQH = 896C4280SDA> 3 PERIODICC Displays the Host Controller Dri9vers Queue heads (HCDQH) that areC in the periodic schedule. Slots that do not have HCDQH's are not shown. 4 ExampleSDA> USB SHOW EHCI PERIODICEHCI 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 = 80SDA>3 UCB9 Displays the EHCI drivers extensions to a standard UCB. Format USB SHOW EHCI UCB 4 ExampleSDA> USB SHOW EHCI UCB'Extended Host Controller UCB extensions4---------------------------------- ----------------4I/O handle ; ffffffff896bbe804Operating register offset 000000204Number of root hub ports 000000054Pointer to UCM's mailbox 000000004Pointer to the bus structure 896cddd04Pointer to ehci routine table 896bbec04Root hub device address 00000001Queue of status change requests4 Flink 896ce0904 Blink 896ce090 8 <K Map register queue4 Flink 896f16904 Blink 896f875016K Map register queue4 Flink 895a11c84 Blink 895a11c832K Map register queue4 Flink 895a11d04 Blink 895a11d064K Map register queue4 Flink 895a11d84 Blink = 895a11d8List of free HCD queue heads4 Flink 896c44004 Blink 896c4200list of used HCD queue heads4 Flink 895a11e84 Blink 895a11e8list of used HCD QTD4 Flink 895a11f84 Blink 895a11f8Devices that have HCD QH's All queue heads are empty4Count of free HCD qu >eue heads 000000564Count of used HCD queue heads 000000004Count of free HCD queue TD's 000000824Count of used HCD queue TD's 000000004Periodic list physical address ffffffff454b00004Periodic list virtual address 896ca0004Periodic shadow list virtual address 896cc0004Current periodic frame 000000314Count of tries to get control from BIOS 000000004Ports with pending C_PORT_RESET 0000 ?0000000000004Asynchronous hcdqh flink 896c40004Asynchronous hcdqh blink 896c42804Pending Remove HCDQH queue flink 895a16084Pending Remove HCDQH queue blink 895a16084Halted errors 000000004Data buffer errors 000000004Babble errors 000000004Transaction errors 000000004Missed micro frame errors 000000004Err er@rors 00000000SDA> 2 ENDPOINTC Displays information about a device's endpoint. Devices can haveD multiple endpoints with each endpoint having a corresponding pipe. Format USB SHOW ENDPOINT [address] 3 ExampleSDA> USB SHO ENDPOINT 896eabd0'Structure type is ENDPOINT'Interface pointer 896f1790'Endpoint descriptor pointer 896f1722" Descriptor Length 00000007" Type 00000005" A Address 00000081" ED # 00000001 Direction: In" Attributes 00000003% Type: Interrupt! Maxpacket low byte 00000001! Maxpacket high byte 00000000! Polling Interval 0000000c'Endpoint number 00000001'Pipe 896cd890SDA>2 HID4 Formats various Human Interface Devices "HID" data structures. 3 COLLECTION, Formats the HID collection data Bstructure. Format& USB SHOW HID COLLECTION [address] 4 Example&SDA> USB SHOW HID COLLECTIONS 8968b090,Forward pointer to next collection: 00000000,Forward pointer to next collection: 00000000&This is a collection: 024Collection type: Application part,Parent collection address: 00000000,Main item Flink: 896f9810,Main item Blink: 896fa390,Number of main items: 00000005,Number of sub Citems: 00000001,Subcollection Flink: 896f9610,Subcollection Blink: 896f95d0SDA> 3 CONTEXTC Displays the HID context block. Every HID device has one context2 block that it shares with the HID common driver. Format# USB SHOW HID CONTEXT [address] 4 Example"SDA> USB SHOW HID CONTEXT 896F7A50.Flags : 00000000.Interface handle : 896f5bd0.Device handle : 896e Ddb10.Pointer to Configuration Descriptor : 896f1bd0.Pointer to Interface Descriptor : 896f1bf2.Pointer to HID Descriptor : 896f9550.Report descriptor : 8968c390.Report descriptor size in bytes : 0000007c.Pointer to Physical Descriptor : 00000000.Endpoint count : 00000001.Control Pipe Handle : 896f4b50.I/O's outstanding on control pipe : 00000000.Input Pipe Handle : 896fb8d0.Output Pipe Handle E : 00000000.Pointer to collection array : 8968b090.Number of collection in array : 00000004.HID drivers UCB address : 896f5ec0.Functions UCB address : 896fb380SDA>3 ITEM! Displays data about a HID item. Format USB SHOW HID ITEM [address] 4 ExampleSDA> USB SHO HID ITEM 896f9850&Items forward link pointer : 896f9890&Items backward link pointer : 896f9820Global item type9Item tag is : 0000 F usage page tag0Item data is : 00000009 ButtonsSDA>3 MAIN& Displays data about a HID main item. Format USB SHOW HID MAIN [address] 4 ExampleSDA> USB SHOW HID MAIN 896f98109Main item Forward link : 896F99D09Main item Backward link : 8968b0a43This is a main item : 01JMain item tag : 00000008 Input Item tag9Main item data G : 00000002N Data, Variable, Absolute, Nowrap, Linear, Preferred state, No Null position9Main item's item queue flink : 896f98509Main item's item queue blink : 896f96d09Pointer to collection this main item is part of: 8968b090SDA> 3 REPort 4 Formats the HID report into an easaily read format Format2 USB SHO HID REPORT [address_of_context_block] 4 Example SDA> usb sho hid report 89716D90NItem H Hex ValueP--------------------------------------------------------------------------------G Generic Desktop 05GUsage (reserved) 09GCollection Application a1G Keyboard Keypad 05G Usage Minimum (e0) 19GI Usage Maximum (e7) 29G Logical Minimum (00) 15G Logical Maximum (01) 25G Report Size (01) 75G Report Count (08) 95G Input (Data, Variable) 81G Report Count (01) J 95G Report Size (08) 75G Input (Constant) 81G Report Count (05) 95G Report Size (01) 75G LEDs 05G Usage Minimum (01) 19G Usage Maximum (05) K 29G Output (Data, Variable) 91G Report Count (01) 95G Report Size (03) 75G Output (Constant) 91G Report Count (06) 95G Report Size (08) 75G Logical Minimum (00) L 15G Logical Maximum (e700) 26G Keyboard Keypad 05G Usage Minimum (00) 19G Usage Maximum (e7) 29G Input (Data, Array) 81GEnd Collection c0SDA>2 HUB' DisplaysM information about a USB hub. Format USB SHOW HUB [address] 3 ExampleSDA> usb show hub 8974ded0(Hub address is: 8974ded0(Descriptor header Flink 89750e50(Descriptor header Blink 89749590(Pointer to array descriptor 897317d0(Index 00000002(Flags 0 -> avail 1 ->used 00000001(Numbers of entries in this chunk00000001(Descriptor type 00000002(Lock 0000003a(KPB poinNter 00000000(Host controller UCB 896f5400(Device state 00000010 DEVICE CONFIGURED(Device next state 00000000 UNKNONW STATE(Port number 00000001(Speed 0->full 1->low 2->High 00000002(Tier level 00000001(USB bus address 00000002(Reference count 00000001Flag(s) DEVICE_IS_CONNECTEDFlag(s) DEVICE_CONFIG_DEVICE(Default pipe 8973 O1f10(Bus device is attached to 89731750(Upstream hub address 89749590(Default pipe requests Flink 8974df18(Default pipe requests Blink 8974df18-Driver name SYS$HUBDRIVER(Device descriptor length 00000012(Descriptor type 00000001(Revision 00000200(Device class 00000009(Device sub class 00000000(Device protocol 00000002(Max packet size P00000040(Vendor ID 0000050d(Product ID 00000234(Manufactures index 00000000(Product index 00000000(Serial number index 00000000(Number of configurations 00000001(Pointer to configuration array 8974de50(Number of configuration desc 00000001(Active configuration pointer 89754c50(Pointer to interface desc array 89754cd0(Default interface array ptr 89754c10(Pointer to endpoint array 89Q74de90( Endpoint Address 8974de90 Device: 8974DED0 Interface: 89754CD0 Desc: 89754C62 Number: 01 Pipe: 89750DD0( Endpoint Address 8974dea8 Device: 8974DED0 Interface: 89754E10 Desc: 89754C72 Number: 01 Pipe: 00000000(Number of interface descriptors 00000002(Number of endpoint descriptors 00000002(Config_value 000000R01(Failed configure attempts 00000000#Structure type is HUB -----Embeded hub descriptor-----(Hub descriptor length 00000009(Descriptor type 00000029(Number of ports 00000004(Characteristics low byte 00000000(Characteristics high byte 00000000(Power on to power good interval 00000032(Hub control current 00000001 Skipping port power control mask'-----End of embeded hub descriptor-----(Hub status change Sendpoint is 000000810Status change pipe handle ffffffff89750dd0(Status change requests Flink 896f0050(Status change requests Blink 896f0050(Number of ports 00000004(Port[1] status is 00000000( next saved bits 00000000(Port[2] status is 00000000( next saved bits 00000000(Port[3] status is 00000000( next saved bits 00000005 status bits( 4-SEP-2008 17:50:10.38 -> T00010301( 4-SEP-2008 17:50:10.48 -> 00010301( 4-SEP-2008 17:50:10.48 -> 00000301( 4-SEP-2008 17:50:10.64 -> 00100303(IDX: 4-SEP-2008 17:50:10.64 -> 00000303(Port[4] status is 00000000( next saved bits 00000000(Hub flags 00000000(Hub port power count 00000000(Array of downstream device ptrs 89754fd0( Port[1] device address 00000000( Port[2] device address 00000000( Port[3] device address 89U750e50( Port[4] device address 00000000(Hub lock is 0000003aSDA> 2 INTERFACEC Displays information about the a device's interface. Devices can have mulitple interfaces. Format! USB SHOW INTERFACE [address] 3 ExampleSDA> USB SHO INTERFACE 896f1790(Structure type is INTERFACE'Flags 00000000'State 00008001/ INTERFACE ACTIVE/ V INTERFACE CONFIG'Device pointer 896eac10'UCB 00000000,Skipping config & deconfig routine addresses Driver name'Default interface address 896f1790'Interface array pointer 896f1790'Interface count 00000002'Active interface index 00000000'Interface descriptor 896f1719'Endpoint array pointer 896e9c50' Endpoint address: 896eabd0 Device: 896EAC10 W Interface: 896F1790 Desc: 896F1722 Number: 01 Pipe: 896CD890'Endpoint count 00000001/Private handle 0000000000000000'Interface spin lock 0000003aSDA>2 OHCIE Shows information about the selected Open Host Controller Interface controller.3 BULK( Shows head endpoint for the bulk list. Format USB SHOW OHCI BULK 4 ExampleSDA> USB SHOW OHCI BULKED[64]ED Flink X 89602ddcED Blink 89602ddcED headED 00000000ED physical address 00000028ED bandwidth 00000000ED next 000000ffED flags 00000001SDA> 3 CONTROL/ Shows the head endpoint for the control list. Format USB SHOW OHCI CONTROL 4 ExampleSDA> USB SHOW OHCI CONTROLED[63]ED Flink 89720800ED Blink 89720800ED headED 00000000ED physical address 00000020ED bandwidth 0000Y0000ED next 000000ffED flags 00000001SDA>3 EDLIST6 Shows the Endpoint list head at a specified address. Format# USB SHOW OHCI EDLIST [address] 4 Example!SDA> USB SHO OHCI EDLIST 896028DCED Flink 896028dcED Blink 896028dcED headED 89720000ED physical address 8972003cED bandwidth 00000000ED next 000000ffED flags 00000000SDA> 3 ENDPOINT# Displays Endpoint list head da$Zta.4 Number) Shows the specified Endpoint list head. Format USB SHOW OHCI ENDPOINT 14 A$ Shows all the Endpoint list heads. Format USB SHOW OHCI ENDPOINT ALL4 BULK# Shows the Bulk list head Endpoint Format USB SHOW OHCI ENDPOINT BULK 4 CONTROL' Shows the Control list head Endpoint. Format# USB SHOW OHCI ENDPOINT CONTROL 4 Interrupt) Shows the Interrupt list head Endpoint. Format% USB SHOW OHCI ENDPOIN[T INTERRUPT 5 ExampleSDA> USB SHOW OHCI ENDPOINT 1ED[01]ED Flink 896028f0ED Blink 896028f0ED headED 89720040ED physical address 8972007cED bandwidth 00000000ED next 00000000ED flags 000000003 HCCA4 Shows the contents of the Host Communcations Area. Format USB SHOW OHCI HCCA 4 ExampleSDA> USB SHO OHCI HCCA)OHCI controllers host communications area2Physical pointer 454403f0 to interrupt \ endpoint 002Physical pointer 454405f0 to interrupt endpoint 012Physical pointer 454404f0 to interrupt endpoint 022Physical pointer 454406f0 to interrupt endpoint 032Physical pointer 45440470 to interrupt endpoint 042Physical pointer 45440670 to interrupt endpoint 052Physical pointer 45440570 to interrupt endpoint 062Physical pointer 45440770 to interrupt endpoint 072Physical pointer 45440430 to interrupt endpoint 082Physical pointer 45440630 to interrupt endpoint 092Physical pointer 4544053 ]0 to interrupt endpoint 102Physical pointer 45440730 to interrupt endpoint 112Physical pointer 454404b0 to interrupt endpoint 122Physical pointer 454406b0 to interrupt endpoint 132Physical pointer 454405b0 to interrupt endpoint 142Physical pointer 454407b0 to interrupt endpoint 152Physical pointer 454403f0 to interrupt endpoint 162Physical pointer 454405f0 to interrupt endpoint 172Physical pointer 454404f0 to interrupt endpoint 182Physical pointer 454406f0 to interrupt endpoint 192Physical p ^ointer 45440470 to interrupt endpoint 202Physical pointer 45440670 to interrupt endpoint 212Physical pointer 45440570 to interrupt endpoint 222Physical pointer 45440770 to interrupt endpoint 232Physical pointer 45440430 to interrupt endpoint 242Physical pointer 45440630 to interrupt endpoint 252Physical pointer 45440530 to interrupt endpoint 262Physical pointer 45440730 to interrupt endpoint 272Physical pointer 454404b0 to interrupt endpoint 282Physical pointer 454406b0 to interrupt endpoint _292Physical pointer 454405b0 to interrupt endpoint 302Physical pointer 454407b0 to interrupt endpoint 31)Hcca Frame Number 0000f57d)Hcca Frame pad 00000000)Hcca Done Head 00000000SDA>3 HCDED< Shows the Host Controller Drivers Endpoint data structure. Format" USB SHOW OHCI HCDED [address] 4 Example!SDA> USB SHOW OHCI HCDED 89720840flink 89602968blink 89602968type 3EDlist`_index 7PausedFlag 0endpoint_state 1! Endpoint activePhysicalAddress 45440870pipe 8975ce10headTD 8971f5c0tailTD 8971f600ReclamationFrame 0request_count 1PausedLink flink 0PausedLink blink 0last_request 8975de20usb_address 00000002endpoint_number 00000001direction 00000002 Outspeed 00000001skip 00000000Format a00000000MaximumPacketSize 00000008TailP 04543163Halted 00000000toggleCarry 00000001HeadP 0454315fNextED 454400f0SDA>3 HCDTDG Shows the Host Controller Drivers Transmit Descriptor data structure. Format" USB SHOW OHCI HCDTD [address] 4 Example!SDA> USB SHOW OHCI HCDTD 8971fd80TDStatus 3$ Transmit notfilledCancelPending 0VirtualAddress 8971fd80PhysicalAddress 45431dbb0nextTD 00000000request 00000000ED 00000000TransferCount 0BufferRounding 00000001Direction_PID 00000002" in from endpointDelayInterrupt 00000000DataToggle 00000003ErrorCount 00000000ConditionCode 00000000CBP 00000000NextTD 00000000BE 00000000SDA> 3 INTERRUPT FormatA USB SHOW OHCI INTERRUPT [interrupt-interval 1,2,4,8, 16, 32] 4 cExampleSDA> USB SHO OHCI INTERRUPT 1*******************************************(Dumping 1Ms list heads and attached ED's*******************************************ED listhead[0]:ED Flink 896028dcED Blink 896028dcED headED 89720000ED physical address 8972003cED bandwidth 00000000ED next 000000ffED flags 00000000Head ED address 89720000flink 00000000blink 00000000type d0EDlist_index 0PausedFlag 0endpoint_state 0( Endpoint unknown statePhysicalAddress 45440030pipe 00000000headTD 8971e000tailTD 8971e000ReclamationFrame 0request_count 0PausedLink flink 0PausedLink blink 0last_request 00000000usb_address 00000000endpoint_number 00000000direction 00000000' Get direction from TDspeed 00000000skip e 00000001Format 00000000MaximumPacketSize 00000000TailP 04543003Halted 00000000toggleCarry 00000000HeadP 04543003NextED 00000000SDA> 3 REGISTERS< Displays the last saved contents of the device's operatingA registers if looking at a crash. On a running system, displays3 the contents of the registers that are just read. Format USB SHOW OHCI REGISTERS 4 ExampleSDA> USB SHO OHCI REGISTERSf2Current OHCI registers as read from the controller5HcRevision 000000105HcControl 000000B4 Control to Bulk ratio 1 : 1 Periodic List Enabled Isochronous Disabled Control List Enabled Bulk List Enabled USB Operational Interrupts routed to bus Remote Wake Up not connected Remote Wake Up Disabled5HcCommandStatus 00000000 Scheduling Overrun Count 05HcInterr guptStatus 00000004 Start of Frame Detected5HcInterruptEnable C000007B" Interrupt on Scheduling Overrun% Interrupt on addition to done head Interrupt on Resume% Interrupt on Frame number overflow& Interrupt on Root Hub Status Change Interrupt on Ownership change" Interrupt on Scheduling Overrun Master Interrupt Enabled5HcInterruptDisable C000007B5HcHCCA h 45451D005HcPeriodCurrentED 000000005HcControlHeadED 454408305HcControlCurrentED 000000005HcBulkHeadED 000000005HcBulkCurrentED 000000005HcDoneHead 000000005HcFmInterval A7782EDF+ Frame Interval 02edf+ Largest full speed frame in bits 02778 F irame Interval toggle set5HcFmRemaining 800004C2+ Frames remaining 004c2! Frames Remaining toggle is set5HcFmNumber 0000F6DA5HcPeriodicStart 00002A275HcLSThreshold 000006285HcRhDescriptorA FF000903* Number of down stream ports 03 Ports are power switched Ports powered individually) Overcurre jnt reported on per port basis# Power on to power good in Ms 5105HcRhDescriptorB 000E00000 Device Removeable bit mask 00000000000000000 Port Power control bit mask 00000000000011105HcRhStatus 000000005HcRhPortStatus[01] 00000303 Device connected Port Enabled Port power is on Low speed device attached5HcRhPortStatus[02] 00000100 No Device connectked Port Disabled Port power is on5HcRhPortStatus[03] 00000100 No Device connected Port Disabled Port power is onSDA>3 UCB9 Displays the OHCI drivers extensions to a standard UCB. Format USB SHOW OHCI UCB 4 ExampleSDA> USB SHO OHCI UCB#Open Host Controller UCB extensions4Direct DMA window base address 00000000000000004I/O handle ffffffff896f7a40,Pointer to USB structure 89700d l50,Pointer to saved device registers 89718f00,Pointer to HCCA 8971dd00,HCCA PCI buss address 45451d00,Controler revision 00000010,Root hub address 00000001,Number of ports 00000003Status change request queue, Flink 89723210, Blink 89723210Connected end points queue, Flink 89602898, Bli mnk 89602898Free Endpoints queue, Flink 897208c0, Blink 897207c0,Count of free ED 0000005dFree transfer descriptor queue, Flink 8971fd80, Blink 8971fcc0,Count of free TD 0000005aUsed transfer descriptor queue, Flink 8971e00c, Blink 8971fd4c,Count of used TD n00000025!Stalled endpoint descriptor queue, Flink 896028c4, Blink 896028c4!Running endpoint descriptor queue, Flink 896028cc, Blink 896028cc Paused endpoint descriptor queue, Flink 896028d4, Blink 896028d4ED lists will not be displayed,Frame Hight part 00070000,Available Bandwidth o00000064,Used Bandwidth 00000008,SO count 00000000,SO stall Frame 00000000,SO Limit Frame 00000000,SO Limit Hit 00000000,SO Stall Hit 00000000,UCM message mailbox 00000000,Vendor ID 00001033,Device ID 00000035SDA>2 PIPED Displays the USB Pipe data structures. A device can have multippleD pipes. Pipes are used to describe communication paths to devices. Format USB SHOW PIPE [address] 3 ExampleSDA> USB SHO INTERFACE 896f1790(Structure type is INTERFACE'Flags 00000000'State 00008001/ INTERFACE ACTIVE/ INTERFACE CONFIG'Device pointer 896eac10'UCB 00000000,Skipping config & deconfig rqoutine addresses Driver name'Default interface address 896f1790'Interface array pointer 896f1790'Interface count 00000002'Active interface index 00000000'Interface descriptor 896f1719'Endpoint array pointer 896e9c50' Endpoint address: 896eabd0 Device: 896EAC10 Interface: 896F1790 Desc: 896F1722 Number: 01 Pipe: 896CD890'Endpoint count 000r00001/Private handle 0000000000000000'Interface spin lock 0000003aSDA> 2 REQUEST> Formats the USB request data structure. You can display the= data structure or event tracing information. The amount of4 tracing data varies from controller to controller. Format USB SHO REQUEST [address]3 TRACE@ Show tracing data for the request through the USB layers. TheE level of detail varies greatly depending upon which host controller is beisng used. Format% USB SHOW REQUEST TRACE [address] 3 Examples4 TraceJ This examples show a request block that has been reused. The next trace. entry to be written is marked by "Index -->"$SDA> USB SHOW REQUEST TRACE 896E9CE0'Structure type 00000005- REQUEST HANDLERequest tracing messages:A 0: 8-SEP-2008 16:12:45.06 - usbd_alloc_request@ 1: 8-SEP-2008 16:12:45.06 - hub_alloc_request>t 2: 8-SEP-2008 16:12:45.06 - hub_port_status< 3: 8-SEP-2008 16:12:45.06 - usbd_transferM 4: 8-SEP-2008 16:12:45.06 - ehci$queue_to_control_endpoint< 5: 8-SEP-2008 16:12:45.06 - usbd_callbackC 6: 8-SEP-2008 16:12:45.06 - usbd_callback_threadG 7: 8-SEP-2008 16:12:45.06 - hub_queue_entry_callback> 8: 8-SEP-2008 16:12:45.06 - hub_port_change< 9: 8-SEP-20u08 16:12:45.06 - usbd_transferM 10: 8-SEP-2008 16:12:45.06 - ehci$queue_to_control_endpoint< 11: 8-SEP-2008 16:12:45.06 - usbd_callbackC 12: 8-SEP-2008 16:12:45.06 - usbd_callback_threadG 13: 8-SEP-2008 16:12:45.06 - hub_queue_entry_callback> 14: 8-SEP-2008 16:12:45.06 - hub_port_changeA 15: 8-SEP-2008 16:12:45.06 - hub_request_status< 16: 8-SEP-2008 16:12:45.06 - usbd_tran vsferI 17: 8-SEP-2008 16:12:45.06 - ehci$queue_to_int_endpoint? Index --> 18: 8-SEP-2008 16:12:44.81 - hub_free_request@ 19: 8-SEP-2008 16:12:44.81 - usbd_free_requestM 20: 8-SEP-2008 16:12:44.41 - ehci$queue_to_control_endpointD 21: 8-SEP-2008 16:12:44.41 - ehci$emulate_root_hubC 22: 8-SEP-2008 16:12:44.41 - ehci$get_port_status< 23: 8-SEP-2008 16:12:44.41 - usbd_callbackC w 24: 8-SEP-2008 16:12:44.41 - usbd_callback_threadG 25: 8-SEP-2008 16:12:44.41 - hub_queue_entry_callback> 26: 8-SEP-2008 16:12:44.41 - hub_port_changeA 27: 8-SEP-2008 16:12:44.41 - hub_request_status< 28: 8-SEP-2008 16:12:44.41 - usbd_transferI 29: 8-SEP-2008 16:12:44.41 - ehci$queue_to_int_endpointN 30: 8-SEP-2008 16:12:44.41 - ehci$q_to_root_hub_int_endpointN 31: x8-SEP-2008 16:12:44.41 - ehci$emulate_root_hub_interruptN 32: 8-SEP-2008 16:12:44.42 - ehci$emulate_root_hub_interruptN 33: 8-SEP-2008 16:12:44.42 - ehci$emulate_root_hub_interrupt< 34: 8-SEP-2008 16:12:44.42 - usbd_callbackC 35: 8-SEP-2008 16:12:44.42 - usbd_callback_threadG 36: 8-SEP-2008 16:12:44.42 - hub_queue_entry_callback@ 37: 8-SEP-2008 16:12:44.42 - hub_status_change? y 38: 8-SEP-2008 16:12:44.42 - hub_free_request@ 39: 8-SEP-2008 16:12:44.42 - usbd_free_requestSDA>4 Data StructureSDA> USB SHOW REQUEST 896E9CE0'Structure type 00000005- REQUEST HANDLE'Chained request pointer 00000000'Pipe address 896cd890/Private handle ffffffff8968a4d0'Retry count 00000000'Saved Buffer length 00000001'Buffer address z 896cdfd0'Buffer system physical address 45511fd0'Buffer length 00000000'Maximum delay 00000000"------ Set up device request -----'Request type 000000a3, Unknown value'Request type 00000000) Get status'Value 00000000- Endponit stall'Index 00000003'Length { 00000004!------ End device request -----(Device request physical address 45501d0c'Flags 00000002'Status 07719923SDA>2 ROOTE Formats the root hubs data strucutre. This is the same as show hubE with the address of the root hub data structure supplied. It saves( having to find the root hub's address. Format USB SHOW ROOT 3 ExampleSDA> USB SHO ROOT(Hub address is: 89749590(Desc |riptor header Flink 8974ded0(Descriptor header Blink 89746690(Pointer to array descriptor 897317d0(Index 00000001(Flags 0 -> avail 1 ->used 00000001(Numbers of entries in this chunk00000001(Descriptor type 00000002(Lock 0000003a(KPB pointer 00000000(Host controller UCB 896f5400(Device state 00000010 DEVICE CONFIGURED(Device next state } 00000000 UNKNONW STATE(Port number 00000000(Speed 0->full 1->low 2->High 00000000(Tier level 00000000(USB bus address 00000001(Reference count 00000001Flag(s) DEVICE_CONFIG_DEVICE(Default pipe 89731e90(Bus device is attached to 89731750(Upstream hub address 00000000(Default pipe requests Flink 897495d8(Default pipe requests Blink 897495d8-Driver name ~ SYS$HUBDRIVER(Device descriptor length 00000012(Descriptor type 00000001(Revision 00000200(Device class 00000009(Device sub class 00000000(Device protocol 00000000(Max packet size 00000000(Vendor ID 00001011(Product ID 00000000(Manufactures index 00000000(Product index 00000000(Serial number index 00000000(Number of configurations 00000001(Pointer to configuration array 89723fd0(Number of configuration desc 00000001(Active configuration pointer 8974c550(Pointer to interface desc array 8972f190(Default interface array ptr 8974c650(Pointer to endpoint array 8974c690( Endpoint Address 8974c690 Device: 89749590 Interface: 8972F190 Desc: 8974C562 Number: 01 Pipe: 8974DDD0( €Number of interface descriptors 00000001(Number of endpoint descriptors 00000001(Config_value 00000001(Failed configure attempts 00000000#Structure type is HUB -----Embeded hub descriptor-----(Hub descriptor length 00000008(Descriptor type 00000029(Number of ports 00000005(Characteristics low byte 00000009(Characteristics high byte 00000000(Power on to power good interval 000000ff(Hub control cu rrent 00000000 Skipping port power control mask'-----End of embeded hub descriptor-----(Hub status change endpoint is 000000810Status change pipe handle ffffffff8974ddd0(Status change requests Flink 89753e10(Status change requests Blink 89753e10(Number of ports 00000005(Port[1] status is 00000000( next saved bits 00000005 status bits( 4-SEP-2008 17:50:09.89 -> 00010001( 4-SEP-2008 17:50:09.99 -> 0001 ‚0001( 4-SEP-2008 17:50:09.99 -> 00000001( 4-SEP-2008 17:50:10.00 -> 00100403(IDX: 4-SEP-2008 17:50:10.00 -> 00000403(Port[2] status is 00000000( next saved bits 00000000(Port[3] status is 00000000( next saved bits 00000000(Port[4] status is 00000000( next saved bits 00000000(Port[5] status is 00000000( next saved bits 00000000(Hub flags 000000ƒ00(Hub port power count 00000000(Array of downstream device ptrs 8974c710( Port[1] device address 8974ded0( Port[2] device address 00000000( Port[3] device address 00000000( Port[4] device address 00000000( Port[5] device address 00000000(Hub lock is 0000003a 2 TOPOLOGYI Shows the topology of all devices connected to the selected controller. Format USB SHOW TOPOLOGY 3 ExampleC This example shows „that we have a high speed hub attached to theJ EHA0 high speed controller, and that the high speed hub has a low speed function with two interfaces.OpenVMS system analyzerSDA> usb set con eha0Controller set to EHA0SDA> usb sho top'--------------- TIER[0] ---------------'Root HUB address is 89749590'--------------- TIER[1] ---------------'High Speed HUB address is 8974ded0'--------------- TIER[2] ---------------'Low Speed Function address is 89750e50J… Interface Address: 89758ED0 UCB: 8975A780 Driver Name: SYS$KBDDRIVERJ Interface Address: 89759010 UCB: 8975E800 Driver Name: SYS$MOUDRIVERSDA>2 UHCI? Displays information about the selected UHCI host controller.3 HCDQH0 Shows a Host Controller Qhehe Head Descriptor. Format" USB SHOW UHCI HCDQH [address] 4 Example SDA> USB SHO UHCI HCDQH 89fde000Host Controller Queue Head4---------------------------------- ----------------4Forward Link pointer † 89fde0504Backward link pointer 896e89484Structure size 0484Structure type 8b4Structure sub type ff4QH physical address 00000000001c00404Device BUS address 0004Endpoint number 0004USBD Endpoint state 000000004Pipe Address 0000 ‡00004Outstanding Requests 00004Pointer to next HCDTD 000000004Previous Horizontal QH VA 89fde5f04Next Horizontal QH VA 89fde2d04Vertical QH/TD link VA 000000004Flags 1 Permanent, 2 delete pending 000000014Last data toggle in a completed PHYTD 004Next data toggle to use 00Physical part of Queue Head4Horizontal Link Pointer ˆ 001c0312 Queue Head4 Phys Address 001c03104vertical Link Pointer 00000001 Terminate set Transmit Descriptor4 Phys Address 00000000SDA>3 HCDTD. Shows a Host controller Transmit Descriptor. Format" USB SHOW UHCI HCDTD [address] 4 Example SDA> USB SHO UHCI HCDTD 89732100"Host Controler Transfer Descriptor4---------------------------------- ----------------4Forward Link p ‰ointer 897585984Backward link pointer 897585984Structure size 0404Strucutre type 8b4Structure sub type fe4Used TD FLINK 8973214c4Used TD BLINK 896e89284USDB Request associated to this TD 897585a04VA of HCDQH for this TD 0 for ISOCH 89fde4b0 HCDTD flags HCDTD Active4NeŠxt HCDTD if multiple queued requests 000000004Adderess Next byte in buffer if segments 000000004Number of bytes left to transfer 00004If segmented bytes transfered so far 00004Physical TD FLINK 89fe02c04 BLINK 89fe02c0SDA>3 PHYTDD Shows a Physical Transmit Descriptor. A transmission can consist + of several Physical Transmit Descriptors. Format" USB SHOW UHCI PHYTD [address] ‹4 Example SDA> USB SHO UHCI PHYTD 89fe02c0Physical Transfer Descriptor4---------------------------------- ----------------4Forward link 897321344Backward lnik 897321343Size 00203Type 8b3sub type fd4Physical address of this TD 001c22d0Physical part of TD4Link Pointer Œ 00000001 Terminate set Transmit Descriptor4 Phys Address 000000004Control and Status Field 050000074 Transfer length 000000074 Transfer status 000000004 Interrupt on complete 1 14 Isocronous TD if set 04 Low Speed device if set 14 Error count 04 Sho rt Packet Detect 1 allow short packet 04Token field 00e882694 Packet ID 694 Device_address 024 Endpoint address 014 Data Toggle 14 Max XFER Length 00074Data Buffer Physical Address 09756410SDA>3 PORTG Show the specified ports status and displays the meaning of thŽe bits. Format USB SHOW OHCI PORT x 4 HISTORY* Shows a list of the last 25 port events. Format! USB SHOW UHCI PORT x HISTORY 5 Examples6 DataSDA> USB SHOW UHCI PORT 14Port 01 Status and Control Register 05a54 Current connection Status 14 Connection changed State 04 Port Enable 14 Port Enable Change 04 Line STS  24 Resume Detected 04 Low Speed Device 14 Port Reset 04 Suspend 0SDA> 6 History!SDA> USB SHOW UHCI PORT 1 HISTORYPort 1 state change history3 0: 9-SEP-2008 17:55:35.31 - 05a33 1: 9-SEP-2008 17:55:35.67 - 05a53 Index --> 2: 9-SEP-2008 18:03:05.42 - 05a5SDA> 3 REGISTERS< Displays the last saved contents of the device's operatingA registers if looking at a crash. On a running system, displays. the contents of the registers are just read. Format USB SHO UHCI REGISTERS 4 ExampleSDA> USB SHOW UHCI REGISTERS<Current UHCI operating registers as read from the controller,Extended Host Controller Operating Registers4---------------------------------- ----------4USB Commad Register 014 Run/S ‘top 14 Host Controller Rest 04 Global Reset 04 Enter Global Suspend 04 Forced Global resume 04 Software Debug 04 Configure Flag 04 Max Packet 1 -> 64 0 -> 32 bytes 04USB Status Register 004 TD completed ’ 04 Error Occured 04 Device Resumed 04 Host HW error 04 Error processing TD 04 Controller Halted 04USB Interrupt Enable Register 0f4 Timeout 14 Resume 14 Interrupt on Completion “ 14 Short Transfer 14Frame Index Register 06a64Frame List Base Address 001be0004Start or Frame Timing Modification 404Port 01 Status and Control Register 05a54 Current connection Status 14 Connection changed State 04 Port Enable 14 Port Enable Change 04 Line STS ” 2 Undefined error4 Resume Detected 04 Low Speed Device 14 Port Reset 04 Suspend 04Port 02 Status and Control Register 05804 Current connection Status 04 Connection changed State 04 Port Enable 04 Port Enable• Change 04 Line STS 0 Port enabled4 Resume Detected 04 Low Speed Device 14 Port Reset 04 Suspend 0SDA>3 TRACE? Decodes the what driver tracing is enabled. Just because it > is enabled does not mean it is active. SDA tracing must be  loaded and active. Form–at USB SHOW UHCI TRACE 4 ExampleSDA> usb sho uhci trace7The following trace points are active 00000000000000ff7------------------------------------------------------- Control requests Interrupt requests Bulk requests- Make TD's for request active on controller" Report setting for TD's toggles Completions of TD's4 Log everytime Interrupt Service Routine is called Normal successful interrupts7----------------------------------------------------—---3 UCB9 Displays the UHCI drivers extensions to a standard UCB. Format USB SHOW UHCI UCB 4 ExampleSDA> USB SHOW UHCI UCB(Universal Host Controller UCB extensions4---------------------------------- ----------------4I/O handle ffffffff8971fa004Direct DMA Base 00000000000000004Frame List PA 00000000001be0004Frame List VA 89fdc0004Register Offset ˜ 000000004Number of root hub ports 024Logging mailbox ucb address 000000004Pointer to USB BUS structure 8971ca104Pointer to routine driver table 897300004Root Hub address 00000001Status change request queue4 FLINK 89750ad04 BLINK 89750ad0 Free HCDTD's4 FLINK 897332c04 ™ BLINK 89733200 Used HCDTD's4 FLINK 8973324c4 BLINK 8973328c4Count of free HCDTD's 007d4Count of used HCDTD's 0002Free physical TD's4 FLINK 89fe1f604 BLINK 89fe1f004Count of free PHYTD's 00fd4Count of used PHYTD's 0002 šFree HCDQHD's4 FLINK 89fde5504 BLINK 89fde550 Used HCDQHD's4 FLINK 89fde4604 BLINK 89fde4604Count of free HCDQH's 00564Count of used HCDQH's 0004Permanent Queue Heads4Interrupt period 1 Ms 89fde0004Interrupt period 2 Ms 89fde0504Interrupt period › 4 Ms 89fde0a04Interrupt period 8 Ms 89fde0f04Interrupt period 16 Ms 89fde1404Interrupt period 32 Ms 89fde1904Interrupt period 64 Ms 89fde1e04Interrupt period 128 Ms 89fde2304Unlink Queue Head 89fde2804Low Speed Control Queue Head 89fde2d04Full Speed Control Queue Head 89fde3204Bulk Queue Head œ 89fde3704Terminate Queue Head 89fde3c04Root hub poller 1 -> active 14Bit mask of root hub ports finished reset 000000004Total interrupts 00000000000005624TD complete interrupts 00000000000005624TD error interrupts 00000000000000004Count of resume events 00000000000000004Number of times controller halted 0000000000000000%TQE and PCI config space data omittedError counters4 I /O's completed with error(s) 000005554 Bit stuffing error(s) 000000004 CRC error 000000004 NAK receied 000005554 Babble detected 000000004 Data Buffer error(s) 000000004 Stall event(s) 000000004 Timeout error(s) 00000000Saved operating registers4Command 00014Status 00004Interrupt Summary 000f4Frame Number 00004Frame list address 001be0004Start of Frame time modifier 404Root Hub Port 1 05a54 Port 2 05804Port History next slot 00024Debug tracing bits 00000000000000ffSDA>ww