How Many USBs Can You Plug In At Once?
New Section
This section introduces the topic of USB device limits and the need to explore the real-world limit by plugging in devices.
Theoretical Limit vs Real-World Limit
- USB devices have a theoretical limit of 127 supported by a standard PC.
- However, the real-world limit is much lower and can only be determined by plugging in devices.
- Reading the white paper on the architecture of the spec is an option, but less interesting for viewers.
New Section
This section discusses factors that limit the number of USB devices that can be connected to a computer.
Factors Limiting USB Device Connection
- Number of ports on the front and back of a PC determine how many devices can be connected.
- Most computers have a single USB host controller, and all ports share its bandwidth.
- Bandwidth limitation is uncommon for peripherals like mice or keyboards but can occur with high-bandwidth devices like video capture or VR headsets.
New Section
This section explores using hubs to connect more USB devices beyond the limits of rear I/O ports.
Using Hubs to Connect More Devices
- Hubs allow connecting multiple devices to a single port.
- Plugging in hubs consecutively allows expanding device connectivity.
- Different types of hubs (USB 2 and USB 3) handle different kinds of devices.
New Section
This section explains how hubs facilitate communication between connected devices and host systems.
Hub Functionality
- Hubs handle communication between plugged-in devices and host systems.
- They also manage bandwidth sharing among connected devices.
- Each hub has an address that is added to the path of devices connected through it.
New Section
This section discusses the limitations and behavior of unpowered hubs.
Unpowered Hubs
- Unpowered hubs are not supposed to support high-power devices.
- However, many unpowered hubs do work with higher power devices due to being out-of-spec.
- USB Implementer Forum certification ensures compliance but may limit device compatibility.
New Section
This section explores the consequences of drawing too much current from a USB controller.
Consequences of Drawing Too Much Current
- Drawing excessive current can cause the USB controller to shut down the connection.
- Some devices may not work properly or at all when connected to an unpowered hub.
- Manufacturers face a choice between complying with specifications or ensuring compatibility for customers.
New Section
This section showcases further testing with multiple devices connected through hubs.
Testing Device Connectivity
- Connecting multiple devices, including high-power ones, through hubs can lead to unexpected behavior.
- The video demonstrates connecting various devices and observing their functionality.
New Section
The speaker discusses the power draw of a motherboard and the need for powered USB hubs.
Power Draw of Motherboard
- The speaker suspects that the motherboard delivers more power than specified, allowing devices to function properly.
- When connecting certain devices like a heated mouse, RGB keyboard, and stream deck to an unpowered hub, there may be issues with power draw.
- Plugging these devices directly into the back of the PC resolves the issue.
Powered USB Hubs
- Powered USB hubs can solve power-related problems when connecting multiple devices.
- Some hubs are power mandatory while others are power optional.
- A powered hub from Sabrinth is recommended as it supports up to 16 devices.
New Section
The speaker explores different types of USB hubs and their limitations.
Hub Depth Limitations
- A hub will not function when connected more than five hubs away from the root port.
- Some USB hub chips have up to seven downstream facing ports (DFPs), while most have only four DFPs.
- Chaining multiple hubs together can increase the number of available ports but also increases hub depth limitations.
Plugging in Multiple Devices
- To connect as many devices as possible, it is recommended to plug each hub into the back of the PC rather than daisy-chaining them together excessively.
New Section
The speaker demonstrates connecting numerous devices using multiple USB hubs.
Connecting Devices
- By plugging each hub into the back of the PC, it is possible to connect a large number of devices.
- The speaker connects USB thumb drives, mice, keyboards, and other peripherals to demonstrate the expandability of USB connectivity.
New Section
The speaker encounters some issues when connecting a large number of devices.
Device Behavior
- While all 48 connected devices show up correctly, there may be some unusual behavior such as difficulty clicking or using certain functions.
- The speaker experiences issues with mouse clicks and keyboard inputs. Task Manager can still be accessed using alternative methods.
New Section
The speaker discusses unexpected results when connecting a high number of devices.
Unexpected Results
- Despite expectations that the USB Root Hub would fail at 127 endpoints, it successfully handles 234 endpoints on an AMD chipset.
- This exceeds the expected limit and indicates the powerful capabilities of the AMD chipset in handling USB connections.
Introduction and Setting the Goal
In this section, the speaker introduces the goal of achieving a new world record for the number of USB hubs and devices connected. The theoretical limit of xhci is mentioned as 8,000.
Setting the Goal
- The goal is to set a new world record for the number of USB hubs and devices connected.
- The theoretical limit of xhci is around 8,000.
Unexpected Challenges
This section highlights unexpected challenges faced during the process.
Unexpected Challenges
- Despite previous difficulties in reaching theoretical limits without issues, AMD systems are performing exceptionally well.
- The final hub is expected to be enough to achieve the goal.
- The video goes off-script due to unforeseen circumstances.
Endpoint Limit Explanation
This section explains what an endpoint is and its significance in relation to device limits.
Endpoint Limit Explanation
- Endpoints are data pipes between hosts and devices.
- Devices have multiple endpoints for various purposes such as configuration, data transfer, microphones, cameras, etc.
- Each hub uses two endpoints, resulting in a total of 20 endpoints for five USB 3 hubs and five USB 2 hubs.
- XHCI protocol supports up to 31 endpoints per device, allowing nearly 4,000 endpoints with a reasonable device limit.
- Modern hardware typically has a limit of around 64 to 128 endpoints.
Different USB Controller Cards
This section discusses different types of USB controller cards used in the setup.
Different USB Controller Cards
- Two types of USB controller cards are used: one with four plugs and another with seven plugs.
- Four-port cards have their own controllers while some ports on seven-plug cards run off an integrated hub.
- Using the four-port cards reduces the risk of reaching an endpoint limit.
Endpoint Limit on the System
This section explains how the system setup ensures it is unlikely to reach an endpoint limit.
Endpoint Limit on the System
- Each four-port card can support a theoretical maximum of 508 endpoints.
- With 30 USB controllers in total, it should be impossible to reach an endpoint limit on this system.
The transcript does not provide timestamps for all sections.
Windows USB Device Limit Test
The transcript discusses a test conducted to determine the maximum number of USB devices that can be connected to a Windows system. The test involves plugging in multiple USB devices and monitoring their functionality.
Testing the USB Device Limit
- Windows attempts to assign drive letters to multiple drives simultaneously, requiring the user to plug in 127 USB devices.
- The total number of peripheral endpoints is 56, with 122 standard hubs.
- Despite the high number of controllers and peripherals, the system is still functioning properly.
- There are concerns about the stability of the setup, as only a single strip of tape holds the devices together.
- The number of devices reaches 100, but some ports start losing power intermittently.
- CPU usage remains at around 30-40% despite the high device count.
- The experiment ends with 99 connected devices due to power issues.
Key Takeaways
- Using a hub requires connecting it directly to the root controller for optimal performance.
- Unpowered hubs may struggle with higher power demands, so low-power devices or powered hubs are recommended.
Introduction to SolidWorks for Makers
This section introduces SolidWorks for Makers, an affordable software solution that provides digital tools for designing and creating various projects.
SolidWorks for Makers Features
- SolidWorks for Makers offers an affordable way to access SolidWorks and other digital tools.
- Users can utilize both locally installed and browser-based tools for designing, fabricating, and rendering.
- The software is connected to the cloud, providing access to online support and a design community.
- SolidWorks for Makers is intended for personal use and has a profit limitation of $2,000 USD per year.
Conclusion
The transcript covers a test conducted to determine the maximum number of USB devices that can be connected to a Windows system. It also introduces SolidWorks for Makers, an affordable software solution for designing and creating projects.
Turn any video into a summary like this
YouTube links, meetings, lectures. With transcripts, search, and chat.