News for hackers. Stuff that matters.
Re:USB4 Specification by CobrastanJorji on Tuesday September 03, 2019 @05:12PM (#20871230)
Reading through this, I'm left unable to see the underlying forces. None of the people working on this spec are idiots, so how did they arrive here? What are the forces and unstated requirements behind the scenes that I don't understand that have led to a USB4 spec with this many potential flavors and absurd naming conventions to express them? Is it something about cost? Or patents? Or some random company who won't budge on something but needs to be included?
Re:USB4 Specification by msbarnett on Tuesday September 03, 2019 @05:44PM (#20871505)
> Is it something about cost?

It's hugely about: cost, and the desire of the USB forum to ship a single "does everything" protocol that keeps a large chunk of the industry from choosing to stay on some old version of the spec forever.

Tons and tons of manufacturers of cheap low end devices out there aren't willing to replace a $0.10 USB controller with something that costs 30x as much when they have no need for the high-end speeds of Thunderbolt 3, fast charging, DisplayPort alternate modes, etc. Consequently the spec can either contain a lot of optional features they can choose to ignore, or it can mandate support for all of the 40 Gbps active cable fast charging etc options, and watch as devices partition themselves between the few the need all of that stuff, and the majority that ship simple micro-USB 2.0 hardware.

If they did the latter, then USB 4 is essentially pointless: that's the exact situation we were already in 5+ years ago, except the cheap side was called "USB 2" and the expensive side was called "Thunderbolt". All we've done is rename the expensive side to "USB 4".

If they do the former, they ship a "spec" so full of options that it's already nearly impossible to tell exactly what devices or features any given USB C port will support without recourse to a specifications sheet.

Fundamentally, "one port and protocol to rule them all" is probably just a bad idea. Trying to serve the needs of both cheap slow devices and expensive fast ones puts the forum in a contradictory position, and the only "benefit" from combining the standards that serve each niche is opaque ports and cables that consumers can't easily reason about the compatibility of.

Re:USB4 Specification by jayd16 on Tuesday September 03, 2019 @07:34PM (#20872468)
>Fundamentally, "one port and protocol to rule them all" is probably just a bad idea

I disagree. The situations are:

1)ports are the same, protocol match : works

2)ports are the same, protocol mismatch : won't work, some user confusion

3)ports are different, protocol match : could work but won't without an adapter

4)ports are different, protocol mismatch : won't work. Adapters might exist but those won't work either.

I'd much rather deal with situation 2 over 3 and 4. Display adapters already have situations where you can get adapters to cobble together DVI and VGA ports but still fail to get a proper connection, so its not really a fix anyway.

The USB foundation should just come up with better branding around what kinds of things a port supports. No reason we can't have a thunderbolt icon next on a USB port. Its strictly better than a new physical port, IMO.

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.
Re:USB4 Specification by Stratoscope on Tuesday September 03, 2019 @08:26PM (#20872776)
> No reason we can't have a thunderbolt icon next on a USB port.

In fact, my ThinkPad X1 Yoga has two USB-C ports with Thunderbolt icons next to them. They support USB 3.1 Type-C Gen 2 with Thunderbolt 3 (including DisplayPort).

Re:USB4 Specification by suvelx on Wednesday September 04, 2019 @04:16AM (#20875050)
How many DisplayPort channels do each ports support?

How many PCI-E lanes does each port get?

Do the ports share the channels/lanes?

Do they both support Power Delivery? How many Watts does the thinkpad need to charge?

Even with 'clear' labelling, it can still be a crapshot as to the full capabilities of the device.

Re:USB4 Specification by Stratoscope on Wednesday September 04, 2019 @04:59AM (#20875290)
Well, this is where we get the phrase "Plug and Pray", isn't it! ;-)

Right now I have an Uptab Mini-DisplayPort adapter in one port, and a StarTech full size DisplayPort adapter in the other. The Uptab adapter has its own USB-C input for power, so that is where the power supply is connected.

The mini and full size DisplayPorts are each connected to a 4K monitor, and I use all three - the two externals and the ThinkPad's WQHD. This all works great when the Uptab is in the rearmost USB-C port and the StarTech is in the other port. But if I switch the two around, one of the monitors goes into low resolution mode!

This kludgy configuration is just because these were the adapters I had on hand. There are a number of adapters that plug into a USB-C port and give you two mini-DisplayPort outputs - I have been meaning to try one out.

Re:USB4 Specification by flyingfences on Wednesday September 04, 2019 @08:43AM (#20876608)
> They support USB 3.1 Type-C Gen 2 with Thunderbolt 3 (including DisplayPort)

And therein lies the problem.

Used to be, we could call a USB port a USB port. Everybody knew that if the computer had the port, it could work with the peripheral; if the computer didn't have the port, it would not work with the peripheral. If the peripheral required different functionality then it required a different port that was equally straightforward and obvious.

Now, it's all supposed to run over USB - at least, over some USB. Consumers go out and buy a device and then are confused when it doesn't work. They know their computer has a USB port, but that's not enough. The port no longer represents a definite protocol, or even a definite power supply capacity. Are they supposed to check to see whether each of their USB ports says "USB 3.1 Type-C Gen 2 with Thunderbolt 3 (including DisplayPort)" next to it (which it doesn't)?

Re:USB4 Specification by chrisweekly on Tuesday September 03, 2019 @07:49PM (#20872572)
Pardon my ignorance, but isn't (2) really dangerous when it comes to things like power delivery?
Re:USB4 Specification by mortenjorck on Tuesday September 03, 2019 @09:10PM (#20873064)
It would be if the different protocols didn’t have the same baseline power specifications and require negotiation between controllers to supply anything else. This is generally the case across everything sharing the type-C connector, though occasionally you will see a company make the terrible decision of trying to pass off their out-of-spec implementation as a “proprietary port,” as Nintendo did with the Switch.
Re:USB4 Specification by rkangel on Wednesday September 04, 2019 @11:14AM (#20877916)
Is there something special about the USB-C connector on the Switch?
Re:USB4 Specification by Miraste on Wednesday September 04, 2019 @05:05PM (#20881408)
Re:USB4 Specification by Dylan16807 on Friday September 13, 2019 @06:38AM (#20960825)
There were some slightly off-spec things in current draw but none of that is relevant to the article you linked.

That pin is supposed to use data signals of less than two volts. The nyko charger uses nine volts. The switch has no over-voltage protection on that pin, and breaks at more than six volts.

The part about a slightly thinner plug isn't relevant at all.

Re:USB4 Specification by spancap on Tuesday September 03, 2019 @08:04PM (#20872667)
(2) has killed people, such as the patient who was electrocuted in 1986 due to an IV pump power supply using the same connector as EKG leads. (Casey, "Set Phasers On Stun" 2nd edition, pp.177-180)
Re:USB4 Specification by hannasanarion on Tuesday September 03, 2019 @11:39PM (#20873797)
USB doesn't automatically deliver maximum power to whatever is plugged into it. The client device has to ask for it. The default 5v 500mA isn't going to hurt anybody.
Re:USB4 Specification by gsich on Wednesday September 04, 2019 @08:33AM (#20876524)
Neither is 5V 2A, but that's more to skin resistance that's really high at such low voltages.
Re:USB4 Specification by magduf on Wednesday September 04, 2019 @01:17PM (#20879305)
5V at 1000A is completely safe too. The only thing that matters with electrical safety is voltage, and anything under 50V is generally safe for humans, all because of skin resistance.
Re:USB4 Specification by izacus on Wednesday September 04, 2019 @04:09AM (#20875012)
No, because power delivery is negotiated from a safe USB1 type base levels. If the device doesn't request it, it won't get delivered.

The only outliers are moronic implementations like Nintendo, where they ask for capabilities, receive the charger capabilities and then just start pulling power at hardcoded levels even if the charger doesn't specify it supports those power levels. But there's nothing you can do against that - you even with different port shape, a broken implementation can still fry your device.

Re:USB4 Specification by chrisweekly on Friday September 06, 2019 @08:59AM (#20895190)
You started with "no" (ie, it's safe)... then ended with "can still fry your device".

I infer your point: the shape of the connector in theory is decoupled from risks in power delivery... but in reality the prevalence of cheap knockoffs and "moronic implementations" makes me question the wisdom of combining [potentially dangerous levels of] power delivery with data transfer.

Re:USB4 Specification by sschueller on Wednesday September 04, 2019 @01:29PM (#20879428)
Didn't the charger from the Pixel not implement this correctly and send full power down the line even if a device can't handle it?
Re:USB4 Specification by ProZsolt on Thursday September 05, 2019 @03:45AM (#20884665)
The Pixel charger was fine AFAIK. The Nexus 5x and 6P had rogue chargers
Re:USB4 Specification by hunter2_ on Tuesday September 03, 2019 @08:00PM (#20872636)
There's nothing dangerous about drawing less current than is available, or a device trying to upgrade voltage and/or current from a base level (5V 500mA) but being disappointed when the source can't oblige.
Re:USB4 Specification by thaumasiotes on Tuesday September 03, 2019 @11:43PM (#20873821)
> 4)ports are different, protocol mismatch : won't work. Adapters might exist but those won't work either.

Why would adapters necessarily not work in this case? It looks like you're claiming that translating one protocol to another is always impossible, but that can't actually be the idea... right?

Re:USB4 Specification by johncolanduoni on Wednesday September 04, 2019 @02:01AM (#20874418)
Most of these kind of adapters (usb-c/usb-a, dvi-d/hdmi) don’t actually do any protocol conversion, they merely take advantage of fallback/cross-compatibility that the endpoints actually implement and rearrange some wires. Adapter that need to do something more complicated (like dvi-d to vga) have to be powered. And in some cases like USB 3 to thunderbolt or DisplayPort it’s simply impossible for the host controller to provide the necessary IO. Thunderbolt expects to provide a full PCIe interface to the CPU that doesn’t fit within how USB 3 controllers communicate with your CPU. DisplayPort requires a connection to your graphics adapter, which is also not under the USB 3 controller’s purview.
Re:USB4 Specification by jayd16 on Wednesday September 04, 2019 @12:03AM (#20873899)
That would be case 3...
Re:USB4 Specification by thaumasiotes on Wednesday September 04, 2019 @12:08AM (#20873919)
No, in case 3 there's a protocol match. In case 4 there isn't. I'm asking why an adapter is supposedly unable to deal with a protocol mismatch. Dealing with mismatch is the whole idea of an "adapter".
Re:USB4 Specification by jayd16 on Wednesday September 04, 2019 @03:47AM (#20874899)
If an adapter exists we can categorize it as case 3 for the sake of this discussion. I think you're needlessly hung up on the word protocol when that really doesn't matter.
Re:USB4 Specification by thaumasiotes on Wednesday September 04, 2019 @02:08PM (#20879846)
> I think you're needlessly hung up on the word protocol when that really doesn't matter.

In that case, you've described two situations:

1. Ports are the same.

2. Ports are different.

This doesn't seem like a particularly fruitful analysis.

Re:USB4 Specification by infogulch on Wednesday September 04, 2019 @12:33AM (#20874017)
"could work but won't without an adapter"

The adapter is the downside. And there's no guarantee that the perfectly suitable adapter actually exists.

Re:USB4 Specification by unixhero on Wednesday September 04, 2019 @01:34AM (#20874293)
Isn't that too late. They aren't going to publish any new specs after this.
Re:USB4 Specification by TeMPOraL on Tuesday September 03, 2019 @06:46PM (#20872041)
Wait, isn't the whole problem with the cables and not the ports?

It matters little what subset of USB any given device supports. No reasonable person will expect, say, high-speed video from a cheap mp3 player, just because it's the same USB as their screen. However, it's perfectly reasonable to use the cable that came with aforementioned mp3 player to connect a computer to a screen, and expect the video signal to be carried through.

I don't see a good reason why cables shouldn't be required to carry everything USB supports.

Re:USB4 Specification by msbarnett on Tuesday September 03, 2019 @07:14PM (#20872316)
> Wait, isn't the whole problem with the cables and not the ports?

> It matters little what subset of USB any given device supports. No reasonable person will expect, say, high-speed video from a cheap mp3 player.

No, it's both. Laptops ship that have one USB-C port that will carry DisplayPort alternate mode, and another, equivalent looking port, that won't, because it's not wired to the GPU. Consult a manual to figure out which port or ports is wired for video.

Your Nintendo Switch will work with an DisplayPort demuxing dock to output an HDMI signal, but put the forthcoming Nintendo Switch Mini, with an identical looking port in the same dock, and no video will output, because the mini lacks a DisplayPort crossbar mux IC connected to the port, and only uses it for charging and USB-C peripherals. This is a frequent source of complaint on gaming forums.

Laptops ship that will charge off of one USB-C port but not another, because the manufacturer saved a few cents by only wiring one for the optional high-speed charging spec.

Etc. Etc. Etc. While some things obviously don't support some USB 3 or USB-C optional features (obviously my USB-C keyboard does not output DisplayPort), consumers are often frustrated in other cases when their intuition and the equivalent looking ports suggests something should work when it doesn't.

Re:USB4 Specification by pmontra on Tuesday September 03, 2019 @08:10PM (#20872697)
> Laptops ship that have one USB-C port that will carry DisplayPort alternate mode, and another, equivalent looking port, that won't, because it's not wired to the GPU.

The solution is to mark ports with symbols. It already happened with USB 2.0. I remember charging and not charging ports there, with a label on the charging one. Furthermore people learn with quickly which port does what on their laptop.

On the other side, is this phone I'm writing on capable of video out? No way to know unless I google the spec. I think it does, but I don't remember. It's not I'm doing that every day, or every month.

Re:USB4 Specification by rblatz on Wednesday September 04, 2019 @01:06AM (#20874146)
Remember when the ports that did a thing, only worked with other cables that were meant to do that thing, and generally if the cord fit, it was in the right spot? That was great, now I have to look at tiny little symbols, and hope I know what each obscure symbol means. The progress is amazing.
Re:USB4 Specification by williamDafoe on Wednesday September 04, 2019 @01:53AM (#20874386)
I literally have a box of pre- USB-C cables. S-Video VGA RCAx2 Coax RCAx3 VHS hi-fi optical HDMI DVI-A DVI-D and a LOAD OF SIMILAR crapola! the box is 12" x 18" x 12" and it's FULL!!! Good riddance!
Re:USB4 Specification by forty on Wednesday September 04, 2019 @03:12AM (#20874721)
Won't that just be replaced by the same box full of USB cable that can only do displayport, some that can only do networking, some that can only do storage, and some that can do a combination of the previous, probably at different speeds... The only difference would be that when you need a specific one, you would have to try them all until it works ;)
Re:USB4 Specification by em-bee on Wednesday September 04, 2019 @09:02AM (#20876764)
depending on the cost, i could dump all cheap cables and replace them with high quality ones that can handle everything.

that one cable to bind them all.

Re:USB4 Specification by cruano on Wednesday September 04, 2019 @11:44AM (#20878269)
Now image buying a $70 cable each time you need a new one
Re:USB4 Specification by TeMPOraL on Wednesday September 04, 2019 @12:26PM (#20878742)
If each of the types of cables is probably less than $5, how do you get a $70 price tag for the combined all-capabilities cable? I'd be surprised if it would cost more than $10.
Re:USB4 Specification by magduf on Wednesday September 04, 2019 @01:19PM (#20879329)
Because that's how American brick-and-mortar retailers make their profit: they take a cable that you can buy on Ebay for $5 and mark it up to $50, while keeping their prices on big-ticket items (like a TV or laptop) somewhat competitive because people price-shop on those things, but not on accessories.
Re:USB4 Specification by toxican on Wednesday September 04, 2019 @02:47PM (#20880203)
@temporal

Have you seen the prices for VGA cables, cat5, etc. at Walmart, best buy, etc.? They absolutely will jack the price up because they know the only people who buy that stuff there are ignorant or too desperate to wait for shipping.

Re:USB4 Specification by TeMPOraL on Wednesday September 04, 2019 @02:08PM (#20879844)
Brick-and-mortar prices are constrained from the top by competitive pressure too. They won't be selling full-capacity USB cables with 10x markup, because they'd lose even more business to on-line stores.
Re:USB4 Specification by deathanatos on Tuesday September 03, 2019 @08:32PM (#20872816)
Nope, and I recently experienced this fun first hand.

My work desk has a built-in USB-3 C port, and says it supports USB Power Delivery. The desk is plugged into the wall. Excellent, I can use that port to charge the MBP, right? No! Plugging into that port will cause OS X to believe it's connected to a power supply — so the battery is "charging" according to the OS. Even more fun, is after leaving the laptop in this setup for some time: there's no visual indication in OS X that the battery is about to die and AFAICT, OS X would happily take no action, since it believes it's connected to a power supply¹.

Why? Because the USB "power delivery port" only delivers 10 W. (A normal MBP power adapter, connected to a wall, can deliver like 80 W. How much the laptop needs is dependent on use, but in my case, it's >10 W.) And AFAICT, the desk is compliant with the letter of the spec; USB PD ports are allowed to negotiate whatever power they can deliver; it just allows a device to draw as much as possible/needed, but doesn't guarantee any max rate.

Why anyone puts a max 10 W port on a desk basically hand-tailored for the SV 4-ft desk open office "experience" is beyond me, though.

¹and, technically, it is.

Re:USB4 Specification by pcr910303 on Tuesday September 03, 2019 @11:00PM (#20873611)
> there's no visual indication in OS X that the battery is about to die and AFAICT, OS X would happily take no action, since it believes it's connected to a power supply.

AFAIK, macOS is aware of three different states: 1) no power connected, 2) connected to power (but not charging), 3) charging battery.

2) is indicated by the black background of the battery charging icon, and 3) is indicated by a white background of the battery charging icon.

In the case where the power source can't deliver enough energy for charging (in your case), it is in state 2); and I'm pretty sure macOS always takes action when the battery is about to die unrelated to the state. It'll backup the RAM when the laptop's battery level is dangerously low and shut off itself, and will be restored later.

Re:USB4 Specification by deathanatos on Wednesday September 04, 2019 @12:39AM (#20874034)
> AFAIK, macOS is aware of three different states

So, you're correct, and I actually did not know this when I wrote the post you've replied to.

But the point still stands: regardless of which of icon 2) or 3) you get, it still isn't going to alert you to the issue: both are normal icons. 2) appears during a full charge, since then you are also not charging, but connected to power. That is, regardless of 2) or 3), both icons also appear during a normal, actually charging charge cycle, so neither indicates an issue.

> I'm pretty sure macOS always takes action when the battery is about to die unrelated to the state

As I recall it, it was awfully close. But that's not to say that there wasn't still time, and that the OS couldn't have acted. (I didn't drive it to empty to find out!) So, it could be that I'm wrong on this point.

Re:USB4 Specification by outworlder on Tuesday September 03, 2019 @08:50PM (#20872934)
> Why anyone puts a max 10 W port on a desk basically hand-tailored for the SV 4-ft desk open office

If the people are the same, you have answered your own question. Open Offices are not a bright idea in the first place; not sure why you would be expecting anything other than similar ideas :)

Re:USB4 Specification by fyfy18 on Tuesday September 03, 2019 @09:48PM (#20873246)
That sounds like an issue with the Mac or MacOS mainly. I have a ThinkPad which charges over USB-PD, but if it can't negotiate 45W with the charger, it doesn't show it is connected to AC.
Re:USB4 Specification by magduf on Wednesday September 04, 2019 @01:22PM (#20879356)
>Why anyone puts a max 10 W port on a desk basically hand-tailored for the SV 4-ft desk open office "experience" is beyond me, though.

Seems simple to me: it costs a lot less to put a cheap, crappy 10W port there, and then they can advertise that their overpriced desk has this fancy feature. The idiot managers at tech companies (probably non-technical HR types) who make the purchasing decisions don't know any better.

Re:USB4 Specification by ProZsolt on Wednesday September 04, 2019 @06:01AM (#20875582)
You could have the same problem if you connect your MBP to a 45W(MBA) charger
Re:USB4 Specification by rstuart4133 on Thursday September 05, 2019 @07:43AM (#20885697)
> Wait, isn't the whole problem with the cables and not the ports?

When buying cables from a reputable manufacturer there doesn't seem to be much of a problem. There are only two figures that matter: the speed they are rated for and the amperage. A good manufacturer will state both clearly on the package.

But in reality, if you don't want to pay $50 that Apple or Belkin charge for a cable, it's a nightmare. (I assume manufacturing cost couldn't be more than a 10th of that.) I've yet to buy a third party USB-C cable that has lasted for 100 insertions (they are supposed to be rated at 10K insertions) - and I must have bought 20 of them by now.

I have no idea how to buy a reasonable quality USB-C cable. I've resorted to treating them like consumables - buying them 5 at a time, and ensuring I always have a few spares in the house. It's doubly frustrating because the OEM cables that come with the devices are invariably good, so they are out there, I just don't have a clue how to find them.

Re:USB4 Specification by mavhc on Tuesday September 03, 2019 @06:54PM (#20872115)
Same problem, now your cable costs 10x more
Re:USB4 Specification by TeMPOraL on Tuesday September 03, 2019 @06:57PM (#20872148)
Since there would be only one type of cable, economies of scale would be massive. Even if they didn't eat all the cost, so what. Cost of the cable is a fraction of the cost of a device, and the whole point of doing a universal protocol is that you can use cables from one device with a different device.
Re:USB4 Specification by msbarnett on Tuesday September 03, 2019 @07:06PM (#20872256)
The 40 Gbps speeds of Thunderbolt 3/USB 4 are sustainable over only very short runs with passive cables -- anything longer than about 50 centimeters requires active circuitry.

There is no level of manufacturing scale that will make an active signal cable cheaper than an equivalent-length passive one, and cable manufacturers, who live and die on razor thin margins, are never going to be convinced to forgo the cost savings of building cheaper passive cables when their client's devices don't even use the higher speeds the active circuitry is required for.

Re:USB4 Specification by TeMPOraL on Tuesday September 03, 2019 @07:34PM (#20872472)
Huh. Fair point about data rates, but then again, I'm not sure if forcing manufacturers into a single, active cable would be impossible. Standardizing a single cable type shouldn't impact the margins on cable sales - whether the cable costs $0.1 or $10, every manufacturer will have the same costs (in the limit).

> to forgo the cost savings of building cheaper passive cables when their client's devices don't even use the higher speeds the active circuitry is required for.

That's why I think standardization should disallow this very attempt at costs savings. A given device may only need a passive cable, but as a user, I want to be able to use that cable with a different device. Moreover, cables are often bought separately (e.g. replacements). It's already a huge problem with USB 2/3 - buying a cable is a lottery wrt. transfer rates and charging amperages.

(The last time I lost that lottery I happened to be in China, so I went to a local seller with a voltage measurement app, and started testing cables they offered one by one. After finally finding a cable that could push proper 2+ amps, I bought something around 60 of them, because back home, everyone sells USB cables packaged in hard plastic, so I wouldn't even be able to run this test.)

Re:USB4 Specification by msbarnett on Tuesday September 03, 2019 @07:43PM (#20872540)
> I'm not sure if forcing manufacturers into a single, active cable would be impossible.

> ...

> That's why I think standardization should disallow this very attempt at costs savings.

There's a somewhat famous Common Lisp FAQ along the lines of "Why didn't the standardization committee just force implementers to do X thing?"

And the answer is: your premise is wrong. Standards bodies don't have the power to force anybody to do anything. If implementors don't like your standard, they'll just ignore it. Standards live or die by their ability to raise consensus.

If Generic Device Manufacturer #4823738 looks at the USB 4 standard and decides there isn't a big market for USB peripherals whose 2 meter charging cable (say, a gamepad that charges via a fairly long 5 W USB, like a gaming console uses) runs $75 because it requires fairly heavy gauge wire to additionally support (unneeded by the gamepad) 100 W charging and has to contain (unneeded by the gamepad) 40 Gbps active signalling circuitry, they're just not going to implement the bloody USB 4 standard. They're not going to implement it if there's a $1 to be saved by going some other route, honestly.

Instead of the "universal protocol" dream dying on the rocks of a hodge-podge of subtly incompatible cables, you've simply killed it by convincing manufacturers to ship USB 2 devices until the end of time, instead.

The standard committee can impose onerous, financially punitive requirements on anything calling itself USB 4, but they can't then make manufacturers adopt USB 4, so in the end they can't solve this by forcing anyone to do anything, which is why the entire idea of "one universal protocol" is hamstrung by its own internal contradictions.

Re:USB4 Specification by organsnyder on Wednesday September 04, 2019 @09:50AM (#20877173)
Let's say the USB standard mandated that all USB-C cables be fully-featured, such that they can't be manufactured for less than $10 each. What's to stop a vendor from selling cheap "cell phone charger" cables? They could print "Compare to Belkin USB-C cable* *not affiliated with Belkin or licensed by the USB Implementers Forum" on the box, and maybe even be able to survive a lawsuit. And even if they're not in the clear legally, these cheaper cables would be found in every "black-market" outlet, which these days includes Amazon, your local gas station, and many big box stores. How long would the USB-IF be able to maintain that stance, while their licensees clamor to be allowed to sell cheaper authorized cables?

I think the solution is to improve branding. When I look at the USB-C cables in my bag, I can't tell at a glance which ones are full-featured: one of them has a tiny logo that maybe indicates something like that, but it's not obvious or prominent. I tend to end up plugging in the wrong one and discovering that the device isn't charging, performing as well as expected, etc. If the USB spec defined consistent, prominent branding for full-featured cables, this would be much less likely to occur. (yes, I know I should replace the inferior cables, but I only use them when I work away from home, which is infrequent enough that it hasn't crossed the threshold to be worth the time)

Re:USB4 Specification by closetohome on Tuesday September 03, 2019 @08:44PM (#20872902)
And - fun addendum to this - Active Thunderbolt cables don't work as basic USB cables - https://appleinsider.com/articles/17/08/15/psa-thunderbolt-3...
Re:USB4 Specification by SloopJon on Tuesday September 03, 2019 @07:26PM (#20872409)
There are trade offs other than just cost. Want a long, thin, flexible cable to charge your laptop? Then you prioritize power delivery at the expense of data speed. If you insist on 40 Gbps capability, something else has to give.
Re:USB4 Specification by TeMPOraL on Tuesday September 03, 2019 @07:38PM (#20872505)
So maybe the laptop cable would have to become thick instead of thin, to support the data rates. There's infinite number of tradeoffs you can make to shave that extra fraction of a cent, or to segment your market, but at some point somebody has to unilaterally declare, "this far, no further!". A standards body is a good candidate for that someone.
Re:USB4 Specification by em-bee on Wednesday September 04, 2019 @09:13AM (#20876840)
but i really want that long flexible charging cable (that 3m i got was my best purchase ever), so i am afraid, as much as i too am in love with the idea of a single cable that works everywhere, i won't be happy if my charging cable becomes a stiff inflexible wire.
Re:USB4 Specification by simonh on Wednesday September 04, 2019 @03:53AM (#20874929)
Scaling factors don't work that way. The economies of scale are where the majority of the market is, and that's low spec cables. So low spec cables will always have better economies of scale than high spec ones, and will have cheaper materials costs.

Any company that tries to compete by upgrading all their output to the top 25% of the market, paying materials costs at the top 25% rate across the whole production run, is committing economic suicide. All it takes is one competitor to not do that and only address the low end, and the whole strategy collapses in ruins.

Re:USB4 Specification by TeMPOraL on Wednesday September 04, 2019 @05:47AM (#20875518)
> All it takes is one competitor to not do that and only address the low end, and the whole strategy collapses in ruins.

That's why I was talking about putting this in the standard, so that only one type of cable is considered compliant. This way, all competitors would have to upgrade too.

Re:USB4 Specification by simonh on Wednesday September 04, 2019 @11:25AM (#20878049)
And people of limited income that just need basic capabilities get screwed. They could have had significantly cheaper cables that would serve them just fine, but we're not going to let them even though they are the significant majority.
Re:USB4 Specification by TeMPOraL on Wednesday September 04, 2019 @12:23PM (#20878714)
This argument can be used to justify any amount of wasteful production and environmental damage. It needs to die.

Prices are to some extent arbitrary. I'm pretty sure people with limited income would be able to buy devices with slightly more expensive cables just fine, especially if you remove the backpressure of a reduced capability alternative keeping the price higher.

Re:USB4 Specification by simonh on Thursday September 05, 2019 @05:40AM (#20885193)
Higher performance cables, with more robust materials, shielding, etc are almost certainly more wasteful and environmentally damaging than cheaper ones.
Re:USB4 Specification by leetcrew on Tuesday September 03, 2019 @09:50PM (#20873260)
> It's hugely about: cost, and the desire of the USB forum to ship a single "does everything" protocol that keeps a large chunk of the industry from choosing to stay on some old version of the spec forever.

why is it so bad if they stay on the old version? AFAIK, usb already bends over backwards to support every older version of the spec. imo, it would be great if USB3.x supported all the latest extensions, USB2 was still kinda fast, and USB1 could still be useful for that really old device you have sitting around (or if you just want to be able to trickle charge a phone with the only micro-usb you have around).

Re:USB4 Specification by rowanG077 on Tuesday September 03, 2019 @06:09PM (#20871736)
I feel that all of this would be MUCH less of a problem with simple code that are required on each USB cable with the exact specs it supports. This code could be put into a tool which then decodes to show what exactly that cable supports.
Re:USB4 Specification by Kalium on Tuesday September 03, 2019 @06:28PM (#20871903)
This works until some mgf decides it's easier to claim to support everything, ships a simple controller that does that, it gets widely used, and a lot of harware becomes mysteriously incompatible as a result.

Trusting vendors to be honest in declaring capabilities is not always the best of all possible approaches, historically.

Re:USB4 Specification by rkagerer on Tuesday September 03, 2019 @06:41PM (#20872003)
Make 'em get certified, if they' re caught cheating they lose their license to stamp the logo.
Re:USB4 Specification by Kalium on Tuesday September 03, 2019 @06:45PM (#20872031)
As I understand it, one of the reasons earlier iterations of the USB standard were popular with manufacturers was that it was logistically and administratively easy. You didn't have to license a bunch of expensive patents and certification is quite easy.

Going against that might be possible, but it strikes me as perhaps difficult to get implementors to go along with.

Re:USB4 Specification by xienze on Tuesday September 03, 2019 @10:25PM (#20873424)
Do you really think a Chinese manufacturer of cheap cables cares if they’re displaying various logos with the proper license or not otherwise misleading customers? Look up the whole “CE” vs “China Export” thing...
Re:USB4 Specification by lopmotr on Wednesday September 04, 2019 @12:16AM (#20873956)
What's strange is that stuff gets imported and sold in the west. It used to be illegal and you couldn't get pirate products in shops but now Amazon somehow just does it flagrantly. Doesn't customs ever seize a container of cables with the wrong logos on them anymore?
Re:USB4 Specification by gsich on Wednesday September 04, 2019 @08:16AM (#20876378)
How would customs know? They would need to test them, which seems unpractical.
Re:USB4 Specification by gsich on Tuesday September 03, 2019 @07:22PM (#20872369)
As if a logo on a cable is important.
Re:USB4 Specification by TheGoddessInari on Tuesday September 03, 2019 @07:33PM (#20872465)
For Display Port cables, if they're not certified, you run the risk of strange hardware faults at best, smoking hardware at presumably worst.

USB4 is tremendously more dangerous if the cable does something really wrong.

Re:USB4 Specification by gsich on Wednesday September 04, 2019 @05:11AM (#20875332)
The problem is that you don't know if the logo is valid. Anyone can just print it on their product. Even buying from Amazon won't save you all the time.
Re:USB4 Specification by solarkraft on Wednesday September 04, 2019 @04:16AM (#20875053)
To me it'd have been immensely helpful. If there had been 2 manufacturers with a logo (or a clear spec), I'd certainly have bought from them.
Re:USB4 Specification by Dylan16807 on Tuesday September 03, 2019 @08:15PM (#20872721)
When it so blatantly doesn't work, it'll get called out in reviews and possibly delisted. It's really easy to stamp the actual capacity on a cable, and there's not much incentive to lie.
Re:USB4 Specification by Kalium on Tuesday September 03, 2019 @11:41PM (#20873806)
With a mix of capabilities, it may not be as simple as "doesn't work". Imagine a cable that 95% of reviewers say work just fine, but 5% say doesn't work at all. Maintains a 4.7 star rating or whatever.

I'm suggesting that they could mostly do fine with lying blatantly about capabilities in hardware. It would take very close analysis to find that it only had some of the capabilities advertised.

Re:USB4 Specification by deathanatos on Tuesday September 03, 2019 @08:37PM (#20872859)
I would agree with this idea… except device manufacturers can't even manage to not put the port in backwards, or print the labeling on the wrong side of the connector. (Yes, the standard mandates a particular orientation for the ports. But there's so many non-compliant devices out there, good luck knowing that.) I don't think they'd get such a thing even remotely close. There's just too much low quality crap out there.
Re:USB4 Specification by Spoom on Tuesday September 03, 2019 @09:28PM (#20873153)
I thought this was the idea behind the USB-C eMarker.
Re:USB4 Specification by usrusr on Wednesday September 04, 2019 @05:08AM (#20875318)
> watch as devices partition themselves between the few the need all of that stuff, and the majority that ship simple micro-USB 2.0 hardware

What's wrong with that? Just create a little spec addendum for USB 2 that officially allows the use of modern physical connectors. It would be so much better in any metric other than deliberate customer confusion than a big, bold "USB $some_high_number" claim with practically invisible fine print admitting that it only supports some obscure subset of the new specification that happens to be exactly USB 2.

The partition happens no matter what.

Re:USB4 Specification by bscphil on Tuesday September 03, 2019 @06:52PM (#20872095)
> It's hugely about: cost, and the desire of the USB forum to ship a single "does everything" protocol that keeps a large chunk of the industry from choosing to stay on some old version of the spec forever.

Yep. Significantly, their incentives are the exact opposite of mine as a consumer.

Re:USB4 Specification by akelly on Wednesday September 04, 2019 @01:57AM (#20874401)
"one port to rule them all" would work fine if the computer could just show a popup explaining why your peripheral wasn't running in the mode it's supposed to.
Re:USB4 Specification by jjoonathan on Tuesday September 03, 2019 @05:49PM (#20871546)
Back when I wanted to do Computer Engineering, I more-than-skimmed-less-than-read the USB 1,2,3 specs and the PCIe 3 specs. The contrast was startling. The USB specs were a complete mess. The PCIe specs were not. This extended from the highest top level decisions (understanding the benefits of packet switched networks) to the lowest (missing figures, ambiguous and redundant terminology, etc).

Something was systematically different between the USB-IF and the PCI-SIG, and whatever it was persisted over many years... and likely continues to this very day, if outward appearances are any indication. If anybody has insight into what makes these groups different, or even just speculation, I'd love to hear it.

Re:USB4 Specification by flyinglizard on Tuesday September 03, 2019 @05:56PM (#20871619)
That's not a very good comparison. USB covers up to the application layer, while PCIe is much more low level than that.

USB is a great standard. Or at least, was until 2.0. It was ahead of its time in performance and the same interoperability principles carried it forward for over 20 years. If you compare the first USB standards to other standards of the era, the amount of thought that has gone into it is fantastic. The fact it has no rivals even today is telling. Compare it to the clusterfuck that's Bluetooth, which took well over a decade to get to a point where its kinda reliable (and it can still vary between implementations).

Unfortunately USB became too complicated with the various modes and backward tidbits it now supports. Also, the rates it now supports have taken it to a whole new level of implementation complexity (ICs, board design, power options, etc).

Re:USB4 Specification by jjoonathan on Tuesday September 03, 2019 @07:41PM (#20872527)
> USB is a great standard. Or at least, was until 2.0. [...] Unfortunately USB became too complicated with the various modes and backward tidbits

Fortune had nothing to do with it.

USB's deliberations on packets were distinctly underdeveloped. PCI's were well developed. USB got it wrong. PCI got it right. The compatibility complexity explosion in USB and lack thereof in PCIe is a direct result.

This pattern continues across every single stratum of the standard that I dug into. Why?

(Every single stratum except the app layer. As you note, PCIe does not operate there and USB does.)

> It was ahead of its time in performance

I thought USB was always in the value segment and never competed on performance. That's the stated intent and that's what I remember: it was never the fastest external port on my computer.

> If you compare the first USB standards to other standards of the era, the amount of thought that has gone into it is fantastic.

My entire complaint compares it to PCIe and notes the comparative lack of thought.

> Compare it to the clusterfuck that's Bluetooth

Agreed, Bluetooth is worse. Maybe clusterfuck is the default state of affairs.

The question, then, is if there's anything to be learned from the USB/PCIe dichotomy. Is there an Engineering Steve Jobs keeping the PCI-SIG in line? Does it have fewer members? Is having one dimension on which you do not compete in the value segment critical to maintaining overall quality? I feel like there's a case study to be had, but I don't know enough to rank the causes or generalize with any certainty.

Re:USB4 Specification by spancap on Tuesday September 03, 2019 @07:56PM (#20872616)
Parent post complained about "absurd naming conventions". Those were there in USB 2.0: Low, Full and Hi speed (and with USB 3.0, Super speed) are a source of pure confusion. The messaging regarding speed versus USB revision is confusing to the public as well. Bus versus Self powered is also inpenetrable terminology to anyone who hasn't read the specification.

There are also some dubious technical decisions, even in USB 2.0. Toggle bits -- sequence numbers that have been degenerated to a single bit -- are a frequent source of headaches for device implementors, but don't provide the intended integrity improvement. The VID/PID design seemed like a good idea in the USB 0.9 days, but it soon became clear that a large number of implementors would be making very different devices based on the same silicon, and the standard never evolved. Instead of developing a proper Battery Charging device class, USB-IF gave their seal of approval to the goofy schemes the wallwart manufacturers had come up with.

And "USB as she is spoke" is worse: high-power bus-powered devices claiming to the self-powered in their descriptors, Hi speed devices with ceramic resonators, hubs that source current into their upstream ports, devices with USB A receptacles and A male to A male cables, USB-RS232 bridges that require drivers despite the existence of the CDC ACM device class, crimped shield termination on A to B cables that will satisfy EMC standards at the time of manufacturing but not a month later when the cable reaches the consumer... all bearing the USB logo... and USB-IF does nothing to address any of these situations, only caring about getting their annual blood money from licensees.

Re:USB4 Specification by ailideex on Tuesday September 03, 2019 @06:44PM (#20872026)
> USB is a great standard. Or at least, was until 2.0. It was ahead of its time in performance and the same interoperability principles carried it forward for over 20 years.

Firewire was better

Re:USB4 Specification by kllrnohj on Tuesday September 03, 2019 @07:32PM (#20872455)
> Firewire was better

Firewire was faster but it wasn't better. It could only handle the minority usages (external storage), but not the majority ones (mice & keyboard - which were always wired back then).

Firewire also had hellish compatibility, whereas things like USB HID was amazingly plug & play in an era where that really didn't exist. And early on in Firewire's life it made the mistake of changing physical connector and not being backwards compatible.

Re:USB4 Specification by ailideex on Wednesday September 04, 2019 @01:15AM (#20874196)
> Firewire was faster but it wasn't better. It could only handle the minority usages (external storage), but not the majority ones (mice & keyboard - which were always wired back then).

I'm not sure why you say it could not handle mice and keyboards - pretty sure it could but just were never used for it due to license costs.

> Firewire also had hellish compatibility, whereas things like USB HID was amazingly plug & play in an era where that really didn't exist. And early on in Firewire's life it made the mistake of changing physical connector and not being backwards compatible.

I never experienced compatibility issues with it. The S800 standard was backwards compatible, sure they used different connectors but you could have passive cable that converted S800 port to S400 and plug that into a computer that only supported S400.

Re:USB4 Specification by Bud on Tuesday September 03, 2019 @08:55PM (#20872970)
FireWire wasn't trying to support mice and keyboards. Nor was it trying to be all things to all users. It was trying to be an ultra-fast interface. And FireWire absolutely was backwards-compatible with an adapter. Still is. I never had any compatibility issues with FireWire.
Re:USB4 Specification by simias on Tuesday September 03, 2019 @06:59PM (#20872177)
Can you expand on that? IIRC it's not that simple, there are trade-offs for both solutions. Quoting wikipedia's Firewire article:

>USB requires the presence of a bus master, typically a PC, which connects point to point with the USB slave. This allows for simpler (and lower-cost) peripherals, at the cost of lowered functionality of the bus.

https://en.wikipedia.org/wiki/IEEE_1394#Comparison_with_USB

Re:USB4 Specification by m463 on Tuesday September 03, 2019 @07:34PM (#20872474)
In the beginning, USB1/2 vs Firewire was a much clearer comparison.

Firewire could power a 2.5" spinning hard disk. (usb could not provide enough power)

You could hook two macs together with firewire, and turn one into a hard disk via target disk mode. (peer to peer)

Firewire could transfer video from cameras without dropping frames. (guaranteed bandwidth)

On the other hand, USB was always the cost king.

I believe there was a $1/chip royalty for firewire, and that limited its growth.

USB in practical terms has caught up.

Re:USB4 Specification by magduf on Wednesday September 04, 2019 @01:30PM (#20879431)
The other difference was the Firewire did a lot more in that chip, basically offloading a lot of work from the CPU, so it was higher-performing and lower CPU usage.

USB was made mostly by Intel, and they intentionally made it "dumb" so that the CPU had more work to do, in order to push high-performance CPU chips. But of course, the big factor was that license cost, which made Firewire devices cost more, whereas USB was very cheap to implement.

Re:USB4 Specification by jandrese on Tuesday September 03, 2019 @07:32PM (#20872453)
Firewire sucked for simple low bandwidth devices like mice and keyboards though. Even though the connectors were about the same size it really was quite different from USB. Firewire was mostly about bulk data transfer and streaming. It was much more specialized than USB, and it's really not a surprise that it died off once USB got fast enough to do the same streaming, even if it wasn't as good at it.
Re:USB4 Specification by ailideex on Wednesday September 04, 2019 @01:19AM (#20874218)
> Firewire sucked for simple low bandwidth devices like mice and keyboards though.

Did it? I know it was not used for it but I think this was more because of the patent license cost and the relatively low cost of mice and keyboards which made the license cost of $1 a big chunk of the total cost.

> It was much more specialized than USB

Not sure what you mean by this, if you mean less mainstream, yes it was less mainstream, still better. Support for DMA, memory mapped devices, daisy-chaining, peer to peer. It really was revolutionary and still is.

Re:USB4 Specification by dfox on Wednesday September 04, 2019 @03:08AM (#20874700)
There aforementioned PCI-Express is to some extent feels like "Firewire done right", mainly because the frame formats are strikingly similar. On the other hand, Firewire, like pre-3.0 USB, is not truly packed-switched, but uses shared bus with TDMA-ish timeslots (and the whole mechanism of arbitration and root-election is hellishly complex).
Re:USB4 Specification by cjbprime on Tuesday September 03, 2019 @06:21PM (#20871850)
We're really going with a protocol that involves constant polling (rather than interrupts) as being ahead of its time? :)
Re:USB4 Specification by flyinglizard on Tuesday September 03, 2019 @06:29PM (#20871916)
The USB hardware "polls" by acting as a master. It's a master-slave protocol which is just fine for simplicity and bus utilization. The polling is abstracted from the software with the concept of hardware endpoints (mailboxes, really). How are you going to implement interrupts over a serial bus, unless it's multi-master (very complicated implementations, slow)? You don't have direct interrupt lines like in PCI.
Re:USB4 Specification by simias on Tuesday September 03, 2019 @06:49PM (#20872064)
I don't have a strong opinion on the topic (I never really bothered to look under the hood but from a purely user perspective USB has been quite serviceable for me so far) but I think you're begging the question:

>You don't have direct interrupt lines like in PCI.

Surely the people who've designed USB could have opted to add an interrupt signal if they had deemed it necessary. Sure it would've added one more signal but given that there were only 4 pins on the original USB it doesn't seem overwhelming.

That being said I agree with you that dismissing polling wholesale without digging deeper is quite silly, it can be a problem when it increases latency or wastes CPU cycles but as far as I know latency isn't much of an issue in most uses of USB (even for things like keyboards, mouses and controller it's usually dwarfed by the latency of the video pipeline) and I doubt anybody handles the USB phy in software so CPU usage shouldn't be a worry.

Re:USB4 Specification by bravo22 on Tuesday September 03, 2019 @07:32PM (#20872454)
The whole point of USB is reduced wiring. Side channel interrupt would not have made sense.

"Polling" doesn't involves the host CPU, adds no latency. It is done by the USB controller, which sends poll packets to the device. This is all a philosophical decision by USB which is master/slave and doesn't support anything asynchronous by the slave.

The master can choose to ignore certain slaves on the bus if it desires, which isn't always possible with an asynchronous slave. Recall that many devices dangle off a single USB chain.

Re:USB4 Specification by cjbprime on Wednesday September 04, 2019 @01:17AM (#20874205)
> it can be a problem when it increases latency or wastes CPU cycles

I think it wastes power. On a setup with interrupts, you could clock gate the host controller and if the device needs to say something it can raise the interrupt line and wake up the host. I don't think there's a way to clock gate a USB1 controller and then do e.g. wake on LAN.

Re:USB4 Specification by mzs on Tuesday September 03, 2019 @07:18PM (#20872347)
PCIe does interrupts over a single serial lane just fine.
Re:USB4 Specification by dfox on Wednesday September 04, 2019 @03:13AM (#20874722)
Conventional PCI can also do in-band interrupts (the mechanism is exactly same), but many devices do not support that.

The reason is that PCI is multi-master by design and PCIe uses duplex packet-switched serial links. There is no master who decides who gets to use the bus at given moment (for parallel PCI there is, but it is relatively simple circuit that is conceptually part of the bus itself, not of particular device connected to it).

Re:USB4 Specification by throwaway156503 on Tuesday September 03, 2019 @05:25PM (#20871345)
> None of the people working on this spec are idiots

There are a lot of very smart people in the world that lose sight of simple concepts and their value, however.

Re:USB4 Specification by AceJohnny2 on Tuesday September 03, 2019 @06:07PM (#20871726)
I've witnessed some Standards negotiation in a previous job, involving the Khronos OpenMAX standard (which is DirectShow/GStreamer for mixed HW/SW multimedia codecs).

My company and another had opposing solutions to a problem, which made opposite tradeoffs and opposite implementations (ours worked better for a more HW-focused solution, theirs for a more SW-focused solution)

How does one choose? In the end, it's backroom negotiation, diplomacy, and compromise. In other words, politics.

Re:USB4 Specification by rswail on Wednesday September 04, 2019 @02:45AM (#20874591)
In other words, and as the IETF demonstrates, consensus.
Re:USB4 Specification by AceJohnny2 on Tuesday September 03, 2019 @05:20PM (#20871289)
I suspect the underlying force is "A Committee".
Re:USB4 Specification by iagooar on Tuesday September 03, 2019 @05:40PM (#20871472)
One smart person will find the most elegant solution to a problem.

A committee of smart people will find the most elegant solution to fuck up a problem.

Re:USB4 Specification by ineedasername on Tuesday September 03, 2019 @06:50PM (#20872073)
That kind of perpetuates the myth of the solo inventor as the only true innovator, when in reality it tends to be groups of people, formally or informally affiliated, that move the ball forward on science, engineering, etc. Like the teams of people employed by Edison, who was as much a project manager as he was an inventor. Or look at something like the Manhattan project, where a vast team of very smart people worked together. Or the Bletchly park folks, of whom Turing may have been the most prominent but by no means the only smart person to help solve the problem of decoding German communication. He worked closely with others that offered their own significant improvements to the bombe, including three Polish crypt-analysts (most notably Rejewski) that Turing worked with to further development.
Re:USB4 Specification by patentatt on Wednesday September 04, 2019 @08:51AM (#20876668)
Perhaps it’s more relevant to consumer facing products that require a balance of features, performance, and user experience to be good. I think that’s harder for a committee to do than scientific work. While USB isn’t a singular product, it is a component of consumer products, however. I wonder if much of the success of Apple was due in large part to Steve Jobs’ heavy personal involvement at the design stage, and his famous rough-edged character.
Re:USB4 Specification by imtringued on Tuesday September 03, 2019 @06:19PM (#20871824)
In a committee of smart people everyone has a different problem.
Re:USB4 Specification by Murkin on Wednesday September 04, 2019 @01:02PM (#20879131)
As someone who been to USB-IF committee back around 2006

There are some smart people there, unfortunately some are old-timer in large orgs - they were pushed there "to do least harm".

Didn't care less about how bad some of the proposals were, as long as they were according to the required format.

We tried to fight a bit, but it was a lost cause :\

Re:USB4 Specification by xvector on Tuesday September 03, 2019 @06:29PM (#20871909)
Can someone in the USB4 working group actually, well, speak out?
Re:USB4 Specification by Murkin on Wednesday September 04, 2019 @01:03PM (#20879143)
I can tell you war stories of USB-IF, but only from back in 2006. Prob nothing changed.
Re:USB4 Specification by StreamBright on Tuesday September 03, 2019 @06:42PM (#20872012)
I am not sure they are on HN.
Re:USB4 Specification by colejohnson66 on Tuesday September 03, 2019 @06:10PM (#20871744)
> None of the people working on this spec are idiots, so how did they arrive here?

I’m convinced it’s so they can advertise as supporting USB4 when they really only support the slowest (aka cheapest) method

Re:USB4 Specification by madengr on Tuesday September 03, 2019 @08:45PM (#20872908)
Design by committee at it finest.
Re:USB4 Specification by r00fus on Tuesday September 03, 2019 @05:43PM (#20871488)
Profits are the reason. With so much confusion the safest bet for the consumer will be to use the cabling from the vendor of the device.

Vendors in turn can charge more.