Comment 105 for bug 311716

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 311716] Re: The slider brightness Applet has value inverted after the last update (2.6.27-11)

On Tue, Feb 17, 2009 at 04:14:49PM -0000, Olivier Bilodeau wrote:
> What I meant is what happen if you do:

> sudo echo 15 > /proc/acpi/video/VGA/LCDD/brightness
> sudo echo 5 > /proc/acpi/video/VGA/LCDD/brightness

What happens is that you'll get a permissions failure, because the
redirection (> /proc...) is handled by the parent shell, not by sudo. ;)

You need:

sudo -s
echo 15 > /proc/acpi/video/VGA/LCDD/brightness
echo 5 > /proc/acpi/video/VGA/LCDD/brightness
exit

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
<email address hidden> <email address hidden>