logoalt Hacker News

WhatCable: Know what your USB-C cable can do

70 pointsby mikecarltontoday at 11:41 AM51 commentsview on HN

Comments

bestoufftoday at 2:14 PM

I'm using the hardware tester from Treedix in which you have to plug both ends of the cable and which tests a lot of things, I'm quite fond of it.

I have a basket with a lot of USB-c cables and without the tester I can't remember (nor guess) which one does what.

show 4 replies
jwrtoday at 4:57 PM

What would be really interesting is if I could connect a cable to two ports on a Mac and have the Mac test the cable.

show 1 reply
lxgrtoday at 2:53 PM

Great utility.

The only wrinkles for me are that Macs apparently don't interrogate cables when they don't have to, i.e., when the power adapter supplies <= 60W (not sure if that's a USB-C protocol or an Apple implementation limitation) and that the website copy is full of GPT-isms, which makes me suspect that some of the output might be assumed instead of empirically validated as well.

poguetoday at 2:10 PM

Is there something like this for Windows/Linux?

show 5 replies
robot_jesustoday at 2:58 PM

I'm curious if this also works for USB-A to USB-C. The use case: My Suburu has USB-A inputs and only allows wired Carplay. When I upgraded my iPhone and ditched Lightning, I had to try 6 different cables from my cable drawer to find one that supported data transfer.

I have so many cables I've accumulated over the years, I should either purge or at least categorize the functionality of each.

show 4 replies
pdpitoday at 3:09 PM

I literally spent more than an hour yesterday debugging issues with USB-C cables that I wasn't aware were charging only, and this shows up today... Better late than never, I suppose, and definitely worth my ten quid.

show 3 replies
nerdsnipertoday at 3:50 PM

Something that keeps needing to be pointed out every thread this stuff appears on: What these tools report are not functionally different from just believing "what's on the packaging", despite the misleading marketing claims.

These tools read a chip called an "eMarker". These eMarkers are programmed to say whatever the manufacturer wants them to say - there's no requirement that the information be based in reality. Plenty of cables have eMarkers that claim "40Gbps" or whatever speeds, or support 240W PD...but absolutely cannot deliver either of those. And none of these consumer level software or hardware testers can actually test either of those claims. They can only take the cable's own claims at face value.

Resistance measurements can cursorily test claims of 240W but resistance changes with temperature which changes with current...so unless your tester puts 5 amps down the wire for 5 minutes and then tests resistance it's not a very good test. AFAIK none of the testers flow 5 amps through the cable.

Actual maximum data throughput is very hard to know. The only way to really "know" how much data can flow through a cable is with an expensive oscilloscope or cable tester. Because 80Gbps cables run at ~13GHz, at minimum you need a 26GHz scope (Nyquist–Shannon sampling theorem) or more practically a 52GHz scope. And it turns out it's really expensive to measure electrical signals 52 billion times per second. The necessary devices start at $15,000 (cable signal integrity tester) [0] on the very low end and only work for max 10Gbps USB 3.2 cables, or past $270,000 for 80Gbps USB4 cables (proper 60GHz oscilloscope) [1].

On the high end, each signal integrity test device can actually cost $1-2 million [2] where the base unit starts at $670,000 plus then spending additional money for hardware-accelerated analysis, specialized active probes, and the specific PAM-3 / USB4 compliance software packages.

0: https://www.totalphase.com/products/advanced-cable-tester-v2...

1: https://www.edn.com/12-bit-oscilloscope-operates-up-to-65-gh...

2: https://www.eevblog.com/forum/testgear/uxr1104a-infiniium-ux...

show 3 replies
extinctLizardtoday at 3:01 PM

Small question: did anybody succeed to pay via Apple Pay?

ameliustoday at 4:39 PM

Give me the freakin bit error rate please.