Rendered at 19:27:58 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
bestouff 5 hours ago [-]
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.
traceroute66 3 hours ago [-]
> I'm using the hardware tester from $INSERT_NAME_HERE
Oh god not again... before everyone starts naming their favourite brand, here's a 265 comment HN thread[1] (from last week !) on why these cheap USB-cable "testers" are not worth anything.
TL;DR You need a six-figure wallet to seriously call anything a "hardware tester" for USB cables. User ChrisMarshallNY has a one-liner summary buried in that thread:
Think about it. You need to generate a precise, calibrated, 40GHz signal, transmit it, then precisely measure the returned signal for phase, amplitude, and waveform integrity -at that speed. Oscilloscopes and logic analyzers that run at that speed, are damn expensive.
If you only paid $40 for a black-box on your favourite online marketplace, then what you've got is definitively NOT a USB-cable tester.
OK sure your 6 figures thing or even that 20k thing are way better testers than the Treedix. But for my use case, i.e. verify what's actually in the cable (not blindly trusting the marker) the latter is sufficient and very ergonomic, and the "real" testers are overkill.
traceroute66 2 hours ago [-]
> verify what's actually in the cable (not blindly trusting the marker) the latter is sufficient
But as was repeated 101 times on that thread ....
All that those cheap $40 boxes are doing IS reading the marker.
Sadly you are kidding yourself if you think a $40 box off Amazon is doing any sort of "verification". Let alone in any sort of calibrated, reproducible sense free of random unknown variables.
PhilipRoman 3 hours ago [-]
Am I missing something? For practical use you only care if it carries a certain amount of packets per second without excessive retries, not whether it preserves the waveform exactly.
traceroute66 3 hours ago [-]
> For practical use you only care if it carries a certain amount of packets per second without excessive retries
The $40 black-boxes do two things:
1. Basic electrical continuity test
2. Read the marker chips (if present)
There is zero chance that a $40 black-box, even if it did a naïve packet pushing test, would deliver you reproducible results and introduces all sorts of other random variables.
"Excessive retries" sounds like exactly the sort of intermittent, hard-to-diagnose cable issues that you will not find unless you test the USB cable on a 6-figure rig. :)
lloydatkinson 3 hours ago [-]
Are you suggesting there is no middle ground and that simply knowing if a USB-C cable is a USB C cable or a fake one can't be done with a cheap tester?
traceroute66 2 hours ago [-]
> Are you suggesting there is no middle ground
Sadly yes.
Like many people on that thread concluded:
The best "middle ground" thing you can do is pay a premium to buy your cables from reputable manufacturers.
LoganDark 3 hours ago [-]
Huh? Decent quality cable testers can be had for like $20,000. There's a difference between a general-purpose oscilloscope or logic analyzer and a purpose-built domain-specific appliance. I probably could've saved up for one in just a few months back when I had a job earlier this year.
ssl-3 1 hours ago [-]
In the world of specialized test equipment, $20k isn't too bad at all. It's a certainly still a lot of money in absolutes, but the barrier to entry is simple very high for this class of kit. The sales volume is low and the engineering to do precise work with RF signals at these kinds of frequencies is complex. The people doing the work of designing, building, and getting this stuff into the hands of end-users still need enough money to live healthy lives.
And $20,000 is five figures, so an off-the-cuff six figure estimate is an error of an order of magnitude. That's quite a large error.
But to bring it all back 'round again: The oft-repeated suggestion that a $40 device can do the same job represents an error of 3 or more orders of magnitude. :)
Some of the stuff in this cheaper class of kit can observe what happens in terms of voltage and/or current on the wire between two devices, some of them can have a chat with a cable and/or a device on their own to see what they state of their capabilities (as this software does), and some of them can also test things like DC continuity. That's useful, but it doesn't help to grade the actual signal characteristics of the cable.
There's a galaxy of difference between DC and a 40 GHz symbol rate.
traceroute66 3 hours ago [-]
> Decent quality cable testers can be had for like $20,000.
See the discusison linked to.
Trust me, my interest was piqued by that thread and I went down the rabbit warren with Mr Google and spent far too much time on the subject. I looked at the various manufacturers and the setups required.
TL;DR: To start with, you need fancy harness assemblies. Then you need to plug those harnesses into very, very expensive equipment.
You're not going to find anything for $20k. High-throughput USB-cable testing simply can't be done the same way copper CAT6 certification can with a 20k Fluke.
For those who want to play with Mr Google, some manufacturers from my notes: Wilder Technologies, Allion, Keysight, Tektronix, Teledyne LeCroy
Aren't you both agreeing.. that it is way beyond $40? :)
You need a six figure wallet to want to spend $20k on a tester :)
traceroute66 2 hours ago [-]
> You need a six figure wallet to want to spend $20k on a tester :)
Heh. I'll give you a +1 for that one.
Reminded me of the old joke...
What's the quickest way to become a millionaire ?
Be a billionaire and buy an airline.
cortesoft 4 hours ago [-]
Yep, I probably have the same one. Insanely useful, and it is also crazy how much variance there is in cables. You can’t believe what the sellers claim, so many times they end up being less capable than claimed.
callumprentice 4 hours ago [-]
Would this tell me if a cable is close to the end of it's life? I like to travel light and I've had cables (mostly phone/pad power) go out on trips after working as expected when I packed.
cinntaile 4 hours ago [-]
I think you would need something that tracks relevant per cable metrics over time to see if it is degrading.
That one just says yes/no, but maybe yes/no starts to flicker around its end of life?
mrexroad 3 hours ago [-]
Looks like the paid/pro version does this.
> Cable history
> Add a cable, give it a name, and WhatCable records how it performs over time, with a verdict per cable.
callumprentice 4 hours ago [-]
Nod - that's what I was thinking. I expect it's often the connectors that deteriorate so perhaps moving them around while plugged in would tell me. Seems like a useful tool to have around.
kbouck 2 hours ago [-]
i've used a treedix tester like this. the edition with many led lights, not the one with a screen.
wiggle the cables around to see if and when any of the lights flicker, indicating a bad or broken connection. i've found a few bad cables that would intermittently fail.
callumprentice 2 hours ago [-]
That's great. Thank you for the feedback - I ordered one just now.
blightful 5 hours ago [-]
Nice. You just got them a sale from me. I have a crap ton of cables so this will come in handy.
bestouff 3 hours ago [-]
Exactly my use case.
And I have nothing to gain from that sale.
lxgr 5 hours ago [-]
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.
jwr 3 hours ago [-]
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.
traceroute66 2 hours ago [-]
> 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.
Not reproducible and introduces all sorts of other random variables to your test (buffering etc.).
I came here to ask the same thing. I did find a Linux tool with the same name and purpose but that seems to be an entirely different codebase: https://github.com/nedrichards/whatcable-linux
I have a handful of wireless keyboards that just absolutely refuse to negotiate for charging with certain cables at all, so I'm hoping this will help me at least figure out what those keyboards are looking for in terms of cable.
5 hours ago [-]
robot_jesus 4 hours ago [-]
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.
ssl-3 47 minutes ago [-]
Your Subaru+iPhone combo already tests that capability, does it not?
Just purge the known-bad cables already. :) (Gather them up and scrap them if the landfill seems like a harsh destination.)
In a situation of surplus, there's no reason I can think of where keeping charging-only cables around has merit.
Later on, if you need a cable that very specifically can do USB 3 speeds, then: Use a flashlight and look inside of the USB A connector. The ones that only have 1 row of 4 contacts will never be able to do USB 3, while the ones with 2 rows contacts will probably work fine.
kccqzy 2 hours ago [-]
For cheap cables like USB-A to USB-C, I just throw away all cables that do not support data transfer. I don’t need the mental overhead of categorizing these cables. So any USB-A to USB-C cable in my cable drawer would work in this scenario. And CarPlay doesn’t even require USB 3.0; 2.0 is enough.
reasonabl_human 4 hours ago [-]
I see other folks provided options, in case you want to avoid aliexpress, this one worked for me for the past 4 years
But it is the second product I tried; the first one didn't work (it's a 2020 Stellantis car). So, YMMV.
jorts 4 hours ago [-]
I'd recommend a wireless CarPlay adapter. I bought one for my car, and it's a game-changer.
gwbas1c 3 hours ago [-]
I used to use one for Android. It worked for about 6 weeks, then stopped working, then a few months later I tried it and it worked for about 6 weeks before stopping working again!
pdpi 4 hours ago [-]
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.
lxgr 4 hours ago [-]
If you can afford it, I'd honestly throw these out. "Charging only" is not a spec-compliant thing in USB-C, and personally I wouldn't want to re-discover which devices do and don't support them every time I just want to quickly grab a cable.
What's less easy to replace are all these damn USB-C devices lacking the UFP-identifying circuitry that only work on USB-A chargers using A-to-C cables...
pdpi 4 hours ago [-]
To be clear, they're not literally "charging only", AIUI they're spec-compliant cables with USB2.0 480Mbps and power delivery, and they're allowed to not have the four SuperSpeed wire pairs. They're still useful for low bandwidth devices (like charging my keyboard/mouse).
Incidentally — I spent an inordinate amount of time searching for USB3.2 cables on Amazon, and the vast majority of cables were actually just USB2.0 cables with PD support, and not actual Full-Featured cables.
ssl-3 37 minutes ago [-]
Amazon's search is awful and I do not recall a time when it was better. It's probably this way by design, so that it always tends to present a never-ending stream of products to buy.
But over here in the real world where I need a specific sort of USB 3.2 widget: Either the USB 3.2 widget exists, or it does not exist. Presenting pages and pages of not-results that were already explicitly defined as irrelevant do not help a person to spend money. :)
(eBay's advanced search mode seems to still get it close-enough to right when rote specificity is important. I use it all the time to find very particular things.)
lxgr 4 hours ago [-]
Ah, I love these as they're generally much thinner/lighter/more flexible than USB-C 3 cables but still support at least 60W power delivery! Advertising them as USB 3 is a shame, though.
david422 4 hours ago [-]
I was trying to figure out slow network speeds one day and I finally swapped an ethernet cable and got full speed.
It turns out some ethernet cables are missing wires - and capped at 100Mbps! Wait what? I didn't even know that was a thing. I don't know where I got the wire, but into the trash it goes.
notpushkin 3 hours ago [-]
100 Mbps is sometimes just enough for the job. And it’s easy to see that you only have two pairs instead of four – just look at the connector.
cortesoft 4 hours ago [-]
I would recommend getting one of the small cable testers, like the one from Treedix. Gives you all sorts of information very quickly, including resistance levels and capabilities.
nerdsniper 4 hours ago [-]
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.
> 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.
Couldn't you just do a data transfer test over the cable and check the error rate? At least in theory, the controller might not report enough I guess.
budman1 3 hours ago [-]
If you are just wanting "to use it", sure.
If you are building a cable for a specific purpose, or want to actually ensure that it will work, use test equipment.
IT interconnect closet vs. air vehicle.
seanw444 3 hours ago [-]
So basically, it's cheap for them to defraud the consumer, and prohibitively expensive for the consumer to adequately protect themselves from it. The absolute state.
vel0city 3 hours ago [-]
While I totally agree if you want to truly know the quality of the signal you need a very expensive box to actually measure the tiny deviations, if the question is "can this thing handle 80Gbit of data", can't you just get a couple of USB4 chips or whatever and have one send a pattern at that throughput and have the other try and receive and confirm that pattern? That would give you a basic "yes/no" kind of answer of "can it send XGbit?" I agree the processing capacity for such a thing at retail isn't likely to be $40, but probably a good bit less than >$15k. After all, you can get <$1,000 laptops that can do that pretty easily.
For example, I don't need to precisely measure exactly how messed up the signal is to know if the HDMI cable works or not at a given resolution. I'll see the TV have issues displaying a picture. Either the picture is there reliably or its not. I'm not trying to fine tune the cable, I'm just trying to see if it generally works or not.
As for testing power delivery, its not that electrically complicated to put a few amps through a wire for a few minutes. That said, the user must be aware if the cable isn't up to the standards that the chip states you could have some serious issues on your hands, but I guess better to find out on the tester at the workbench or desk than at your bedside.
nerdsniper 5 minutes ago [-]
Sure. But the cable tester that you describe here doesn't exist. You could maybe DIY it but there's none off the shelf.
extinctLizard 4 hours ago [-]
Small question: did anybody succeed to pay via Apple Pay?
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.
Oh god not again... before everyone starts naming their favourite brand, here's a 265 comment HN thread[1] (from last week !) on why these cheap USB-cable "testers" are not worth anything.
TL;DR You need a six-figure wallet to seriously call anything a "hardware tester" for USB cables. User ChrisMarshallNY has a one-liner summary buried in that thread:
If you only paid $40 for a black-box on your favourite online marketplace, then what you've got is definitively NOT a USB-cable tester.[1] https://news.ycombinator.com/item?id=49152255
But as was repeated 101 times on that thread ....
All that those cheap $40 boxes are doing IS reading the marker.
Sadly you are kidding yourself if you think a $40 box off Amazon is doing any sort of "verification". Let alone in any sort of calibrated, reproducible sense free of random unknown variables.
The $40 black-boxes do two things:
There is zero chance that a $40 black-box, even if it did a naïve packet pushing test, would deliver you reproducible results and introduces all sorts of other random variables."Excessive retries" sounds like exactly the sort of intermittent, hard-to-diagnose cable issues that you will not find unless you test the USB cable on a 6-figure rig. :)
Sadly yes.
Like many people on that thread concluded:
The best "middle ground" thing you can do is pay a premium to buy your cables from reputable manufacturers.
And $20,000 is five figures, so an off-the-cuff six figure estimate is an error of an order of magnitude. That's quite a large error.
But to bring it all back 'round again: The oft-repeated suggestion that a $40 device can do the same job represents an error of 3 or more orders of magnitude. :)
Some of the stuff in this cheaper class of kit can observe what happens in terms of voltage and/or current on the wire between two devices, some of them can have a chat with a cable and/or a device on their own to see what they state of their capabilities (as this software does), and some of them can also test things like DC continuity. That's useful, but it doesn't help to grade the actual signal characteristics of the cable.
There's a galaxy of difference between DC and a 40 GHz symbol rate.
See the discusison linked to.
Trust me, my interest was piqued by that thread and I went down the rabbit warren with Mr Google and spent far too much time on the subject. I looked at the various manufacturers and the setups required.
TL;DR: To start with, you need fancy harness assemblies. Then you need to plug those harnesses into very, very expensive equipment.
You're not going to find anything for $20k. High-throughput USB-cable testing simply can't be done the same way copper CAT6 certification can with a 20k Fluke.
For those who want to play with Mr Google, some manufacturers from my notes: Wilder Technologies, Allion, Keysight, Tektronix, Teledyne LeCroy
Here's one blog post I uncovered during my researches: https://www.keysight.com/blogs/en/tech/bench/2023/02/17/powe...
You need a six figure wallet to want to spend $20k on a tester :)
Heh. I'll give you a +1 for that one.
Reminded me of the old joke...
What's the quickest way to become a millionaire ? Be a billionaire and buy an airline.
> Cable history
> Add a cable, give it a name, and WhatCable records how it performs over time, with a verdict per cable.
wiggle the cables around to see if and when any of the lights flicker, indicating a bad or broken connection. i've found a few bad cables that would intermittently fail.
And I have nothing to gain from that sale.
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.
Not reproducible and introduces all sorts of other random variables to your test (buffering etc.).
https://github.com/nedrichards/whatcable-linux
But (hazard guess) it comes with a headless CLI binary (no GUI libraries needed) so probably could be ported to Linux (easily with an LLM?)
https://github.com/darrylmorley/whatcable
As I understand it, Windows doesn't expose the necessary low-level hardware information for something like this to be possible.
I have a handful of wireless keyboards that just absolutely refuse to negotiate for charging with certain cables at all, so I'm hoping this will help me at least figure out what those keyboards are looking for in terms of cable.
I have so many cables I've accumulated over the years, I should either purge or at least categorize the functionality of each.
Just purge the known-bad cables already. :) (Gather them up and scrap them if the landfill seems like a harsh destination.)
In a situation of surplus, there's no reason I can think of where keeping charging-only cables around has merit.
Later on, if you need a cable that very specifically can do USB 3 speeds, then: Use a flashlight and look inside of the USB A connector. The ones that only have 1 row of 4 contacts will never be able to do USB 3, while the ones with 2 rows contacts will probably work fine.
https://a.co/d/0d9EOGRW
Does require a bit of setup, can scan reviews to see if people have optimized a config for your specific vehicle
But it is the second product I tried; the first one didn't work (it's a 2020 Stellantis car). So, YMMV.
What's less easy to replace are all these damn USB-C devices lacking the UFP-identifying circuitry that only work on USB-A chargers using A-to-C cables...
Incidentally — I spent an inordinate amount of time searching for USB3.2 cables on Amazon, and the vast majority of cables were actually just USB2.0 cables with PD support, and not actual Full-Featured cables.
But over here in the real world where I need a specific sort of USB 3.2 widget: Either the USB 3.2 widget exists, or it does not exist. Presenting pages and pages of not-results that were already explicitly defined as irrelevant do not help a person to spend money. :)
(eBay's advanced search mode seems to still get it close-enough to right when rote specificity is important. I use it all the time to find very particular things.)
It turns out some ethernet cables are missing wires - and capped at 100Mbps! Wait what? I didn't even know that was a thing. I don't know where I got the wire, but into the trash it goes.
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...
Couldn't you just do a data transfer test over the cable and check the error rate? At least in theory, the controller might not report enough I guess.
IT interconnect closet vs. air vehicle.
For example, I don't need to precisely measure exactly how messed up the signal is to know if the HDMI cable works or not at a given resolution. I'll see the TV have issues displaying a picture. Either the picture is there reliably or its not. I'm not trying to fine tune the cable, I'm just trying to see if it generally works or not.
As for testing power delivery, its not that electrically complicated to put a few amps through a wire for a few minutes. That said, the user must be aware if the cable isn't up to the standards that the chip states you could have some serious issues on your hands, but I guess better to find out on the tester at the workbench or desk than at your bedside.