I now have a workaround for the brightness hotkeys (not for the other two problems, though):
1) Create a script "brightness.sh": #!/bin/bash # Valid input? if [ "$1" != up -a "$1" != down ]; then exit 1; fi # Current brightness CURRENT=`grep current /proc/acpi/video/DGFX/LCD/brightness | egrep -o '([0-9]{,2}|100)$'` if [ -z "$CURRENT" ]; then exit 1; fi # Next value if [ "$1" = up -a "$CURRENT" = 0 ]; then NEXT=5 elif [ "$1" = down -a "$CURRENT" = 100 ]; then NEXT=96 else if [ "$1" = up ]; then NEXT=`sed -nr "/^levels/ s/.*(^| )$CURRENT ([0-9]{,2}|100)( |$).*/\2/p" /proc/acpi/video/DGFX/LCD/brightness` else NEXT=`sed -nr "/^levels/ s/.*(^| )([0-9]{,2}|100) $CURRENT( |$).*/\2/p" /proc/acpi/video/DGFX/LCD/brightness` fi fi if [ -z "$NEXT" ]; then exit 1; fi # Set new brightness echo -n $NEXT | tee /proc/acpi/video/DGFX/LCD/brightness >/dev/null exit 0 2) sudo apt-get install halevt 3) Edit /etc/halevt/halevt.xml: <!-- Support for Brightness Up/Down Events until #592592 has been solved --> <halevt:Device match="hal.info.category = input"> <halevt:Condition name="ButtonPressed" value="brightness-up" exec="sudo /home/fgrandel/brightness.sh up"/> <halevt:Condition name="ButtonPressed" value="brightness-down" exec="sudo /home/fgrandel/brightness.sh down"/> </halevt:Device> 4) sudo visudo # Allow halevt to execute the brightness script halevt laptop-fg = (root) NOPASSWD: /home/fgrandel/brightness.sh -- Brightness adjustment doesn't work for HP ProBook 4720s https://bugs.launchpad.net/bugs/592592 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs