Ubuntu: Brightness control in Ubuntu 14.04 on Sony Vaio?



Question:

I recently installed Ubuntu 14.04 LTS on my Sony Vaio [nVidia GeForce 410M/PCIe/SSE2]. Earlier I had 12.04 installed on it, then I edited the xorg.conf file to control brightness using the function keys. But now the file is empty and even if i created it like last time it ain't working. I tried the xbacklight too, it didn't worked.

Please Help....

Thanks

EDIT: Ubuntu Installed is 64bit version.


Solution:1

I have a Sony VPCEH notebook, I had the same problem.

I tried this solution that worked for me: http://ubuntuforums.org/showthread.php?t=2221452#6

Briefly:

With root privileges, create the file /usr/share/X11/xorg.conf.d/20nvidia.conf with the following content

Section "Device"      Identifier     "Device0"      Driver         "nvidia"      VendorName     "NVIDIA Corporation"      BoardName      "GeForce 410M"      Option         "RegistryDwords" "EnableBrightnessControl=1"  EndSection  

Log out and back in again to test.

And it gently adds: "If something goes wrong, simply delete that file and reboot to recover the system."

But I didn't need that addition. After logout and login the brightness control started to work again.

I hope it helps you too...


Solution:2

edit note: don't change anything related to intel files especially usr/share/x11/20-intel because yours is NVIDIA and it broke my Ubuntu. I couldn't open Ubuntu anymore, so I removed 20-intel in safe mode from the console.

JUST do this to recreate:
this will recreate etc/X11/xorgconf be root then execute this on terminal

nvidia-xconfig  

lastly be sure that you are pasting enablebrightness in right section which is section "device"

for nvidia and ubuntu 14.04 x64 check this post ... it solved mine.

ubuntu 14.04 fn brightness nvidia not working samsung r540

HOW I SOLVED IT

in terminal

# nvidia-xconfig  

this creates /etc/X11/xorg.conf . edit it.

# sudo su  // become root  # gedit /etc/X11/xorg.conf   

find Section "device" in text. it should look like this on the right side:

from this                        TO   this         Section "Device"                  | Section "Device"   Identifier "Device0"             |   Identifier  "Device0"   Driver     "nvidia"              |   Driver      "nvidia"   VendorName "NVIDIA Corporation"  |   VendorName  "NVIDIA Corporation"                                    |   Option "RegistryDwords" "EnableBrightnessControl=1"  EndSection                        | EndSection  

save changes (ctrl+S).
log out. log in.

we are done!! now Fn + Up/Down is adjusting the brightness.

this post will make your fn+up ,down keys work


Solution:3

Open a terminal and make this file if it doesn't exist:

sudo touch /usr/share/X11/xorg.conf.d/20-intel.conf  

We need to edit that file, so enter the following in a terminal:

sudo gedit /usr/share/X11/xorg.conf.d/20-intel.conf  

Then add the following in the file and save it:

Section "Device"      Identifier  "card0"      Driver      "intel"      Option      "Backlight"  "intel_backlight"      BusID       "PCI:0:2:0"    EndSection  

Log out and in again, and it must work.


Solution:4

Here is a Python code to alter the screen brightness BrightnessControl.

Before running check if the follwing file exists /sys/class/backlight/intel_backlight/brightness
The content of this file is an integer indicating the current brightness.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »