This piqued my curiosity based on the purportedly support on Marvell. This is what I get on Linksys WRT1900ACS on 23.05.3, X86-64 on SNAPSHOT 6.6, and Dell Vostro on Linux Mint:
"Summary”
Linksys WRT1900ACS on OpenWrt 23.05.3
root@WRT1900ACS-AP:~# ethtool --cable-test lan1 # Cable connected
Cable test started for device lan1.
Cable test completed for device lan1.
Pair A code OK
Pair B code OK
Pair C code OK
Pair D code OK
root@WRT1900ACS-AP:~# ethtool --cable-test lan2 # No cable connected
Cable test started for device lan2.
Cable test completed for device lan2.
Pair A code Open Circuit
Pair B code Open Circuit
Pair C code Open Circuit
Pair D code Open Circuit
Pair A, fault length: 9.60m
Pair B, fault length: 10.40m
Pair C, fault length: 8.80m
Pair D, fault length: 8.00m
root@WRT1900ACS-AP:~# ethtool --json --cable-test lan1 # Cable connected
[ {
"pair": "Pair A",
"code": "OK"
},{
"pair": "Pair B",
"code": "OK"
},{
"pair": "Pair C",
"code": "OK"
},{
"pair": "Pair D",
"code": "OK"
} ]
root@WRT1900ACS-AP:~# ethtool --json --cable-test lan2 # No cable connected
[ {
"pair": "Pair A",
"code": "Open Circuit"
},{
"pair": "Pair B",
"code": "Open Circuit"
},{
"pair": "Pair C",
"code": "Open Circuit"
},{
"pair": "Pair D",
"code": "Open Circuit"
},{
"pair": "Pair A",
"length": 8.8
},{
"pair": "Pair B",
"length": 6.4
},{
"pair": "Pair C",
"length": 8.8
},{
"pair": "Pair D",
"length": 8.8
} ]
root@WRT1900ACS-AP:~# ethtool --cable-test-tdr lan1
Cable test TDR started for device lan1.
Cable test TDR completed for device lan1.
TDR Pulse 1000mV
Step configuration: 0.80-149.73 meters in 0.80m steps
Pair A Amplitude -93
Pair B Amplitude -7
Pair C Amplitude 640
Pair D Amplitude 7
Pair A Amplitude -85
Pair B Amplitude -46
Pair C Amplitude 492
Pair D Amplitude -7
Pair A Amplitude -7
Pair B Amplitude -15
Pair C Amplitude 117
Pair D Amplitude 0
Pair A Amplitude -15
Pair B Amplitude -7
Pair C Amplitude -85
Pair D Amplitude -15
Linux Mint Intel
user@Vostro-7620:~$ ethtool --cable-test *
netlink error: Operation not permitted
X86-64 on Openwrt (6.6) SNAPSHOT
roott@RuralRoots:~# ethtool --cable-test-tdr eth0
netlink error: PHY driver does not support cable test TDR
netlink error: Not supported
root@RuralRoots:~# ethtool --cable-test eth0
netlink error: PHY driver does not support cable testing
netlink error: Not supported
So it is supported on Marvell, though results returned on subsequent repeated calls vary wildly - aka “needs work?”