News for hackers. Stuff that matters.
Re:USB4 Specification by gumby on Tuesday September 03, 2019 @07:53PM (#20872593)
You forgot the case 5) ports match, some protocols match, port works at much reduced capability.

This is great for backwards compatibility, but can confuse users. You could have a TB3 drive attached to a TB3 computer by a USB cable with type C connectors that only operates at USB 2 speeds. It will silently fall back to a very slow transfer.

I don't know how the committee could have done much better though; this kind of fallback is important. Some mandated labeling would have helped a lot though.

Re:USB4 Specification by hazeii on Wednesday September 04, 2019 @02:41AM (#20874578)
Indeed, I've just had exactly this case with a high speed USB3 camera. Tested it on 2 PC's and a Pi4 both direct and via a USB3.1 hub and it just wouldn't deliver the theoretical frame rate. Finally turned out the 'premium' USB C cables we were using are actualy only USB2.

From pictures on Amazon [0], a lot of cables being advertised as Type C USB3 are actually missing the 'SS' labelling, despite being advertised as 'Superspeed' (i.e. 5Gbps) in the description.

[0] https://www.amazon.co.uk/Anker-PowerLine-Durability-Devices-... - in this case, it currently provides a link "There is a newer version of this item" which links to a USB2 version(!).

Re:USB4 Specification by pas on Wednesday September 04, 2019 @05:37AM (#20875473)
All of this is software UX problem. I plug something in that something should tell me what kind of connection it established, is it any good, etc. Try the fast ones opportunistically and tell me when it has to fall back. That's it. If it works I'll know anyway.

Even a simple micro-USB on phones needed a pop-up to select what functionality the user wants to activate (charging, file transfer, host mode, debugging).

The problem is not new, but most software makers are stubborn miscreants that hate good UX (simplicity, discoverability, accessibility / introspectability, extendability). They usually champion one aspect to the total detriment of the others - eg GNOME3, phone OSes.

Re:USB4 Specification by magduf on Wednesday September 04, 2019 @01:13PM (#20879257)
The problem is they think users are too stupid to understand that much information and detail. And for the most part, they're right: users are very stupid.
Re:USB4 Specification by fanf2 on Thursday September 05, 2019 @03:25AM (#20884579)
Hiding information from them won’t help them to become less confused.
Re:USB4 Specification by magduf on Thursday September 05, 2019 @08:32AM (#20885964)
Tell that to the UI "experts".
Re:USB4 Specification by bobbyi_settv on Tuesday September 03, 2019 @10:15PM (#20873383)
> It will silently fall back to a very slow transfer.

Why would it be silent? The computer would hopefully show a small notification that the transfer is happening slower than it would with a newer cable

Re:USB4 Specification by gumby on Wednesday September 04, 2019 @01:37AM (#20874313)
With the older cable it wouldn't even know what the other side could be capable of.
Re:USB4 Specification by zaarn on Wednesday September 04, 2019 @02:49AM (#20874613)
That's actually untrue because for USB2 vs USB3 my computers already showed notifications that the USB2 cable is slower than necessary. The computer KNOWS the other device, it has a driver for it, and the driver can say "this device is capable of more".
Re:USB4 Specification by labawi on Wednesday September 04, 2019 @04:18AM (#20875066)
Sometimes yes, other times it might be possible in another way, but a lot of drivers are generic and don't have an exhaustive list of all devices in existence. Devices only need to be identified as a certain (generic) type.
Re:USB4 Specification by zaarn on Wednesday September 04, 2019 @04:27AM (#20875110)
It's still certainly possible for a device to report it's capabilities and plenty of devices seem to correctly do it already.
Re:USB4 Specification by cesarb on Wednesday September 04, 2019 @08:21AM (#20876419)
It would know, the wSpeedsSupported field on the device tells the host which speeds the device is capable of.
Re:USB4 Specification by em-bee on Wednesday September 04, 2019 @08:53AM (#20876689)
but it could at least report the capacity of the cable. that's still useful when you get a badly advertised cable that you thought could do more, or worse, got a fake cable.
Re:USB4 Specification by sroussey on Wednesday September 04, 2019 @01:11AM (#20874177)
This. Apple does something similar if you try to pull too much power
Re:USB4 Specification by gumby on Wednesday September 04, 2019 @01:37AM (#20874311)
Only in the power case -- how can it know that you didn't intend to use USB 1? It wouldn't be able to tell what the other side is capable of in that case, hence the fallback.
Re:USB4 Specification by bonzini on Wednesday September 04, 2019 @02:45AM (#20874597)
It could know via USB descriptors, and match the device capabilities from the descriptors against what the cable allows.
Re:USB4 Specification by egypturnash on Wednesday September 04, 2019 @01:27AM (#20874256)
Does any computer actually do such a thing?
Re:USB4 Specification by jboles on Wednesday September 04, 2019 @01:58AM (#20874406)
Windows 7 did for USB2 devices plugged into a USB1 port: https://www.makeuseof.com/tag/usb-speederror/

If the computer can identify the device’s capabilities (using some kind of bus command, I’m not very familiar with the USB protocol) separately from speed testing the cable+device combination, no reason why it couldn’t work for USB 2/3/4.

Of course, this approach relies on the device accurately reporting its capabilities, which may not be the case for the more cheap-and-cheerful gadgets.

Re:USB4 Specification by Kipters on Wednesday September 04, 2019 @03:48AM (#20874904)
Windows 8 (and perhaps 10, can't remember) alerted me when I used a USB 3 thumbdrive in a USB 2 port
Re:USB4 Specification by organsnyder on Wednesday September 04, 2019 @09:28AM (#20876981)
Windows 10 shows a notification whenever my USB-C portable monitor is using USB video (via the monitor's DisplayLink chip) rather than DisplayPort.
Re:USB4 Specification by k__ on Tuesday September 03, 2019 @07:57PM (#20872621)
Just try to get some quick charge with third-party equipment going these days. It's a lottery.