cross-posted from: https://lemmy.cringecollective.io/post/75583

why isn’t it ok? why???

Meme “the number of people who think this is an abomination” over a photo of a USB-A to USB-A cable, “but think this is perfectly acceptable” over a photo of a USB-C to USB-C cable, “makes me sick.”

  • Ekky@sopuli.xyz
    link
    fedilink
    arrow-up
    143
    arrow-down
    2
    ·
    1 month ago

    Huh, I’m not sure they are comparable.

    Didn’t USB A and USB B use a master-slave relationship in which the male would (generally) always be the slave, whereas USB C uses agreement and discussion to decide the master and slave roles regardless of connector gender.

    Please do correct me if I’m wrong. Also, do we say “agent” now instead of “slave”, or what is the new term?

    • NeatNit@discuss.tchncs.de
      link
      fedilink
      arrow-up
      101
      ·
      1 month ago

      I think the biggest problem I see with A to A is: who’s delivering power, and who’s receiving it? Maybe if you use it only with the device it came with then it’ll be fine, but if anyone tries to just hook up that cable to two random computers, it might actually cause a short circuit and fry something.

      Whereas Type-C was explicitly made to handle such situations.

      Or a shorter reason: Type-C cable is allowed by the spec while Type-A is not.

      • vext01@lemmy.sdf.org
        link
        fedilink
        arrow-up
        5
        ·
        1 month ago

        Hrm. I have a keyboard that requires an A to A cable and I think it works with the cable any way around…

        Might be wrong.

        • NeatNit@discuss.tchncs.de
          link
          fedilink
          arrow-up
          12
          ·
          1 month ago

          It makes sense, if I remember correctly the older USB cable (i.e. everything before Type-C) are passive, so as long as the pins are wired symmetrically it wouldn’t matter which side is which. But whoever made your keyboard really blundered, there is no reason in the world why anyone would do this. There’s so many options: the B connector, mini USB, micro USB. All would make sense to put in the keyboard. A just doesn’t.

          Let me guess: you got it from an ultra cheap online store? AliExpress/Wish/Temu?

      • jcg@halubilo.social
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        I’ve actually used this to my advantage. I bought some cheap speaker/light combos which basically made the lights dance to the music. The only power connector was a wire that comes straight out of the device and into an outlet. But it did have a USB port for loading music from a USB stick. So naturally I plugged one side of a USB A into the port and the other side into a power bank and it just straight up worked.

    • Snot Flickerman@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      35
      arrow-down
      5
      ·
      1 month ago

      master/slave could be primary/secondary, primary/subordinate or principle/agent, so you’re correct on that replacement.

      I personally am a big fan of “Mantrap” becoming an “Access Control Vestibule” mostly because it’s fun to say.

      • moonlight@fedia.io
        link
        fedilink
        arrow-up
        30
        arrow-down
        3
        ·
        1 month ago

        I like controller/peripheral, which is the most descriptive in my opinion. That’s what’s commonly used for SPI.

    • DacoTaco@lemmy.world
      link
      fedilink
      arrow-up
      20
      ·
      edit-2
      1 month ago

      In the usb world its “host” and “device”, not “master” and “slave”.
      But yes you are right

    • unmagical@lemmy.ml
      link
      fedilink
      arrow-up
      13
      arrow-down
      1
      ·
      1 month ago

      Both ends of a USB cable are generally male (unless you’re talking about an extender). Generally the type B end (in mini, micro, or full configuration) would be the client though I have seen a couple of clients use Mini or Micro A.

    • fartsparkles@sh.itjust.works
      link
      fedilink
      arrow-up
      10
      arrow-down
      2
      ·
      1 month ago

      Yeah we’ve been going by primary-secondary where I am for the just 6 to 7 years now but I don’t think a universally agreed replacement for the terms exists yet.

  • hperrin@lemmy.world
    link
    fedilink
    arrow-up
    70
    ·
    edit-2
    1 month ago

    USB-A male to USB-A male is not in any USB standard (not entirely true, but compliant cables are very rare and don’t connect voltage), and if you plug it into a device it’s not meant for, the behavior is entirely unspecified. It will probably do nothing. But it might fry your USB controller that is not expecting to receive voltage.

    USB-C to USB-C is in the spec, and if you plug in two host devices, they won’t hurt each other. You can actually charge a host device over USB-C, unlike USB-A.

    That’s why it isn’t ok. It’s not the same thing, it’s not in the standard, and it can even be dangerous (to the device).

  • computergeek125@lemmy.world
    link
    fedilink
    English
    arrow-up
    56
    ·
    edit-2
    1 month ago

    A to B made more sense in a world where devices cannot serve as both roles via negotiation. My android phone when I got it utilized a data transfer method of plugging my iPhone charge port into my Android charge port, then the Android initiated the connection as a host device.

    The true crime is not that the cable is bidirectional, the true crime is that there is little to no proper distinction and error checking between USB, Thunderbolt, and DisplayPort modes and are simply carried on the same connector. I have no issues with the port supporting tunneled connections - that is in fact how docking stations work - just the minimal labeling we get in modern devices.

    I’d be fine with a type-A to type-A cable if both devices had a reasonable chance at operating as both the initiator and target - but that type of behavior starts with USB-OTG and continues in type-C.

  • RoyaltyInTraining@lemmy.world
    link
    fedilink
    arrow-up
    33
    ·
    1 month ago

    The USB spec requires one master and one slave device, which is usually decided by which type of connector each side has. USB OTG can bypass that restriction, but I’ve only ever seen it done with micro USB or type C.

    • ObsidianZed@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      1 month ago

      I actually have one of the USB A cables above from an old android tablet that had 2 full USB A ports on the side.

      One was always a slave/device port while the other actually had a physical switch to change from Host to Device.

      That used to be my mobile media tablet. I could cast wirelessly or steam directly from the mini HDMI port. Such an awesome device for how cheap it was.

  • gandalf_der_12te@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    24
    ·
    edit-2
    1 month ago

    Well, if you have asymmetric cables, there’s always one clearly-defined host and the other one is the slave.

    it works like sex: with usb-c, both devices more or less kinda have ti “negotiate” who’s dom and who’s sub. that takes extra negotiation effort and makes the protocol more complicated. and therefore more expensive imo.

  • ZeldaFreak@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    1 month ago

    I’ve never seen a USB-A to A cable in the wild, except recently, where I finally unpacked my SATA/IDE USB adapter from Ugreen.

    • xwolpertinger@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      1 month ago

      They used to be moderately common in the before times, like 2.5 inch IDE HDD times.

      For added horror those often where Y cables, too.

    • cmnybo@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      They are commonly used with USB keystone connectors. For some reason most of them have A connectors on both sides.

    • astrsk@kbin.run
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Most cheap usb switchers will use them on the computer-switch side. I have a few models that I was testing out so I have a small pile of these. They’re great for cutting in half and using as a small usb power supply cable to breadboard projects, along with the horde of 5w Apple chargers I have in a bin.

    • thejevans@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      I’ve had old Ugreen devices with a similar setup. Notably a KVM that fried my keyboard bc they failed to follow USB spec.

      A-to-A cables are, in general, a hardware design smell. It’s best to avoid devices that don’t care enough to follow the spec.

  • sundray@lemmus.org
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    1
    ·
    1 month ago

    In the long, long ago, we used to use USB-A to A cables to transfer customers’ Mac OS X user profiles when they would buy a new Mac. Also worked with Target Disk Mode, way back when.

      • sundray@lemmus.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

        They did, but the first run of MacBooks we got that didn’t have Firewire would let you use USB. But we needed an A to C adapter to make that work.

    • mea_rah@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      I only remember doing this with FireWire. Which model supported target disk mode over USB-A?

      • sundray@lemmus.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 month ago

        Ha, old man brain glitching there. The A to A cable we used for file migration, but we had to stick an A to C adapter on one end to use TDM on some machines (had to be USB 3 rated, I think). It was around 2016, if I remember correctly? It honestly didn’t come up that often.

    • kuneho@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      1 month ago

      it was common amongst digital cameras in the early 2000’s.

      and maybe you could somehow link up two computers as well…? tho that could have been some specialized cables

      • Zess@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        1 month ago

        They make A-to-A cables with a bit of file transfer software integrated into the cord. Useful for transferring big files between two PCs without setting up a network.

        • kuneho@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 month ago

          Back then as a kid I always wondered that how the hell would Windows Commander/Total Commander’s Connection between two PC with USB cable feature work and what cable would it need… (never saw A to A cables at that point)

          The help file was about some special cable, but the photo had an A-A cable on it with some extra circuits in a plastic casing near the connectors. I was amazed and sad at the same time, since I would never had such a cable, and I really wanted to try hook up two PCs with USB, that just sounded nasty for some reason 😅

    • JulyTheMonth@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      Yeah just guessing if the cable supports the right usb-c protocol. The port is great. The protocol is horrible you have like 10 different versions of the same protocol. And you have to pray that your cable supports the right one you need.

    • PM_Your_Nudes_Please@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      1 month ago

      The joke is that USB-A shouldn’t be paired with another USB-A. It should be using a USB-B on the other end. USB-A to USB-A could potentially be damaging, as both devices will expect to be providing power. USB-B denotes that a device is “receiving” USB, not “sending” it.

    • JustCopyingOthers@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      USB-C is an absolute shit-show. Half a dozen types of identical looking cables all with different performance and compatability. They can be power only, USB-2 only, USB 3, 3.1, 5gb, 10gb. Some can carry 5A, others only 3A. Some may support thunderbolt. Cable sellers and manufacturers can/will claim anything.

      For people selling USB-C devices it’s a massive support problem. It looks like the device is defective, but someone may just have swapped out the cable for their phone charger cable and there’s no way of telling.

    • UnderpantsWeevil@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      8
      ·
      1 month ago

      It is a fact that USB-C is superior.

      The floating tang in the center of the USB-C receiver is a classic “planned obsolescence” design feature. Its built to fail and force you to buy a new device.

        • cm0002@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          1 month ago

          I’d love to see a source, I have literally never had the internal flap break and I must have had at least 30-40 devices pass through my hands with USB C by now

          Everything from a cheap Chinese brand wireless mouse up to my main phones (which are constantly plugged in and out) to all the random laptops, tablets, Xbox controllers and other peripherals in between.

          It’s never happened, though crud does build up in my phone port after a year or 2 to the point that I have to clean it out, but that’s nothing but a small paper clip and 5 minutes

  • accideath@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    1 month ago

    I have an external 3.5“ HDD enclosure that has a USB-A port to connect the usb cable to. I have no idea who thought that was a good idea. The difference in price to a B connector can’t be that significant…

    • f4f4f4f4f4f4f4f4@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 month ago

      I have a similar PATA enclosure. I thought it was cursed until I got to reuse the A-A cable to upload FlashFloppy custom firmware to Gotek floppy emulators without wiring up a USB-serial adaptor.

    • B0rax@feddit.org
      link
      fedilink
      Deutsch
      arrow-up
      2
      arrow-down
      2
      ·
      1 month ago

      You underestimate what price difference is significant in some cases. If it is even a tenth of a cent cheaper, it is decided.

      • accideath@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        1 month ago

        I know, but it shouldn’t matter. Also, it feels like the amount the A port is cheaper an A to A cable would be more expensive