Remix.run Logo
▲ xg15 an hour ago

Always found the USB forum's approach to backwards compatibility "interesting": Instead of extending the protocol, just require a completely separate implementation of the old protocol in addition to the new one.

It's like the IMAP working group saying "yes, we're 100% backwards compatible to POP3! We wrote a line into the spec that requires every IMAP server to also bundle a POP3 server..."

Out of curiosity, does that mean that in "normal" operation of USB3 or 4 only one of the two internal ports is ever used at a time? Or are there devices that already make use of both the USB2 and 3 lanes when plugged in?

▲drum55 an hour ago | parent | next [-]

It gets even weirder with some USBC ports, rather than implement the flipping connector support they wire a different USB port to each side of the plug, meaning the device tree is literally different depending on connector orientation. Lots of motherboards with 2 USBA and one USB C do that with a 4 port hub.

▲dataflow 41 minutes ago | parent [-]

That's wild. Does the spec allow this? And why do they do that - is that cheaper or something?

▲Someone an hour ago | parent | prev | next [-]

It’s a matter of marketing. Bluetooth is similar.

https://en.wikipedia.org/wiki/Bluetooth#Implementation:

“Originally, Gaussian frequency-shift keying (GFSK) modulation was the only modulation scheme available. Since the introduction of Bluetooth 2.0+EDR, π/4-DQPSK (differential quadrature phase-shift keying) and 8-DPSK modulation may also be used between compatible devices.

[…]

In 2019, Apple published an extension called HDR which supports data rates of 4 (HDR4) and 8 (HDR8) Mbit/s using π/4-DQPSK modulation on 4 MHz channels with forward error correction (FEC)

[…]

The above excludes Bluetooth Low Energy, introduced in the 4.0 specification,[30] which uses the same spectrum but somewhat differently.”

The various network standards (2G, 3G, 4G, 5G) similarly have little to do with each other, technically.

▲jsmith45 25 minutes ago | parent | prev | next [-]

Hubs or devices that contain an internal hub are the main use cases where both will be in use at once.

You can often get away with splitting the two within a single physical device, as many hosts tend to treat the buses independently except for certain power management related tasks, but officially if you are doing that you need an internal hub. An internal hub is allowed to have 3.x-only devices on it, (although this may be confusing to users).

▲unrented7977 an hour ago | parent | prev [-]

Usually there's no need to use both the 2.0 and 3.x links at the same time, but it's possible to do so and not that unheard-of. I've seen some USB hubs that break out into a USB3 hub with a native USB2 hub tacked on the side.

It's just that there's little use for a 480Mbps link on top of however many gigabits you get from USB3.

▲arcticbull 32 minutes ago | parent [-]

It's actually explicitly forbidden for a single peripheral to use the USB 2.0 and 3.0 links at the same time as of USB 3.2, and there's no way to split endpoints across the links.

In order for it to work you'd have to basically expose two full separate peripherals, one on the USB2 bus and one on USB3 bus, and they'd require their own descriptors and OS-side host contexts.

This works sometimes, operating systems are not required to support this mode of operation because the OS knows that both devices are attached to the same physical connector. It can mess up enumeration. It also prevents USB3 devices from being able to fall back to USB2 as required in the spec.

A USB3 hub likely has a separate USB2 controller attached, if it doesn't it's non-compliant and not guaranteed to work.