This article needs to be updated.(May 2017) |
A USB hub is a device that expands a single Universal Serial Bus (USB) port into several so that there are more ports available to connect devices to a host system, similar to a power strip. All devices connected through a USB hub share the bandwidth available to that hub. [1]
Physically separate USB hubs come in a wide variety of form factors: from external boxes (looking similar to an Ethernet or network hub), to small designs that can be directly plugged into a USB port (see the "compact design" picture). "Short cable" hubs typically use an integral 6-inch (15 cm) cable to slightly distance a small hub away from physical port congestion and increase the number of available ports.
Almost all modern laptop computers are equipped with USB ports, but an external USB hub can consolidate several everyday devices (like a mouse, keyboard or printer) into a single hub to enable one-step attachment and removal of all the devices.
Some USB hubs may support power delivery (PD) to charge a laptop battery, if self-powered and certified to do so, but may be referred to as a simple docking station due to the similar nature of only needing one connection to charge the battery and connect peripherals. Hubs may feature power switches for individual ports to allow conveniently power cycling unresponsive devices. [2]
A USB network is built from USB hubs connected downstream to USB ports, which themselves may stem from USB hubs. USB hubs can extend a USB network to a maximum of 127 ports. The USB specification requires that bus-powered (passive) hubs are not connected in series to other bus-powered hubs.[ citation needed ]
Depending on vendor and design, USB ports are often closely spaced. Consequently, plugging a device into one port may physically block an adjacent port, particularly when the plug is not part of a cable but is integral to a device such as a USB flash drive. A horizontal array of horizontal sockets may be easy to fabricate, but may cause only two out of four ports to be usable (depending on plug width).
Port arrays in which the port orientation is perpendicular to the array orientation generally have fewer blockage problems. External "Octopus" or "Squid" hubs (with each socket at the end of a very short cable, often around 2 inches (5 cm) long), or "star" hubs (with each port facing in a different direction, as pictured) avoid this problem completely.
USB cables are limited to 3 metres (10 feet) for low-speed USB 1.1 devices. A hub can be used as an active USB repeater to extend cable length for up to 5 metre (16 feet) lengths at a time. Active cables (specialized connector-embedded one-port hubs) perform the same function, but since they are strictly bus-powered, externally powered USB hubs would likely be required for some of the segments.
Many hubs can operate as either bus powered or self powered hubs. Power equals voltage times current. A USB port that draws 500 mA (0.5 A) at 5 volts is drawing 2.5 watts of power.
In Bus-powered USB hubs, each USB port can supply power as well as transfer data. A self-powered hub takes its power from an external power supply unit and can therefore provide full power (up to 500 mA) to every port. Self-powered hubs are usually more expensive than unpowered USB hubs
Self-powered hubs can power high-voltage devices such as speakers, printers, and scanners. Self-powered USB hubs are usually more bulky, and more expensive than bus-powered USB hubs.
There are many non-compliant hubs on the market which announce themselves to the host as self-powered despite really being bus-powered. Equally, there are plenty of non-compliant devices that use more than 100 mA without announcing this fact. These hubs and devices do allow more flexibility in the use of power (in particular, many devices use far less than 100 mA and many USB ports can supply more than 500 mA before going into overload shut-off), but they are likely to make power problems harder to diagnose.
Some self-powered hubs do not supply enough power to drive a 500 mA load on every port. For example, many seven port hubs have a 1 A power supply, when in fact seven ports could draw a maximum of 7 * 0.5 = 3.5 A, plus power for the hub itself. Designers assume the user will most likely connect many low-power devices and only one or two requiring a full 500 mA. On the other hand, the packaging for some self-powered hubs states explicitly how many of the ports can drive a 500 mA full load at once. For example, the packaging on a seven-port hub might claim to support a maximum of four full-load devices.
Example how to calculate wattage consumption for a USB multiport hub with a USB PD port, and an HDMI port, connected to a smartphone and HDMI:
Input/output | Wattage | Hardware setup |
---|---|---|
Input | +100 W | 100 W wall charger, 100 W USB-C cable. USB Multiport adapter: 100 W USB-C PD port, integrated 100 W USB cable. |
Output | -30 W | Smartphone charging: The USB Multiport adapter integrated 100 W USB cable connected to the phone, and the USB-C cable connected to the USB multiport hub PD port, and the wall charger. |
Output | -1.5 W | 8k HDMI cable connected: USB multiport adapter, and TV. |
Remaining available wattage | 58.5 W |
A bus-powered hub draws all its power from the host computer's USB interface. It does not need a separate power connection. However, many devices require more power than this method can provide and will not work in this type of hub. It may be desirable to use a bus-powered hub with self-powered external hard-disks, as the hard-disk may not spin down when the computer turns off or enters sleep mode while using a self-powered hub since the hard disk controller would continue to see a power source on the USB ports.
All USB ports operate at 5 volts, but may draw or supply differing amounts of electric current.
A USB's electric current is allocated in units of 100 mA up to a maximum total of 500 mA per port. Therefore, a compliant bus powered hub can have no more than four downstream ports and cannot offer more than four 100 mA units of current in total to downstream devices (since the hub needs one unit for itself). If a device requires more units of current than the port it is plugged into is able to supply, the operating system usually reports this to the user.
Dynamic-powered hubs are hubs which can work as bus-powered as well as self-powered hubs. They can automatically switch between modes depending on whether a separate power supply is available or not. While switching from bus-powered to self-powered operation does not necessarily require immediate renegotiations with the host, switching from self-powered to bus-powered operation may cause USB connections to be reset if connected devices previously requested more power than available in bus-powered mode.
To allow high-speed (USB 2.0) devices to operate in their fastest mode, all hubs between the devices and the computer must be high-speed. High-speed devices should fall back to full-speed (USB 1.1) when plugged into a full-speed hub (or connected to an older full-speed computer port). While high-speed hubs can communicate at all device speeds, low- and full-speed traffic is combined and segregated from high-speed traffic through a transaction translator. Each transaction translator segregates lower speed traffic into its own pool, essentially creating a virtual full-speed bus. Some designs use a single transaction translator (STT), while other designs have multiple translators (MTT). Having multiple translators is a significant benefit when one connects multiple high-bandwidth full-speed devices. [3]
It is an important consideration that in common language (and often product marketing), USB 2.0 is used as synonymous with high-speed. However, because the USB 2.0 specification, which introduced high-speed, incorporates the USB 1.1 specification such that a USB 2.0 device is not required to operate at high speed, any compliant full-speed or low-speed device may still be labelled as a USB 2.0 device. Thus, not all USB 2.0 hubs operate at high speed.
USB 3.0 is the third major version of the Universal Serial Bus (USB) standard for interfacing computers and electronic devices. Among other improvements, USB 3.0 adds the new transfer rate referred to as SuperSpeed USB (SS) that can transfer data at up to 5 Gbit/s (625 MB/s), which is about 10 times faster than the USB 2.0 standard. It is recommended that manufacturers distinguish USB 3.0 connectors from their USB 2.0 counterparts by using blue (Pantone 300C) [4] for the Standard-A receptacles and plugs, [5] and by the initials SS. [6]
USB 3.1, released in July 2013, is the successor standard that replaces the USB 3.0 standard. USB 3.1 preserves the existing SuperSpeed transfer rate, giving it the new label USB 3.1 Gen 1, [7] [8] while defining a new SuperSpeed+ transfer mode, called USB 3.1 Gen 2 [9] which can transfer data at up to 10 Gbps over the existing USB-type-A and USB-C connectors (1250 MB/s, twice the rate of USB 3.0). [10] [11]
USB 3.2, released in September 2017, replaces the USB 3.1 standard. It preserves existing USB 3.1 SuperSpeed and SuperSpeed+ data modes and introduces two new SuperSpeed+transfer modes over the USB-C connector using two-lane operation, with data rates of 10 and 20 Gbps (1250 and 2500 MB/s).
USB4 Gen 4 with data rates of 80 and 120 Gbps (10,000 and 15,000 MB/s).
Each hub has exactly one upstream port and a number of downstream ports. The upstream port connects the hub (directly or via other hubs) to the host. Other hubs or devices can be attached to the downstream ports. During normal transmission, hubs are essentially transparent: data received from its upstream port is broadcast to all devices attached to its downstream ports (pictorially described in the USB 2.0 specification in Figure 11-2, Hub Signalling Connectivity). Data received from a downstream port is generally forwarded to the upstream port only. This way, what is sent by the host is received by all hubs and devices, and what is sent by a device is received by the host but not by the other devices (an exception is resume signaling). Downstream routing has been changed in USB 3.0 with the addition of Point to Point routing: A route string sent in the packet header allows a USB 3.0 host to only send a downstream packet to a single destination port, decreasing congestion and power consumption. [12]
Hubs are not transparent when dealing with changes in the status of downstream ports, such as insertion or removal of devices. In particular, if a downstream port of a hub changes status, this change is dealt with in an interaction between the host and this hub; with any hubs between the host and "changed hub" acting as transparent.
To this aim, each hub has a single interrupt endpoint "1 IN" (endpoint address 1, hub-to-host direction) used to signal changes in the status of the downstream ports. When someone plugs in a device, the hub detects voltage on either D+ or D− and signals the insertion to the host via this interrupt endpoint. When the host polls this interrupt endpoint, it learns that the new device is present. It then instructs the hub (via the default control pipe) to reset the port where the new device was plugged in. This reset makes the new device assume address 0, and the host can then interact with it directly; this interaction will result in the host assigning a new (non-zero) address to the device. [13] [14]
Any USB 2.0 hub that supports a higher standard than USB 1.1 (12 Mbit/s) will translate between the lower standard and the higher standard using what is called a transaction translator (TT). For example, if a USB 1.1 device is connected to a port on a USB 2.0 hub, then the TT would automatically recognize and translate the USB 1.1 signals to USB 2.0 on the uplink. However, the default design is that all lower-standard devices share the same transaction translator and thus create a bottleneck, a configuration known as the single transaction translator. Consequently, multi transaction translators (Multi-TT) were created, which provide more transaction translators such that bottlenecks are avoided. [15] Note that due to the nature of USB 3.0 hubs have separate logic for the USB 3.0 and 2.0 data and therefore report a HUB device for both protocols.
Most USB hubs use one or more integrated controllers (ICs), of which several designs are available from various manufacturers. Most support a four-port hub system, but hubs using 16-port hub controllers are also available in the industry.[ citation needed ] The USB bus allows seven cascading tiers of ports. The root hub is the first tier, and the last devices are on the seventh tier, allowing five tiers worth of hubs between them. The maximum number of user devices is reduced by the number of hubs. With 50 hubs attached, the maximum number is 127 − 50 = 77. [16]
Universal Serial Bus (USB) is an industry standard that allows data exchange and delivery of power between many types of electronics. It specifies its architecture, in particular its physical interface, and communication protocols for data transfer and power delivery to and from hosts, such as personal computers, to and from peripheral devices, e.g. displays, keyboards, and mass storage devices, and to and from intermediate hubs, which multiply the number of a host's ports.
A network switch is networking hardware that connects devices on a computer network by using packet switching to receive and forward data to the destination device.
ACCESS.bus, or A.b for short, is a peripheral-interconnect computer bus developed by Philips and DEC in the early 1990s, based on Philips' I²C system. It is similar in purpose to USB, in that it allows low-speed devices to be added or removed from a computer on the fly. While it was made available earlier than USB, it never gained the popularity of USB.
PCI Express, officially abbreviated as PCIe or PCI-e, is a high-speed serial computer expansion bus standard, designed to replace the older PCI, PCI-X and AGP bus standards. It is the common motherboard interface for personal computers' graphics cards, capture cards, sound cards, hard disk drive host adapters, SSDs, Wi-Fi, and Ethernet hardware connections. PCIe has numerous improvements over the older standards, including higher maximum system bus throughput, lower I/O pin count and smaller physical footprint, better performance scaling for bus devices, a more detailed error detection and reporting mechanism, and native hot-swap functionality. More recent revisions of the PCIe standard provide hardware support for I/O virtualization.
SATA is a computer bus interface that connects host bus adapters to mass storage devices such as hard disk drives, optical drives, and solid-state drives. Serial ATA succeeded the earlier Parallel ATA (PATA) standard to become the predominant interface for storage devices.
In computing, a docking station, port replicator (hub), or dock provides a simplified way to plug-in a mobile device, such as connect common peripherals to a laptop, or charge a smartphone. Because a wide range of dockable devices—from mobile phones to wireless mouse—have different connectors, power signaling, and uses, docks are unstandardized and are therefore often designed for a specific type of device.
USB On-The-Go is a specification first used in late 2001 that allows USB devices, such as tablets or smartphones, to also act as a host, allowing other USB devices, such as USB flash drives, digital cameras, mouse or keyboards, to be attached to them. Use of USB OTG allows devices to switch back and forth between the roles of host and device. For example, a smartphone may read from removable media as the host device, but present itself as a USB Mass Storage Device when connected to a host computer.
DisplayPort (DP) is a proprietary digital display interface developed by a consortium of PC and chip manufacturers and standardized by the Video Electronics Standards Association (VESA). It is primarily used to connect a video source to a display device such as a computer monitor. It can also carry audio, USB, and other forms of data.
The PS/2 port is a 6-pin mini-DIN connector used for connecting keyboards and mice to a PC compatible computer system. Its name comes from the IBM Personal System/2 series of personal computers, with which it was introduced in 1987. The PS/2 mouse connector generally replaced the older DE-9 RS-232 "serial mouse" connector, while the PS/2 keyboard connector replaced the larger 5-pin/180° DIN connector used in the IBM PC/AT design. The PS/2 keyboard port is electrically and logically identical to the IBM AT keyboard port, differing only in the type of electrical connector used. The PS/2 platform introduced a second port with the same design as the keyboard port for use to connect a mouse; thus the PS/2-style keyboard and mouse interfaces are electrically similar and employ the same communication protocol. However, unlike the otherwise similar Apple Desktop Bus connector used by Apple, a given system's keyboard and mouse port may not be interchangeable since the two devices use different sets of commands and the device drivers generally are hard-coded to communicate with each device at the address of the port that is conventionally assigned to that device.
A computer port is a hardware piece on a computer where an electrical connector can be plugged to link the device to external devices, such as another computer, a peripheral device or network equipment.This is a non-standard term.
PoweredUSB, also known as Retail USB, USB PlusPower, USB +Power, and USB Power Plus, is an addition to the Universal Serial Bus standard that allows for higher-power devices to obtain power through their USB host instead of requiring an independent power supply or external AC adapter. It is mostly used in point-of-sale equipment, such as receipt printers, touch monitor and barcode readers.
Universal Serial Bus 3.0, marketed as SuperSpeed USB, is the third major version of the Universal Serial Bus (USB) standard for interfacing computers and electronic devices. It was released in November 2008. The USB 3.0 specification defined a new architecture and protocol, named SuperSpeed, which included a new lane for providing full-duplex data transfers that physically required five additional wires and pins, while also adding a new signal coding scheme, and preserving the USB 2.0 architecture and protocols and therefore keeping the original four pins and wires for the USB 2.0 backward-compatibility, resulting in nine wires in total and nine or ten pins at connector interfaces. The new transfer rate, marketed as SuperSpeed USB (SS), can transfer signals at up to 5 Gbit/s with raw data rate of 500 MB/s after encoding overhead, which is about 10 times faster than High-Speed. USB 3.0 Type-A and B connectors are usually blue, to distinguish them from USB 2.0 connectors, as recommended by the specification, and by the initials SS.
Thunderbolt is the brand name of a hardware interface for the connection of external peripherals to a computer. It was developed by Intel in collaboration with Apple. It was initially marketed under the name Light Peak, and first sold as part of an end-user product on 24 February 2011.
IEEE 1394 is an interface standard for a serial bus for high-speed communications and isochronous real-time data transfer. It was developed in the late 1980s and early 1990s by Apple in cooperation with a number of companies, primarily Sony and Panasonic. It is most commonly known by the name FireWire (Apple), though other brand names exist such as i.LINK (Sony), and Lynx.
In computing, ‘’‘eSATAp’’’ is a combination connection for external storage devices. This type of port allows for either an eSATA or USB device to be connected. The eSATAp socket includes keyed cutouts for both types of connectors, ensuring that devices can only be plugged in the correct orientation for compatibility and functionality.
The eXtensible Host Controller Interface (xHCI) is a technical specification that provides a detailed framework for the functioning of a computer's host controller for Universal Serial Bus (USB). Known alternately as the USB 3.0 host controller specification, xHCI is designed to be backward compatible, supporting a wide range of USB devices from older USB 1.x to the more recent USB 3.x versions.
USB-C, or USB Type-C, is a 24-pin connector that supersedes previous USB connectors and can carry audio, video, and other data, to connect to monitors or external drives. It can also provide and receive power, to power, e.g., a laptop or a mobile phone. It is used not only by USB technology, but also by other protocols, including Thunderbolt, PCIe, HDMI, DisplayPort, and others. It is extensible to support future protocols.
The initial versions of the USB standard specified connectors that were easy to use and that would have acceptable life spans; revisions of the standard added smaller connectors useful for compact portable devices. Higher-speed development of the USB standard gave rise to another family of connectors to permit additional data paths. All versions of USB specify cable properties; version 3.x cables include additional data paths. The USB standard included power supply to peripheral devices; modern versions of the standard extend the power delivery limits for battery charging and devices requiring up to 240 watts. USB has been selected as the standard charging format for many mobile phones, reducing the proliferation of proprietary chargers.
This article provides information about the communications aspects of Universal Serial Bus (USB): Signaling, Protocols, Transactions. USB is an industry-standard used to specify cables, connectors, and protocols that are used for communication between electronic devices. USB ports and cables are used to connect hardware such as printers, scanners, keyboards, mice, flash drives, external hard drives, joysticks, cameras, monitors, and more to computers of all kinds. USB also supports signaling rates from 1.5 Mbit/s to 80 Gbit/s depending on the version of the standard. The article explains how USB devices transmit and receive data using electrical signals over the physical layer, how they identify themselves and negotiate parameters such as speed and power with the host or other devices using standard protocols such as USB Device Framework and USB Power Delivery, and how they exchange data using packets of different types and formats such as token, data, handshake, and special packets.
Universal Serial Bus 4 (USB4), sometimes erroneously referred to as USB 4.0, is the most recent technical specification of the USB data communication standard. The USB Implementers Forum originally announced USB4 in 2019.
individual port power switches
Most PC manufacturers label each USB port using the logo for USB type [...] the USB 2.0 logo is a trident, while the USB 3.0 logo is a similar trident with the letters 'SS' (which stands for SuperSpeed) attached.[ verification needed ]