4

Running Ubuntu 12.04, I can't get the keyboard backlight on a Macbook Pro (mid 2012) to turn on. When I press the brightness button, the display shows up on full but the lights do not turn on. It shows full always on the screen, but they never turn on. I don't really care about getting the keys to work, but I just want something like a terminal command just to get them on. (I don't care about the intervals, I just want the backlight on!!!)

Any help is great, Thanks,

Skyler

Seth
  • 58,122

2 Answers2

0

The Ubuntu documentation page has the following information in relation to the Macbook.

LCD Brightness Control

The package nvidia-bl-dkms is not available for 12.04. Fortunately, the following procedure works (taken from http://www.voria.org/forum/viewtopic.php?f=3&t=1091):

If backlight control does not work for you, follow these instructions:

Edit the file '/etc/X11/xorg.conf' and add this line into the Device section:

 Option "RegistryDwords" "EnableBrightnessControl=1" 

Reboot and check if backlight control works. If so, you're done. If not, edit the file '/etc/default/grub' and change the line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor" 

Update grub with this command: sudo update-grub Reboot and backlight control should work.

If it still doesn't work, try installing the nvidia-bl-dkms package from mactel-support for Natty (from https://launchpad.net/~mactel-support/+archive/ppa), this was the only way for me to get the backlight control working on Precise. Results may vary as some people claim this driver does not work on Precise.

Link to these info is below.

https://help.ubuntu.com/community/MacBookPro5-5/Precise

Also this blog appears to have used a script to get it to work.

http://www.mabishu.com/blog/2010/06/24/macbook-pro-keyboard-backlight-keys-on-ubuntu-gnulinux/

Best of luck!

gman
  • 2,276
  • 4
  • 27
  • 39
  • I'm talking about the backlight on the keyboard, not the LCD backligt. The LCD backlight works fine – Skyler 440 Jul 30 '13 at 19:36
  • oh, I see i just read the first part sorry – Skyler 440 Jul 30 '13 at 19:55
  • I don't have xorg.conf – Skyler 440 Jul 30 '13 at 20:01
  • @Skyler440 Some systems don't have a xorg.conf file as there is no need. You may create one. The following link is about another problem but has the details about creating the xorg.conf file http://askubuntu.com/questions/4662/where-is-the-x-org-config-file-how-do-i-configure-x-there – gman Jul 30 '13 at 21:48
0

Found this thread in the forums, which suggest installing a program called `pommed':

pommed handles the hotkeys found on the Apple MacBook Pro, MacBook and PowerBook laptops and adjusts the LCD backlight, sound volume, keyboard backlight or ejects the CD-ROM drive accordingly.

You should give it a try.

mgor
  • 1,211
  • 8
  • 13