Turning a 40-euro USB-C hub into a Nintendo Switch 2 dock by patching 540 bytes into its PD controller
The Switch 2 refuses to output video to ordinary USB-C hubs because the official dock answers a vendor handshake over USB Power Delivery. Michał Kopeć sniffed that exchange with a PD analyser, found the dock identifies with Nintendo's vendor and product IDs and trades a few vendor messages after DisplayPort comes up, then wrote about 540 bytes of 8051 code into unused flash on the hub's VL103 PD controller to answer the same way. Seven firmware iterations later: TV mode, no three-second pause. A second small patch to the DP-to-HDMI chip fixed washed-out HDR. Hackaday covered it this week and the patcher is on GitHub.
It is for people who already enjoy Ghidra and a SOIC clip, not a weekend flash. The write-up is honest about what did not work (VRR black-screened and was dropped) and about the risk: a bad flash bricks the hub, and the patched hub now impersonates an official dock.
Tools
- USB-PD sniffer
- fwupdtool
- flashrom
- Ghidra
- SDCC
- SOIC-8 clip for recovery
0 comments
Log in or sign up to join the discussion.