-
Notifications
You must be signed in to change notification settings - Fork 14
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
ib-tb: support magic keyboard backlight #4
base: mbp15
Are you sure you want to change the base?
Conversation
Setting as draft while I figure out how to get it to change the brightness like windows does. |
It's been tested on MBP16,1 and MBP16,2 |
drafting again as it seems to print backtraces on mbp15,1 (although the touchbar was still working). Also, its now been tested on mbp16,3 |
@Redecorating Is this ready to merge? |
The backlight doesn't get freed when the module is unloaded, I'll try to fix that tomorrow. |
MacBookPro16,1/2/3/4 have the magic keyboard, with the keyboard backlight controlled via the Touch Bar Backlight USB device. We check that the internal keyboard's USB product ID matches that of models with the magic keyboard, and then we create a sysfs led class dev that controls the backlight.
@aunali1 it's ready now |
is this going to be merged? |
MacBookPro16,1/2/3/4 and MacBookAir9,1 have the magic keyboard, with the
keyboard backlight controlled via the Touch Bar Backlight USB device.
We check that the internal keyboard's USB product ID matches that of
models with the magic keyboard, and then we create a sysfs led class
dev.
When setting the brightness to 15 (one less than the max of 16), itseems to have about a 50% chance of setting it to dim instead. This
doesn't happen for other values.