Live data from Hacker News

A macOS terminal command that tells you if your USB-C cable is bad

kau.sh

171–180 of 197 posts

Re: A macOS terminal command that tells you if your USB-C cable is bad

#171

I feel like we kind of got monkey’s paw’ed on USB-C. I remember during the 2000’s-2010’s people were drowning in a sea of disparate and incompatible connectors for video, audio, data, power, etc. and we’re longing for “One Port To Rule Them All” that could do everything in one cable. We kind of got that with USB-C, except now, you see a USB-C cable/port and you have no idea if it supports data only, data + charging,…

[deleted]

Re: A macOS terminal command that tells you if your USB-C cable is bad

#172

I feel like we kind of got monkey’s paw’ed on USB-C. I remember during the 2000’s-2010’s people were drowning in a sea of disparate and incompatible connectors for video, audio, data, power, etc. and we’re longing for “One Port To Rule Them All” that could do everything in one cable. We kind of got that with USB-C, except now, you see a USB-C cable/port and you have no idea if it supports data only, data + charging,…

[deleted]

Re: A macOS terminal command that tells you if your USB-C cable is bad

#173

> I was punching through my email actively as Claude was chugging on the side. I wonder how much writing these scripts cost. Were they done in Claude's free tier, pro, or higher? How much of their allotted usage did it require? I wish more people would include the resources needed for these tasks. It would really help evaluate where the industry is in terms of accessibility. How much is it reserved for those with suf…

[deleted]

Re: A macOS terminal command that tells you if your USB-C cable is bad

#174

Two years ago, I wouldn’t have bothered with the rewrite, let alone creating the script in the first place. The friction was too high. Now, small utility scripts like this are almost free to build. This aligns with the hypothesis that we should see and lots lots of "personalized" or single purpose software if vibe coding works. This particular project is one example. Are there a ton more out there?

[deleted]

Re: A macOS terminal command that tells you if your USB-C cable is bad

#175
post #114

> Two years ago, I wouldn’t have bothered with the rewrite, let alone creating the script in the first place. The friction was too high. Now, small utility scripts like this are almost free to build. adding to the theory that soon we gonna prefer to write, rather download ready-made code, because the friction is super low

[deleted]

Re: A macOS terminal command that tells you if your USB-C cable is bad

#176

They make a hardware device for this, it has several usb plugs on it, and two rows of LEDs that light up if the wires are all connected.

See above thread for more details and links:

https://news.ycombinator.com/item?id=45513256

Re: A macOS terminal command that tells you if your USB-C cable is bad

#177
post #5

It's more complicated than "this cable is good/bad". I had a suspicion about one of my cables for months, but just last week I confirmed it with a device that shows the volts/amps/watts/total kwh passing through it: I have a USB-C cable with orientation. Plugged in one way it transfers about 5x more power than the other way, and in the lower orientation it's low enough for the earbud case I use it with to not charge.

Thats so weird, did you wind up coloring one end or something? I still wish we would add color to USB C wires like USB 3 has to emphasize features and expected uses. USB C was a much needed change from USB3 and 2 in terms of being reversible and superior but every manufacturer implements the cables differently and its confusing and hard to figure out which cable is best for what.

Some cables write 10Gbps and similar near the end.

Re: A macOS terminal command that tells you if your USB-C cable is bad

#178
post #94

I was looking for a USB cable tester (where I would plug in both ends of my cable and it would test it (power, data, ...). There are plenty for Ethernet, but none such ones for USB. Was I looking with the wrong keywords or such device does not exist? Note: I have a dongle that measures the power when inserted between the laptop and the charger, this is not what I am looking for

The reason is probably that anything faster than USB 2.0 (480 Mbit/s) and supporting power over 3A/60V will need to have an active marker, and to read that, you'll need something slightly more complex than a connection tester. That said, these things do seem to exist at this point, as sibling comments have pointed out. As an aside, it's a real shame devices with USB-C ports don't offer this out of the box. They need…

Right? It would be great if I could plug a USB-C cable into 2 ports on my Mac and it could figure out what the cable is capable of

Re: A macOS terminal command that tells you if your USB-C cable is bad

#180

Earlier quoted context omitted.

All your stuff is still pretty high level compared to the pure metal inside CPU. Do you which register the compiler decied to use to store this variable, or does the CPU will take this execution branch or not ? It's all abstraction, we all need to not know some low level layer to do our job, so please stop gatekeeping it.

What's your point? That we shouldn't care about anything at all because there is 1 thing we truly shouldn't care about? That we shouldn't care about spending $1 for a sandwich therefore managing home budget is pointless?

My point is, you should care what you work with, and it's perfectly fine to not know the lower detail.

Different people will care different layers.

Post reply on HN