USB2.0集线器HUB
+ -

USB3.2集线器设备描述符

2022-06-09 1063 0

USB集线器设备描述符的定义和USB设备的描述符定义一致,详见:http://www.usbzh.com/article/detail-104.html


    =========================== USB Port20 ===========================

Connection Status        : 0x01 (Device is connected)
Port Chain               : 1-20
Properties               : 0x03
 IsUserConnectable       : yes
 PortIsDebugCapable      : yes
 PortHasMultiCompanions  : no
 PortConnectorIsTypeC    : no
ConnectionIndex          : 0x14 (Port 20)
CompanionIndex           : 0
 CompanionHubSymLnk      : USB#ROOT_HUB30#4&31789dfb&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
 CompanionPortNumber     : 0x09 (Port 9)
 -> CompanionPortChain   : 1-9

      ========================== Summary =========================
Vendor ID                : 0x05E3 (Genesys Logic, Inc.)
Product ID               : 0x0626
USB Version              : 3.2 Gen 1
Port maximum Speed       : SuperSpeed
Device maximum Speed     : SuperSpeed
Device Connection Speed  : SuperSpeed
Self powered             : yes
Demanded Current         : 0 mA
Used Endpoints           : 2

      ========================== USB Hub =========================

Hub Symbolic Link        : USB#VID_05E3&PID_0626#5&1f3e3f24&0&20#{f18a0e88-c30c-11d0-8815-00a0c906bed8}

        +++++++++++++++++ Device Information ++++++++++++++++++
Device Description       : Generic SuperSpeed USB Hub
Device Path              : \\?\USB#VID_05E3&PID_0626#5&1f3e3f24&0&20#{f18a0e88-c30c-11d0-8815-00a0c906bed8} (GUID_DEVINTERFACE_USB_HUB)
Kernel Name              : \Device\USBPDO-20
Device ID                : USB\VID_05E3&PID_0626\5&1F3E3F24&0&20
Hardware IDs             : USB\VID_05E3&PID_0626&REV_0655 USB\VID_05E3&PID_0626
Driver KeyName           : {36fc9e60-c465-11cf-8056-444553540000}\0059 (GUID_DEVCLASS_USB)
Driver                   : \SystemRoot\System32\drivers\UsbHub3.sys (Version: 10.0.14393.3053  Date: 2019-06-13)
Driver Inf               : C:\Windows\inf\usbhub3.inf
Legacy BusType           : PNPBus
Class                    : USB
Class GUID               : {36fc9e60-c465-11cf-8056-444553540000} (GUID_DEVCLASS_USB)
Service                  : USBHUB3
Enumerator               : USB
Location Info            : Port_#0020.Hub_#0001
Location IDs             : PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(20), ACPI(_SB_)#ACPI(PCI0)#ACPI(XHC_)#ACPI(RHUB)#ACPI(SS04)
Container ID             : {9f4b56f0-1df6-11e0-ac64-0800200c9a66}
Manufacturer Info        : (Standard USB HUBs)
Capabilities             : 0x84 (Removable, SurpriseRemovalOK)
Status                   : 0x0180600A (DN_DRIVER_LOADED, DN_STARTED, DN_DISABLEABLE, DN_REMOVABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER)
Problem Code             : 0
Address                  : 20
IdleInWorkingState       : 1
Power State              : D0 (supported: D0, D1, D2, D3, wake from D0, wake from D1, wake from D2)

        +++++++++++++++++ Registry USB Flags +++++++++++++++++
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\05E306260655
 osvc                    : REG_BINARY 00 00

        ------------------- USB Hub Descriptor -----------------
bDescriptorLength        : 0x09 (9 bytes)
bDescriptorType          : 0x29 (Hub Descriptor)
bNumberOfPorts           : 0x04 (4 Ports)  Hint: Ports 0 does not exist
wHubCharacteristics      : 0x0000
 Power switching         : Ganged
 Compound device         : No
 Over-current protection : Global
 TT Think Time           : At most 8 FS bit times
 Port Indicators         : Not supported
bPowerOnToPowerGood      : 0x00 (0 ms)
bHubControlCurrent       : 0x90 (144 mA)
DeviceRemovable          : 0x00
 Bit 0                   : 0 (reserved, any value)
 Bit 1                   : 0 (Device at Port 1 is removable)
 Bit 2                   : 0 (Device at Port 2 is removable)
 Bit 3                   : 0 (Device at Port 3 is removable)
 Bit 4                   : 0 (Device at Port 4 is removable)
 Bit 5                   : 0 (unused, must be 0)
 Bit 6                   : 0 (unused, must be 0)
 Bit 7                   : 0 (unused, must be 0)
