Interesting....I have a 2012 13" Macbook Pro (non retina) and this seems to only work 50%. I can disable the keyboard backlight on boot but lowering screen brightness does NOT work. It still boots into 100% power even with the following rc.local:
Code:
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. echo '3' > /sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/brightness echo '1' > /sys/devices/platform/applesmc.768/leds/smc::kbd_backlight/brightness exit 0
I wondered why and when I ran just the below command in terminal, I got the below;
Code:
sudo echo '5' > /sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/brightness
(with and without the '#')
Code:
sudo echo '5' > /sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/brightness: Permission denied
Permission denied even with sudo?!
Bookmarks