Splitting USB-C: USB 3 and USB 2 on one port
By routing USB 3 SuperSpeed lanes through passive muxes and separating USB 2 into a cheap hub, a developer built a 10 Gbps USB-C dongle for under $3 in parts.
read it A clever hardware build log detailing how to slash BOM costs and achieve 10 Gbps by exploiting USB-C's split bus architecture.
summary
The creator of an open-source Mac recovery dongle needed to support USB 3 speeds without doubling the hardware cost. By replacing an expensive USB 3 hub chip with two cheap passive muxes for the SuperSpeed lanes and a separate low-cost USB 2 hub, the board successfully runs USB 3.2 Gen 2 (10 Gbps) and USB 2 simultaneously. Bench testing confirmed the host OS natively recognizes both independent buses on a single physical port using standard companion port mappings. This approach significantly reduces board size and bill-of-materials cost for inline USB-C tools.
key points
- USB-C uses physically distinct pins for USB 2 and USB 3, allowing a single port to act as two independent root ports.
- Using dual passive CH9441P muxes instead of a combined USB 3 hub chip slashed BOM costs to $2.31 and reduced board size by 40%.
- The host OS automatically handles the split topology via existing USB protocol companion links like UsbProtocolCompanion and sysfs peer links.
who should read it
Hardware engineers and PCB designers building custom USB-C peripherals.
discussion positive
consensus
Commenters are impressed by the clever cost-saving hack, though many debate whether it violates the USB-C specification.
pushback
A few engineers point out that splitting the buses can break host power management and port-mapping assumptions, risking incorrect power cutoffs.
While this does largely work, there are a few complications.
The biggest one being power management, especially the cutting off of power to a specific port. If a host wants to cut off power to a 3.x device, it typically needs to know which 2.x port that device is connected to. The host internally can have some really wild mappings of 2.0 and 3.x hubs, controllers, etc, but the device tree or ACPI tables let it know exactly which ones are paired together for any port leaving the device. After that point it is assumed that the host can learn the topology from any hubs attached. The power …
Explains the potential pitfalls with host power management and ACPI/device tree mappings when USB 2 and 3 topologies are unexpectedly split.
Generated by an LLM from the article and thread. Check the sources before relying on it.