See the minimum needed for a USB device to list in Device Manager

Sdílet
Vložit
  • čas přidán 25. 06. 2024
  • See a demonstration of how little has to go right for a USB device to show up in Windows Device Manager or Linux dmesg and understand what that means for troubleshooting USB microcontroller/Arduino projects.
    The video I'd mentioned about beginning regarding wasting time looking for drivers: • Arduino not showing De...
    00:00 Intro
    00:15 Description
    00:42 Demoboard overview
    01:29 Demoboard circuit details
    02:20 USB device enumeration
    04:03 Speeds
    05:17 Testing In Windows
    07:03 Testing In Linux
    08:39 Troubleshooting
    08:57 Physical connections
    09:35 Enable/RESET signals
    10:27 A microcontroller seems to be trying to connect
    11:19 Designs that try to connect by default
  • Věda a technologie

Komentáře • 414

  • @TM-zs7ko
    @TM-zs7ko  Před rokem +509

    I don't have a hackaday account. But, I just wanted to clear up some confusion a poster over there seems to have, just in case you got some ideas about what this video was going to show you based on what you read there. Or you found this video yourself and also came to the same conclusions they did. Or were about to to come to these conclusions.
    They seem to have gotten the point of this thing backwards. So, it's strangely easier to clarify things in reverse order. Starting from the end:
    "He runs through a few other potentially useful scenarios, but really, the best use of something like this is to educate yourself on the lowest levels of USB connection negotiation".
    *_The whole point_** and really **_only point_** of the board shown **_is_** to demonstrate the first (low level) thing a USB device does to signal for attachment, which in turn causes it to list in the mentioned utilities, in the way shown.* That is, the minimum thing that a USB device has to do right to cause that to happen, namely USB device pull-ups. The point _is to educate yourself on that topic and hopefully have that inform your debugging of USB device problems._ Or you can just find it mildly interesting. The board you see in the video was put together to help demonstrate the device pull-ups and nothing more. That "best use" was the _only intended use_ for it.
    *_"[TM] points out, you could use this circuit to test that the physical port on the host at least minimally works."_*
    You could use it that way. But that's not what I'm explaining at all. What I'm showing is what you can expect to see on your computer (in both Windows and Linux), if something successfully creates these signals alone. These signals are the minimum needed to list in same way in both Device Manager and dmesg. That's what I'm showing in the video.
    *_"as this extremely minimal but functional USB device illustrates."_*
    Well, the board is somewhat minimal. But, as many people pointed that you don't really need an actual linear regulator IC on it (more on that below). However, this is definitely not anything _I_ call a "functional USB device." It quite literally reports with failures to read the device descriptor and has nothing on it capable of sending USB messages, which are both things mentioned in the video. What it _is_ is a demonstration of the "minimum needed for a USB device to list in Device Manager", hence the video title.
    So far as I can tell, the author thought the material at the end of the video was intended to describe ways to use the board shown, as though it were made to be a tool you could build and not what it is, a demonstration board. What's being talked about at the end of the video are ways you can use "this understanding"... understanding of USB pull-up resistors. These are the "something useful" I mentioned at the beginning of the video, the "something useful to use in your thinking when troubleshooting USB problems." Ways to use the under "understanding". *Not* ways to use the board.
    I hope I'm not coming off as mean in the above. I'm glad someone was thoughtful enough to mention it on a site about electronics. It's crazy to me than anyone is watching this. I thought like maybe 5 people would watch it, maybe 50. But so long as people are watching it, I do want to make really clear about what is being said in the video and what is not. It is just demonstration and description of a basic thing that USB devices do and how you might use the knowledge of that which is demonstrated to help you in troubleshooting.
    Regarding regulators and dividers:
    Mostly I used a regulator to be more or less in analogy with what you actually find in USB devices. They're typically already 3.3V devices powered by a regulator. Or they're 5V devices that have an internal 3.3V regulator specifically for this purpose. And it's probably the least distracting thing to put there when you're explaining something not-that on the board. I'd also briefly considered using what the Digispark uses, which is essentially a zener regulator and because it features later in the video. And because I also happened to know where some of my zener diodes were. But, I also just had a regulator. And yeah, you could also probably just make a divider from VUSB to GND. I didn't try it. I expect it works. But also I simply had a regulator and cap at hand.
    Could you use a divider? Yeah probably. If you wanted to rely on the 15k internal pulldown you won't wind up with 1.5K on the top. You'll need something more like 8K, I think. Which is not what is called for. Would it work? Probably, I think. If it worked for me would it work for you? I don't know. Maybe.
    If you put 1.5K on the top with only 15K on the bottom you'll wind up above the 3.3V nominal signal range. Is that a problem? Maybe not. If it wasn't a problem (perhaps damaging something) for me would in not be a problem for you? I don't know.
    So, you'd need a resistor in parallel with the 15K internal one, which is quite large compared to what you'd need externally. So you can more or less ignore the 15K and you don't necessarily need to run the parallel resistor calculation and just think of it as simple two resistor network. If you put a 3K resistor on the bottom of the divider that should be about right. With 1.5K on the top it divides 5V to about 3.3V. Would that work? Probably. However, the USB host is going to act on that divider when it tries to set a device address and ask for a device descriptor. Is that a problem? I don't know. If it worked for me, would.... Or you could just use a regulator. And then it will work and immediately be recognized as something that will work if you were trying to explain it someone else, say in a video for example. =)
    If you want to play with voltage dividers or the Digispark/V-USB/bitbanged style zener setup, go for it. If you have TL431 kicking around, I'm sure you could get that to work. Or if you have a simple 3.3V fixed output linear regulator kicking around, maybe just use that. If you're not worried about the repeatability of your setup you have a lot more freedom. Try stuff way out of spec. I did and found at least on hubs that I tried it on it worked fine to get similar results. But, you can get a 3.3V regulator like for under 1USD, in quantity one, at least if you're in the US ordering anything from a US parts distributor.
    Original Message:
    I'm really surprised to find this sort of support. Especially on a video like this. Had a little more to say about it in a community post. But mostly I just want to say thanks for letting me know you're getting anything out of watching this. It's just good to see.
    czcams.com/users/postUgkxvMno3tHF9bHJ4N3BiNBrIeZPUuBtQZWF

    • @ddieder
      @ddieder Před rokem +8

      Keep going, this is really great content!

    • @PoiSonSonic
      @PoiSonSonic Před rokem +5

      This is something I have always wondered, but never could put into words to make a question

    • @gtvwill
      @gtvwill Před rokem +3

      Rad video. Good to see this kind of slightly deeper/different content! Cheers!

    • @supermaster2012
      @supermaster2012 Před rokem +5

      I just got randomly introduced to your channel by the algorithm, which is kinda weird tbh since I intentionally never watch any tech channels (I find the "geek as a way of life" philosophy of most tech channels very cringeworthy, but I digress).
      Regardless, for a channel with 1k subs and sub-100k views on a week old video the content is pretty good, definitely good enough for me to gamble my time giving it a sub which is more than 99% of CZcams channels can say.
      If I had to make a suggestion I'd say invest in a good microphone. Right now the voice track sounds crunchier than a a bag of Cheetos, to the point that for a while I thought you were using a voice modulator of some sort. Nowadays you can get amazing audio for less than $100 and such investment would improve the overall quality of the videos tremendously, specially because the other elements are already pretty good.

    • @alexportier97
      @alexportier97 Před rokem +2

      I am glad I came across your channel. I hope to see more uploads from you soon. Great work!

  • @theothergameygamer
    @theothergameygamer Před rokem +890

    The internet needs more videos like these that help to demystify what have become everyday technologies an help the folks trying to utilize it to develop some basic debugging \ troubleshooting skills.

    • @TheManWithTheFlan
      @TheManWithTheFlan Před rokem +16

      Especially considering how much manufacturers and developers have been broadly trying to obfuscate the underlying parts of their products in the hope of being able to maintain planned obsolescence, keep their platforms as closed as possible, and squeeze a little extra money out of end users.

    • @theothergameygamer
      @theothergameygamer Před rokem +3

      @@zg-it I used to watch it on a science cable channel back when I had a TV - great stuff!

    • @chrisakaschulbus4903
      @chrisakaschulbus4903 Před rokem +1

      Well at some point in the past you had the whole schematic delivered with your pc.
      People drive cars without having the slightest clue about what a combustion is or how gears work.
      I wish this stuff was more common knowledge since a good percent of people are driving cars and are using computers.

    • @zg-it
      @zg-it Před rokem +2

      @@theothergameygamer hey, turns out the host has a CZcams channel called The secret Life of components. Still making content now!

  • @der.Schtefan
    @der.Schtefan Před rokem +1321

    Plot twist: there was a tiny microcontroller hidden inside the electrolytic capacitor package.

    • @miigon9117
      @miigon9117 Před rokem +258

      Plot twist: those jumpers on board are actually antennas and there's a strong radio emitter nearby to inject the signal wirelessly.

    • @CATech1138
      @CATech1138 Před rokem +14

      an ATTiny10 would work with ease

    • @Xiefux
      @Xiefux Před rokem

      its well known that chinese capacitors (which this probably was) have microcontrollers built in to send all your data to the CCP

    • @gustavgnoettgen
      @gustavgnoettgen Před rokem +1

      It also has wifi

    • @IvanDorozhkin
      @IvanDorozhkin Před rokem +8

      In the cable

  • @Destructificial
    @Destructificial Před rokem +316

    Great video!
    One small thing I caught: at 4:20 you say that SuperSpeed also pull up D+ to initiate the connection, but this is not strictly necessary. A SuperSpeed connection solely uses the SuperSpeed wires, so it'll even work with D+/D- completely disconnected. This allows for fun stuff like attaching a SuperSpeed-only and a *different* Low/Full/High-Speed device to the *same* USB port!

    • @TM-zs7ko
      @TM-zs7ko  Před rokem +88

      Interesting. I did have it in my head that the negotiation up to superspeed would require an initial enumerate and exchange of a few messages at full speed first. I'll have to look at that again when I'm back to reading about USB.

    • @kreuner11
      @kreuner11 Před rokem +5

      That's weird they didn't use the extra wires for the connection

    • @user-th3jl8mz7y
      @user-th3jl8mz7y Před rokem +17

      @@TM-zs7ko I have a "fiber extender" device which, when opened up, doesn't have soldered D+ and D-, but only has the two pairs of "USB 3+" connections. Hence, it doesn't work for your average keyboards and mice. Which for me was a waste of 400 bucks(I mean, yeah, I can probably solder that in, if I had enough practice and time, because the chip would support it). Because, well, reasonably you don't expect something produced in 2020s to NOT be backwards-compatible.
      On the side note, what did you do to this video so that it came up on yt recommended? 190k views on this one, but almost none on your other videos?
      This is a good explanation for basic USB. Thank you.

    • @adamh1478
      @adamh1478 Před rokem +3

      ​@@kreuner11 I'm guessing that the synchronization overhead would be too large, and that it's more efficient to just leave the lower speed pins alone.

    • @ComDenox
      @ComDenox Před rokem +6

      ​​@@user-th3jl8mz7y the algorithm™ is weird. Sometimes random videos become popular for no reason.
      My theory is that for channels with low numbers the algorithm™ suggests it to only few people, then bases how "worthy" the video is based on that. Basically, it seems to think that it's not worth to show videos of channels with few subs to many people to try to "push" them.
      This means that if the first few people don't watch it, the video does bad. But every once in a while a video like that will be lucky and be suggested to people that actually watch it. This makes the algorithm™ think it's very good, and "worth" its time to show it to more people, which creates a snowball effect.

  • @Jonaspatzl
    @Jonaspatzl Před rokem +320

    This video is incredibly helpful to quickly narrow down on some USB problems, thanks for condensing all this information down!

    • @TM-zs7ko
      @TM-zs7ko  Před rokem +14

      Did you find this while you were troubleshooting something?

    • @Graham_Wideman
      @Graham_Wideman Před rokem

      @@laughing5559 I think you meant to post this reply on the "Plot twist" thread, not this one?

    • @laughing5559
      @laughing5559 Před rokem

      @@Graham_Wideman To be honest I don't remember making the post or why so I will delete it.

  • @pascallj
    @pascallj Před rokem +54

    Got this video recommended to me in my feed. I wasn't looking for this, nor do I have a particular use case for it at the moment. But watching these well explained videos of small creators always reminds of CZcams in it's early days where you got recommended all sorts of random videos because the algorithm wasn't that specific.
    Keep up the good work!

  • @LFTRnow
    @LFTRnow Před rokem +10

    Next, grab the D+ and D- switches and manipulate them so they are on or off for roughly 570 ns with the following pattern...

  • @LuminousWatcher
    @LuminousWatcher Před rokem +13

    Comprehensive, detailed, simple and informative. Thank you for taking time to explain this. It will undoubtedly help in troubleshooting USB related issues for me.

  • @octothorpian_nightmare
    @octothorpian_nightmare Před rokem +43

    Good stuff all the way through. I'm really impressed with the illustration quality and thought that went into this video, I know that's a lot of work!

    • @TM-zs7ko
      @TM-zs7ko  Před rokem +8

      Heh. It's surprising much time you can sink into this sort of thing. I'm glad you like it.

  • @Graham_Wideman
    @Graham_Wideman Před rokem +59

    TM -- I have to commend you on a meticulously conscientious lesson in basic USB. A great job on focusing on the essentials that implement the basic functionality. And lovely attention to details that help everyone keep up, like having all the connections on the Veroboard on one side, and pointing out the number code on the resistors. Well done!

  • @narayanbandodker5482
    @narayanbandodker5482 Před rokem +8

    USB C specs also support the “Audio Accessory Mode” so you can make a mic input and speaker output without even using adc or dac via USB

    • @savagesarethebest7251
      @savagesarethebest7251 Před rokem +1

      This makes sense to why some USB-C to headphones adapters don't want to work on some phones then!? 🤔

    • @narayanbandodker5482
      @narayanbandodker5482 Před rokem +1

      @@savagesarethebest7251 yeah your device needs to support it else it won’t even detect it. Many smartphones support it, but not all

    • @memediatek
      @memediatek Před rokem +3

      @@savagesarethebest7251 you can thank Apple and Google for starting the trend of not supporting it

  • @ferna2294
    @ferna2294 Před rokem +12

    Subscribed. You explain stuff flawlessly. Full of details, visual references and without overcomplicating it. I work as a technician and these type of videos are gold.

  • @theninjascientist689
    @theninjascientist689 Před rokem +6

    This was an amazingly explained concept and a joy to watch!

  • @jensschroder8214
    @jensschroder8214 Před rokem +58

    11:31 instead of being pulled to 3.3 volts, it's pulled to 5V across a 1500Ω resistor. The whole 5V to 3.3V conversion is based on resistors and zener diodes. The necessary code for USB is controlled by bit bang software.

    • @TM-zs7ko
      @TM-zs7ko  Před rokem +20

      tinyurl.com/2ev6yq3y A reasonably simulated approximation of the Digispark-style bit-banging circuit if anyone wants to dig into it. I just tossed it together on seeing this. So, I may have done something wrong. Real Zeners are a bit more fiddly than the TL431 I think. But it captures the basic idea.

  • @gnif
    @gnif Před rokem +8

    Extremely good content, I had no idea it was so simple to have the OS see the device. Subscribed!

  • @hernancoronel
    @hernancoronel Před rokem +61

    At around 7:00 when you say the “system sees the pull up resistor” I would change that to the “the USB controller sees the pull up resistor and reports to the system”. Minor semantic change but it would maintain the different layers appropriately separate. Thank you for the great video!

    • @TM-zs7ko
      @TM-zs7ko  Před rokem +30

      Heh. I'll go nuts if tracked all of that down. I think I get what you're saying though. There's it can be helpful to have that extra specificity. Not much I can do about it now. I see stuff in it like effect glitches, I can hear myself pronouncing things like an idiot, but... yeah. It's done. I've had to transcribe my own unscripted speech before and it's painful listen to how incoherent I sound. So, I'm happy to be understood enough that anyone's getting anything useful out of it.

    • @thewhitefalcon8539
      @thewhitefalcon8539 Před rokem +1

      Is the USB controller not part of the system?

    • @sixstringedthing
      @sixstringedthing Před rokem +2

      @@TM-zs7ko You did a fine job here mate, an impressive lack of ums and ahs for unscripted speech regarding technical concepts.
      As a small-time youtuber myself, I always think I sound way more articulate in my head and then I cringe when I hear the actual unscripted audio track. :)

    • @TM-zs7ko
      @TM-zs7ko  Před rokem +2

      Oh this is definitely scripted or effectively the same with a detailed outline and then speaking naturally as I can but only in short bursts. On good days when I'm awake and talking about something really familiar I can minimize them. But this video probably has a ridiculous number of cuts in it. Less in the parts where I'm switching. I made a somewhat stupid video about mounting single ws2811 leds on headers and that's less edited and I think unscripted, just like a bullet list. And there are lots on ums and ahs in that. The ble sense watchdog one probably is like that as well. I'm not sure how much cutting was done there. I think to the extent that I had a script it was the code itself. But that video is kind of discursive also. It's good if this one sounds natural. But that's not really because I speak like that. Not in general anyway.

    • @NorthLaker
      @NorthLaker Před rokem +1

      @@thewhitefalcon8539 "System" is an arbitrary term, it can mean whatever you want. But I think in this case it might have been better to specifically separate the usb controller from the rest of the 'system' because if you're having problems with usb it might actually be the usb controller that's bugged or broken in some way, and not the device you're trying to connect.

  • @oscarlupton
    @oscarlupton Před rokem +3

    This is a wonderfully digestible video, yet also very comprehensive. Great job, and this is going to help a lot of people

  • @MrStevensarns
    @MrStevensarns Před rokem

    Not only is the content very well presented, but the production quality is exceptional. Thank you TM.

  • @LiveOverflow
    @LiveOverflow Před rokem

    This is such a great educational video! Love the idea, explanation and video style!

  • @apaskiewicz
    @apaskiewicz Před rokem

    Wow this is incredible! Thanks for taking the time to make this video!

  • @ian_b
    @ian_b Před rokem

    This video is excellent. Very clear. A video that paints a thousand words kind of thing.

  • @RobotsEverywhereVideos
    @RobotsEverywhereVideos Před rokem +9

    This is an insanely well made video showcasing a clever thing. Kudos to you!

  • @neut1121
    @neut1121 Před rokem +4

    thanks for this video! I didn't know the first level of USB detection was that simple.

  • @jensknudsen4222
    @jensknudsen4222 Před rokem

    That was very useful, thank you.
    Let me also take a moment to appreciate the beautiful weathered wood background!
    I used to keep old siding boards around just for that special look.

  • @CarthagoMike
    @CarthagoMike Před rokem

    What an amazing in-dept explanation. Thank you!

  • @tttuberc
    @tttuberc Před rokem +1

    Very nice demonstration of how the USB device detection works.

  • @Heeby-Jeebies
    @Heeby-Jeebies Před rokem

    This is such a great demo!
    I absolutely have a better understanding of how USB works now.
    Thank you!

  • @LordDecapo
    @LordDecapo Před rokem +1

    Love this kinda stuff. Learned so much, will help with my development in the future 1000%
    Thanks for making this!

  • @raul_jocson_
    @raul_jocson_ Před rokem +1

    What a great video! Thanks! Your explanation is clear, to the point, and well explained. Love to see it. Gonna check out your other vids.

  • @scarletevans4474
    @scarletevans4474 Před rokem

    So amazingly explained and in a simple way! Especially 2:20 - 4:00 ! Thank you!

  • @cyndicorinne
    @cyndicorinne Před rokem

    This is helpful in so many ways: Linux & Windows device debugging, electronic circuit for USB connection, and more. Thanks 🙏

  • @BerndSchmitt-Martinique

    Thanks. I appreciate people, who know,what they are talking about. I learned a lot from this video.
    Greetings from Germany.

  • @ZeddZeeee
    @ZeddZeeee Před rokem

    great video explaining something i hardly thought about! excited to see what else you make! keep up the hard work ! :)

  • @itskevscott
    @itskevscott Před rokem

    Ah, never thought of that before, I always thought it was digital devices talking to each other - very useful and informative! And I did read your channel description by the way!

  • @electrosssnake1036
    @electrosssnake1036 Před rokem

    Very good video about the lowest-levels of usb connections.

  • @hakkysnak7021
    @hakkysnak7021 Před rokem

    Great video and great explanation of the USB signals

  • @Sniperboy5551
    @Sniperboy5551 Před rokem

    This is very neat, it’s cool to see a video like this become so popular despite a low number of subscribers

  • @SteveJones172pilot
    @SteveJones172pilot Před rokem

    Great video! I love to see how the low level stuff works. It always helps in obscure diagnostic scenarios.. Thanks!

  • @leosh9026
    @leosh9026 Před rokem

    Underrated! Keep this up!

  • @TheCatherineCC
    @TheCatherineCC Před rokem +1

    This rocks and helps remind us that sometimes we overthink things.

  • @paulfrischknecht3999
    @paulfrischknecht3999 Před rokem

    Thanks for making this. I love it when people show how much magical/cargocult/misunderstanding in thinking there is in common online advice for computer problems...

  • @BigA1
    @BigA1 Před rokem

    Thanks for this video on USB. You've helped to lift the lid on the 'Dark Arts' of USB. Looking forward to more interesting videos from you.

  • @estrusherd
    @estrusherd Před rokem

    This video is a masterpiece of clear and cogent explanation. Thank-you.

  • @ergosteur
    @ergosteur Před rokem

    I don’t do much work with microcontrollers but this video was very informative and easy to understand, definitely will be a bit more aware next time I have to troubleshoot.

  • @Mr-Electronist
    @Mr-Electronist Před rokem +1

    The video is amazing, my mind is blown away. Maybe in the future i will make a usb sound card. I never knew how a usb is conected, now i do !

  • @notarealname4741
    @notarealname4741 Před rokem

    now this is quality content. thanks for making the internet a better place!

  • @yeetyeet7070
    @yeetyeet7070 Před rokem +1

    The thumbnail + naming of the video are perfect

  • @vicmac3513
    @vicmac3513 Před rokem +1

    In my dreams you now start a video series, where you build any simple usb device on a breadboard level. It is not everyday when you love YT algorithm for showing a top notch of the top notch-quality video. I had to watch this 3 times to make sure I learnt every piece of details given in this video.
    The outcome was to find just one reason more to hate Windows, lol.

  • @barrylee2001
    @barrylee2001 Před rokem

    that is honestly actually really interesting

  • @Suzuki_Hiakura
    @Suzuki_Hiakura Před rokem

    Didn't have any reason to click on the video other than to learn, and I wasn't disappointed. I think it will come in handy if I ever get around to making my breadboard computer. Subscribed and look forward to learning more from you :)

  • @supermaster2012
    @supermaster2012 Před rokem +2

    The algorithm has blessed me in this sacred night with a gift from the internet gods.
    1k subs? Sir, let me up that by 1 right now.

  • @Scyth3934
    @Scyth3934 Před rokem

    God what a great video! Please continue making videos- they're great!

  • @megacrab
    @megacrab Před rokem

    This video has blown up - can't wait to see more! USB is still a black box to most of us Arduino developers. I learned something.

  • @michaeledwardharris
    @michaeledwardharris Před rokem

    Damn dude, that was awesome!

  • @victorianomas89
    @victorianomas89 Před rokem +1

    Glad this showed up in my recommended. As a computer nerd with 0 knowledge about electronics, this will come in handy when troubleshooting usb devices. That process can become frustrating very easily when stuff like this is perceived as "magic" by a noob like me. Great explanation :)

  • @techrazor3280
    @techrazor3280 Před rokem +1

    Very nice and to the point video. Really helpful. Thanks a lot.

  • @CNC-Time-Lapse
    @CNC-Time-Lapse Před rokem

    Extremely insightful! Thank you

  • @supul32
    @supul32 Před rokem

    This is absolutely helpful and great video! It would have taken days to google and learn these information by myself. You have just explained everything in minutes. Subscribed for more videos. Thank you!

  • @ipaqmaster
    @ipaqmaster Před rokem +1

    Great video. Love knowing how pulling high or low on the data line hints the capabilities of a USB device and that it wants to communicate but also how the address is handled next by USB controller drivers.
    I often see "Device not responding to setup address" with flimsy USBSATA adapters or bays and eventually they figure it out. As if the USB chipset is quick to wake up but the storage controller isn't. If not some other issue involving the cheap design of those ones.

  • @GermanTutorials
    @GermanTutorials Před rokem

    Awesome! Please do more USB hardware and software videos like that!

  • @th1rte3ndb49
    @th1rte3ndb49 Před rokem

    this is brilliant! and the video presentation is outstanding. bravo!

  • @nutzeeer
    @nutzeeer Před rokem

    Truly one of the divices of all time

  • @hendrikkokulinsky8531

    Sir, you got style! Realy good presentation. Thanks a lot for this video!

  • @notajetplane
    @notajetplane Před rokem

    great video. clear, concise, and informative.

  • @theclerk3163
    @theclerk3163 Před rokem

    Dude this video is sick

  • @overand
    @overand Před rokem

    Today I learned about "new messages" and "time delta" in dmesg, too!

  • @HypherNet
    @HypherNet Před rokem +13

    This video is very clear and answers some questions I've had while tinkering. Thanks so much, excellent work. I would watch anything else you put up that covers the basics of how USB and microcontrollers works. Or really any other low-level computer engineering topics that don't assume a BS in computer engineering :)

  • @Steven-mv4bb
    @Steven-mv4bb Před rokem

    Thanks for the info! It's amazing to me that I can have BSEE and never have learned this.

  • @yurkshirelad
    @yurkshirelad Před rokem

    I always wondered about this, so this was interesting. Thanks!

  • @GibsnRage
    @GibsnRage Před rokem

    Yes, very useful information! I'm not in IT but everyone at my work knows I'm technical so... well, you get it.. This is new information for me and I am positive it will help me out on more than one occasion to come!

  • @ohaya1
    @ohaya1 Před rokem

    Both useful and entertaining, thank you!

  • @_creare_2742
    @_creare_2742 Před rokem

    Wow thanks, I had no idea a connection could be that simple.

  • @MuckingFedic
    @MuckingFedic Před rokem

    Thank you for an amazing and interesting video!

  • @johnburgess2084
    @johnburgess2084 Před rokem +1

    Thank you for this informative video. I've been wanting to learn some of the USB fundamentals, starting from the ground up. This definitely started at the ground! I'd love to see something similar to this that shows the minimum messaging needed to send a minimum Device Descriptor in order to clear the Unknown Device error.

  • @zachleblanc3476
    @zachleblanc3476 Před rokem

    Thanks for the upload.

  • @diehardmetalhead3797
    @diehardmetalhead3797 Před rokem

    Emmm please more! You are great!

  • @rambox11
    @rambox11 Před rokem

    Please release your next one as soon as possible. This stuff is fascinating ! (and I'm not being sarcastic)

  • @LordHonkInc
    @LordHonkInc Před rokem

    Well heck, learned something new today. Thanks for that 👍

  • @yeetyeet7070
    @yeetyeet7070 Před rokem +40

    For screenrecording (preferably with OBS) you have to choose the option "indistinguishable quality (very large files)" to get crisp recordings. (the files arent _that_ big)

    • @Sestain
      @Sestain Před rokem +1

      Why not just use advanced mode and then choose an encoder that supports hardware encoding like nvenc or quicksync? Hevc has pretty small file size but x264 (software) should be fine too if there isn't much happening.

    • @yeetyeet7070
      @yeetyeet7070 Před rokem +3

      @@Sestain that sounds good. But too complicated for me. Tho nvenc (hardware) is the default encoder anyways

    • @lionkor98
      @lionkor98 Před rokem

      No, you just turn the bitrate up, thats the same result

    • @dieSpinnt
      @dieSpinnt Před rokem

      We need more than 3 totally distinct but "bulletproof" solutions, guys.
      Really!
      **facepalm**

  • @sandwich2473
    @sandwich2473 Před rokem

    Oh wow this is actually super duper gosh dang useful to know
    My goodness :O

  • @PabloPazosGutierrez
    @PabloPazosGutierrez Před rokem

    Really interesting stuff!

  • @tuskiomisham
    @tuskiomisham Před rokem

    wow, this is really neat!

  • @TeezyThaKidd
    @TeezyThaKidd Před rokem

    TIL Wireshark can be used to monitor USB traffic. This is frickin cool. Thanks for sharing!

  • @Debraj1978
    @Debraj1978 Před rokem

    I wanted to do this experiment for sometime. Thank you.

  • @davidevennou1551
    @davidevennou1551 Před rokem

    Excellent video and very interesting! Thanks!

  • @fredbcruz
    @fredbcruz Před rokem

    No idea how I landed here but thank you for the amazing content

  • @wixic111
    @wixic111 Před rokem

    This is very interesting stuff. Had no idea USB device detection was so simple.

    • @TM-zs7ko
      @TM-zs7ko  Před rokem

      The very first stage of it, the minimum to get to list somehow in these utilities. I find it odd to display that way in Device Manager because I would normally tend to think of what's in there as fully detected devices. Really this kind of more like "I've detected a USB attachment request, but I've failed to complete the entire device detection process." Where a full detection would include at least getting as far as reading a device descriptor containing those hardware ids I'd mentioned aren't there.

  • @Darkshadows9776
    @Darkshadows9776 Před rokem

    Just wanna let you know that I think this is super cool and I'm gonna finish it tomorrow, since it's late as heck.
    It's always nice to see some low level stuff like this, and without a formal education in all of it, it's hard to find good resources.

  • @RaaynML
    @RaaynML Před rokem

    Both useful and entertaining

  • @honestlocksmith5428
    @honestlocksmith5428 Před rokem

    I learned a lot. Thanks.

  • @erenoz2910
    @erenoz2910 Před rokem +1

    I had a good laugh imagining you mashing the switches cartoonishly to send a device descriptor

  • @AiMR
    @AiMR Před rokem

    You somehow managed to explain in a way that my Aspy brain understands completely 👍

  • @fickgooglefickthem6884

    Thank You for the content!

  • @stnby9418
    @stnby9418 Před rokem

    Great video!

  • @jayantbhanse7756
    @jayantbhanse7756 Před rokem

    really informative video i might try to make this myself more fun that way

  • @NickMoore
    @NickMoore Před rokem

    Very cool, thanks!

  • @R.Daneel
    @R.Daneel Před rokem

    Very well done. Thanks.

  • @user-fh2fm7vr4m
    @user-fh2fm7vr4m Před rokem

    Wonderful video! Thank you very much!

  • @pkre707
    @pkre707 Před rokem

    Excellent explanation!

  • @daveys
    @daveys Před rokem

    Brilliant video! I learned a lot of new stuff :-)