this post was submitted on 14 Feb 2024
315 points (94.9% liked)

Programmer Humor

32558 readers
673 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ninjan@lemmy.mildgrim.com 22 points 9 months ago (1 children)

More like do nothing. Sure if everyone follows spec nothing will break from using the wrong usb-c cable in the wrong usb-c port but it's common to end in a situation were literally nothing happens.

[–] Honytawk@lemmy.zip 19 points 9 months ago (3 children)

USB-c manages all those protocols when you plug it in.

It will always pick the best one depending on the available hardware.

[–] ninjan@lemmy.mildgrim.com 11 points 9 months ago (1 children)

Yes, but I'm pointing out how the cable is part of it in ways that wasn't true for many older standards. So if I plug a non-data cable into a data USB-c port (say a digital camera with AAA / LR6 batteries) into a computers USB-C port then nothing happens. Same if I try to charge the camera by plugging it into a USB-c wall plug. Or if try to plug my phone into the USB-c charging port on my laptop, no matter the cable since neither phone nor laptop has the function to charge other devices. Etc etc.

I work IT and while I don't work directly in support anymore I still get people at the office coming to me for support because I used to and we've outsourced it now. So I know first hand how confusing USB-C is to average users.

[–] thejml@lemm.ee 5 points 9 months ago (1 children)

Even if you use a data cable, it might not have the pins/wires for usb 1.1 fallback meaning a keyboard or mouse won’t work with it. Or it might support low power only. I had to buy a usbc cable tester to validate which ones might actually work with what.

My favorite is that not all chargers support all voltages. I have a few that do 5v, 9v, and 20v, but if your device asks for 12v, you’re out of luck, you either don’t get anything, or it fails back to 9v which isn’t enough to accomplish what the device wants to do (like charge). Still, it’s standards compliant!

The standard explicitly allows but doesn’t require support of any subset of standards so you never REALLY know what that cable or charger in your hand or the devices you’re holding can actually do without finding specs in docs… It’s really infuriating. The idea of USB-C is better than the reality, which makes the push to standardize on the connector not nearly as cool as it could be.

[–] dfyx@lemmy.helios42.de 2 points 9 months ago

I have a portable switch dock (it's the size of a small power brick) and the cable that came with it broke. Finding a cable that supports the exact spec that the Switch needs to both get enough power to put it into docked mode and transmit the video signal took a few tries.

[–] RecallMadness@lemmy.nz 4 points 9 months ago

Plug a USB-C screen into a USB-C port. Will it work?

Maybe? If the manufacturer has wired the port to the GPU for DP/HDMI alt mode it might.

… but you’ve used this display on this laptop before?

Try another port! Nope, still nothing.

Maybe it’s the cable? Rummage around through your cables and try a few out. Hope you don’t have any from the 2010s because there’s a good chance they’ll ruin your device.

The screen works! But performance is terrible, why? It’s running in DisplayLink mode.

You give up and suffer through.

[–] scytale@lemm.ee 1 points 9 months ago

The most common thing I see is people confusing usb-c with thunderbolt, and using the former on docks and expecting it to provide power and transmit data.