Sony VAIO SVS13112ENB brightness on Ubuntu

ubuntu_logo_81x81To control the brightness or set a default brightness on SVS13112ENB follow the steps below:

1. Add the following to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub:

acpi_osi=Linux acpi_backlight=vendor

For kernel 3.9.0 add the following to avoid max brightness after screen off ▸ screen on:

acpi_osi=vendor acpi_backlight=vendor

2. run update-grub2. reboot the system.

3. Add the following in a script and put it under /usr/local/bin:

pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness 10
//change 10 to set brightness of your choice. play around
echo 400 | sudo tee /sys/class/backlight/intel_backlight/brightness

4. Run the script at startup to set default brightness.

An older post on a different model for reference. Installing Indicator Brightness on Ubuntu may also help:

$ sudo add-apt-repository ppa:indicator-brightness/ppa
$ sudo apt-get update
$ sudo apt-get install indicator-brightness