Data (HexDump)           : 09 29 04 00 00 00 90 00 FF                        .).......
HubIsBusPowered          : 0x00 (Self Powered)

      ---------------- Extended USB Hub Descriptor ---------------
HubType                  : 0x03 (Usb30Hub - hub descriptor is defined in USB 3.0 specification)
HighestPortNumber        : 0x04 (Port 4 is the highest)

        ---------------- USB 3.0 Hub Descriptor ---------------
bLength                  : 0x0C (12 bytes)
bDescriptorType          : 0x2A
bNumberOfPorts           : 0x04 (4 Ports)
wHubCharacteristics      : 0x0000
 Power switching         : Ganged
 Compound device         : No
 Over-current protection : Global
 TT Think Time           : At most 8 FS bit times
 Port Indicators         : Not supported
bPowerOnToPowerGood      : 0x00
bHubControlCurrent       : 0x90 (576 mA)
bHubHdrDecLat            : 0x04 (0.4 祍)
wHubDelay                : 0x15E (350 ns)
DeviceRemovable          : 0x00
 Bit 0                   : 0 (reserved, any value)
 Bit 1                   : 0 (Device at Port 1 is removable)
 Bit 2                   : 0 (Device at Port 2 is removable)
 Bit 3                   : 0 (Device at Port 3 is removable)
 Bit 4                   : 0 (Device at Port 4 is removable)
 Bit 5                   : 0 (unused, must be 0)
 Bit 6                   : 0 (unused, must be 0)
 Bit 7                   : 0 (unused, must be 0)
Data (HexDump)           : 0C 2A 04 00 00 00 90 04 5E 01 00 00               .*......^...

        ----------------- USB Hub Capabilities ----------------
HubIs2xCapable           : 0 (Is not 2.x capable)
Data (HexDump)           : 00 00 00 00                                       ....

        --------------- USB Hub Capabilities Ex ---------------
HighSpeedCapable         : 0 (No)
HighSpeed                : 0 (No)
MultiTtCapable           : 0 (No)
HubIsMultiTt             : 0 (No)
ArmedWakeOnConnect       : 0 (No)
IsBusPowered             : 0 (No)
IsRoot                   : 0 (No)
Data (HexDump)           : 00 00 00 00                                       ....

        ---------------- Connection Information ---------------
Connection Index         : 0x14 (Port 20)
Connection Status        : 0x01 (DeviceConnected)
Current Config Value     : 0x01 (Configuration 1)
Device Address           : 0x18 (24)
Is Hub                   : 0x01 (yes)
Device Bus Speed         : 0x02 (High-Speed) -> not true, see below in Connection Information V2
Number Of Open Pipes     : 0x01 (1 pipe to data endpoints)
Pipe[0]                  : EndpointID=1  Direction=IN   ScheduleOffset=0  Type=Interrupt  wMaxPacketSize=0x2     bInterval=8   -> 140 Bits/ms = 17500 Bytes/s
Data (HexDump)           : 14 00 00 00 12 01 20 03 09 00 03 09 E3 05 26 06   ...... .......&.
                           55 06 01 02 00 01 01 02 01 18 00 01 00 00 00 01   U...............
                           00 00 00 07 05 81 13 02 00 08 00 00 00 00         ..............

        --------------- Connection Information V2 -------------
Connection Index         : 0x14 (20)
Length                   : 0x10 (16 bytes)
SupportedUsbProtocols    : 0x04
 Usb110                  : 0 (no, port not supports USB 1.1) -> but Companion Port 1-9 does
 Usb200                  : 0 (no, port not supports USB 2.0) -> but Companion Port 1-9 does
 Usb300                  : 1 (yes, port supports USB 3.0)
 ReservedMBZ             : 0x00
Flags                    : 0x03
 DevIsOpAtSsOrHigher     : 1 (Device is operating at SuperSpeed or higher)
 DevIsSsCapOrHigher      : 1 (Device is SuperSpeed capable or higher)
 DevIsOpAtSsPlusOrHigher : 0 (Device is not operating at SuperSpeedPlus or higher)
 DevIsSsPlusCapOrHigher  : 0 (Device is not SuperSpeedPlus capable or higher)
 ReservedMBZ             : 0x00
