Wednesday, July 24, 2013

Linux Brightness Issue

I have been a dedicated follower of Fedora for the past one year and it has been good but with one serious problem - brightness issue!!. A few laptops(mine included) seems to be having this problem with some variations. The problem of mine is that whenever i try to change the brightness using the brightness buttons in the keyboard or the brightness slider in linux(KDE or Gnome) the OS Freezes. No matter what keystrokes you try it doesnt give you a chance. I had been having this problem for sometime and then i found the solution. Here are the steps to glory

1.Open Console and go into root
2.Open /etc/default/grub file and add the kernel Parameters - splash acpi_backlight=vendor acpi_osi=Linux
3.Save the file and Close it
4.Execute the command (This will persist the setting from /etc/default/grub into /boot/grub2/grub.cfg) -- grub2-mkconfig -o /boot/grub2/grub.cfg
5.Open the file /boot/grub2/grub.cfg and check if you can see the parameters
6.Reboot

7.Test the kernel parameters are still there using the following command - cat /proc/cmdline
Note : Using tools like grubcustomizer will overwrite the kernel parameters. So make sure the parameters are there anytime you play around with tools that change the grub configuration. Once i changed the grub countdown timeperiod and the parameters were gone. I had to put them back with the above 7 steps.

I have tested this with Fedora 19 on Dell N5010. Iam quite sure it would work on other laptops having the same issue. Jus try this and lemme know

No comments: