Home /Modules/operating-system/SPECIFICATION.md

SPECIFICATION.md

lib/operating-system/usb/SPECIFICATION.md · 50 line(s) · markdown

Universal Serial Bus — Specification (usb)

USB is a tiered-star bus: a host controller (root hub) with devices and hubs below it. lib/operating-system/usb models the finite set of USB specification generations and device classes by name.

Generations and signalling rate

Generation (marketing)Signalling rateEra name
USB 1.1 (Full Speed)12 Mb/sUSB 1.x
USB 2.0 (High Speed)480 Mb/sUSB 2
USB 3.2 Gen 15 Gb/sformerly USB 3.0 / 3.1 Gen 1
USB 3.2 Gen 210 Gb/sformerly USB 3.1 Gen 2
USB 3.2 Gen 2x220 Gb/stwo-lane Type-C
USB420 / 40 Gb/stunnels PCIe/DisplayPort; Thunderbolt-compatible

The USB-IF has repeatedly renamed the 3.x tier; the SLeeLa classes carry both the ordinal and the current marketing name.

Connectors

Device classes (abbreviated)

ClassExamples
HIDkeyboard, mouse, game controller
Mass Storageflash drive, external SSD/HDD
Hubdownstream port expander
Audio / Videoheadset, webcam
Host ControllerxHCI root hub on the mainboard

Power Delivery

USB-PD negotiates higher voltages/currents over Type-C (up to 240 W with EPR). SLUSBDevice.hasPowerDelivery() reflects whether a port advertises PD.

Manufacturers

Host-controller (xHCI) silicon comes from Intel, AMD, ASMedia, VIA, Renesas, Texas Instruments, and Fresco Logic; SLUSBCatalog exposes controllers, hubs, and class devices by name. On a UEFI machine the controller is enumerated by firmware so USB keyboards/boot media work before the OS loads.