* 5G but should be 10G?
@ 2020-02-20 21:23 James
2020-02-21 12:13 ` Mathias Nyman
0 siblings, 1 reply; 2+ messages in thread
From: James @ 2020-02-20 21:23 UTC (permalink / raw)
To: linux-usb
I have this https://www.adata.com/ca/specification/204
on this motherboard https://asrock.com/MB/AMD/B450M%20Pro4/index.us.asp
I think I should get 10G but it reports 5G.
lsusb -d 125f:db8a
Bus 002 Device 004: ID 125f:db8a A-DATA Technology Co., Ltd. ADATA USB
Flash Drive
$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
|__ Port 4: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
$ sudo lsusb -d 125f:db8a -v
Bus 002 Device 004: ID 125f:db8a A-DATA Technology Co., Ltd. ADATA USB
Flash Drive
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x125f A-DATA Technology Co., Ltd.
idProduct 0xdb8a
bcdDevice 11.00
iManufacturer 1 ADATA
iProduct 2 ADATA USB Flash Drive
iSerial 3 29C0501520190025
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x002c
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 504mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 8
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 8
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x0016
bNumDeviceCaps 2
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000006
BESL Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000c
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 2
Lowest fully-functional device speed is High Speed (480Mbps)
bU1DevExitLat 4 micro seconds
bU2DevExitLat 4 micro seconds
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0000
(Bus Powered)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 5G but should be 10G?
2020-02-20 21:23 5G but should be 10G? James
@ 2020-02-21 12:13 ` Mathias Nyman
0 siblings, 0 replies; 2+ messages in thread
From: Mathias Nyman @ 2020-02-21 12:13 UTC (permalink / raw)
To: James, linux-usb
On 20.2.2020 23.23, James wrote:
> I have this https://www.adata.com/ca/specification/204
> on this motherboard https://asrock.com/MB/AMD/B450M%20Pro4/index.us.asp
> I think I should get 10G but it reports 5G.
Nope, specs say its a USB 3.2 Gen1 device.
Gen1 means 5Gbps signaling rate (per lane)
Gen2 means 10Gbps signaling rate (per lane)
USB 3.2 added optional dual lane, dual lane written as Gen?x2
USB 3 = USB3.1 Gen1 = USB 3.2 Gen1x1 (one 5Gbps lane)
USB 3.1 Gen2 = USB 3.2 Gen2x1 (one 10Gbps lane)
USB 3.2 Gen1x2 = (two 5Gbps lanes, 10Gbps total)
USB 3.2 Gen2x2 = (two 10Gbos lanes, 20Gbps total)
>
> lsusb -d 125f:db8a
> Bus 002 Device 004: ID 125f:db8a A-DATA Technology Co., Ltd. ADATA USB Flash Drive
>
> $ lsusb -t
> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
> |__ Port 4: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
>
> $ sudo lsusb -d 125f:db8a -v
>
> Bus 002 Device 004: ID 125f:db8a A-DATA Technology Co., Ltd. ADATA USB Flash Drive
> Device Descriptor:
> bLength 18
> bDescriptorType 1
> bcdUSB 3.10
> bDeviceClass 0
> bDeviceSubClass 0
> bDeviceProtocol 0
> bMaxPacketSize0 9
> idVendor 0x125f A-DATA Technology Co., Ltd.
> idProduct 0xdb8a
> bcdDevice 11.00
> iManufacturer 1 ADATA
> iProduct 2 ADATA USB Flash Drive
> iSerial 3 29C0501520190025
> bNumConfigurations 1
> Configuration Descriptor:
> bLength 9
> bDescriptorType 2
> wTotalLength 0x002c
> bNumInterfaces 1
> bConfigurationValue 1
> iConfiguration 0
> bmAttributes 0x80
> (Bus Powered)
> MaxPower 504mA
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 0
> bNumEndpoints 2
> bInterfaceClass 8 Mass Storage
> bInterfaceSubClass 6 SCSI
> bInterfaceProtocol 80 Bulk-Only
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 2
> Transfer Type Bulk
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0400 1x 1024 bytes
> bInterval 0
> bMaxBurst 8
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 2
> Transfer Type Bulk
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0400 1x 1024 bytes
> bInterval 0
> bMaxBurst 8
> Binary Object Store Descriptor:
> bLength 5
> bDescriptorType 15
> wTotalLength 0x0016
> bNumDeviceCaps 2
> USB 2.0 Extension Device Capability:
> bLength 7
> bDescriptorType 16
> bDevCapabilityType 2
> bmAttributes 0x00000006
> BESL Link Power Management (LPM) Supported
> SuperSpeed USB Device Capability:
> bLength 10
> bDescriptorType 16
> bDevCapabilityType 3
> bmAttributes 0x00
> wSpeedsSupported 0x000c
> Device can operate at High Speed (480Mbps)
> Device can operate at SuperSpeed (5Gbps)
> bFunctionalitySupport 2
> Lowest fully-functional device speed is High Speed (480Mbps)
> bU1DevExitLat 4 micro seconds
> bU2DevExitLat 4 micro seconds
> can't get debug descriptor: Resource temporarily unavailable
> Device Status: 0x0000
> (Bus Powered)
10Gbps Gen2 should have a SuperSpeedPlus USB device capability as part of the BOS:
SuperSpeedPlus USB Device Capability:
bLength 20
bDescriptorType 16
bDevCapabilityType 10
bmAttributes 0x00000001
Sublink Speed Attribute count 1
Sublink Speed ID count 0
wFunctionalitySupport 0x1100
bmSublinkSpeedAttr[0] 0x000a4030
Speed attr ID: 0 10Gb/s Symmetric RX SuperSpeedPlus
bmSublinkSpeedAttr[1] 0x000a40b0
Speed attr ID: 0 10Gb/s Symmetric TX SuperSpeedPlus
-Mathias
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-21 12:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-20 21:23 5G but should be 10G? James
2020-02-21 12:13 ` Mathias Nyman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.