Enabling the Hidden USB 3.0 Device Controller in a Dell Wyse 5070
A little-known feature of the SoC—and how far it can be pushed.
The other project stalled, so I got another idea.
I’ve got the LMK00334RTVR clock buffer chips for the Wyse project involving PCIe port multiplication. But… I’ve failed to make any use of them so far. Having nothing to do, I casually asked ChatGPT how I could connect two Wyse 5070 units using the high-speed interfaces available on their boards. There were a few options, each with a caveat - the required extra hardware would cost more than the thin clients involved. The only exception was a direct USB xHCI-to-xDCI connection, which the J4105 SoC supports according to its specifications 1—if you can somehow enable it.
Enabling xDCI was actually the easiest part. I’d dissected a Wyse BIOS image into human-readable files some time ago, so I searched them for xDCI.
0x35727 One Of: XDCI Support, VarStoreInfo (VarOffset/VarName): 0x16D, VarStore: 0x1, QuestionId: 0x452, Size: 1, Min: 0x0, Max 0x1, Step: 0x0 {05 91 10 05 11 05 52 04 01 00 6D 01 10 10 00 01 00}
0x35738 One Of Option: Disable, Value (8 bit): 0x0 (default) {09 07 03 02 30 00 00}
0x3573F One Of Option: PCI Mode, Value (8 bit): 0x1 {09 07 B9 01 00 00 01}
0x35746 End One Of {29 02}
In my favorite varstore so far - Setup.
0x24135 VarStore: VarStoreId: 0x1 [EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9], Size: 0xA2C, Name: Setup {24 1C 43 D6 87 EC A4 EB B5 4B A1 E5 3F 3E 36 B2 0D A9 01 00 2C 0A 53 65 74 75 70 00}
All I had to do was change the value at offset 0x16D in the Setup varstore from 0 to 1.
A quick edit with RU.efi:

Wyse 5070 I/O lanes configuration
After saving the change, I rebooted the machine. It would not boot - no bootable media found. Press this or that to enter setup or try again. Pressing keys did not work. All four rear USB ports had been disabled, including the ones connected to my SSD and keyboard. This prompted an investigation into how the USB ports were connected to the SoC.

According to Gemini Lake SoC specifications 1, there are 8 USB lanes, of which 6 are USB 3.0, of which 3 are muxable with PCIe lanes and one is muxable with SATA lane.
Wyse 5070 default configuration and physical routing:
- Lane 0 is the only dual role lane, and it connects to RTS5411 USB HUB serving all 4 rear ports. Enabling xDCI disables all 4 ports.
- Lane 1 goes to USB C port
- Lanes 2, 3, 4 are configured as PCIe lanes via soft straps
- Lane 2 goes to WiFi M.2 slot
- Lane 3 goes to onboard 1Gbps NIC
- Lane 4 goes to PCIe x4 port
- Lane 5 goes to RTS5415 USB hub. The RTS5415 is a two-port USB 3.0 hub serving the front port and the internal 19-pin connector
- Lane 6 is USB 2.0 only and is used for BT if WiFi card is used in M.2 slot.
- Lane 7 is USB 2.0 only and goes to CAC1 connector on board
Additionally, when potential USB 3.0 lanes are used for other purposes, the USB 2.0 are still available:
- Lane 2 goes to front upper USB 2.0
- Lane 3 goes to front lower USB 2.0 via USB charging controller - designated charging port
- Lane 4 goes to internal 19pin connector
The 4 rear ports can be partially (USB 2.0 only) or fully reclaimed by routing other lanes available onboard. I’ve tried using 2.0 lane from unused CAC1 connector, however the ports are unavailable during POST, they only come live with OS drivers. The easiest option, which I used in second iteration, is to connect USB 2.0 lane from internal 19pin connector. If USB 3.0 connectivity is required - it would make sense to reconnect USB 3.0 from small 2 port RTS5415 hub to big 4 port RTS5411 hub.
What is more, on the xHCI side of link, bypassing the RTS541x hubs provides a direct hub-free connection.
Verify the xDCI is now on - the 31aa controller.
root@nowhere:~# lspci |grep -i usb
00:15.0 USB controller: Intel Corporation Celeron/Pentium Silver Processor USB 3.0 xHCI Controller (rev 03)
00:15.1 USB controller: Intel Corporation Device 31aa (rev 03)
The surgery.
The RTS5411 HUB not only ceases to function when xDCI mode is enabled, but it now stands in the way. Direct access to high speed differential pairs coming out from the SoC is required. My plan was to cut the following:

