• @[email protected]
    link
    fedilink
    1721 hours ago

    well technically… USB initialization isn’t that simple, when you change which port it’s plugged into, it’s numerated under that new memory space, so from the computers perspective, it’s a different number, it’s a different device.

    • @garretble
      link
      English
      1221 hours ago

      Is that just obfuscated on other platforms (like MacOS)? I don’t think I’ve ever had a Mac get “confused” by a device by changing its port.

      • @[email protected]
        link
        fedilink
        7
        edit-2
        20 hours ago

        the other OS’s don’t store the configuration in the registry, that’s the main difference

        • @garretble
          link
          English
          1220 hours ago

          I see.

          So Windows just needs to git gud.

          • macniel
            link
            fedilink
            519 hours ago

            Git gut by using a sane POSIX architecture just like any other OS out there.

      • @[email protected]
        link
        fedilink
        215 hours ago

        Could be like Linux where a lot of drivers are in the kernel and it doesn’t need to add drivers every time you plug something in

    • @[email protected]
      link
      fedilink
      318 hours ago

      Usually you have a vendor and a device id to identify the connected device on the bus

      You’re right though, that in every different port it will get its own memory allocated an so on (at least I also believe that), but that’s no reason to not identify the already known device

      • @[email protected]
        link
        fedilink
        217 hours ago

        there are a couple IDs in the device manager, if you look closely you will see where it changes, and then search the registry for that string and you will find how crazy Windows can be with USB hardware. Actually stripping out those ID’s is a huge pain. I only know because of having to make legacy hardware work for work

        it was worse with USB1 and old drivers wouldn’t unload so then when you unplugged them and plugged them back in, sometimes they wouldn’t work unless you rebooted. Windows is stupid