Data (HexDump)           : 14 00 00 00 10 00 00 00 04 00 00 00 03 00 00 00   ................

    ---------------------- Device Descriptor ----------------------
bLength                  : 0x12 (18 bytes)
bDescriptorType          : 0x01 (Device Descriptor)
bcdUSB                   : 0x320 (USB Version 3.2)
bDeviceClass             : 0x09 (Hub)
bDeviceSubClass          : 0x00
bDeviceProtocol          : 0x03 (SuperSpeed hub)
bMaxPacketSize0          : 0x09 (9 bytes)
idVendor                 : 0x05E3 (Genesys Logic, Inc.)
idProduct                : 0x0626
bcdDevice                : 0x0655
iManufacturer            : 0x01 (String Descriptor 1)
 Language 0x0409         : "GenesysLogic"
iProduct                 : 0x02 (String Descriptor 2)
 Language 0x0409         : "USB3.1 Hub"
iSerialNumber            : 0x00 (No String Descriptor)
bNumConfigurations       : 0x01 (1 Configuration)
Data (HexDump)           : 12 01 20 03 09 00 03 09 E3 05 26 06 55 06 01 02   .. .......&.U...
                           00 01                                             ..

    ------------------ Configuration Descriptor -------------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x02 (Configuration Descriptor)
wTotalLength             : 0x001F (31 bytes)
bNumInterfaces           : 0x01 (1 Interface)
bConfigurationValue      : 0x01 (Configuration 1)
iConfiguration           : 0x00 (No String Descriptor)
bmAttributes             : 0xE0
 D7: Reserved, set 1     : 0x01
 D6: Self Powered        : 0x01 (yes)
 D5: Remote Wakeup       : 0x01 (yes)
 D4..0: Reserved, set 0  : 0x00
MaxPower                 : 0x00 (0 mA)
Data (HexDump)           : 09 02 1F 00 01 01 00 E0 00 09 04 00 00 01 09 00   ................
                           00 01 07 05 81 13 02 00 08 06 30 00 00 02 00      ..........0....

        ---------------- Interface Descriptor -----------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x04 (Interface Descriptor)
bInterfaceNumber         : 0x00 (Interface 0)
bAlternateSetting        : 0x00
bNumEndpoints            : 0x01 (1 Endpoint)
bInterfaceClass          : 0x09 (Hub)
bInterfaceSubClass       : 0x00
bInterfaceProtocol       : 0x00
iInterface               : 0x01 (String Descriptor 1)
 Language 0x0409         : "GenesysLogic"
Data (HexDump)           : 09 04 00 00 01 09 00 00 01                        .........

        ----------------- Endpoint Descriptor -----------------
bLength                  : 0x07 (7 bytes)
bDescriptorType          : 0x05 (Endpoint Descriptor)
bEndpointAddress         : 0x81 (Direction=IN EndpointID=1)
bmAttributes             : 0x13 (TransferType=InterruptNotification)
wMaxPacketSize           : 0x0002
bInterval                : 0x08 (128 microframes -> 16 ms)
Data (HexDump)           : 07 05 81 13 02 00 08                              .......

        ------ SuperSpeed Endpoint Companion Descriptor -------
bLength                  : 0x06 (6 bytes)
bDescriptorType          : 0x30 (SuperSpeed Endpoint Companion Descriptor)
bMaxBurst                : 0x00 (up to 1 packets per burst)
bmAttributes             : 0x00
wBytesPerInterval        : 0x0002 (2 bytes)
Data (HexDump)           : 06 30 00 00 02 00                                 .0....

      ---------- Binary Object Store (BOS) Descriptor -----------
bLength                  : 0x05 (5 bytes)
bDescriptorType          : 0x0F (Binary Object Store)
wTotalLength             : 0x002A (42 bytes)
bNumDeviceCaps           : 0x03
Data (HexDump)           : 05 0F 2A 00 03                                    ..*..

        ------------- USB 2.0 Extension Descriptor ------------
bLength                  : 0x07 (7 bytes)
bDescriptorType          : 0x10 (Device Capability Descriptor)
bDevCapabilityType       : 0x02 (USB 2.0 Extension)
bmAttributes             : 0x06
 LPMCapable              : 1 (Link Power Management protocol is supported)
 BESLAndAlternateHIRD    : 1 (BESL & Alternate HIRD definitions are supported)
 BaselineBESLValid       : 0 (not valid)
 DeepBESLValid           : 0 (not valid)
 BaselineBESL            : 0
 DeepBESL                : 0
