A 540-byte patch made a USB-C hub work as a Switch 2 dock. Now the code is public

Text
iHOLYSHITVISUAL / TECHGrassroots inventions and creationsiHOLYSHIT / ILLUSTRATION
iHolyShit illustration

Michał Kopeć has published the patcher behind his Switch 2 dock experiment. It targets one hardware configuration and addresses HDMI HDR colors, but flashing carries a risk of damaging the hub.

About 540 bytes of added code helped an ordinary USB-C hub pass as a Nintendo Switch 2 dock. Maker Michał Kopeć has now published a patching tool, with its first code commit dated November 12. The previously demonstrated modification is becoming something other developers can inspect.

The obstacle was more than a matching connector. The hub could supply power and begin standard video negotiation, yet the console still expected additional identity responses. The published patches supply those responses. A separate change corrects the color label accompanying HDMI video, addressing washed-out colors when HDR is enabled.

Tom's Hardware described the Cable Matters hardware as an approximately $45 hub, and Hackaday also covered the experiment. The public tool contains no vendor firmware. Instead, it modifies files read from the owner's device and checks their digital fingerprints. Unexpected firmware or patch results cause it to stop rather than proceed blindly.

The maker reports testing one hub with a particular firmware combination. Variable refresh rate still does not work, HDR through DisplayPort remains unresolved, and flashing can brick the device. The power change also reduces the hub's own reserve, so power-hungry USB accessories are a concern. This is an inspectable compatibility experiment; broader real-world reliability still needs independent testing.

Source times: Michał Kopeć / GitHub first code commit, November 13, 2026, 07:11:08 Beijing / November 12, 18:11:08 EST; Tom's Hardware, November 12, 17:00 Beijing / November 12, 04:00 EST; Hackaday, November 13, 00:30:58 Beijing / November 12, 11:30:58 EST.

Share this article

What do you think of this story?

Anonymous feedback, up to 5 reactions per article.

Anonymous comments

Share your thoughts without signing in.

Discuss the technology and the story. Hate, politics and war, threats, abuse, personal accusations, sexual content, ads, links and personal information are not allowed.

0/500

No comments yet. Be the first to share.

Sources