How Many USBs Can You Plug In At Once?

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.

Video description

Get 3DEXPERIENCE SOLIDWORKS for Makers (20% Off $99USD/year!) at https://lmg.gg/3DSW or learn more at https://lmg.gg/f03c8 Save 10% and Free Shipping at Ridge by using offer code LINUS at https://www.ridge.com/LINUS How many USB devices can be plugged into a PC at one time? It's a reasonable question, but the answer is more complicated than you might expect. We took 127 USB devices and plugged them in one by one until something broke. Then we took those same devices and reconfigured a few things to see if we can break it a different way. Just how broken do things get? Which limits get hit? How can you calculate YOUR maximum USB amount? Discuss on the forum: https://linustechtips.com/topic/1525309-how-many-usbs-can-you-plug-in-at-once/ Buy a SABRENT 16 Port Powered USB 3.0 Hub: https://geni.us/nTjGG Buy a UGREEN USB Card Reader Hub: https://geni.us/PoSn7IZ Buy a StarTech 7 Port PCI Express USB 3.0 Card: https://geni.us/VZ8cC Buy a StarTech 4 Port PCI Express USB 3.0 Card: https://geni.us/T868 Purchases made through some store links may provide some compensation to Linus Media Group. ► GET MERCH: https://lttstore.com ► GET EXCLUSIVE CONTENT ON FLOATPLANE: https://lmg.gg/lttfloatplane ► SPONSORS, AFFILIATES, AND PARTNERS: https://lmg.gg/partners ► EQUIPMENT WE USE TO FILM LTT: https://lmg.gg/LTTEquipment ► OUR WAN PODCAST GEAR: https://lmg.gg/wanset FOLLOW US ---------------------------------------------------   Twitter: https://twitter.com/linustech Facebook: http://www.facebook.com/LinusTech Instagram: https://www.instagram.com/linustech TikTok: https://www.tiktok.com/@linustech Twitch: https://www.twitch.tv/linustech MUSIC CREDIT --------------------------------------------------- Intro: Laszlo - Supernova Video Link: https://www.youtube.com/watch?v=PKfxmFU3lWY iTunes Download Link: https://itunes.apple.com/us/album/supernova/id936805712 Artist Link: https://soundcloud.com/laszlomusic Outro: Approaching Nirvana - Sugar High Video Link: https://www.youtube.com/watch?v=ngsGBSCDwcI Listen on Spotify: http://spoti.fi/UxWkUw Artist Link: http://www.youtube.com/approachingnirvana Intro animation by MBarek Abdelwassaa https://www.instagram.com/mbarek_abdel/ Monitor And Keyboard by vadimmihalkevich / CC BY 4.0  https://geni.us/PgGWp Mechanical RGB Keyboard by BigBrotherECE / CC BY 4.0 https://geni.us/mj6pHk4 Mouse Gamer free Model By Oscar Creativo / CC BY 4.0 https://geni.us/Ps3XfE CHAPTERS --------------------------------------------------- 0:00 Intro 1:06 Limits to push it to 2:21 THE HUB 5:31 Can we break THE HUB? 7:51 Big Hub Energy 9:18 Going Deep (into Bus Topology and DFPs) 10:13 AMD ruins our good time 16:00 Endpoints! 17:40 The USBinator! 19:23 4 ports is better than 7 20:36 USBinator powers on! 23:13 Is...Is this the limit? 24:00 Conclusion