System USB information

malonn

Member
Joined
May 23, 2023
Messages
76
Reaction score
36
Credits
658
I have been goofing around with my BIOS/UEFI and have a question or two, if anyone has a sec.
Code:
lsusb -tv
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 3: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        ID 1532:0084 Razer USA, Ltd RZ01-0321 Gaming Mouse [DeathAdder V2]
    |__ Port 3: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        ID 1532:0084 Razer USA, Ltd RZ01-0321 Gaming Mouse [DeathAdder V2]
    |__ Port 3: Dev 2, If 2, Class=Human Interface Device, Driver=usbhid, 12M
        ID 1532:0084 Razer USA, Ltd RZ01-0321 Gaming Mouse [DeathAdder V2]
    |__ Port 3: Dev 2, If 3, Class=Human Interface Device, Driver=usbhid, 12M
        ID 1532:0084 Razer USA, Ltd RZ01-0321 Gaming Mouse [DeathAdder V2]
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
    |__ Port 3: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
        ID 0781:5580 SanDisk Corp. SDCZ80 Flash Drive
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 7: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        ID 05e3:0610 Genesys Logic, Inc. Hub
    |__ Port 8: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        ID 1532:021e Razer USA, Ltd Ornata Chroma
    |__ Port 8: Dev 3, If 2, Class=Human Interface Device, Driver=usbhid, 12M
        ID 1532:021e Razer USA, Ltd Ornata Chroma
    |__ Port 8: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        ID 1532:021e Razer USA, Ltd Ornata Chroma
    |__ Port 10: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        ID 26ce:01a2
Any cool links to info that can help me decipher this output? And, why does it print my mouse/keyboard four times? They boot with the OS; I then mounted the SanDisk thumb drive on bus 2 port 3, and it prints only once.

I'm just trying to deepen my understanding of things. I am having no problems with my PC.
 


The lsusb -tv command provides a tree view of the USB devices connected to your system. Here's a breakdown of your output:

  1. Root Hubs: These are the main USB controllers on your system.
    • Bus 04 and Bus 02 are USB 3.0 root hubs (10,000M).
    • Bus 03 and Bus 01 are USB 2.0 root hubs (480M).
  2. Devices:
    • Razer DeathAdder V2 Mouse (Bus 03, Port 3): This device is listed multiple times because it has multiple interfaces (If 0, If 1, If 2, If 3), each representing a different function of the device (e.g., different buttons, sensors).
    • SanDisk Flash Drive (Bus 02, Port 3): This is a mass storage device.
    • Razer Ornata Chroma Keyboard (Bus 01, Port 8): Similar to the mouse, it has multiple interfaces (If 0, If 1, If 2) for different functions.
    • Unknown Device (Bus 01, Port 10): This device has a vendor ID of 26ce:01a2.
The reason your mouse and keyboard appear multiple times is due to their multiple interfaces. Each interface can handle different aspects of the device's functionality, such as different buttons or lighting controls
 
Cool deal @dos2unix. Your answer will help guide me to better net searches.

What's the story behind your tag/name (if there is one), "dos2unix"? Pardon the off-topic question.
 



Top