• @garretble
    link
    English
    5322 hours ago

    Windows is great because if you plug your mouse into one USB port then maybe you move the mouse to another, it completely forgets that mouse ever existed and is like “setting up device!”

    Bro, you know what this is.

    • @[email protected]
      link
      fedilink
      3521 hours ago

      It sure is great. If I remember correctly, there was a Windows 95 error saying “keyboard not found, press F2 to continue.”

      • macniel
        link
        fedilink
        2520 hours ago

        No it wasn’t just win95 but also IBM DOS and BIOS.

        Keyboard not found, press F2 to continue asks the users to either plug in a keyboard and the press F2 on that one to continue or press F2 on an unrecognised keyboard so that the OS could pick it up.

        It would then reload the driver’s for the PS/2 keyboard and continue as normal.

    • @[email protected]
      link
      fedilink
      1722 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
              520 hours ago

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

        • @[email protected]
          link
          fedilink
          216 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
          218 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

    • Possibly linux
      link
      fedilink
      English
      120 hours ago

      That’s very unlikely to happen. Once the driver is installed via Windows update it doesn’t magically uninstall itself.

  • @[email protected]
    link
    fedilink
    3721 hours ago

    “There’s a problem with your USB storage device”

    *Continues to work just fine, just as if there is no problem*

    • Kairos
      link
      fedilink
      921 hours ago

      Its because you didnt eject beforehand and theres orphaned inodes or data blocks

      • @Agent641
        link
        13
        edit-2
        19 hours ago

        “You need to manually eject your USB drive before you remove it” - statements dreamed up by the utterly deranged

        Also, half the time when you try to eject it, it says “device busy” even though I’m not transferring files. Well, best of luck with that bud, I’m busy too yank

        • @[email protected]
          link
          fedilink
          218 hours ago

          That’s because some program still accesses it

          Could be just your file browser (“explorer”) that has a window open with the content of that device, or maybe some program has a hiccup and didn’t free it’s file pointer

      • @[email protected]
        link
        fedilink
        English
        1120 hours ago

        In the worst-case scenario, yes… but the wording on the Windows dialog literally says, “There is a problem with your device and you should scan it” and then when you do, “Your device is ready to use, no problems were found.” This, after it was ejected and got the safe removal notification. 🤷‍♂️

        • @[email protected]
          link
          fedilink
          13 hours ago

          The file system was not unmounted cleanly so the dirty bit is 1 -> windows tells you to check the drive. This clears the dirty bit even if nothing was wrong.