How does USB device discovery work?
Ben Eater
@beneaterAbout
Subscribe to see tutorial-style videos about electronics, computer architecture, networking, and various other technical subjects. If you want to see more on a particular subject, leave a comment and I'll try my best to add more. If you'd like to support my work, please do! https://www.patreon.com/beneater https://paypal.me/beneater https://cash.me/$eater bitcoin:1EaterJkmmuJWfm8hvULrMJGm7R8JgXTL8 bitcoincash:1JUjEErUjkgBVJP28GH6LKihvEUJ1RGZhx
Latest Posts
Video Description
What happens when you first plug a USB device in? There's a whole bunch of negotiation where the computer discovers what a USB device is capable of. In this video I capture the conversation and walk through what's going on. Support these videos on Patreon: https://www.patreon.com/beneater or https://eater.net/support for other ways to support. ------------------ Social media: Website: https://www.eater.net Patreon: https://patreon.com/beneater Reddit: https://www.reddit.com/r/beneater Special thanks to these supporters for making this video possible: Aaron Todd, Aleksey Smolenchuk, Alexander Wendland, Andrew C. Young, Anson VanDoren, Anthanasius, anula, Armin Brauns, Ben Cochran, Ben Kamens, Ben Williams, Benny Olsson, Bill Cooksey, Binh Tran, Bouke Groenescheij, Bradley Pirtle, Bradley Stach, Brent Reusing, Brian T Hoover, Bryan Brickman, Burt Humburg, Carlos Ambrozak, Chris, Christian Carter, Christopher Blackmon, Dale Andrew Darling, Daniel Jeppsson, Daniel Tang, dans, Dave Burley, Dave Walter, David Brown, David Clark, David Cox, David House, David Sastre Medina, David Turner, David Worsham, Dean Bevan, Dean Winger, Dilip Gowda, Dissy, dko, Dmitry Guyvoronsky, Dušan Dželebdžić, Dustin Yelland, Dzevad Trumic, Eric Dynowski, Erik Broeders, Eugene Bulkin, Eveli László, George Miroshnykov, Harry McDow, hotwire33, Ingo Eble, Ivan Sorokin, James Capuder, james schaefer, Jared Dziedzic, Jason DeStefano, Jason Specland, JavaXP, Jaxon Ketterman, Jay Binks, Jayne Gabriele, Jeremy Cole, Jesse Miller, Jim Kelly, Jim Knowler, Jim Van Meggelen, Joe Beda, Joe OConnor, Joe Pregracke, Joel Miller, John Fenwick, John Meade, Jon Dugan, Joseph Portaro, Joshua King, Jurģis Brigmanis, Kai Wells, Kefen, Kenneth Christensen, Kent Collins, Kitick, Koreo, Lambda GPU Workstations, Larry, Lucky Resistor, Lukasz Pacholik, Marcos Fujisawa, Marcus Classon, Mark Day, Marko Clemente, Martin Noble, Martin Roth, Mats Fredriksson, Matt Krueger, Matthäus Pawelczyk, Matthew Duphily, melvin2001, Michael Tedder, Michael Timbrook, Michael Weitman, Miguel Ríos, mikebad, Miles Macchiaroli, Muqeet Mujahid, My Yiddishe Mama, Nicholas Counts, Nicholas Moresco, Not Yet Wise, Örn Arnarson, Paul Pluzhnikov, Paul Randal, Pete Dietl, Phil Dennis, Philip Hofstetter, Phillip Glau, PixelSergey, ProgrammerDor, Randal Masutani, Randy True, raoulvp, Renaldas Zioma, Ric King, Rick Hennigan, Rob Bruno, Robert Comyn, Robert Diaz, Robey Pointer, Roland Bobek, §çīŤøşHï ŇåĶąýŐbŕÔ, Scott Holmes, Sergey Kruk, Shelton, SonOfSofaman, Stefan Nesinger, Stefanus Du Toit, Stephen, Stephen Kovalcik, Stephen Riley, Stephen Smithstone, Steve Jones, Steven Zilberberg, Tayler Porter, TheWebMachine, Thomas Bruggink, Thomas Eriksen, Tii, Tim Walkowski, Tom, Tom Yedwab, Tommaso Palmieri, Tyler Latham, Vincent Bernat, Vladimir Solomatin, Walter Montalvo, Warren Miller, Wim Coekaerts, xisente, Yee Lam Wan
You May Also Like
USB Troubleshooting Kit
AI-recommended products based on this video

USB C Hub, MacBook Pro Adapter USB C Dongle with 4K HDMI,Thunderbolt 3 100W Power Delivery Port,USB C 5Gbps Data Port,SD/TF Card Reader,2 USB 3.0 Ports Compatible for MacBook Pro Air 2022/2021/2020