Data (HexDump)           : 07 10 02 06 00 00 00                              .......

        ----- SuperSpeed USB Device Capability Descriptor -----
bLength                  : 0x0A (10 bytes)
bDescriptorType          : 0x10 (Device Capability Descriptor)
bDevCapabilityType       : 0x03 (SuperSpeed USB Device Capability)
bmAttributes             : 0x00
 Bit 0 Reserved          : 0x00
 Bit 1 LTM Capable       : 0x00 (no)
 Bit 7:2 Reserved        : 0x00
wSpeedsSupported         : 0x0E (Full-Speed, High-Speed, SuperSpeed)
bFunctionalitySupport    : 0x01 (lowest speed with all the functionality is 'Full-Speed')
bU1DevExitLat            : 0x08   (less than 8 祍)
wU2DevExitLat            : 0x00BE (less than 190 祍)
Data (HexDump)           : 0A 10 03 00 0E 00 01 08 BE 00                     ..........

        --------- Container ID Capability Descriptor ----------
bLength                  : 0x14 (20 bytes)
bDescriptorType          : 0x10 (Device Capability Descriptor)
bDevCapabilityType       : 0x04 (Container ID Capability)
bReserved                : 0x00
Container ID (UUID)      : 9F4B56F0-1DF6-11E0-AC64-0800200C9A66
Data (HexDump)           : 14 10 04 00 F0 56 4B 9F F6 1D E0 11 AC 64 08 00   .....VK......d..
                           20 0C 9A 66                                        ..f

      -------------------- String Descriptors -------------------
             ------ String Descriptor 0 ------
