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
    153
    arrow-down
    2
    ·
    4 months 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
      104
      ·
      4 months 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
        ·
        4 months 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
          13
          ·
          4 months 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
        ·
        4 months 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
      ·
      4 months 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
        ·
        4 months 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
      21
      arrow-down
      1
      ·
      edit-2
      4 months 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
      ·
      4 months 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
      ·
      4 months 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
    79
    ·
    edit-2
    4 months 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
    59
    ·
    edit-2
    4 months 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
    36
    ·
    4 months 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
      ·
      4 months 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.

    • chiliedogg@lemmy.world
      link
      fedilink
      arrow-up
      10
      arrow-down
      1
      ·
      4 months ago

      I absolutely have some Type C cables that only work one way because there’s no enforced standards and the manufacturer will wire them however is cheap, throw on another company’s logo, and sell it to Amazom.

        • PeriodicallyPedantic@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          4 months ago

          Even if you don’t, there is basically no way to tell you’ve got a legit authentic product that passed QC until you test it yourself. The supply chains that give retailers plausible deniability wrt child labor also by their nature allow counterfeits.

          • NeatNit@discuss.tchncs.de
            link
            fedilink
            arrow-up
            1
            ·
            4 months ago

            You have to get your electronics from somewhere, retailers’ supply chain has a helluva lot more quality control than Amazon. Just because you can’t get to 100% doesn’t mean you shouldn’t strive for, well, anything more than the worst chances anyone can offer.

            • PeriodicallyPedantic@lemmy.ca
              link
              fedilink
              arrow-up
              1
              ·
              4 months ago

              I imagine that “sold by Amazon” has about the same supply chain reliability as big box retailers. On Amazon you do gotta check your seller rating if you’re not buying prime, but that’s not harder than driving to best buy, and big box retailer online stores have the same problem when they’re the storefront for 3rd parties (as many are, trying to emulate Amazon).

              On Amazon, reviews can be faked, but at least it has reviews.

              • NeatNit@discuss.tchncs.de
                link
                fedilink
                arrow-up
                2
                ·
                4 months ago

                You’re wrong. Amazon mixes inventory between themselves and any other seller that’s fulfilled by Amazon, meaning if one random seller has fake product, then even the “sold by Amazon” option can send you that other seller’s fake product. And vice versa, of course.

      • PeriodicallyPedantic@lemmy.ca
        link
        fedilink
        arrow-up
        7
        ·
        4 months ago

        I have never seen this.

        There is absolutely a certification process, but playing legal whack-a-mole with fly-by-night counterfeiters is difficult.
        This is why buying reputable brands from reputable sellers is important.

        But even then, I remember years ago I read an article about major retailers selling counterfeit brand name SD cards that didn’t meet the labeled performance specifications and had very poor QC. Turns out that gray market sellers were buying batches of the real product that failed QC and just reselling them as though they were fine, and they ended up making their way back into the distribution network.
        In the end the conclusion was that we’re all kind of fucked until retailers start being way more strict about their supply chains, which they are disincentivized to do, because the current system gives them plausible deniability on things like child labor.

          • PeriodicallyPedantic@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            4 months ago

            Who is “they”?
            You have to test the product to know it’s counterfeit. Then you have to return it. Then you have to buy it again and, what? Hope that what they have stocked is from a different batch? I don’t think this is any different between Amazon and other retailers

            • chiliedogg@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              4 months ago

              The counterfeiters buy legit products and return their cheapo fakes through fake buyer accounts. So for the price of manufactoring the counterfeit products they’ve purchased the real thing.

              They then sell the authentic products through other channels and appear to be supplying authentic, quality products affordably to buyers and marketplaces while at the same time poisoning the legitimate market.

              It’s essentially counterfeit laundering.

  • FiskFisk33@startrek.website
    link
    fedilink
    arrow-up
    33
    ·
    4 months ago

    I guess the usb spec makes you sick then.

    With the the first one you can fry your gear, while stuff that takes the second one does auto negotiation.

  • gandalf_der_12te@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    25
    ·
    edit-2
    4 months 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
    20
    ·
    4 months 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
      10
      ·
      4 months 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.

    • thejevans@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      4 months 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.

    • cmnybo@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months 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
      ·
      4 months 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.

  • sundray@lemmus.org
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    1
    ·
    4 months 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
        ·
        4 months 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
      ·
      4 months 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
        4 months 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.

    • JulyTheMonth@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      4 months 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
      ·
      4 months 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
      ·
      4 months 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
      ·
      4 months 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
          ·
          4 months 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

    • kuneho@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      4 months 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
        12
        ·
        4 months 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
          4 months 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 😅