This guide walks you through installing m1ddc, verifying that DDC/CI communication
works with your Samsung LS24D300G, and running your first control commands.
Prerequisites
- Apple Silicon Mac (M1 or later)
- macOS 12 (Monterey) or later
- Homebrew installed
- Monitor connected via HDMI
brew install m1ddcVerify the installation:
which m1ddc
# → /opt/homebrew/bin/m1ddc
m1ddc --versionm1ddc numbers connected displays starting from 1.
m1ddc display listIf your Samsung is the only DDC-capable display, it will appear as display 1.
If you have multiple monitors, note the index that corresponds to the Samsung.
Note: The macOS display path for the Samsung remains visible even while the monitor is showing a different input (e.g., VGA). This is normal and expected — the HDMI connection is electrically present.
m1ddc display 1 get luminanceExpected output: a single integer such as 40.
If you see an error like "no display found" or "DDC not supported", check:
- The monitor is powered on and connected via HDMI
- System Preferences → Displays shows the Samsung
- You are not running the command with
sudo(DDC requires the normal user session)
# Save your current value first
m1ddc display 1 get luminance
# Set to a noticeably lower value
m1ddc display 1 set luminance 20
# Restore
m1ddc display 1 set luminance 40You should see the panel brightness change in real time.
m1ddc display 1 set input 1The monitor will switch to its VGA input.
Important: After switching to VGA, DDC commands sent from the Mac still reach the monitor over the HDMI path. Brightness and contrast changes will apply to the panel even while it displays VGA content. See DDC/CI Source Switching for why.
The monitor-ddc-probe script (included in scripts/) automates probing and scanning:
cp scripts/monitor-ddc-probe ~/bin/monitor-ddc-probe
chmod +x ~/bin/monitor-ddc-probeConfirm it is on your PATH:
monitor-ddc-probe --helpddcctl is an older DDC/CI tool for macOS. During testing it was found to detect the
display but fail at framebuffer acquisition on current macOS builds with Apple Silicon.
Do not use ddcctl for this workflow. m1ddc is the correct tool for M-series Macs.
- Finding the HDMI Code — identify the VCP input code that switches back to HDMI
- m1ddc Command Reference — full list of useful commands