Razer Universal Quick Charging Stand for Xbox Series X|S: Magnetic Secure Charging - Matches Forza Horizon 5 Limited Edition Xbox Wireless Controller - USB Powered - (Controller Sold Separately)

FYOUNG Controller Charger Dock Compatible with Nintendo Switch/Switch OLED for Joycons, Charging Stand Station Compatible with Switch/OLED Controller Accessories with a USB Type-C Charging Cord

2 Pack Controller Battery Pack Rechargeable for Xbox One/Xbox Series X|S with 4 Battery Cover Xbox Play and Charge Kit with Micro USB Charging Cable for Xbox One S/X/Elite Controller

2 Pack Rechargeable Controller Battery Pack for Xbox Series X|S and Xbox One with 10FT USB C Charging Cable and Micro USB Adapter 6amLifestyle Battery Pack Xbox Play and Charge Kit

Shcngqio 1080P Full HD Webcam with Privacy Cover, Wide Angle Lens, Active Light Correction, Plug and Play USB Webcam for PC, Desktop,Laptop (Black)

LyxPro SPA-8 Compact 8" Portable PA System 100-Watt RMS Power Active Speaker System Equalizer Bluetooth SD Slot USB MP3 XLR 1/4" 1/8" 3.5mm Inputs

iPhone 16e/16/15 Pro Max Charger, 2-Pack 20W Type C Fast Wall Charger Plug Power Adapter, USB C Charger Block for iPhone 16/16e/16 Pro/16 Pro Max/15/15 Plus/15 Pro Max, iPad, with 6FT USB-C to C Cable

IFEART 70W USB C Charger for MacBook Air MacBook Pro 13 14 15 16 inch 2025 2024 2023 2022 2021 2020 2019 2018, M1 M2 M3 M4 Laptop USB C Power Adapter, 6.6ft USB C to C Cable, Original Quality

VINTAR South Africa Plug Adapter,VINTAR Type M Power Adapter with 1 USB C,2 American Outlets and 3 USB Ports,6 in 1 International Power Adapter for Canada to South Africa,Botswana,Namibia,Nepal(Type M)

INIU USB C Charger Block, 100W 3-Port PD Fast Charging, Advanced GaN Power Adapter, Foldable Charger with USB C Cable for MacBook Air 13 Pro, iPad, iPhone 17 16 Pro Max, Samsung S25 S24, Switch 2 etc ClimatePartner certified

Anker USB C Charger Cable (6ft 100W, 2Pack), USB 2.0 Type C Fast Charging Cable for iPhone 15 / 15Pro / 15Plus / 15ProMax MacBook Pro 2020, iPad Pro 2020, iPad Air 4, Samsung Galaxy S23+/S23 Ultra ClimatePartner certified
![Short USB C Cable [4-Pack 8 inch], SUMPK 3A Fast Charging USB 2.0 Data Transfer to Type C Phone Charger Cord Nylon Braided Compatible with Samsung Galaxy S10 S9, Pixel 3, LG V30, Charging Station](https://m.media-amazon.com/images/I/71GPEzylAaS._AC_UL960_FMwebp_QL65_.jpg)
Short USB C Cable [4-Pack 8 inch], SUMPK 3A Fast Charging USB 2.0 Data Transfer to Type C Phone Charger Cord Nylon Braided Compatible with Samsung Galaxy S10 S9, Pixel 3, LG V30, Charging Station

Lenovo USA ThinkPad Thunderbolt 3 Dock Gen 2 135W (40AN0135US) Dual UHD 4K Display Capability, 2 HDMI, 2 DP, USB-C, USB 3.1, Black

Lenovo 65w USB Type C Ac Adapter 4X20M26268 with 2 Prong Power Cord Included, Black in The Original Retail Packaging.

Syntech Link Cable Compatible with Meta/Oculus Quest 3S/Quest 3/Quest2/Pro/Pico 4/Ultra and PC/SteamVR, 16FT Upgraded Type C Cable with USB 3.0 Adapter, High Speed Data Transfer Cord for VR Headset

USB C Headphone Adapter iPhone 16 Dongle Type C to 3.5mm Jack Audio Adapter iPhone 15 USBC to Aux Adapter Compatible with iPhone16, iPhone 15, MacBook Pro/Air, Chromebook, Galaxy 2 Pack

USB C Charger Block, 40W Dual USB C Wall Charger PD+QC USB Wall Plug Multiport Type C Power Adapter Fast Charging Block for iPhone 15 14 13 12 iPad Galaxy S23 S22 Pixel LG Tablet Android

UGREEN Revodok USB C Hub, 5-in-1 USB C Adapter with 4K HDMI, 100W Power Delivery, 3 USB A Data Ports, Multiport USB Hub for MacBook Pro/Air, iPad Pro, Surface, XPS, Thinkpad, Galaxy and More, Gray



















