Practical Pairing Peripherals

Workstations using DisplayPort™ on Macbooks®

Larry Hamel, January 2022

Summary

Collaboration via screen-sharing over the internet is wonderful to enable distant team members. What about teams in the same office or home? How easy is it for you to collaborate, in person, on tasks involving a computer screen? A pairing station is a big welcome sign for collaboration.

To ease the setup of multiple monitors, Apple refers to Thunderbolt™ connections. However, with a capable DisplayPort™ monitor and a cheaper, mirroring monitor, docking a MacBook laptop into a pairing station can be as simple as attaching a single USB-C cable, with lower overall expenditure than with monitors offering support for Thunderbolt connections.

Why mirror? Some background on in-person pairing with mirrored displays

My partner helps me in many ways, some of them involving a screen. How can we set up a collaborative workstation, to faciliate the benefits described in pair programming? A workstation for in-person pairing includes 2 monitors that are mirrored, each with its own keyboard/mouse.

As a source computer to operate the pairing station (both monitors and peripherals), this writeup focuses on using Apple MacBook laptops from about 2013 onward, some of which have just a couple of USB-C ports, some of which have mini-Thunderbolt connectors. These varied laptops will shift into the pairing station as necessary, so the docking procedure—connecting monitor(s) and peripherals—is worthy of forethought.

Why daisy-chain DisplayPort? Some background about daisy chains, Thunderbolt, and DisplayPort technologies

Daisy-chaining helps reduce the number of connections to a source computer. For typical applications, the source computer is capable of supplying the display information for each monitor within a single connection that is routed between each monitor in the chain.

A daisy chain of monitors is supported within the Thunderbolt specification, which combines DisplayPort, power, and a protocol for serial data (PCIe) into one connection. However, on its own, DisplayPort also supports daisy-chaining, and has become widespread in the marketplace of inexpensive monitors, while Thunderbolt monitors seem relatively rare and expensive. In particular, the second (and final) monitor in a pairing workstation needs much less ability than the first, and it seems a waste to purchase a monitor with unused features.

Some monitors offer not just one DisplayPort connector, but two: one for input and one for output, perfect for becoming the first monitor in a daisy chain.

In DisplayPort terminology, a daisy chain for multiple, separate displays must employ "multi-stream transport" (MST), which MacBooks do not support (instead, they support Thunderbolt). However, even a source computer without MST support can suffice for pairing: downstream monitors in a DisplayPort daisy chain can receive a mirror image of the upstream monitor.

Why focus on USB-C? Some background on monitors offering extensive USB-C support

With computer hardware trending toward USB-C, it seems wise to design to optimize for USB-C. Certain monitors offer extensive USB-C support, providing in one cable:

  • Power to the laptop (check that the wattage supplied by the monitor is sufficient)
  • DisplayPort functionality via USB-C connectivity (terminology includes phrases like "Alternative mode DisplayPort 1.2")
  • USB hub functionality, such that the monitor's downstream USB ports are all connected to the upstream source computer. On the monitor in the sample list at bottom, the downstream ports are all USB type A, and the upstream port, where the source computer is connected, is USB-C.

Marketing terminology for these monitors might include "DisplayPort over USB-C" and/or "USB-C Hub"

Optimizing for quick docking, and a couple pitfalls (gotcha's)

Given the opportunities and constraints above, a flexible pairing workstation might include a first monitor with deluxe USB-C support and dual (input and output) DisplayPort connectors.

Connections on a sample, first monitor, from left:

  1. HDMI input (unused),
  2. DisplayPort input (only for older Macbooks that lack USB-C),
  3. USB-C connector (for Macbooks with USB-C ports; combines display input + power + USB hub; for older Macbooks, it is only a port for connecting upstream, enabling the USB hub),
  4. DisplayPort output to daisy-chained second monitor,
  5. Downstream USB (type A) connection, for peripherals like a keyboard that will connect to the source computer

The second, mirror display could be any inexpensive model that has the same screen size/density as the first monitor, along with at least one DisplayPort (DP) input.

connections for second monitor

Connection on a sample, second monitor: attach the second monitor's DP input to the first monitor's DP output using a DisplayPort cable.

Gotcha: during debugging, it was critical to have *only* a single cable connected to the second monitor, the DisplayPort cable to its input. If an HDMI cable was left attached to the second monitor, even with no HDMI signal, that monitor would not show content from the DisplayPort connector. (One theory on this behavior: since mirroring may be considered a failure mode of DisplayPort without MST, perhaps the monitor does not register its DisplayPort connection as active when mirroring, and will prioritize any other connection?)

The second, mirroring monitor may have a setting for how often it checks for any new signal on the DisplayPort input. In the sample list below, the second monitor was adjusted to detect more quickly when a signal became available (i.e., the source computer was connected to the first monitor in the daisy chain).

Macbook with USB-C

The monitor setup above enables a Macbook with USB-C to dock with display, power and peripherals with a single cable.

newer macbook with USB-C

Macbook with USB-C connection using special Display cable

Gotcha: for Macbooks with USB-C, the USB-C cable between source computer and first monitor MUST be a special variety that supports monitor display. These cables typically ship with the USB-C monitor. (Consider labeling that cable as soon as you receive it with the monitor.) See parts list below for a sample cable.

Macbook without USB-C

For a Macbook without USB-C, the docking setup requires 3 connections to use the same station hardware, including a cable swap:

connections for older Macbook

Connecting Macbook which has no USB-C

  1. cable with mini-DisplayPort to DisplayPort, connected to the input of the first monitor (a mini-DisplayPort cable fits perfectly into a MacBook's mini-Thunderbolt connector because DisplayPort is part of the Thunderbolt specification)
  2. cable that connects USB type-A to first monitor's USB-C input; this makes the Macbook the "upstream" source for the monitor's USB hub; swap out any USB-C to USB-C cable that was used for newer MacBooks
  3. power (not shown; Apple power supply)

Using the second monitor as a separate (non-mirrored) display

Since many MacBooks can run two, separate, external displays, the workstation described here can also be arranged to display different views on the 2 monitors, even though the workstation was designed for mirroring. For separate displays, add a cable (with adaptors as necessary) to directly connect from one of the MacBook's display-capable ports (e.g., USB-C or mini-DisplayPort) to an appropriate input on the second monitor. When switching back to mirroring, keep in mind that left-over, unused cables that are left connected to the second display could interfere with mirroring.

Parts List of Sample Workstation

The sample list below includes 27" screens with 2K density (QHD), suitable for displaying a couple of pages of code on a screen at one time. For a pairing station, any monitor with the required ports and display quality will suffice (refresh rates unimportant).

For older Macbooks, also add:

The first monitor above already includes these cables, so for reference:

  • Cable for USB-C display (may be included with monitor). Sadly, the USB-C specification seems to make no requirement to visibly distinguish such display-capable cables from others. Display-capable cables are typically much thicker/stiffer than typical USB-C cables, and may have a logo label which includes "SS". The cables may be described with terminology like "DP Alt Mode" or "Video Output". (Attach a label to it when it arrives!)
  • Cable for DisplayPort to DisplayPort (prefer the kind without locking tabs)

Improved Collaboration

Collaboration is a challenge, benefiting from forethought. Improve the chances for excellent, ad-hoc cooperation with a workstation that is a welcome and convenient space for sharing knowledge and effort.




  • DisplayPort™ and the DisplayPort™ logo are trademarks owned by the Video Electronics Standards Association (VESA®).
  • MacBook® is a trademark of Apple, Inc.
  • Thunderbolt and the Thunderbolt logo are trademarks of Intel Corporation or its subsidiaries.