FYI for the general public looking for a workaround.  I was able to
workaround this by manually mapping command shortcuts to keys using
compiz.  If you don't use compiz, I'm sure you can do this using some
other Gnome functionality.  You may need to play with the path
"/proc/aci/video/DGFX/LCD/brightness", depending on your video card.
Also if you don't run as root, like most sane users (unlike me), you
will have to figure out the proper place to enter 'sudo' for this to
work, probably "..ness{} && sudo echo $..", play with the command.  You
will also want to add the command to /etc/sudoers so that it doesn't
prompt you for the password before running the command.

Using CompizConfig Settings Manager, in ccsm Under -> General - Commands

Command 0

cat /proc/acpi/video/DGFX/LCD/brightness | grep current | cut -d \  -f2
| xargs -i{} sh -c 'brightness={} && echo $(($brightness-10))
>/proc/acpi/video/DGFX/LCD/brightness'

Command 1

cat /proc/acpi/video/DGFX/LCD/brightness | grep current | cut -d \  -f2
| xargs -i{} sh -c 'brightness={} && echo $(($brightness+10))
>/proc/acpi/video/DGFX/LCD/brightness'

Under the Key Bindings tab, I was able to bind Command 0 to Fn-F9
(XF86MonBrightnessDown) and Fn-F10 to XF86MonBrightnessUp .. and wala,
it works for me!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/704544

Title:
  brightness keys don't work on HP Elitebook 8540p

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to