Linux kernel adds backlight control for Apple Macs

A new patch set for the Linux kernel promises to enable proper display brightness control on Apple Mac devices, ending a long-standing frustration for users running the open-source OS on Apple hardware. Authored by Aditya Garg, the driver targets both Intel-based and Apple Silicon machines. This development builds on years of reverse-engineering efforts by the Asahi Linux project.

For years, Linux users on Apple hardware have faced a basic but irritating limitation: the inability to adjust display backlight brightness reliably. This changed with a recent patch series submitted by developer Aditya Garg, which introduces a dedicated Apple backlight driver for the Linux kernel. As detailed in reports from Phoronix, the driver integrates with Apple's firmware to provide standard backlight controls, allowing desktop environments like GNOME and tools such as brightnessctl to function seamlessly via the kernel's backlight subsystem.

The technical hurdles stem from Apple's proprietary interfaces. On Intel Macs, brightness is managed through the System Management Controller (SMC), while Apple Silicon devices rely on a custom firmware layer. Garg's solution unifies these by registering with the kernel's backlight class and using Device Tree bindings for hardware discovery on ARM-based systems. This upstream-friendly approach replaces previous workarounds, such as direct hardware register writes or custom scripts, which were unstable and not maintained in the mainline kernel.

The fix is part of broader progress in the Asahi Linux project, led by Hector Martin. Launched after Apple's M1 chip debut in late 2020, the initiative has delivered GPU acceleration supporting OpenGL 4.6 and Vulkan 1.3, along with audio, Wi-Fi, and Thunderbolt support over the past four years. Backlight control was one of the last major daily-use gaps, often leaving users at fixed brightness levels or risking system instability.

This advancement signals Linux's maturation on Apple hardware, appealing to developers and enterprises valuing Mac build quality alongside open-source flexibility. The patch awaits kernel review and could merge into Linux 6.14 or 6.15, pending code standards and edge-case handling. Remaining challenges include hardware video decoding, camera support, and Touch Bar functionality, all requiring further reverse-engineering by volunteer contributors.

Garg's work, built on community foundations, underscores open-source collaboration's role in expanding Linux to proprietary platforms, enhancing usability without custom patches.

Related Articles

The Asahi Linux project has introduced experimental code for DisplayPort support. Development for Apple's M3, M4, and M5 chips continues. This update aims to enhance Linux compatibility on Apple hardware.

Reported by AI

Developers from the Asahi Linux project have successfully booted Linux on Macs equipped with the M3 processor, marking progress in making Apple's Silicon chips compatible with alternative operating systems. While the setup currently faces significant limitations, it builds on prior successes with M1 and M2 hardware. The achievement highlights ongoing efforts to expand options for Apple users beyond macOS.

Developers have submitted drivers for the Verisilicon DC8200 and Coreboot framebuffer to the DRM-Next branch for inclusion in Linux kernel version 7.1. This update aims to enhance support for specific graphics hardware in the open-source operating system. The submission was reported by Phoronix, a site focused on Linux hardware and performance.

Reported by AI

Developers have integrated enhancements for laptops and gaming handheld devices into the Linux 6.19 kernel. These updates focus on x86 platform drivers. The changes were reported by Phoronix.

 

 

 

This website uses cookies

We use cookies for analytics to improve our site. Read our privacy policy for more information.
Decline