An overview of how USB switches, hubs, KVM switches and laptop docking stations are connected in chains ("cascaded"), the technical rules and limits that govern such chains, the problems they commonly cause, and the methods used to make them reliable.
๐ค Written by Wren, the chat's AI, building on Wikipedia and on questions people asked in the chat. AI writing can be wrong or out of date: check anything that matters with a reliable source.
| Governing standards body | USB Implementers Forum (USB-IF) |
|---|---|
| USB topology | Tiered star (a tree of hubs branching from the host) |
| Maximum devices per host controller | 127, including hubs |
| Maximum tiers | 7, which allows at most 5 hubs between the root hub and a device |
| Default current per port | 500 mA (USB 2.0), 900 mA (USB 3.x), at a nominal 5 V |
| Maximum USB 2.0 cable segment | 5 metres |
| USB 2.0 High Speed data rate | 480 Mbit/s, shared by all devices behind one hub port |
| Thunderbolt 1โ3 daisy chain limit | Up to 6 devices per port |
| Typical failure modes | Enumeration timeouts, voltage sag, power-management faults, exceeded tier limits |
A cascading configuration, in the context of the Universal Serial Bus (USB), is an arrangement in which several devices that contain USB hubs are connected one behind another. Examples are a USB switcher, a docking station, a monitor with a built-in hub, and a keyboard with spare ports. A common example is a two-computer USB switcher, used to share a keyboard and mouse between a work laptop and a personal computer, plugged into a laptop docking station, which is in turn connected to the laptop. Each device in the chain adds at least one hub, and often more, between the computer and the peripheral devices at the end.
A USB hub expands a single USB port into several ports, much as a power strip does for mains sockets. All devices connected through a hub share the bandwidth (data capacity) available to that hub. Docking stations, switchers and many monitors contain hubs internally, even when they are not sold as hubs. Some self-powered hubs that can charge a laptop through USB Power Delivery are marketed as simple docking stations, because only one cable is needed to charge the laptop and connect its peripherals.
Cascading is convenient, but it brings together several technical limits at once: the maximum number of hub tiers, the power available on the bus, the timing of device detection, power-saving features in the operating system, and the quality of the signal over cables. When a cascade fails, the symptoms are usually intermittent. Devices disconnect, fail to be recognised after switching, or stop working after the computer wakes from sleep. Such faults can be hard to trace because no single component is clearly broken. This article describes how these chains work, why they fail, and the practical approaches used to make them reliable.
Terminology
Several terms are used with overlapping or loose meanings in product marketing. This article uses them as follows.
- Host: the computer, or more precisely its USB host controller, which controls all communication on a USB bus. Every USB transfer is started by the host.
- Root hub: the hub built into the host controller, which provides the computer's own USB ports.
- Hub: a device that takes one upstream connection and provides several downstream ports.
- Upstream and downstream: upstream means towards the host; downstream means away from the host, towards the peripherals.
- Tier: a level in the USB tree. The root hub is tier 1. Each hub added in a chain moves the devices below it down by one tier.
- Cascading: connecting a hub, or a device containing a hub, to the downstream port of another hub.
- Daisy chaining: connecting devices in a line, each passing a connection on to the next. The term is most often used for Thunderbolt devices and for DisplayPort monitors. It is also used informally for chains of USB hubs.
- USB switcher (also called a USB sharing switch or USB switch): a device that connects one set of USB peripherals to one of two or more host computers at a time. It changes between them when a button is pressed or a remote control is used.
- KVM switch: short for "keyboard, video and mouse" switch. It switches a keyboard, a mouse and one or more displays between computers.
- Docking station (or dock): a device that connects a laptop to several peripherals, displays, a network and often a charger through one connection. Simpler versions without their own power supply or display output are sometimes called port replicators, multiport adapters or "dongles".
- Enumeration: the process by which the host detects a newly connected device, gives it an address, reads its descriptors (the data structures that describe what the device is), and loads a driver for it.
- VBUS: the 5-volt power line in a USB connection.
Background and history
USB was introduced in 1996 with USB 1.0. It was designed from the start to support hubs. Before USB, personal computers used separate connectors for the keyboard, mouse, printer and other devices, and few of those interfaces allowed devices to be chained. USB replaced them with a single bus that could branch through hubs to many devices. USB 2.0, released in 2000, added High Speed operation at 480 Mbit/s and became the dominant version for most of the following decade.
Laptop docking stations existed before USB was widespread. Early docks were proprietary. They used a manufacturer-specific connector on the underside or back of the laptop, which carried display, network, power and peripheral signals directly from the motherboard. These docks worked only with particular laptop models.
From the late 2000s, "universal" docks appeared that connected through ordinary USB. Because USB 2.0 could not carry a native display signal, many of these docks used USB graphics technology such as DisplayLink. DisplayLink compresses the display image in software on the computer and decompresses it in a chip inside the dock. (DisplayLink was acquired by Synaptics in 2020.) USB 3.0, released in 2008, added SuperSpeed operation at 5 Gbit/s. This made USB docks with storage, network and display functions more practical.
Two later developments made one-cable docking common:
- The USB Type-C connector specification was published in 2014. Type-C supports "Alternate Mode", which lets the same cable carry native DisplayPort video alongside USB data. It also supports USB Power Delivery, which can charge a laptop.
- Thunderbolt, developed by Intel with Apple and introduced in 2011, allowed high-bandwidth devices to be daisy-chained. Thunderbolt 3, introduced in 2015, adopted the USB-C connector. USB4, first published in 2019, is based on the Thunderbolt 3 protocol. USB4 and Thunderbolt 4 docks can tunnel (carry inside one link) PCI Express, DisplayPort and USB traffic at the same time.
As docks became universal and monitors began to include USB hubs and KVM functions, users increasingly built multi-layer chains. A typical example is a switcher behind a dock, behind a monitor hub. This exposes the limits described in this article.
How USB topology works
The tiered-star structure
USB uses a "tiered star" topology. The host controller's root hub sits at the top. Each hub port can connect to a device or to another hub, and each hub can branch further. The result is a tree. Even when devices appear to be in a simple line, such as a switcher plugged into a dock, logically each one is a branch of the tree under the host.
All communication is controlled by the host. Hubs are not routers in the networking sense. They repeat signals downstream and upstream, report connection and disconnection events to the host, and control power on their ports. Devices cannot communicate directly with one another through a hub.
Address and tier limits
The USB 2.0 specification sets two structural limits:
- 127 devices per host controller. USB device addresses are 7-bit numbers, and address 0 is reserved for devices that are being enumerated. Hubs count as devices, so every hub inside a dock, switcher or monitor uses one address.
- Seven tiers. The root hub is tier 1, and only functions (end devices, not hubs) may be at tier 7. In practice, at most five hubs may be connected in series between the root hub and a device.
The tier limit exists because each hub adds delay, and the specification's timing budget (the total delay allowed for a transfer) is calculated for a maximum chain. With five hubs and 5-metre cables, the theoretical maximum distance between a USB 2.0 host and a device is about 30 metres.
In everyday use the address limit is rarely reached. The tier limit, however, is easy to exceed without realising it, because many products contain hidden hubs.
Hubs hidden inside other devices
Many devices contain one or more hubs that are not obvious from the outside:
- Docking stations often contain at least one hub. Some contain two or more hub chips connected in series, which uses several tiers on its own.
- Monitors with USB ports, and monitors with built-in KVM switching, contain hubs.
- Keyboards with pass-through USB ports contain a hub. Some wireless receivers and gaming keyboards also appear to the host as hubs or as "compound devices" (a hub with built-in functions permanently attached).
- USB switchers commonly contain a hub, so that one switched upstream connection can feed several peripheral ports.
- Some laptops and desktop motherboards route their own external ports through an internal hub. This uses a tier before any external device is connected.
The result is that a chain that looks like three devices (laptop, dock, switcher, keyboard) may in fact contain four or five hubs. Adding a monitor hub or a keyboard with pass-through ports can push devices beyond the permitted depth. Devices beyond the limit may not be recognised at all, or may behave unpredictably.
The dual bus in USB 3.x hubs
A USB 3.x hub is effectively two hubs in one package: a SuperSpeed hub and a separate USB 2.0 hub, both connected through the same cable and connector. Low-Speed (1.5 Mbit/s) and Full-Speed (12 Mbit/s) devices, such as most keyboards and mice, are handled by the USB 2.0 part. Devices that support SuperSpeed connect through the SuperSpeed part.
Operating systems show this structure. On Linux, for example, a USB 3 host controller appears as two separate buses, one for USB 2.0 traffic and one for SuperSpeed traffic. The tier limits apply to each part separately. Because the two parts of a hub sit in parallel, they do not add to each other's tier count.
Transaction translators
When a Low-Speed or Full-Speed device is connected behind a USB 2.0 High-Speed hub, the hub uses a transaction translator (TT). The TT converts between the fast 480 Mbit/s link to the host and the slower link to the device.
- A single-TT hub has one translator shared by all its ports. All slower devices behind it share one 12 Mbit/s Full-Speed channel.
- A multi-TT hub has one translator per port.
In cascades this matters when several Full-Speed devices that use isochronous (time-critical) transfers sit behind the same single-TT hub. Examples are USB audio interfaces, headsets and some webcams. They can run out of time-slots on the shared channel, even though the 480 Mbit/s link to the host is far from full. Keyboards and mice use very little bandwidth and are rarely affected.
Types of devices found in cascades
USB hubs
Hubs are either bus-powered, taking all their power from the upstream port, or self-powered, using an external power supply. Under USB 2.0 rules, a bus-powered hub can promise each downstream port only one "unit load" of 100 mA. Connecting a bus-powered hub to the downstream port of another bus-powered hub is not permitted by the specification, because the second hub could not be given enough current. In practice, many inexpensive hubs ignore these rules. They simply pass through whatever current the upstream port can provide.
Hub form factors range from desktop boxes to compact units that plug directly into a port. "Short cable" hubs use a cable of about 15 cm (6 inches) to move the hub away from crowded ports. Some hubs have switches for individual ports, so that an unresponsive device can be power-cycled (switched off and on again) without unplugging it.
USB switchers
A basic USB switcher connects its peripheral ports to one of two or four upstream host connections. Pressing the switch electrically disconnects the peripherals from one computer and connects them to another. From the point of view of each computer, this is the same as unplugging and replugging every device.
When the switch moves to a new host, that host must detect the hub and devices, enumerate each one, and load its drivers. This usually takes from a fraction of a second to a few seconds. Many basic switchers are bus-powered from whichever computer is currently selected. Many also have an auxiliary power socket, often micro-USB or USB-C, which is frequently left unused.
KVM switches and monitor KVMs
KVM switches add display switching to USB switching. Two approaches to USB handling are common:
- Pass-through switching, which behaves like a basic USB switcher and causes full re-enumeration on each switch.
- Emulated input devices, in which the KVM presents a permanent virtual keyboard and mouse to every connected computer and forwards input to the active one. Because each computer always sees a connected keyboard and mouse, switching is faster. It also avoids the disconnect and reconnect cycle that triggers many cascade problems. Vendors use various proprietary names for this approach.
Many current monitors include a built-in KVM. They typically have one USB-C upstream connection and one USB-B upstream connection, and switch the monitor's internal hub between two computers when the video input changes.
Docking stations
Modern docks fall into several technical families:
| Dock type | Host connection | How displays are driven | USB behaviour |
|---|---|---|---|
| USB-C Alternate Mode dock | USB-C with DisplayPort Alternate Mode | Native DisplayPort from the computer's graphics processor | Internal USB hub, sometimes limited to USB 2.0 when the cable lanes are used for video |
| USB graphics (DisplayLink-type) dock | USB-A or USB-C | Compressed video sent over USB and decoded in the dock; requires a driver | Internal hub; the display traffic shares USB bandwidth with other devices |
| Thunderbolt 3/4 or USB4 dock | USB-C/Thunderbolt port | DisplayPort tunnelled over the link | USB is carried either through a USB controller inside the dock connected over PCI Express, or through USB tunnelling; this adds a separate controller and hubs |
| Proprietary dock | Manufacturer-specific connector | Varies by model | Varies; often an internal hub |
A detail of the Alternate Mode family matters for cascades. A USB-C cable has four high-speed lanes. If all four are used for DisplayPort, for example to drive high-resolution displays, only the separate USB 2.0 wires remain for data. The dock's USB ports then run at USB 2.0 speeds.
In Thunderbolt docks, the USB ports are usually provided by a USB host controller inside the dock, connected over PCI Express. Devices behind such a dock may therefore appear under a different host controller from the laptop's own ports, with its own root hub and tier count.
Common cascading configurations
| Configuration | Typical purpose | Main risks |
|---|---|---|
| Laptop โ dock โ USB switcher โ keyboard and mouse | Sharing input devices between a docked work laptop and a second computer | Enumeration timeouts after switching; voltage sag; extra hub tiers |
| Laptop โ dock โ monitor hub โ keyboard with pass-through port โ device | Reducing cable clutter on a desk | Exceeding the five-hub limit |
| Two computers โ monitor with built-in KVM โ peripherals | Single-monitor, two-computer desk | Re-enumeration delay; some docks or laptops not supporting the monitor's upstream mode |
| Laptop โ Thunderbolt dock โ second Thunderbolt device โ USB hub | High-bandwidth storage and displays | Many hubs and controllers in series; sensitivity to firmware and drivers |
| Desktop โ bus-powered hub โ bus-powered hub | Adding ports cheaply | Not permitted by the USB 2.0 specification; insufficient power |
Common problems
Exceeded tier limits
When more than five hubs are connected in series, devices at the bottom of the chain may not enumerate. They may also appear as unknown devices or work only some of the time. Because the hubs are hidden inside docks and monitors, users often do not know how deep their chain is. Diagnostic tools that display the USB tree, described below, reveal the true structure.
Power sag and voltage drop
Each cable, connector and hub adds a small amount of electrical resistance. The voltage at the end of a long chain is therefore lower than at the host. The USB 2.0 specification sets a range of 4.75 to 5.25 volts at high-power ports, and allows lower voltages at the ports of bus-powered hubs.
When a switcher changes hosts, or when the operating system resets a port, the inrush of current as devices power up can cause a brief drop in voltage (a "sag"). If the voltage falls too far, a device may reset or fail to complete enumeration. Bus-powered switchers at the end of a dock's internal hub chain are particularly exposed to this.
Enumeration timeouts
Enumeration involves a sequence of steps with time limits. The host resets the port, assigns an address and requests descriptors. Each layer of hubs adds delay, and each hub must itself enumerate before the devices behind it can. If a switcher, dock hub or peripheral is slow to respond, especially while its voltage is unstable, the host may give up.
On Windows, a failed enumeration commonly appears as "Unknown USB Device (Device Descriptor Request Failed)" in Device Manager, sometimes with error code 43. The device may work again only after it is unplugged and replugged.
Power management: selective suspend and link power states
Operating systems save energy by suspending idle USB devices and links:
- Selective suspend (on Windows) and autosuspend (on Linux) put idle devices into a low-power suspended state.
- USB 2.0 Link Power Management defines a light sleep state called L1.
- USB 3.x defines link states U0 (active), U1 and U2 (low-latency idle states that the link can enter and leave quickly), and U3 (suspend).
In cascades, power-management transitions can interact badly with hubs that are slow to wake, with firmware bugs in docks, or with switchers that do not handle suspend correctly. The usual symptoms are devices that stop responding after a period of idleness, keyboards that drop the first few keystrokes, and devices that fail after the computer resumes from sleep.
Bandwidth sharing
All devices behind a hub share that hub's upstream bandwidth. In a dock this can include a network adapter, storage, a webcam and, in DisplayLink-type docks, the display stream itself. Keyboards and mice need very little bandwidth. Webcams, audio interfaces and storage devices can compete for it, particularly behind single-TT hubs or USB 2.0-only dock ports.
Backfeeding
Backfeeding (also called back-powering) occurs when a self-powered hub or switcher pushes voltage up its upstream VBUS line into the host. The USB specification does not permit this. It can still happen with poorly designed hubs or switchers, especially those with an external power input.
Backfeeding can stop a computer from detecting that a device has been disconnected. It can also prevent a computer from powering down fully, or interfere with power negotiation on the host's ports. In a switcher connected to two hosts, the unselected computer may also receive unwanted voltage.
Signal integrity and cable length
USB 2.0 permits cables of up to 5 metres per segment. Faster modes have much tighter limits. For passive USB-C cables, the USB-C specification gives about 4 metres for USB 2.0-only cables, about 2 metres for USB 3.2 Gen 1, about 1 metre for USB 3.2 Gen 2, and less than 1 metre for the highest passive USB4 speeds.
Passive extension cables are not part of the specification and add extra connectors and length. Long or low-quality cables in a cascade can cause SuperSpeed links to fail and fall back to USB 2.0. They can also cause errors that appear as random disconnections.
Display chains
Docks and monitors often chain displays as well as USB devices:
- DisplayPort Multi-Stream Transport (MST), introduced in DisplayPort 1.2, allows several monitors to be driven from one output, either through a dock or by daisy-chaining monitors. macOS does not support MST for extended desktops, so on Macs MST-chained displays may show the same image.
- Thunderbolt 1 to 3 allow up to six devices in a daisy chain per port. Thunderbolt 4 and USB4 also support hub arrangements.
Display problems in a cascade are separate from USB problems, but they often appear together. This can confuse diagnosis.
Mitigation and good practice
Reducing the depth of the chain
The most direct fix is to remove layers. A widely recommended approach for a switcher placed behind a dock is to bypass the dock for that one cable. The switcher's upstream cable is plugged directly into a spare USB port on the laptop, while the dock continues to handle displays, charging and the network connection. This removes the dock's internal hubs from the switcher's path. The switcher then sits close to the root hub, where voltage is higher and enumeration is faster.
Similarly, peripherals can be plugged into the first available hub rather than into a keyboard's pass-through port or a monitor's hub, where this is practical.
Supplying external power
Many two-port and four-port switchers have an auxiliary power socket. Connecting a 5-volt supply to it means the switcher and its peripherals no longer depend on the host's bus power. This can prevent VBUS sag when the operating system resets the port or when the switch changes hosts.
The same principle applies to hubs: a self-powered hub is generally more reliable in a cascade than a bus-powered one. The external power supply should be of reasonable quality. The device should also be designed not to backfeed power to the hosts, a property not all inexpensive products have.
Forcing USB 2.0 operation
Another commonly suggested measure is to force the switcher's connection to run at USB 2.0. This is done by placing a USB 2.0-only cable or adapter between the switcher and the dock. A USB 2.0-only cable does not contain the SuperSpeed wire pairs, so the link cannot negotiate USB 3.x and runs at up to 480 Mbit/s. This removes the SuperSpeed hub path, together with its U1 and U2 power states, from that branch.
The usual explanation is that USB 3.x power management on a branch carrying only Low-Speed input devices causes instability. That explanation is plausible but not universally established: Low-Speed keyboards and mice already run on the USB 2.0 part of a USB 3 hub. The improvement some users report may instead come from avoiding faulty SuperSpeed hub firmware or poor SuperSpeed signal quality.
The trade-off is clear: the branch is limited to 480 Mbit/s. This is ample for keyboards, mice and most headsets, but not suitable for fast storage or high-resolution webcams.
Adjusting operating system power settings
- On Windows, USB selective suspend can be disabled in the advanced power plan settings. The option "Allow the computer to turn off this device to save power" can be cleared for individual USB hubs in Device Manager.
- On Linux, USB autosuspend can be disabled system-wide with the kernel parameter
usbcore.autosuspend=-1, or controlled per device through the sysfs file system.
These changes increase power consumption slightly. They are typically used to confirm whether power management is the cause of a fault, and then kept only if they help.
Firmware and drivers
Docks, monitors with hubs and Thunderbolt controllers often have updatable firmware. Manufacturers regularly release updates addressing USB reconnection and wake-from-sleep problems. Laptop chipset drivers, Thunderbolt or USB4 drivers, and (for DisplayLink-type docks) the display driver can also affect behaviour.
Choosing equipment
- KVM switches that emulate keyboards and mice avoid re-enumeration on every switch.
- Multi-TT hubs are preferable when several Full-Speed audio or video devices share one hub.
- Self-powered hubs and switchers are preferable to bus-powered ones in long chains.
- Active (signal-boosting) cables or proper extenders are preferable to stacked passive extension cables when distance is needed.
- Certified cables of an appropriate rating reduce signal-integrity problems at higher speeds.
Diagnostic tools
Tools that display the USB device tree show how many hubs are actually present, which controller each device is attached to, and the speed at which each link is running:
- Windows: Microsoft's USBView utility, distributed with Windows development and debugging tools; third-party tree viewers; and Device Manager's "Devices by connection" view.
- Linux:
lsusb -tprints the tree with link speeds. The kernel log (dmesgorjournalctl -k) records enumeration errors and resets. - macOS: the USB section of System Information (System Report) shows connected hubs and devices.
A systematic approach to diagnosis follows these steps:
- Draw or display the full tree and count the hub tiers.
- Connect the problem device directly to the computer to confirm it works on its own.
- Add the cascade back one layer at a time until the fault returns.
- Test external power and USB 2.0 forcing at the layer where the fault appears.
- Check power-management settings and firmware versions.
Debates and open questions
Hidden hub counts. Manufacturers rarely state how many internal hubs a dock or monitor contains. They also seldom state whether these hubs are single-TT or multi-TT. Without this information, buyers cannot easily tell whether a planned chain will exceed the tier limit.
Folk remedies. Remedies such as USB 2.0 forcing, disabling link power states and adding external power are widely shared in user forums. Their success varies between equipment combinations. The underlying cause of a particular fault is often not identified. A remedy that works may be hiding a firmware defect rather than correcting the real problem.
Switching standards. There is no common standard for how a switcher should present itself during a change of host. Behaviour therefore differs widely between products: some pass through raw connections, some emulate devices, and some delay or stagger reconnection.
Complexity of tunnelled docks. USB4 and Thunderbolt docks place PCI Express controllers, DisplayPort tunnels and USB hubs in one chain. This allows great flexibility but adds more firmware and driver layers in which faults can occur. Compatibility between docks and laptops from different manufacturers has improved over time, but it is not uniform.
Power negotiation chains. USB Power Delivery negotiations pass through docks and monitors that both draw and supply power. These interactions can occasionally cause brief power drops or renegotiations that reset downstream USB devices. How often this happens depends heavily on implementation.
Current state
One-cable docking over USB-C, Thunderbolt or USB4 is now standard in many offices. Monitors with built-in hubs and KVM functions are common. USB4 version 2.0, announced in 2022, raises the maximum link speed to 80 Gbit/s, and Thunderbolt 5 is based on similar technology.
Keyboards, mice and USB switchers, by contrast, still mostly use Low-Speed, Full-Speed or USB 2.0 connections. Cascades therefore typically mix very old and very new USB technology in a single chain. Many of the reliability problems in this area arise at the boundaries between those generations, and in the power-saving and switching behaviour that the original specifications did not anticipate.
See also
- USB hub
- Universal Serial Bus
- USB-C
- USB Power Delivery
- USB4
- Thunderbolt (interface)
- Docking station
- KVM switch
- DisplayPort Multi-Stream Transport
- DisplayLink
- Advanced Configuration and Power Interface
Sources
Questions people asked
How can you prevent connection timeouts and power sag when cascading a USB switcher through a docking station?
A few ways to keep the switch without having to rewire every day:
- Bypass the dock for just that one cable. Plug the switcher's upstream cable directly into a spare USB port on the Windows laptop itself, leaving the dock to handle monitors, power, and ethernet. That eliminates the internal hub cascade.
- Give the switcher external 5V power. Almost all of those two-port USB switchers have an auxiliary micro-USB or Type-C power socket on the side that people usually leave unplugged. Supplying external 5V stops the VBUS voltage sag when Windows resets the port.
- Force USB 2.0. If the switcher or dock port is USB 3.0, Windows tries to negotiate USB 3 Link Power Management (U1/U2 sleep states) on an interface that only has Low-Speed HID devices on it. Sticking a dumb USB 2.0 extension cable or adapter between the switch and the dock forces it to 480 Mbps and disables the flaky USB 3 power states entirely.