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.”

148 points

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?

permalink
report
reply
145 points

I believe the common terms now are “domme” and “sub”

permalink
report
parent
reply
35 points

I can’t tell if this is real life or sarcasm…

Did I really miss the memo on this one?

permalink
report
parent
reply
29 points

No that’s the lingo the professionals use these days

permalink
report
parent
reply
12 points

I’m going to refer to myself as USB-B from now on

permalink
report
parent
reply
104 points

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.

permalink
report
parent
reply
5 points

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.

permalink
report
parent
reply
13 points

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?

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
30 points

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.

permalink
report
parent
reply
27 points

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

permalink
report
parent
reply
1 point

I’ve been using parent/child, I guess that’s not always correct?

permalink
report
parent
reply
21 points
*

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

permalink
report
parent
reply
12 points

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.

permalink
report
parent
reply
8 points

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.

permalink
report
parent
reply
5 points

Mechanics are still trying to figure that out with the “master cylinder” and “slave cylinder”

permalink
report
parent
reply
2 points

I think reusing server/client naming for USB connectivity instead of master/slave would fit it

permalink
report
parent
reply
78 points
*

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).

permalink
report
reply
4 points

I think the argument that A-A should be in the spec.

But usb-c is just so much better all around.

permalink
report
parent
reply
57 points
*

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.

permalink
report
reply
35 points

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.

permalink
report
reply
9 points

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.

permalink
report
parent
reply
34 points

USB-A requires three attempts to connect, C only one.

permalink
report
reply
16 points

Six since it has A at both ends.

permalink
report
parent
reply
1 point
  1. 3 for A, 5 for B.
permalink
report
parent
reply
1 point

There is no USB-B here and it is pretty hard to get the wrong direction anyway.

permalink
report
parent
reply
9 points

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.

permalink
report
parent
reply
13 points

Don’t buy electronics through amazon. This is precisely why.

permalink
report
parent
reply
1 point

When I need something for work I have a company account.

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
7 points

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.

permalink
report
parent
reply
1 point

They’ll also buy the real product, return the counterfeit product, then sell the real one.

permalink
report
parent
reply
5 points

Gross. I haven’t run into that.

permalink
report
parent
reply
1 point

I have a switch controller that requires two plug ins to work

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 4.1K

    Monthly active users

  • 848

    Posts

  • 8.3K

    Comments

Community moderators