Add DDC support for M1 Pro/Max MacBook Pro built-in HDMI (AppleDCPMCDP29XX)

未關閉
#1,942 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
45/100
Issue 類型
功能
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
macos, swift
領域
desktop

研究方向

Start from the existing DDC service-matching and read/write path in the app and compare it with m1ddc PR #60's MCDP29xx implementation. Add a branch that, when the external DCPAVServiceProxy parent reports EPICProviderClass = AppleDCPMCDP29XX, uses chip address 0xB7, read offset 0x51, a 12-byte reply and 50 ms wait, keeping 0x37 / offset 0 / 11 bytes elsewhere. Done means brightness and contrast actually change on the Dell P2723DE over built-in HDMI, verified with ioreg and the app log.

由索引模型根據 Issue 內容生成。

描述

  • Searched for existing issues
Is your feature request related to a problem? Please describe

MonitorControl 4.4.0 cannot hardware-control a Dell P2723DE connected to the built-in HDMI port of an M1 Pro MacBook Pro. The app matches the display's DDC service, but brightness and contrast changes only software-dim the image. The README and wiki currently list M1 MacBook Pro 14"/16" built-in HDMI as unsupported (#1432).

This may no longer be a hardware limitation: m1ddc added DDC support for M1 built-in HDMI in PR #60 (merged 2026-08-02), and m1ddc 1.3.2 controls this exact display.

Describe the solution you'd like

Port the m1ddc MCDP29xx path to MonitorControl:

  • Detect AppleDCPMCDP29XX on the external DCPAVServiceProxy parent via EPICProviderClass.
  • For that bridge, use DDC chip address 0xB7, read offset 0x51, a 12-byte reply, and a 50 ms read wait.
  • Keep the existing 0x37 / offset 0 / 11-byte path for all other displays.

I have a tested 3-file local patch and can open a PR if this is welcome. I saw #1290's note that MonitorControl's feature set is final but that relevant PRs would be accepted; this is a targeted port of code already merged in m1ddc, not a new feature area, so I wanted to ask before opening an unsolicited PR.

Describe alternatives you've considered
  • BetterDisplay: works, but MonitorControl is preferred.
  • USB-C/DisplayPort: works, but HDMI is the available port in this setup.
  • m1ddc CLI: works; used to confirm the monitor and cable are fine.
Anything else?

Environment:

  • macOS 27.2.1 (26B131)
  • MacBook Pro (M1 Pro)
  • MonitorControl 4.4.0 (7152)
  • Dell P2723DE via built-in HDMI
  • Apple Silicon: yes

Evidence:

  • ioreg shows the external DCPAVServiceProxy parent has EPICProviderClass = "AppleDCPMCDP29XX"; transport is DP -> HDMI.
  • App log says Display service match successful for display 2, but the panel does not change.
  • DDC read via 0x37 returns a bad reply; via 0xB7 returns brightness 100/100 and contrast 80/100.
  • Write via 0xB7 sets the panel to 40% and back to 100%.
  • m1ddc 1.3.2 display list / get luminance / set luminance works.

Related:

  • #1432 (known M1 MacBook Pro HDMI limitation)
  • #1290 (feature set final, relevant PRs accepted)
  • #1301 / #1404 (M2 Pro/Max support added)
  • #1884 (Dell P2723DE DDC lag/unresponsive on Tahoe; different failure mode)
  • m1ddc PR #60 and m1ddc 1.3.2

Display serial and UUID redacted.

主要語言
Swift
星號
34.9k
分支
1.1k
PR 合併指標
30 天內沒有已合併 PR

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

MonitorControl/MonitorControl 的其他 Issue

查看 MonitorControl/MonitorControl 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。