Skip to contentSkip to conversation

USB questions

DISCUSSION James 3 participants 4 messages Feb 19, 2020 – Feb 20, 2020 1 message not in the archive USB

lore
Share & tools
lore

James

author
#0 lore raw

https://asrock.com/MB/AMD/B450M%20Pro4/index.us.asp#Specification
- 2 x USB 2.0 Ports (Supports ESD Protection)
- 1 x USB 3.1 Gen2 Type-A Port (10 Gb/s) (Supports ESD Protection)
- 1 x USB 3.1 Gen2 Type-C Port (10 Gb/s) (Supports ESD Protection)
- 4 x USB 3.1 Gen1 Ports (Supports ESD Protection)

$ lsusb
Bus 004 Device 002: ID 13fe:6300 Kingston Technology Company Inc. USB DISK 3.0
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 003 Device 003: ID 04a9:190f Canon, Inc. CanoScan LiDE 220
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0bc2:2321 Seagate RSS LLC Expansion Portable
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 1bcf:0005 Sunplus Innovation Technology Inc. Optical Mouse
Bus 001 Device 005: ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 003: ID 046d:082c Logitech, Inc. HD Webcam C615
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ lsusb -t
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    |__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 480M
    |__ Port 4: Dev 4, If 0, Class=Human Interface Device, Driver=usbfs, 1.5M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    |__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M
    |__ Port 5: Dev 3, If 0, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 5: Dev 3, If 1, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 5: Dev 3, If 2, Class=Video, Driver=uvcvideo, 480M
    |__ Port 5: Dev 3, If 3, Class=Video, Driver=uvcvideo, 480M
    |__ Port 6: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 3: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 1: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 1: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M

1. Does this mean the installer used the USB2 connections on the motherboard even though it looks like USB3.1 Gen ones were available?

2. What is the number after the slash (4p) on xhci_hcd/4p?

3. Shouldn't "Linux Foundation 3.0 root hub" be "Linux Foundation 3.1 Gen 1 root hub"?

#1 lore raw
Quoted 46 lines · James

https://asrock.com/MB/AMD/B450M%20Pro4/index.us.asp#Specification
- 2 x USB 2.0 Ports (Supports ESD Protection)
- 1 x USB 3.1 Gen2 Type-A Port (10 Gb/s) (Supports ESD Protection)
- 1 x USB 3.1 Gen2 Type-C Port (10 Gb/s) (Supports ESD Protection)
- 4 x USB 3.1 Gen1 Ports (Supports ESD Protection)

$ lsusb
Bus 004 Device 002: ID 13fe:6300 Kingston Technology Company Inc. USB DISK
3.0
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 051d:0002 American Power Conversion Uninterruptible
Power Supply
Bus 003 Device 003: ID 04a9:190f Canon, Inc. CanoScan LiDE 220
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0bc2:2321 Seagate RSS LLC Expansion Portable
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 1bcf:0005 Sunplus Innovation Technology Inc. Optical
Mouse
Bus 001 Device 005: ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 003: ID 046d:082c Logitech, Inc. HD Webcam C615
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ lsusb -t
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    |__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 480M
    |__ Port 4: Dev 4, If 0, Class=Human Interface Device, Driver=usbfs,
1.5M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    |__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M
    |__ Port 5: Dev 3, If 0, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 5: Dev 3, If 1, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 5: Dev 3, If 2, Class=Video, Driver=uvcvideo, 480M
    |__ Port 5: Dev 3, If 3, Class=Video, Driver=uvcvideo, 480M
    |__ Port 6: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 3: Dev 6, If 0, Class=Human Interface Device,
Driver=usbhid, 1.5M
        |__ Port 1: Dev 5, If 1, Class=Human Interface Device,
Driver=usbhid, 1.5M
        |__ Port 1: Dev 5, If 0, Class=Human Interface Device,
Driver=usbhid, 1.5M
Quoted 2 lines

1. Does this mean the installer used the USB2 connections on the motherboard even though it looks like USB3.1 Gen ones were available?

No, why do you say that?

Quoted 1 line

2. What is the number after the slash (4p) on xhci_hcd/4p?

ports.

Quoted 2 lines

3. Shouldn't "Linux Foundation 3.0 root hub" be "Linux Foundation 3.1 Gen 1 root hub"?

No, we don't say that from within the kernel.

thanks,

greg k-h

#2 lore raw
Quoted 52 lines · Greg KH
Quoted 46 lines · James

https://asrock.com/MB/AMD/B450M%20Pro4/index.us.asp#Specification
- 2 x USB 2.0 Ports (Supports ESD Protection)
- 1 x USB 3.1 Gen2 Type-A Port (10 Gb/s) (Supports ESD Protection)
- 1 x USB 3.1 Gen2 Type-C Port (10 Gb/s) (Supports ESD Protection)
- 4 x USB 3.1 Gen1 Ports (Supports ESD Protection)

$ lsusb
Bus 004 Device 002: ID 13fe:6300 Kingston Technology Company Inc. USB DISK
3.0
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 051d:0002 American Power Conversion Uninterruptible
Power Supply
Bus 003 Device 003: ID 04a9:190f Canon, Inc. CanoScan LiDE 220
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0bc2:2321 Seagate RSS LLC Expansion Portable
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 1bcf:0005 Sunplus Innovation Technology Inc. Optical
Mouse
Bus 001 Device 005: ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 003: ID 046d:082c Logitech, Inc. HD Webcam C615
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ lsusb -t
/:� Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
��� |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/:� Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
��� |__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 480M
��� |__ Port 4: Dev 4, If 0, Class=Human Interface Device, Driver=usbfs,
1.5M
/:� Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
��� |__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/:� Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M
��� |__ Port 5: Dev 3, If 0, Class=Audio, Driver=snd-usb-audio, 480M
��� |__ Port 5: Dev 3, If 1, Class=Audio, Driver=snd-usb-audio, 480M
��� |__ Port 5: Dev 3, If 2, Class=Video, Driver=uvcvideo, 480M
��� |__ Port 5: Dev 3, If 3, Class=Video, Driver=uvcvideo, 480M
��� |__ Port 6: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
������� |__ Port 3: Dev 6, If 0, Class=Human Interface Device,
Driver=usbhid, 1.5M
������� |__ Port 1: Dev 5, If 1, Class=Human Interface Device,
Driver=usbhid, 1.5M
������� |__ Port 1: Dev 5, If 0, Class=Human Interface Device,
Driver=usbhid, 1.5M
Quoted 2 lines

1. Does this mean the installer used the USB2 connections on the motherboard even though it looks like USB3.1 Gen ones were available?

No, why do you say that?

Quoted 8 lines
Quoted 1 line

2. What is the number after the slash (4p) on xhci_hcd/4p?

ports.

Quoted 2 lines

3. Shouldn't "Linux Foundation 3.0 root hub" be "Linux Foundation 3.1 Gen 1 root hub"?

No, we don't say that from within the kernel.

But there's no reason we couldn't. Greg, you could allocate a new Product ID value for USB-3.1 root hubs and update lsusb to recognize it. (I don't know if it's worth including the "Gen 1" vs "Gen 2" part, though.)

Alan Stern

author
#4 lore raw
In reply to a message not in the archive
Quoted 18 lines · James
Quoted 5 lines · Alan Stern

On Thu, 20 Feb 2020, Greg KH wrote:

$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Quoted 7 lines
Quoted 3 lines
Quoted 2 lines

3. Shouldn't "Linux Foundation 3.0 root hub" be "Linux Foundation 3.1 Gen 1 root hub"?

No, we don't say that from within the kernel.

But there's no reason we couldn't. Greg, you could allocate a new Product ID value for USB-3.1 root hubs and update lsusb to recognize it. (I don't know if it's worth including the "Gen 1" vs "Gen 2" part, though.)

The adata website for my flash drive says:

Quoted 1 line

2. Please note that USB 3.0, USB 3.1 Gen1, and USB 3.2 Gen1 are in fact the same specification and feature the same exact performance capabilities. The USB Implementers Forum (USB-IF) recently rebranded USB 3.1 Gen1 to USB 3.2 Gen1. For more information about the change, please visit the USB-IF website at www.usb.org <https://www.usb.org/>.

That is one of the most confusing things I've read.