bLength                  : 0x04 (4 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language ID[0]           : 0x0409 (English - United States)
Data (HexDump)           : 04 03 09 04                                       ....
             ------ String Descriptor 1 ------
bLength                  : 0x1A (26 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "GenesysLogic"
Data (HexDump)           : 1A 03 47 00 65 00 6E 00 65 00 73 00 79 00 73 00   ..G.e.n.e.s.y.s.
                           4C 00 6F 00 67 00 69 00 63 00                     L.o.g.i.c.
             ------ String Descriptor 2 ------
bLength                  : 0x16 (22 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "USB3.1 Hub"
Data (HexDump)           : 16 03 55 00 53 00 42 00 33 00 2E 00 31 00 20 00   ..U.S.B.3...1. .
                           48 00 75 00 62 00                                 H.u.b.
HID人机交互QQ群:564808376    UAC音频QQ群:218581009    UVC相机QQ群:331552032    BOT&UASP大容量存储QQ群:258159197    STC-USB单片机QQ群:315457461    USB技术交流QQ群2:580684376    USB技术交流QQ群:952873936   

0 篇笔记 写笔记

USB音箱 UAC设备描述符分析
这里看到,USB规范采用的是USB1.1版本,不过字符串中又显示的是”USB2.0 Device”,所以这里就有点迷~关于设备描述符各字段的详细解释,详见USB规范中设备描述符一节。从bDeviceClass,bDeviceSubClass和bDeviceSubClass都被置为0来看,这是一个典......
USB设备和USB集线器HUB的数据传输
USB高速集线器与USB根集线器之间只通过USB使用USB高速通讯讯方式,而对于低速或全速的数据通讯的转换是由其挂接的最近的USB-HUB负责完成转换。如下图:对于USB高速设备和USB高速HUB,使用高速通讯。对于连接到高速HUB上的低速或全速USB-HUB,使用低速或全速通讯方式。对于连接到高速......
Windows10设备管理器USB设备描述符请求失败(未知的usb设备)
在电脑中插入USB设备后,有时会报USB设备描述符请求失败,导致USB设备在设备管理器中枚举失败。一种专业的解决办法见:http://www.usbzh.com/article/detail-1059.htmlUSB设备描述符请求失败现象USB设备描述符请求失败在设备管理器中发现通用串行总线......
USB设备描述符布局
通用串行总线USB以其强大的功能,方便的连接广受用户使用,这些都得益于USB灵活多样的描述符。USB设备通过配置描述符,接口描述符,端点描述符等描述符实现设备功能。USB设备灵活多变的角色转换是通过USB的配置描述符来实现的,但一个USB设备有多个配置描述符时,就表明了这个USB设备支持多角的转换......
USB超高速设备描述符的bMaxPacketSize0为0x09
USB3的设备中,其USB设备描述符和2.0的结构一致,不过在含义上有的字段稍有区别。比如说在USB3.2的版本中,其设备描述符中的bMaxPacketSize0和USB2.0有就所不同。在USB2.0中bMaxPacketSize0代表的是USB设备默认端点0的最大包的大小,一般为0x40即64字......
华为UAC耳机 设备描述符
从UAC的设备描述符可知,音频是属于接口级别的,在UAC1.0版本,是需要将相关的配置参数bDeviceClass,bDeviceSubClass,bDeviceProtocoll置为0。对于别的参数,可参考USB设备描述符进行相关配置。本设备只有一个配置描述符,且端点0的bMaxPacketSiz......
HID 设备描述符关系
HID设备连接到USB主机后,主机通过发送Get_Descriptor请求读取HID设备的描述符,了解描述符对了解USB设备是至关重要的。HID设备的描述符HID设备除了支持USB设备的5种标准描述符之外,还支持HID设备特有的3种描述符。这些描述符是:USB标准描述符:设备描述符、配置描述符、......
USB设备描述符、配置描述符、接口描述符和端点描述符的拓扑关系
在USB设备的逻辑组织中,包含设备、配置、接口和端点4个层次。每个USB设备都提供了不同级别的配置信息,可以包含一个或多个配置,不同的配置使设备表现出不同的功能组合(在探测/连接期间需从其中选定一个),配置由多个接口组成。一次只能有一个配置是活动的。大多数的设备只有一个配置和一个接口,当一个设备......
USB 集线器HUB
通过USB集线器,可以很简单的实现主机扩展USB设备的数量。在USB协议规范中,USB集线器作为了一种特殊的设备在存在,USB规范专门为其定义了一种设备类。USB集线器的结钩集线器由6个组件组成:上行端口:用于连接上层的USB集线器或者根集线器。下行端口:用于连接下层的USB功能设备或扩展的U......
USB 设备描述符
USB设备描述符是USB设备在进行插拔和初始化过程中,最先被主机读取的一部分信息,它包含了设备的一些基本属性信息,如USB规范版本、设备类、设备子类、设备协议、最大数据包长度等。USB设备描述符通常是在设备插入时被主机读取,在获取到设备描述符后,主机可以自动加载相应的驱动程序,完成设备的初始化和配......
USB-UAC麦克风 设备描述符
UAC麦克风采用的设备描述符结构和USB设备描述符的结构一致,只是有些字段的值有所要求。偏移地址字段长度值描述0bLength10x12设备描述符的总和长度1bDescriptorType10x01设备描述符类型2bcdUSB 20x01001.00使用的USB版本号4bDeviceClass10x......
USB 设备限定描述符
设备限定描述符描述符用在当一个设备能够工作在不同的速度下时,会获取设备限定描述符。同时支持全速与高速的设备,必须有一个Device Qualifier Descriptor。当设备转换速度的时候,设备描述符中的某些字段可能改变。Device Qualifier Descriptor描述符储存当前不......
USB2.0设备枚举-获取设备描述符事务
USB设备与主机进行数据传输或进行设备配置时,有一些常见的术语如事务,令牌,包等。USB设备在枚举过程中有2次获取设备描述符的过程,这里分别标识为首次获取设备描述符和分配地址后的获取描述符。两次获取描述符的过程基本类似,惟一的区别是首次首次获取描述符由于设备尚未分配地址,故使用地址0与主机进行通......
USB主机端控制器集线器与USB设备类型分类
USB根据设备功能及类型,可以分USB主机端,USB设备端。USB主机端-USB hostUSB主机端也叫USB控制器,包括两大部分,分别为与系统总线进行数据交互的USB控制器和USB总线的根集线器。一个USB主机端就是一个独立的USB总线,其按USB版本可分为OHCI,UHCI,EHCI,xHC......
UAC设备描述符
由于音频设备在USB规范中只能定义在接口级别。所在USB规范中没有定义特定的音频设备描述符,所以想要找到音频设备的信息,是在这些设备(如复合设备)的接口描述符信息中找到。因此设备描述符中的bDeviceClass, bDeviceSubClass 和bDeviceProtocol 中的应为0xEF,......
关注公众号
取消
感谢您的支持,我会继续努力的!
扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

您的支持,是我们前进的动力!