Ubuntu, screen backlight

Screen backlight issue on Ubuntu 11.04 & Ubuntu 11.10

Since the release of Ubuntu 11.04, I faced screen backlight issues on my eMachines E525 laptop. I waited for Ubuntu 11.10, but the problem remained. In this post, I will describe a quick solution to this problem.

First, let’s fix up the function keys (Fn+←, Fn+β†’), which you can adjust the brightness of the backlight.

Open the file /etc/default/grub

1
sudo gedit /etc/default/grub

Find a line GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash” and add to it acpi_osi=Linux.

1
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux";

Save the changes to the file and run the command:

1
sudo update-grub

After the reboot, the function keys will work and you can adjust the brightness of the backlight. But most likely the keys will work the other way around. 😊

Fn+← - will increase the brightness, and Fn+β†’ - will decrease it.

One more problem remains, when the system boots, the backlight will not turn on. Let’s fix it.

Open the file /etc/rc.local and add setpci -s 00:02.0 F4.B=0

1
sudo gedit /etc/rc.local

That is, /etc/rc.local will be something like this:

1
2
3
4
5
#!/bin/sh -e

setpci -s 00:02.0 F4.B=0

exit 0

Now, after a reboot, the configured screen backlight level will always be set.

Than the higher the number after F4.B, then the lower the brightness. 0 - maximum brightness, FF - backlight off.

If something is not clear, ask me.

comments powered by Disqus
Built with Hugo
Theme Stack designed by Jimmy