nriley / brightness

Command-line display brightness control for macOS.
BSD 2-Clause "Simplified" License
605 stars 55 forks source link

Error (-536870201) on Macbook Pro 2023 (M2) with 27" Thunderbolt screens #47

Closed thijsboots closed 11 months ago

thijsboots commented 11 months ago

I've just tested this on my 2023 Macbook Pro (M2) running MacOS 14.1 with two 27" Thunderbolt screens attached.

This is the output I get after running brightness -l:

display 0: main, active, awake, online, built-in, ID 0x1 brightness: failed to get brightness of display 0x1 (error -536870201) display 1: active, awake, online, external, ID 0x2 brightness: failed to get brightness of display 0x2 (error -536870201) display 2: active, awake, online, external, ID 0x3 brightness: failed to get brightness of display 0x3 (error -536870201)

Installed using Homebrew.

thijsboots commented 11 months ago

After reading through the other issues, I tried installing it with the clone repo method and now it works perfectly!

I just set all my screens - including the Thunderbolt monitors - to brightness 100%, 50%, 10% and back to 100%.

This means that the comment in the project readme:

If you cannot control your display’s brightness from Displays System Preferences, you will not be able to do it with brightness.

...is nog longer true. :)

thijsboots commented 11 months ago

Closing this issue for now. Hope it might help other people stumbling on to this great tool.