Eliminating the single most expensive hub controller from a PCB cut production costs by 72%—while data transfer speeds didn’t degrade, but rather doubled from 5 Gbps to 10 Gbps. Hardware engineer Frank Chiarulli proved that multiplexing USB-C connections doesn’t require a bulky, power-hungry hub chip; two dirt-cheap analog switches can do the job better.
Chiarulli was developing a maintenance dongle for the open-source restorekit.org project. When Apple Silicon Macs are bricked or corrupted, recovering them requires entering Device Firmware Upgrade (DFU) mode, a low-level firmware recovery channel stored in boot ROM. Normally, triggering DFU mode demands awkward, precisely timed manual key combinations. Plugged between two machines, the custom board automates this recovery sequence by toggling specific control lines across the USB interface.
The prototype relied on legacy, low-speed USB signaling, which meant flashing a multi-gigabyte operating system image was painfully slow. To support high-speed restore protocols on newer Mac hardware, Chiarulli initially followed standard industry practice: he dropped in a dedicated Genesys Logic GL3510 USB 3.0 hub controller paired with two Texas Instruments high-speed switches to split one physical port into multiple channels.
That conventional architecture carried a steep penalty. Component count skyrocketed, the board stretched to 100 mm in length, and the bill of materials (BOM) surged to $10.44 per unit. Worse yet, the hub controller became an architectural bottleneck, capping throughput at 5 Gbps. Piling on more hardware had yielded a bloated board and compromised transfer rates.
Figure: Link architecture comparison between Pro v1 (5 Gbps through hub) and Pro v2 (split-lane direct 10 Gbps pass-through) (Source: frankchiarulli.com)
Inside the 24 Pins: One Physical Port, Two Independent Busses
The core flaw of conventional designs stems from treating USB-C as a single monolithic pipe. The seamless, reversible user experience creates an illusion that all data traffic mingles across the same wires. When designers need to connect two internal devices, the default reflex is to wedge an active hub controller in between.
Peeling back the pinout of a standard Type-C receptacle reveals the true electrical reality. A modern Type-C port houses 24 pins arranged in two opposing rows. Right in the middle sits the legacy USB 2.0 interface, operating at 480 Mbps for basic peripherals and microcontroller communication. Flanking it on the outer edges are high-speed differential pairs (SuperSpeed lanes) capable of pumping 10 billion bits per second.
Electrically and logically, these two signal paths are completely independent. A host motherboard controller provides separate root ports for USB 2.0 and USB 3.x, functioning as two discrete physical interfaces routed to the same connector. The operating system natively enumerates them as distinct communication endpoints. The physical USB-C jack is merely a shared housing for two parallel busses.
Replacing the Hub with Track Switches: Slicing Costs by 72%
Recognizing this electrical separation revealed the breakthrough. The onboard microcontroller only needs to send small command packets, for which USB 2.0 bandwidth is plenty. High throughput is only required for the operating system payload streamed between the host and target Mac. There was no technical reason to funnel both traffic streams through an expensive hub processor.
In the second-generation design (Pro v2), Chiarulli ditched the high-speed hub chip altogether. The USB 2.0 signals were routed to a sub-dollar WCH CH334P USB 2.0 hub chip to manage communication between the internal microcontroller and the target machine. Meanwhile, the high-speed SuperSpeed lines were routed through two tiny CH9441P bidirectional analog switches directly connecting the target Mac. Acting like railway track switches, they simply steer high-speed differential pairs depending on cable orientation without ever inspecting or processing packets.
The architectural cleanup delivered an immediate manufacturing dividend. In factory quotes, the early v1 BOM was pegged at $10.44 per board. The new architecture plunged to $2.93 at a 15-unit test run, and compressed down to $2.31 at 100-unit production volumes—a 72% drop in component costs accompanied by a 2x leap in transmission speed.
The physical footprint shrank just as dramatically. The redesigned PCB measures only 21 mm by 48 mm, occupying a lean 10.1 cm². Furthermore, the engineer harmonized passive components across the layout, standardizing on just three resistor values and three capacitor values. This component consolidation eliminated feeder setup overhead on SMT pick-and-place lines, trimming assembly expenses even further.
Figure: 3D render of Dongle-Pro v2 front and back, measuring 21 x 48 mm (Source: frankchiarulli.com)
Probing the Silicon: Native 10 Gbps on macOS Without a Hub
Bypassing an active hub chip with passive switching imposes strict high-speed signal integrity demands. High-frequency digital signals are notoriously vulnerable to trace attenuation, parasitic capacitance, and impedance mismatches. Without an active redriver or retimer chip, any routing imperfection can cause packet loss and degrade connection quality.
Logic management across the pins presented another challenge. The circuit had to negotiate cable orientation while simultaneously handling debug packet signaling over the same Configuration Channel (CC) pin. Crucially, it remained to be seen whether host operating systems would gracefully accept this split-topology configuration.
Once plugged into a host machine, macOS hardware diagnostics confirmed the strategy worked cleanly. The system bus enumerated two separate root ports: address 0x01100000 hosted the 480 Mbps USB 2.0 recovery controller, while the companion port directly attached to the 10 Gbps SuperSpeed device. A single physical receptacle achieved concurrent, full-speed operation without a single active hub processor in the path.
Figure: macOS USB tree showing a single physical USB-C port running a USB 2 hub concurrently with a 10 Gb/s device (Source: frankchiarulli.com)
Escaping the Hub Tax: Understanding Physical Realities
Hardware engineering often falls victim to design inertia. Facing multi-device connectivity, the default instinct is to pile on complex, expensive bridge chips. While seemingly safe, this approach burns through BOM budgets on redundant protocol translation layers, complicating simple multiplexing tasks that basic analog switches can solve.
This hardware iteration offers a compelling lesson in hardware design. Modern multipurpose interfaces have always been physical roommates housing independent signal paths. By respecting the natural dual-bus architecture of Type-C rather than fighting it with brute-force silicon, engineers can shed bloated components and unlock peak performance. Embracing pin-level physical reality often pays far higher dividends than defaulting to expensive off-the-shelf controllers.
By sidestepping the hub tax and aligning with the connector’s native pinout, this dongle cut costs by 72% while doubling throughput. Chiarulli is now designing a dual-sided flash drive capable of saturating both channels simultaneously. Inside every USB-C port, two parallel express tracks are waiting for hardware makers to strip away superfluous silicon and reclaim unnecessary hardware premiums.
Reference Links:
- Original post on frankchiarulli.com
- HN Discussion