- TX pair needs to have AC coupling capacitors. Since they are already present, let’s reuse them. Either re-solder the capacitors so they are not connected to the HUB, or cut the traces forward. The TX pair goes to RX in the plug.
- RX pair should not have AC coupling capacitors, the transmitting side is responsible for AC coupling. Here the transmitting side is the HUB, and we are bypassing it, so we need to evict those two capacitors. Therefore no cutting is required and soldering to big pads is easy. The RX pair goes to TX in the plug.
- D+ and D- are not swapped and do not have capacitors, the traces have to be cut somewhere between the RTS5411 and solder point.
- D+ and D- from unused CAC1 will be soldered directly to RTS5411’s solder pads. There is a bit of congestion however, so temporary removal of inductor powering up the RTS chip is advised, this leaves an opening where two wires salvaged from 80wire IDE cable fit perfectly. The second iteration uses internal 19pin connector instead CAC1.
Warning: - Grounds have to be connected. 5V is to be left unconnected.
Note: only TX is swapped with RX, the - stays -, the + stays +, same for D signal of USB 2.0

For a proper USB 3.0 super-speed connection an appropriate cable is required. I’m using a cable from long disused PCIe x1 mining riser. The cable has multiple layers: insulation, braid shielding, foil shielding. Inside there are: 4 standard USB 2.0 wires GND, D+, D-, 5V, bare copper wire acting as ground for foil shielding, two shielded wire pairs. The cable also contains several fibrous reinforcement strands, apparently intended for strain relief. The shielded pairs also have bare wire inside as ground for the foil. The shielding foil is enameled on the outside, but I would not count on it as a reliable insulation. For that reason I recommend putting solder mask on all test points and pads in the vicinity to avoid shorting.
As you can imagine such a cable is quite stiff, and if not properly mounted, its tension will easily rip any soldering of such minute scale. A proper structural mounting is required. My idea was that the cable will enter the case via optional com port opening in the back. The optional SFP has two through holes, serving as structural anchor point for the cable. Then the cable locks itself with its tension between M.2 SATA and the com2 connector. On top of that, the fabric strands are wrapped around com connector and soaked with superglue.

I hadn’t accounted for the clearance beneath the heatsink. Stacking the two shielded pairs made the cable too thick. The solder mask locks the wires in place so a fix is possible - bending the bottom wire into a “S” shape.

Another try
I made a mess of covering the solder joints with solder mask. The setup was working before, and now the solder points have to be excavated from under a big blob of solder mask. In hindsight it was a bad idea to do it this way. Since it was a ‘development’ board and I had the second half of the USB cable, I used a different approach on the ‘production’ board.

Changes:
- the TX pair does not need to be exactly the same length as RX pair, which allows a much better fit.
- pairs were bent and lined up before any soldering took place, then got locked in place with a bit of cotton strand and superglue, there is virtually no tension from the wires on the solder points, and given the previous blunder, they are readily accessible for corrections.
- while the bottom pair is soldered to pads after removing the capacitors, the upper pair is soldered to capacitors that got resoldered into ‘tombstone’ configuration
- there was actually a plastic film wrapped on top of the enameled tin foil shield, by keeping it tight, I’ve completely eliminated the need for solder mask.
- wires have only their very ends exposed, which results in much better shielding.
- the shields of individual pairs are not attached to the ground on this side, only the shield wrapping entire strand and black gnd wire are connected to the ground.
- the USB 2.0 D- D+ pair was not attached to verify if its presence is strictly necessary for USB 3.0 to work. And in my setup USB 3.0 works without USB 2.0 under it.


The gadget subsystem
The hardware was ready, and the xDCI controller was visible to Linux. Now I needed to make it do something useful.
This was new territory for me. Fortunately, Linux provides a USB gadget subsystem, and the official documentation was enough to get a basic configuration running, with considerable help from ChatGPT.
The first network tests were less successful. CDC NCM repeatedly crashed during iperf3 benchmarks, so we switched to ECM. That was stable, but throughput was disappointing: approximately 450 Mb/s in one direction and 300 Mb/s in the other. Hardly worth the soldering effort.
Eventually, I started testing different USB ports on the host Wyse. Both hub-connected SuperSpeed paths remained unstable with burst-enabled transfers. Then I found a USB-A female to USB-C male adapter in my collection of things that might be useful someday.
And suddenly everything worked.
The adapter itself wasn’t doing anything magical. The important difference was that the Wyse 5070’s USB-C port connects directly to the xHCI controller, without passing through either RTS541x hub. With that intermediary removed, the connection became stable, even under sustained high-throughput testing.
This strongly suggests an incompatibility involving the hubs and burst-enabled transfers, although I haven’t isolated its exact cause.
With a stable connection, NCM became a viable alternative to a conventional network adapter. The initial configuration already exceeded gigabit Ethernet throughput, and further tuning pushed it well beyond 2.5 Gb/s in individual directions.
That was enough to establish that the hardware modification was worthwhile.
The performance investigation, however, turned into a project of its own. It involved newer kernels, modified USB drivers, DWC3 FIFO configuration, interrupt tracing, CPU idle states, and quite a few unexpected results.
That deserves a separate article.