Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brightness doesn't work with M1 macs #148

Open
synle opened this issue Jul 1, 2022 · 0 comments
Open

Brightness doesn't work with M1 macs #148

synle opened this issue Jul 1, 2022 · 0 comments

Comments

@synle
Copy link
Owner

synle commented Jul 1, 2022

Error

For internal display:

/Users/syle/git/display-dj/node_modules/electron/dist/Electron.app/Contents/Resources/brightness: failed to set brightness of display 0x1 (error -536870201)

For external displays:

More info here:

Potential Solutions

Working code for external display on m1 mac

./m1ddc get luminance

./m1ddc display list
./m1ddc set luminance 50

./m1ddc display 1 set luminance 100
./m1ddc display 2 set luminance 100

/Users/syle/git/display-dj/node_modules/electron/dist/Electron.app/Contents/Resources/m1ddc display 1 set luminance 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant