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

Broken with new models? #1

Open
QuentinRoy opened this issue Feb 22, 2018 · 3 comments
Open

Broken with new models? #1

QuentinRoy opened this issue Feb 22, 2018 · 3 comments

Comments

@QuentinRoy
Copy link

QuentinRoy commented Feb 22, 2018

The package does not work on my laptop (MacBook Pro 13-inch, 2017 on macOS High Sierra). ambient() always returns 0.

It seems I am not the only one, c.f. Exelord/dark-mode#3.

A possible (though surprising) lead might be an incompatibility with MacBooks with a touchbar.

@jamo
Copy link
Owner

jamo commented Feb 22, 2018

Indeed it seems to be broken on the touchbar series of mac.
I'll take a look shortly.

@idoo
Copy link

idoo commented Feb 22, 2018

just let me know, if I can help, looks like they are dropped support of AppleLMUController
Probably now it's inside FaceTime Camera ioreg -f -b -r -c AppleBacklightDisplay

And looks like Apple not provide any API for getting light sensor data now

@jamo
Copy link
Owner

jamo commented Feb 22, 2018

All ideas are welcome 👍
After a quick search, it looks like the AppleAmbientDisplayAgent falls back to HID notifications when AppleLMUController can't be found.
That seems to be yet another private API, however.

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

3 participants