NVIDIA Backlight in Linux on MacbookPro 11,3
Theese steps only work with the proprietary NVIDIA drivers.
In terms of kernel module, there’s nothing special on the MacBook Pro 11,3. Just use the apple_gmux kernel module.
This module let’s you change the brightness via /sys/class/backlight/gmux_backlight/brightness or your usual UI controls.
(The module itself does not work out of the box, read on)
Poke the hardware a little
Run this command after every boot to finally get gmux brightness control working:
# setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0
Usually it’s a good idea to place this line in /etc/rc.local