hn.today

Making a €40 USB-C hub work as a Nintendo Switch 2 dock

blog.nozomi.space7 points0 comments
Screenshot of Making a €40 USB-C hub work as a Nintendo Switch 2 dock

A €40 Cable Matters USB-C hub already supported charging and DisplayPort Alt Mode, but the Nintendo Switch 2 would not display through it because the console expects a proprietary dock handshake. Using a USB-PD sniffer, the author recorded exchanges with the official dock, then modified the hub’s VL103 controller firmware to respond to Nintendo’s vendor-specific messages. The Switch required more than the correct vendor ID: copying the official dock’s full identity enabled TV mode, while matching additional version replies removed a three-second delay. The copied version data is only an imitation; unrecognized commands still receive the hub’s standard unsupported response.

The picture worked, but HDR looked washed out. Investigation traced the problem to the hub’s RTD2142 DisplayPort-to-HDMI converter, which sent a BT.709 color label even when the Switch’s HDR output needed BT.2020. A small firmware patch now marks HDR video correctly and refreshes the HDMI color information when HDR changes, restoring accurate color; the hub’s DisplayPort output remains unfixed. The author also investigated variable refresh rate, but the converter lacks VRR support, and attempts to enable it caused the picture to freeze or remain at 60 Hz. Making VRR work would require substantial changes to the converter’s timing behavior, so the project ends with a portable dock that supports regular video and corrected HDMI HDR, but not VRR.

Read on blog.nozomi.space0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Hardware

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.