Skip to content

Lariva Business

Lariva Blog

Menu
  • Privacy Policy
  • Tech Sharing
  • animate sharing
  • Science Sharing
  • Happening
Menu

Use undocumented API to control external display on M1 Mac

Posted on September 8, 2021 by William

The Display Data Channel (DDC) is a very useful feature of modern digital displays because it allows the graphics card (and operating system) to communicate with display and control functions (such as brightness and contrast).The biggest negative impact here is Access to this feature is relatively poor in operating systems like MacOS, and you can change it as you like, As [Alin Panaitiu] Recently discovered.

Current display tool DDC2, Which is based on an I2C bus. Nevertheless, few operating systems provide DDC-based function control, such as brightness. [Alin] A popular utility was developed for MacOS that uses an undocumented API to communicate DDC2 with an external display via I2C. Until the new Arm-based Mac system was released and these undocumented APIs changed, that is to say.

Although there are some ways to solve this problem, some utilities use simple software-based overlays to “dim” the display, or use external gamma adjustments through an external Raspberry Pi system connected to HDMI and use Utility, The best way is through DDC2.Eventually a new (undocumented) API that provides access was discovered, and another user named it after [zhuowei] notify [Alin] new IOAVServiceReadI2C with IOAVServiceWriteI2C Use the Arm-based MacOS method.

After this, more investigations are needed to determine which devices on the I2C bus are which display in the case of multiple external displays, but in the end everything returns to normal, and hardware-based brightness control is re-added to MacOS users. Minus some obvious hardware issues with HDMI on the M1 Mac Mini and some displays, but who is calculating?

[Heading image: Screenshot of the Lunar app on MacOS. Credit: Alin Panaitiu]

Recent Posts

  • Aliciaboler Davis, a former senior leader of Amazon, served as CEO of Alto pharmaceutical
  • Convert Sigma lens to canon, including digital function
  • High level invasion Season 2: when do we expect it to be released?
  • Developer Training Camp coding Dojo spent $10million to train more software engineers
  • The mystery of automatic lubricator has been revealed
©2022 Lariva Business | Design: Newspaperly WordPress Theme